/* Shrink postcode box in Retail scheme */
input#Interested_Parties_InterestedPartyPostcode.postcode_input {
  width: 90%;
}

/* Residential and Commerical scheme */

/* Hide MP_Trade description text on front end */

.public [id^="question_MP_Trade"] .text .info_text {
  display: none;
}

body.public nav {
  background: #00297e;
  border-top: 6px solid #59c9b1;
  border-bottom: 6px solid #59c9b1;
}

.public #Claims_Table_Template #HeaderRow > th:nth-child(7) {
  display: none;
}
.public #Claims_Table_Template tr > td:nth-child(7) {
  display: none;
}

/* Shrink postcode box in Retail scheme */
input#Interested_Parties_InterestedPartyPostcode.postcode_input {
  width: 90%;
}

body.public nav {
  background: #00297e;
  border-top: 6px solid #59c9b1;
  border-bottom: 6px solid #59c9b1;
}

/* Hide Trade Table Scoring column */

.public #TradeTable_Template #HeaderRow > th:nth-child(2) {display:none;}
.public #TradeTable_Template tr > td:nth-child(2){display:none;}

/* Hide Cancellation Events Table Scoring column */

.public #Events_Table_Template #HeaderRow > th:nth-child(7) {display:none;}
.public #Events_Table_Template tr > td:nth-child(7){display:none;}
.public #Events_Table_Template #HeaderRow > th:nth-child(8) {display:none;}
.public #Events_Table_Template tr > td:nth-child(8){display:none;}

/*
 * Companies House API Search/Dropdown
 */
#CompanyNameCompanyNumber {
  position: relative;
  z-index: 2;
}

.js-api-results {
  background: white;
  border: 2px solid #275dc5;
  display: none;
  left: 10px;
  max-height: 200px;
  overflow: auto;
  position: absolute;
  top: calc(100% - 17px);
  z-index: 2;
  box-sizing: border-box;
}

@media only screen and (min-width: 441px) {
  .js-api-results {
    top: calc(100%);
  }
}

.js-api-results.is-active {
  display: block;
}

.js-api-results .js-api-results-placeholder,
.js-api-results .js-api-results-loading,
.js-api-results .js-api-results-items,
.js-api-results .js-api-results-no-items {
  display: none;
}

.js-api-results .js-api-results-placeholder,
.js-api-results .js-api-results-loading,
.js-api-results .js-api-results-no-items {
  padding: 10px;
}

.js-api-results .js-api-results-items {
  padding: 5px 0;
}

.js-api-results .js-api-results-placeholder.is-active,
.js-api-results .js-api-results-loading.is-active,
.js-api-results .js-api-results-items.is-active,
.js-api-results .js-api-results-no-items.is-active {
  display: block;
}

.js-api-results .js-api-results-item {
  white-space: nowrap;
  overflow: hidden;
  padding: 5px 10px;
  text-overflow: ellipsis;
}

.js-api-results .js-api-results-item:hover {
  background: #00297e;
  color: #fff;
  cursor: pointer;
}

.artificiallyHidden {
  display: none;
  opacity: 0;
  overflow: hidden;
  height: 0px;
}