/* CSS File for conveyancer referral quoting pages */

.dropdown-quote {
  padding: 0.5rem 0;
  text-align: center;
}
.dropdown-item.disabled.dropdown-quote-coming {
  color: #999 !important;
}

.quote-wrap-header {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}
.quote-wrap-header-text {
  display: inline;
}
.quote-wrap-header-text:first-child {
  display: none;
}
.quote-wrap {
  position: relative;
  border: 1px solid #BDD0F7;
  border-bottom: none;
  margin-bottom: 20px;
  background: #FFF;
  z-index: 0;
}

.legalPack .quote-wrap {
  border-bottom: 1px solid #BDD0F7;
}

.quote-more-info-style {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  text-align: left;
  color: #222;
  cursor: pointer;
  padding: 10px 16px 0 0;
  margin-bottom: 10px;
}
.quote-more-info:hover {
  cursor: pointer;
  color: #4285f4;
}
.quote-wrap:last-child {
  margin-bottom: 0;
}

.quote-breakdown-wrap {
  border-bottom: 1px solid #BDD0F7;
  padding: 10px 15px;
}
.quote-breakdown-table {
  width: 100%;
}
.quote-breakdown-inner-wrap {
  display: block;
  margin-top: 15px;
}
.quote-breakdown-inner-wrap:first-child {
  margin-top: 0;
}
.quote-breakdown-header {
  width: 100%;
  font-family: Roboto, sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-align: left;
  color: #222;
  border-bottom: 1px solid #d8dbdd;
}
.quote-breakdown-subheader {
  width: 100%;
  font-family: Roboto, sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-align: left;
  color: #222;
  padding-top: 15px;
  border-bottom: 1px solid #d8dbdd;
}
.quote-breakdown-row {
  width: 100%;
}
.quote-breakdown-item {
  width: auto;
  vertical-align: middle;
  text-align: left;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #222;
}
.quote-breakdown-price {
  width: 50px;
  vertical-align: middle;
  text-align: right;
  padding: 0 10px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #222;
}
.quote-breakdown-total {
  border-top: 1px solid #d8dbdd;
  border-bottom: 2px double #d8dbdd;
  font-weight: bold;
}

.quote-name-table {
  display: table;
  width: 100%;
}
.quote-name-row {
  display: table-row;
  height: 45px;
}
.quote-name {
  display: table-cell;
  width: auto;
  vertical-align: middle;
  text-align: left;
  padding: 5px 10px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #222;
}
.quote-name-pad {
  padding-right: 120px !important;
}
.quote-name-info {
  display: table-cell;
  padding-right: 20px;
  vertical-align: middle;
  text-align: right;
  color: #222;
}
.quote-name-info-img {
  cursor: pointer;
  width: 18px;
}
.quote-header-table {
  display: table;
  width: 100%;
  border-top: 1px solid #BDD0F7;
  border-collapse: collapse;
  background-color: #DDE8FA;
}
.quote-header-row {
  display: table-row;
  height: 45px;
}
.quote-header-left, .quote-header-centre, .quote-header-right {
  display: table-cell;
  width: 33.33%;
  border-top: 1px solid #BDD0F7;
  border-bottom: 1px solid #BDD0F7;
}
.quote-header-centre {
  vertical-align: middle;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #222;
  border-left: 1px solid #EFEFEF;
  border-right: 1px solid #EFEFEF;
}
.quote-info-table {
  display: table;
  width: 100%;
}
.quote-info-row {
  display: table-row;
}
.quote-info-logo,
.quote-info-fees,
.quote-info-proceed {
  display: table-cell;
  width: 33.33%;
  min-height: 78px;
  padding: 10px;
  border-bottom: 1px solid #BDD0F7;
  font-family: Roboto, sans-serif;
  vertical-align: middle;
  text-align: center;
}
.quote-info-fees {
  border-left: 1px solid #EFEFEF;
  border-right: 1px solid #EFEFEF;
}
.quote-info-img {
  max-width: 100%;
  max-height: 60px;
}
.quote-info-total {
  font-size: 14px;
  font-weight: bold;
  color: #67B4DF;
  /*padding: 5px 0px 5px 0px;*/
  padding: 0px 0px 5px 0px;
}
.quote-info-extra {
  font-size: 10px;
  color: #222;
  font-weight: normal;
}
.quote-info-icon {
  font-size: 14px;
  line-height: 1;
  padding-left: 5px;
  color: #333;
  vertical-align: middle;
}
.quote-info-star {
  font-size: 12px;
  color: #222;
  font-weight: normal;
}
.quote-history-table {
  display: table;
  width: 100%;
}
.quote-history-row {
  display: table-row;
  height: 50px;
}
.quote-history-cell {
  display: table-cell;
  width: 100%;
  vertical-align: middle;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  color: #F48865;
  border-bottom: 1px solid #BDD0F7;
  padding: 10px;
}
.btn-proceed {
  padding: 10px 5px !important;
  color: #FFF !important;
  min-height: 50px;
}
.btn-quote-wrap {
  min-height: 40px;
}
/*.btn-quote {
  background-color: #16C60C !important;
}*/
.btn-submit-text {
  color: inherit;
  font-size: 12px;
  font-weight: bold;
}
.btn-quote-sent {
  box-shadow: none !important;
  opacity: 1 !important;
  padding: 10px 5px !important;
}
.quote-details-table-wrap {
  border-bottom: 1px solid #BDD0F7;
  position: relative;
}

.legalPack  .quote-details-table-wrap{
  border-bottom: none;
}

.quote-details-table-wrap-pad {
  /*margin-bottom: 10px;*/
  padding-bottom:  10px;
}
.quote-details-table {
  display: table;
  width: 100%;
}
.quote-details-table-75 {
  width: 80%;
}
.quote-details-row {
  display: table-row;
  height: 30px;
}
.quote-details-row-hide {
  display: none !important;
}
.quote-details-cell-send {
  display: table-cell;
  width: 100%;
  padding: 10px;
}
.quote-details-cell-stars {
  display: table-cell;
  width: 1px;
  padding: 0 10px;
  vertical-align: middle;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  text-shadow: 1px 1px rgba(34,34,34,.3);
  text-align: left;
  color: #BD882C;
}
.quote-details-nsnf {
  display: block;
  padding: 5px 15px;
}
.quote-details-nsnf-text {
  font-size: 13px;
  color: darkgray;
}

.rating-box {
  position:relative;
  vertical-align: middle;
  font-size: 20px;
  font-family: FontAwesome, serif;
  display:inline-block;
  color: #AAA;
}
.rating-box:before{
  content: "\f006 \f006 \f006 \f006 \f006";
}
.rating-box .rating-stars {
  position: absolute;
  left:0;
  top:0;
  white-space:nowrap;
  overflow:hidden;
}
.rating-box .rating-stars:before {
  content: "\f005 \f005 \f005 \f005 \f005";
  color: #BD882C;
}

.quote-desc {
  padding-bottom: 20px;
}
.quote-card {
  background-color: #F4F4F4 !important;
}

.quote-wrap-title {
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
.details-wrap {
  display: none;
  background-color: #FFF;
  padding: 20px;
  border-radius: 3px;
}
.quote-form-dlp > .details-wrap {
  background-color: #F4F4F4 !important;
}
.details-wrap-show {
  display: block;
}
.details-wrap-hide {
  display: none;
}

.historical-quote-input-wrap {
  display: none;
  background-color: #FFF;
  padding: 20px;
  border-radius: 3px;
}

.quote-form-dlp > .historical-quote-input-wrap {
  background-color: #F4F4F4 !important;
}

.historical-quote-input-wrap-show {
  display: block;
}
.historical-quote-input-wrap-hide {
  display: none;
}



.contact-wrap {
  background-color: #FFF;
  padding: 20px;
  border-radius: 3px;
}


.quote-price, .quote-input {
  margin-top: 35px;
}
.quote-details-cell-score {
  display: table-cell;
  width: auto;
  vertical-align: middle;
}
.quote-details-score {
  display: inline-block;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  color: #222;
}
.quote-details-score-info {
  display: inline-block;
  padding-left: 5px;
  text-align: left;
  color: #222;
}
.quote-details-score-img {
  cursor: pointer;
  width: 14px;
  margin-left: 5px;
}
.quote-details-cell-tick {
  display: table-cell;
  width: 20px;
  padding: 0 5px 0 10px;
  vertical-align: middle;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  text-align: left;
  color: #16C60C;
}
.quote-details-cell-text {
  display: table-cell;
  width: auto;
  vertical-align: middle;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  text-align: left;
  color: #222;
}
.quote-details-cell-text-pad {
  padding-right: 75px;
}
.quote-details-more-details {
  font-size: 10px;
}

.quote-form {
  margin-bottom: 0;
}
.quote-form-input-hidden {
  height: 0;
  border: none;
  display: none;
  opacity: 0;
}
.quote-form-label {
  color: #181732 !important;
  top: 2px !important;
}
.quote-select-label {
  margin-bottom: 0.4rem;
}
.quote-form-check {
  position: relative;
  display: block;
  padding-left: 0;
  margin-bottom: 5px;
}
.quote-form-check > .quote-form-label {
  text-align: left;
}
#salePostcode,
#purchasePostcode,
#remortgagePostcode {
  text-transform: uppercase;
}
#firstName,
#lastName {
  text-transform: capitalize;
}
input#salePrice[type="tel"]:focus:not([readonly]),
input#purchasePrice[type="tel"]:focus:not([readonly]) {
  border-bottom: none !important;
}
input#salePrice[type="tel"]:focus:not([readonly]) ~ label,
input#purchasePrice[type="tel"]:focus:not([readonly]) ~ label,
input#remortgageValue[type="tel"]:focus:not([readonly]) ~ label,
input#firstName[type="text"]:focus:not([readonly]) ~ label,
input#lastName[type="text"]:focus:not([readonly]) ~ label,
input#contactEmail[type="email"]:focus:not([readonly]) ~ label,
input#contactNumber[type="tel"]:focus:not([readonly]) ~ label
{
  color: #4285f4 !important;
}
input#salePrice[type="tel"]:focus.invalid,
input#purchasePrice[type="tel"]:focus.invalid,
input#remortgageValue[type="tel"]:focus.invalid {
  box-shadow: 0 2px 0 0 #f44336 !important;
}
.quote-results-anchor {
  display: none;
  padding-top: 20px;
}
.quote-mortgage-wrap,
.quote-tenure-wrap,
.quote-check-wrap,
.quote-select-wrap,
.quote-element-wrap {
  font-size: 0.8rem;
}
.quote-heading {
  font-size: 0.8rem;
  text-align: left;
}
.quote-bold {
  display: inline;
  font-weight: bold;
}
.quote-form-check > .form-check-label {
  text-align: left;
}
.quote-select > input.select-dropdown {
  font-size: 0.8rem;
  color: #181732;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  margin-bottom: 0;
}
.quote-select > input.select-dropdown.invalid {
  /*color: #f44336;*/
  border-bottom: 1px solid #f44336;
  -webkit-box-shadow: 0 1px 0 0 #f44336;
  box-shadow: 0 1px 0 0 #f44336;
}


.quote-select > input.select-dropdown > .dropdown-content li > a, .dropdown-content li > span {
  padding: .3rem .5rem;
  font-size: 0.8rem;
}
/*.quote-select > .dropdown-content {
  top: 5px !important;
}*/
#getQuoteForm > .has-error > .help-block,
#getQuoteForm > .help-block {
  font-size: 0.8rem;
  color: red;
  width: 100%;
  margin-top: .25rem;
}
#numberOfSellers-error,
#numberOfBuyers-error,
#remortgageOwners-error,
#numberMortgages-error {
  font-size: 0.8rem !important;
}

.quote-tabs {
  position: relative;
  overflow-x: auto;
  border-radius: .3rem .3rem 0 0;
  background-color: #33b5e5;
}
.quote-tabs-table {
  display: table;
  width: 100%;
}
.quote-tabs-row {
  display: table-row;
  height: 100%;
}
.quote-tabs-cell {
  display: table-cell;
  padding: 20px 8px;
  vertical-align: middle;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 3px solid #33B5E5;
}
.quote-tabs-cell.active {
  color: #FFF;
  border-bottom: 3px solid #13547A;
}
.quote-tabs-cell-25 {
  width: 25%;
}
.quote-tabs-cell-33 {
  width: 33.33%;
}

/* CSS File for EXTERNAL conveyancer referral quoting pages */

.quote-wrap-external-html {
  height: auto;
  width: auto;
  /* max-width: 600px; */
}
.quote-wrap-external {
  /* max-width: 600px; */
}
#searchExternal {
  box-shadow: none !important;
  background-color: #E3E3E3 !important;
  border-radius: 8px;
}
.quote-tabs-external {
  border-radius: 8px 8px 0 0 !important;
}
.show-fee-breakdown {
  cursor: pointer;
}
.vat-exempt-flag{
  font-size: 8px;
  color: darkgrey;
}
.quote-terms > p {
  font-size: 13px; 
  color: darkgrey;
}

/* CSS For the Quote Ribbon */

.rib {
  width: 150px;
  height: 127px;
  overflow: hidden;
  position: absolute;
}
.rib::before,
.rib::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #BD882C;
}
.rib span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 10px 0;
  background-color: #CC9E4F;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 15px/1 Roboto, sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
}
.rib-top-right {
  top: -10px;
  right: -10px;
}
.rib-top-right::before,
.rib-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}
.rib-top-right::before {
  top: 0;
  left: 0;
}
.rib-top-right::after {
  bottom: 0;
  right: 0;
}
.rib-top-right span {
  left: -25px;
  top: 34px;
  transform: rotate(40deg);
}

.quote-info-fees {
  padding: 10px 5px 0 5px;
}
.quote-searches-wrap {
  display: block;
  background-color: #626b72;
  margin-top: 8px;
  font-size: 12px;
  padding: 5px 2px;
  font-weight: bold;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  color: #f3f3f3;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
}
.quote-searches-banner {
  display: none;
  position: relative;
  width: 100%;
  height: auto;
  padding: 9px 2px;
  font: 700 12px/1 Roboto, sans-serif;
  color: #FFF;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  background-color: #626b72;
  border-bottom: 1px solid #BDD0F7;
}



/* The 2 selections below add a green plus to MDB select version 4 for 'Add another property' option.  Ideally would have done it via a class on the option but this version of MDB doesn't let us do that. */
.add-gree-plus-to-item-5 li:nth-child(5):after {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  transform: translate(0,0);
  content: "\f067";
  margin-right: 10px;
  color: #5cb85c;
  vertical-align: middle;
  opacity:  0.4;
}
.add-gree-plus-to-item-5 li:nth-child(5) span {
  display:  inline-block;
}

.warning-label{
  color: #F48865;
}

.btn-outline-green {
    color: #78bb35 !important;
    background-color: transparent !important;
    border: 2px solid #78bb35 !important
}

.btn-outline-green:hover,
.btn-outline-green:focus,
.btn-outline-green:active,
.btn-outline-green:active:focus,
.btn-outline-green.active {
    color: #78bb35 !important;
    background-color: transparent !important;
    border-color: #78bb35 !important
}

.quote-info-total-margin-top-when-search-flag-included{
  margin-top: 1rem!important;
}

.width-50-percent {
  width: 50% !important;
}

/**** Media calls ****/

@media (max-width: 575.98px) {
  .quote-details-score {
    font-weight: normal;
  }
  .quote-info-icon {
    padding-left: 3px;
  }
  .quote-details-cell-stars {
    padding: 0 5px 0 10px;
  }

  .quote-searches-wrap {
    display: none;
  }
  .quote-searches-banner {
    display: block;
  }
  .quote-info-total-margin-top-when-search-flag-included{
    margin-top: 0!important;
  }

  .quote-info-proceed { /* so the words email quote are not compromised in mobile view for an agent */
    padding-left: 5px;
    padding-right: 5px;
  }

}




