/* ========== Mortgages page contact form */
.pum-content:focus,
.pum-content:focus-visible {
  outline: none;
}
.mortgage-inner {
  width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
}

.mortgage-title {  
}

.mortgage-title img {
  width: 90%;
}

.mortgage-contact-form {
  width: 50%;
}

.mortgage-contact-form h3 {
  color: white;
  font-weight: 700;
  font-size: 2.1rem; 
}

.mortgage-contact-form label {
  color: white;
  margin-bottom: 0;
  font-size: 1rem;
}

.mortgage-contact-form .mktoAsterix {
  display: none;
}

.mortgage-contact-form .form-group {
  margin-bottom: 0.3rem;
}

.mortgage-contact-form .mktoButtonRow {
  margin-top: 1rem;
}

.mortgage-contact-form .wpcf7-submit {
  background: #259BDB;
  font-weight: 700;
}

@media only screen and (max-width: 1170px) {
  .mortgage-inner {
    width: 950px;
  }
}

@media only screen and (max-width: 960px) {
  .mortgage-inner {
    width: 770px;
  }
}

@media only screen and (max-width: 790px) {
  .mortgage-inner {
    display: block;
  }
  
  .mortgage-title { 
    padding: 0 10%; 
  }
  
  .mortgage-contact-form {
    padding: 2rem 10% 0;
    width: 100%;
  }  
  
  .mortgage-contact-form h3 { 
    font-size: 1.7rem;
  } 
}

@media only screen and (max-width: 400px) {
  .mortgage-introduction {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .mortgage-introduction h1 {
    font-size: 25px !important;
  }
}

/* ========== New communigator forms */

.gf__form .gf__control {
  margin-bottom: 1rem;
}

/* MT removed 170620
.gf__form .gf__control label:before {
  content: '*';
}
*/

/* MT removed 110620
.gf__form .gf__control label[for^='Phone']:before {
  content: '';
}
*/

.gf__form .gf__control label:after {
  content: ':';
}

.gf__form .gf__control__input {
  display: block;
  line-height: 1.25;
  color: #464a4c;
  background-color: #fff;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.15);
  width: 100%;
}

.gf__form .gf__submit {
  -webkit-appearance: button;
  outline: 0;
  color: #fff !important;
  padding: .5em 1em;
  margin: 1px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #006691;
  font-size: 1em;
  border: 0;
  margin-top: 20px;
  width: 100% !important;
}

/* ========== New 2020 Home template */

/* ----- Top row */

.landing-2020.row-thirds {
  float: left;
  width: 33.33%;
  height: 30rem;
  display: inline-block;
  padding: 3rem;
  color: #FFFFFF !important;
}

.landing-2020.row-thirds.section {
  clear: none;
}

.landing-2020.row-thirds.bg-brand-blue-light h2,
.landing-2020.row-thirds.bg-brand-blue-light p,
.landing-2020.row-thirds.section.blue h2,
.landing-2020.row-thirds.section.blue p {
  color: #FFFFFF;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.landing-2020.row-thirds.bg-brand-blue-light h2,
.landing-2020.row-thirds.section.blue h2 {
  position: relative;
  margin-bottom: 1.5rem;
  text-transform: none;
  font-size: 3.8rem;
  line-height: 0.9;
  padding-top: 6rem;
}

.landing-2020.row-thirds .btn {
  margin-top: 1.5rem;
  border-color: #269ADE;
  background: #269ADE;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.7px;
  transition: all 0.2s ease-in-out;
}

.landing-2020.row-thirds.news .btn {  
  border-color: #0A3553;
  background: #0A3553;
}

.landing-2020.row-thirds .btn:hover {
  border-color: #195AA5;
  background: #195AA5;
}

@media only screen and (max-width: 1100px) {
  .landing-2020.row-thirds.bg-brand-blue-light h2,
  .landing-2020.row-thirds.section.blue h2 {
    font-size: 2.8rem;
  }  
}

/* ----- Second row */

.landing-2020.row-halfs {
  float: left;
  width: 50%;
  height: 19rem;
  display: inline-block;
  padding: 3rem 4rem 3rem !important;
  color: #259BDB !important;
}

.landing-2020.row-halfs.section {
  clear: none;
}

.landing-2020.row-halfs h3 {
  padding-top: 0rem; /* dots 4rem; */
  margin-bottom: 2rem;
  color: #259BDB;
  text-align: left;
  font-size: 3.0rem;
  font-weight: 500;
  line-height: 1.0;
}

.landing-2020.row-halfs h3 strong {
  font-weight: 500;
  color: #0A3553;
}

.landing-2020.row-halfs h4 {
  margin-bottom: 1rem;
  text-wrap: balance; /* To prevent widow words */
}

/* dots
.landing-2020.row-halfs h3:before {
 position: absolute;
 left: 0;
 top: 0;
 width: 132px;
 height: 5px;
 content: ' ';
 background: transparent url(/wp-content/themes/mellor2014/images/em_dotted_line_light_blue.png) no-repeat center center;
 background-size: cover;   
}
*/

.landing-2020.row-halfs a.input-btn,
.landing-2020.row-halfs form input,
.landing-2020.row-halfs form button {
  display: inline-block;
  line-height: 2.0;
  vertical-align: middle;
  border: 1px solid transparent;
  padding: .5rem 1rem;
  font-size: 0.9rem;
  border-radius: .25rem;
  background-color: #E5F4FB;
  cursor: pointer;
}

.landing-2020.row-halfs a.input-btn,
.landing-2020.row-halfs form input.btn,
.landing-2020.row-halfs form button {
  display: inline-block;
  position: relative;
  left: -0.3rem;
  border-color: #269ADE;
  background: #269ADE;
  font-weight: 700;
  color: #FFFFFF;
  transition: all 0.2s ease-in-out;
}

.landing-2020.row-halfs a.input-btn {
  min-width: 50%;
  font-size: 1rem;
  text-align: center;
}

.landing-2020.flex-column .row .row { /* bit hacky... RH 20241023  */
  flex-direction: column;
}

.landing-2020.row-halfs a.input-btn:hover,
.landing-2020.row-halfs form input.btn:hover,
.landing-2020.row-halfs form button:hover {
  border-color: #195AA5;
  background: #195AA5;
}
  
.landing-2020.row-halfs.home-finder {
  background-color: #E4E4E3;
}

.landing-2020.row-halfs.home-finder h3 {
  color: #0A3553;
}

.landing-2020.row-halfs.home-finder h3 strong {
  color: #259BDB;
}

.landing-2020.row-halfs.home-finder input {
  background-color: #FFFFFF;
}

.landing-2020.row-halfs.home-finder button {
  margin-right: 0.5rem;
  margin-top: 1rem;
}

.landing-2020.row-halfs.home-finder label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #0A3553;
  cursor: pointer;
}

.landing-2020.row-halfs.home-finder label input {
  position: relative;
  top: -1px;
  margin-right: 0.3rem;
}

@media only screen and (max-width: 1110px) {
  .landing-2020.row-halfs h3 {
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
  }
}
@media only screen and (max-width: 1000px) {
  .landing-2020.row-halfs {
    padding: 3rem;  
  }
  
  .landing-2020.row-halfs.valuation input[type=text] {
/*    width: 130px;*/
  }
}

@media only screen and (max-width: 940px) {
  .landing-2020.row-thirds,
  .landing-2020.row-halfs {
    float: none;
    width: 100%;
    padding: 2.5rem !important;
  }
  
  .landing-2020.row-thirds {
    height: 24rem;
    background-size: cover !important;
  }
  
  .landing-2020.row-halfs {
    height: 13rem;
  }
  
  .landing-2020.row-halfs h3 {
    padding-top: 0rem;
  }

  .landing-2020.row-halfs h3:before {
    background: none;
  }

  .landing-2020.row-halfs.home-finder {
    padding-top: 1.5rem !important;
  }  
  
  .landing-2020.row-halfs.home-finder input[type=text] {
/*    width: 130px;*/
  }
}

@media only screen and (max-width: 750px) {
  .landing-2020.row-halfs {
    height: 16rem;
  }
    
}
  
@media only screen and (max-width: 430px) {
  .landing-2020.row-thirds, 
  .landing-2020.row-halfs {
    padding: 2.5rem 1rem 1.5rem !important;
  }
    
  .landing-2020.row-thirds.bg-brand-blue-light h2,
  .landing-2020.row-thirds.bg-brand-blue-light p,
  .landing-2020.row-thirds.section.blue h2,
  .landing-2020.row-thirds.section.blue p {
    font-size: 1.2rem;
  }
  
  .landing-2020.row-thirds.bg-brand-blue-light h2,
  .landing-2020.row-thirds.section.blue h2 {
    font-size: 2.5rem;
  }

  .landing-2020.row-halfs.home-finder {
    padding-top: 2rem !important;
  }    
    
  .landing-2020.row-halfs h3 {
    font-size: 2.2rem;
  }
  
  .landing-2020.row-halfs form input,
  .landing-2020.row-halfs form button {
    font-size: 0.8rem;
    padding: .3rem 0.7rem;
  }
     
  .landing-2020.row-halfs.valuation input[type=text] {
/*    width: 110px !important;*/
  }
     
  .landing-2020.row-halfs.home-finder input[type=text] {
/*    width: 110px !important;*/
  }   
}

/* ----- Services block */

.landing-2020.services-slider h2 {
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.landing-2020.services-slider .card {
  border: 2px solid #269ADE;
}

.landing-2020.services-slider .card .icon {
  color: #269ADE;
}

.landing-2020.services-slider .card-block {
  border-radius: 3px;
  background: #0A3553;
}

.landing-2020.services-slider .btn-primary {
  border-color: #269ADE;
  background: #269ADE;
}

.landing-2020.services-slider #lightSlider {
  margin-bottom: 1.5rem;
}

.landing-2020.services-slider .lSSlideOuter .lSPager.lSpg>li a {
  background: #269ADE;
}

.landing-2020.services-slider .lSSlideOuter .lSPager.lSpg>li:hover a {
  background: #FFFFFF;
}

.landing-2020.services-slider .lSSlideOuter .lSPager.lSpg>li.active a {
  background: #FFFFFF;  
}

/* ========== Auction listing page */

.badge a {
  color: #fff;
}

/* ========== Mortgages page */

#idIframe iframe {
  width: 100%;
  height: 100%;
}

#idIframe.embed-responsive-16by9::before {
  padding-top: 65%;
}

@media only screen and (max-width: 1170px) {
  #idIframe.embed-responsive-16by9::before {
    padding-top: 77%;
  }  
}

@media only screen and (max-width: 970px) {
  #idIframe.embed-responsive-16by9::before {
    padding-top: 100%;
  }  
  
  #idIframe.embed-responsive {
    height: 910px;
  }
}

@media only screen and (max-width: 770px) {
  #idIframe.embed-responsive {
    height: 1170px;
  }
}

/* ========== Move modal down past covid banner */

.modal-dialog {
  margin-top: 125px !important;
}

/* Change youtube link in footer */

.icon-youtube:before {
  content: '';
}

.icon-youtube {
  display: inline-block;
  background: transparent url(/wp-content/themes/mellor2014/images/youtube-icon.svg) no-repeat center top;
  background-size: 32px 32px;
  width: 33px;
}