/* ANIMATIONS */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.table--border {
  border-collapse: collapse;
  width: 100%;
}
.table--border,
.table--border th,
.table--border td {
  border: 1px solid #e5e5e5;
}
.table--border th,
.table--border td {
  padding: 6px 14px;
}

.no-margin {
  margin: 0;
}

/*generic hide element up to 768px*/

@media only screen and (max-width: 576px) {
  .hide_mob {
    display: none;
  }
  #footer_holder .middle .description,
  #footer_holder .middle .features .container_footer_text p {
    padding-bottom: 0rem;
  }
  #footer_holder .middle .description p {
    margin-bottom: 25px;
  }
}

/* GENERAL */
select::-ms-expand {
  display: none;
}

@media only screen and (max-width: 767px) {
  .mobile-center {
    text-align: center;
  }
  .main_button.large {
    margin-top: 0%;
    font-size: 14px !important;
    min-height: 45px !important;
  }
  .main_button {
    font-size: 19.2px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #ffffff;
  }
}

/* BUTTONS */

.main_button,
.secondary_button {
  border-radius: 120px;
  outline: none;
  cursor: pointer;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  letter-spacing: -0.2px;
  min-width: 8rem;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
}

.main_button.large,
.secondary_button.large {
  font-size: 16px;
  min-height: 52px;
  min-width: 262px;
  font-weight: bold;
  letter-spacing: 1.4px;
}

.main_button {
  background-color: #ffb933;
  color: white;
  border: none;
}

.whatsNextButton {
  background: white;
  color: #128aa7 !important;
  font-family: Lato;
  font-size: 20px !important;
  font-weight: normal !important;
  box-shadow: 0 2px 27px 0 rgba(0, 0, 0, 0.1);
  display: flex !important;
  align-items: center;
  padding: 30px;
  text-align: left !important;
}

.main_button:hover {
  background: #e6a01a;
}
.whatsNextButton .call-icon {
  /* margin: 0 auto; */
}
.whatsNextButton .img > i {
  width: 30px;
  height: 27px;
  margin: 0 auto;
  vertical-align: middle;
  display: inline-block;
  background-image: url(/i/icons/sprite/sprite.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  padding-bottom: 3px;
}
.whatsNextButton:hover {
  box-shadow: 0 2px 27px 0 #3fbee1 !important;
  background: #3fbee1 !important;
  color: #fff !important;
}
.whatsNextButton:hover .img > i {
  background-position: 0 -44px;
}
.house-icon-what-next > i {
  background-position: 0 -90px;
}
.whatsNextButton:hover .house-icon-what-next > i {
  background-position: 0 -135px;
}
.whatsNextButton:hover .call-icon > svg > g > g {
  fill: white;
}

.main_button.grey {
  background-color: #bebebe;
}

.main_button.grey:hover {
  background-color: #a9a4a4;
}

.main_button.white {
  color: #45c4d8;
  background-color: #ffffff;
}

.main_button.white:hover {
  color: #ffffff;
  background-color: #45c4d8;
}

.main_button.cardWhite {
  font-size: 20px;
  font-weight: bold;
  /* padding: 30px 10px; */
  border-radius: 17px;
}

.main_button.blue {
  background-color: #45c4d8;
}

.main_button.blue:hover {
  background-color: #3eb0c2;
}

.main_button:disabled {
  background-color: #bebebe;
  cursor: default;
}

a.main_button,
a.secondary_button {
  display: inline-block;
  min-height: 0;
  font-weight: normal;
  line-height: normal;
}

a.main_button:hover {
  color: #fff;
}

.main_button.calculate {
  width: 100%;
  float: left;
  min-height: 50px;
}

.secondary_button {
  background: none;
  border: 1px solid #38accd;
  color: #38accd;
}

.secondary_button:hover {
  background: #42adca;
  color: #fff;
}

.secondary_button.inverted {
  border-color: #fff;
  color: #fff;
}

.secondary_button.inverted:hover {
  background: #fff;
  color: #52a6bf;
}

.secondary_button.grayscale {
  border-color: #e5e5e5;
  color: #303030;
  background: none;
}

.secondary_button.grayscale:hover {
  border-color: #bababa;
  background: none;
}

.home_page_phone_number > a {
  font-size: 27px !important;
  font-weight: bold !important;
}
.home-page-trustpilot-wrapp {
  background-color: #fafafa;
}

@media only screen and (min-width: 576px) {
  .main_button,
  .secondary_button {
    width: auto;
  }
}

@media only screen and (min-width: 768px) {
  .main_button.calculate {
    min-width: 319px;
    width: auto;
  }

  .main_button.cardWhite {
    min-height: 113px !important;
  }

  .whatsNextButton {
    flex-direction: column !important;
    text-align: center !important;
    font-size: 16px !important;
    justify-content: center;
    width: 100%;
    align-items: stretch;
    min-height: 165px !important;
  }

  .whatsNextButton img {
    margin: 0 auto;
    margin-bottom: 5px;
    width: 28px;
  }
}

@media only screen and (min-width: 1024px) {
  .main_button.calculate {
    margin-left: 31px;
  }
}

.subheading {
  font-size: 28px;
  font-weight: normal;
  line-height: 1.36;
  letter-spacing: -1px;
  text-align: center;
  color: #3f3f3f;
  max-width: 77%;
  margin: 30px auto;
}

@media only screen and (min-width: 568px) {
  .subheading {
    font-size: 28px;
  }
}

@media only screen and (min-width: 768px) {
  .subheading {
    text-align: left;
    max-width: none;
  }

  .subheading.center {
    text-align: center;
  }
}

/* CHECKBOX */

#styledCheckbox {
  display: flex;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
#styledCheckbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox button */
#styledCheckbox .customCheckBox {
  width: 19px;
  height: 19px;
  border: solid 1px #359fc8;
  flex-shrink: 0;
}

#styledCheckbox .checkBoxHeading {
  padding-left: 7px;
  font-size: 14px;
  color: #323234;
  font-weight: 300;
}

/* When the checkbox button is checked, add a white background */
#styledCheckbox input[type="checkbox"]:checked ~ .customCheckBox {
  width: 19px;
  height: 19px;
  background-color: #359fc8;
  border: solid 1px #359fc8;
  opacity: 1;
  background-image: url("/i/icons/white-deals-checked.svg");
  background-repeat: no-repeat;
  background-size: 17px 16px;
  background-position: center;
}

#styledCheckbox {
  background: transparent;
  box-shadow: none;
  outline: none;
  outline-width: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* HERO IMAGE */
#hero_image {
  position: relative;
  background-image: url("/i/banners/hero_img_home_page_mobile.jpg"); /*default image until we have all correct client ones*/
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 116%;
}

#hero_image #hero_text {
  /*    text-transform: capitalize;
*/
  color: #323234;
  margin: 0;
  letter-spacing: 0.7px;
  text-align: center;
}

#hero_image .info {
  position: absolute;
  display: flex;
  flex-direction: column;
  text-align: center;
  top: 0;
  height: 100%;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 2em;
  line-height: 1.2;
  letter-spacing: 0.7px;
  padding: 65px 5% 0 !important;
  box-sizing: border-box;
}

#hero_image #text_crumb,
#hero_image_small #text_crumb {
  position: absolute;
  top: 1rem;
  left: 5%;
  z-index: 1;
  display: none;
}

#hero_image #text_crumb_mobile {
  display: none;
}

#ftb_best_deals_page #hero_image {
  background-image: url("/i/banners/hero_image_life-insurance-page_mobile.jpg");
}

.information_page #hero_image {
  background-image: url("/i/banners/hero_img_information_page.jpg");
}

#mortgage_calculators_page #hero_image {
  background-image: url("/i/banners/hero_img_calculators_page_mobile.jpg");
}

#hero_phone_number {
  margin-bottom: 0.5em;
  margin-top: 0.3em;
  font-weight: 500;
  line-height: 1.59;
  letter-spacing: 0.6px;
}

/* HERO IMAGE */
#hero_image {
  position: relative;
  background-image: url("/i/banners/hero_img_first_time_buyers_page_mobile.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 140%;
}

#hero_image #hero_text {
  font-size: 30px;
  font-weight: 600;
  color: #000000;
}

#hero_image #text_crumb,
#hero_image_small #text_crumb {
  position: absolute;
  top: 1rem;
  left: 5%;
  z-index: 1;
  display: none;
}

#hero_image .hero_strapline {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
  color: #38accd;
  max-width: 100%;
  margin: 1rem 0 0;
  display: inline-block;
}

#hero_image .hero_text_block {
  font-size: 14px;
  margin: 1em 0 0 0;
  color: #ffffff;
}

#hero_image .hero_contact {
  display: inline-block;
  margin: 1rem 1rem 0 0;
  padding-left: 2rem;
}

#hero_image .hero_contact p {
  font-size: 1.2rem;
  line-height: 1.25;
  padding: 0;
  margin: 0;
  display: none;
}

#hero_image .hero_contact .trustpilot_row {
  margin-top: 4px;
}

#hero_image .hero_contact .trustpilot_row a {
  text-decoration: none;
}

#hero_image .hero_contact .trustpilot_row img {
  height: 30px;
}

#hero_phone_number .call_now {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

#hero_phone_number .advice {
  font-size: 15px;
  margin: 10px 0 0;
}

#hero_image .tel_mortgage_banner {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.57;
  color: #000000;
}

#hero_phone_number .tel_mortgage_banner {
  display: block;
  font-size: 33.7px;
  font-weight: 500;
  line-height: 1;
  color: #38accd;
}

#hero_image #text_crumb_mobile {
  display: none;
}

#home_page #hero_image {
  background-image: url("/i/banners/new_hero_image_home_375x492.jpg");
  padding-bottom: 80px;
}

#first_time_buyer_page #hero_image {
  background-image: url("/i/banners/hero_image_ftb_375x492.jpg");
}

#ftb_best_deals_page #hero_image {
  background-image: url("/i/banners/hero_img_mortgage_deals_page_mobile.jpg");
}

#buy_to_let_page #hero_image {
  background-image: url("/i/banners/hero_image_b2l_375x492.jpg");
}

#remortgage_page #hero_image {
  background-image: url("/i/banners/hero_image_remorgage_375x492.jpg");
}

#moving_home_page #hero_image {
  background-image: url("/i/banners/hero_image_moving_home_375x492.jpg");
}

.information_page #hero_image {
  background-image: url("/i/banners/hero_img_information_page_mobile.jpg");
}

.new-build-mortgage-page #hero_image {
  background-image: url("/i/banners/hero_image_new_build_375x492.jpg");
}

#mortgage_calculators_page #hero_image {
  background-image: url("/i/banners/hero_img_calculators_page_mobile.jpg");
}
/*Mobile Picture */
.life-insurance-page #hero_image {
  background-image: url("/i/banners/hero_image_life_insurance_375x492.jpg");
}
.high-net-worth-page #hero_image {
  background-image: url("/i/banners/hero_img_high-net-worth-finance_375x492.jpg");
}

.specialist-lending #hero_image {
  background-image: url("/i/banners/hero_img_specialist-lending_375x492.jpg");
}

.shared-ownership-page #hero_image {
  background-image: url("/i/banners/hero_image_shared_ownership_375x492.jpg");
}
.limited-company-page #hero_image {
  background-image: url("/i/banners/hero_image_limited_company_375x492.jpg");
}
.later-life-page #hero_image {
  background-image: url("/i/banners/hero_image_later_life_375x492.jpg");
}
.offshore-mortgage-page #hero_image {
  background-image: url("/i/banners/hero_image_offshore_375x492.jpg");
}
.development-loans-page #hero_image {
  background-image: url("/i/banners/hero_image_development_375x492.jpg");
}
.portfolio-landlord-page #hero_image {
  background-image: url("/i/banners/hero_image_b2l_portfolio_375x492.jpg");
}
.commercial-loans-page #hero_image {
  background-image: url("/i/banners/hero_image_commercial_375x492.jpg");
  padding-bottom: 80px;
}

.bridging-loans-page #hero_image {
  background-image: url("/i/banners/hero_image_bridging_loans_375x492.jpg");
}

#hero_phone_number {
  margin-bottom: 0.5em;
  margin-top: 0.3em;
  font-weight: 500;
  line-height: 1.59;
  letter-spacing: 0.6px;
}

.cost_calc_repayment {
  font-family: Lato;
  font-size: 38px;
  font-weight: 500;
  color: #3f3f3f;
  margin-bottom: 40px;
}

.remortgage_result_heading {
  font-weight: 300 !important;
  font-size: 18px !important;
  text-align: left;
  color: #3f3f3f;
}

.remortgage_result_subheading {
  text-align: left;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #3f3f3f !important;
}

.cost_calc_time_saved {
  font-family: Lato;
  font-size: 38px;
  font-weight: 500;
  color: #3f3f3f;
  margin: 40px 0;
}

.remortgage_monthly_overpayments {
  font-size: 20px !important;
  color: #3f3f3f;
  font-weight: 300 !important;
  margin-bottom: 10px !important;
}

.remortgage_monthly_overpayments strong {
  font-size: 20px !important;
  font-weight: 500 !important;
}

.result_total_stamp_duty {
  font-family: Lato;
  font-size: 38px;
  color: #3f3f3f;
  font-weight: bold;
  margin: 30px 0;
}

.stamp_duty_heading {
  font-family: Lato;
  font-size: 20px;
  color: #3f3f3f;
  font-weight: 300;
  line-height: 1.7;
}

.extra_bands {
  display: none;
}

.stamp_duty_result {
  margin-top: 24px;
}

.monthly_repayments {
  font-family: Lato;
  font-size: 20px;
  color: #3f3f3f;
  font-weight: 300;
  line-height: 1.7;
}

.result_buttons .recalculate {
  font-size: 20.8px;
  font-weight: bold;
}

/* information topics */

.showhide {
  display: none;
}

.showhide.active {
  display: block;
}

#hero_image:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#hero_image #hero_text,
#hero_image #hero_text_subtitle,
#hero_image .hero_contact,
#hero_image .tel_mortgage_banner,
#hero_phone_number {
  color: #fff;
}
#hero_image .hero_strapline {
  font-size: 27px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.26;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
}

#hero_image #hero_text {
  font-size: 38.7px;
  font-weight: 500;
  font-style: normal;
}

#hero_image.home #hero_phone_number .call_now,
#hero_image.home #hero_phone_number .advice,
#hero_image.home #hero_text,
#hero_image.home #hero_text_subtitle {
  color: white;
}

#hero_image.home #hero_text {
  max-width: none;
  width: 100%;
  font-weight: 600;
}

#hero_image.home .info {
  padding: 0px 5% 0 !important;
  font-size: 2vw;
}

.main_button {
  margin-top: 3%;
  padding: 0.85rem 1.4rem;
  font-size: 19.2px;
}
.main_button.hero-img-btn-arr {
  margin-top: 7%;
  margin-bottom: 4%;
  font-size: 17px;
}

@media only screen and (min-width: 375px) {
  #hero_image {
    padding-top: 120%;
  }
  #hero_image .hero_contact p {
    display: block;
    opacity: 0.84;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
  }
  .main_button.hero-img-btn-arr {
    margin-top: 7%;
    margin-bottom: 8%;
    padding: 0.85rem 2.2rem;
  }
}
@media only screen and (max-width: 375px) {
  #hero_image .hero_contact p {
    display: block;
    opacity: 0.84;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
  }
}
.new-margin-for-the-menu {
  /* margin-top: 82px; */
}
/*tablet portrait sized*/

@media only screen and (min-width: 576px) {
  #hero_image {
    padding-top: 50%;
    background-position: right 0;
  }
  #hero_image .hero_contact p {
    display: none;
  }

  #hero_image.home {
    padding-top: 55%;
    background-position: 50% 0;
  }

  #hero_image .hero_contact {
    border-left: #38accd 2px solid;
    margin: 2rem -3rem 0 0;
  }

  #hero_image #hero_text,
  #hero_image .hero_strapline,
  #hero_image .hero_contact,
  #hero_image .tel_mortgage_banner {
    color: #000;
  }
  .main_button {
    margin-top: 0%;
    font-size: 15px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    text-align: center;
    color: #ffffff;
  }
  .main_button.hero-img-btn-arr {
    margin-top: 0%;
  }
  #hero_image #hero_text {
    font-size: 33.7px;
    font-weight: 600;
    color: #000000;
  }

  #hero_image .hero_strapline {
    color: #38accd;
    font-size: 27px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    color: #38accd;
  }

  #hero_image .hero_text_block {
    color: #000;
  }

  /* For Retina screens */
  #home_page #hero_image {
    background-image: url("/i/banners/banner-image@1xhow-does-the-mortgage-process-work.jpg");
    background-image: url("/i/banners/banner-image@1xhow-does-the-mortgage-process-work.webp");
  }

  #buy_to_let_page #hero_image {
    background-image: url("/i/banners/banner-image@2xbuy-to-let.jpg");
    /* margin-top: 82px; */
  }

  #remortgage_page #hero_image {
    background-image: url("/i/banners/hero_img_remortgage_page.jpg");
    /* margin-top: 82px; */
  }

  #moving_home_page #hero_image {
    background-image: url("/i/banners/banner-image@2xmoving-home.jpg");
    /* margin-top: 82px; */
  }
  /*Dekstop picture*/
  .life-insurance-page #hero_image {
    background-image: url("/i/banners/banner-image@2xlife-insurance.jpg");
    /* margin-top: 82px; */
  }
  .high-net-worth-page #hero_image {
    background-image: url("/i/banners/banner-image@2xhigh-net-worth-finance.jpg");
  }
  .specialist-lending #hero_image {
    background-image: url("/i/banners/banner-image@2xspecialist_lendig.jpg");
  }
  .limited-company-page #hero_image {
    background-image: url("/i/banners/banner-image@2xlimited-company.jpg");
    /* margin-top: 82px; */
  }
  .new-build-mortgage-page #hero_image {
    background-image: url("/i/banners/banner-image@2xnew-build-mor.jpg");
    /* margin-top: 82px; */
  }
  .shared-ownership-page #hero_image {
    background-image: url("/i/banners/banner-image@2xsheared-ownership.jpg");
    /* margin-top: 82px; */
  }
  .offshore-mortgage-page #hero_image {
    background-image: url("/i/banners/banner-image@2offshore-mor.jpg");
    /* margin-top: 82px; */
  }

  #hero_image #hero_text {
    text-align: left;
    font-size: 34px;
    max-width: 277px;
  }

  #hero_image.home #hero_text {
    max-width: 50%;
    font-size: 4.5vw;
  }

  #hero_image .hero_strapline {
    font-size: 27px;
    padding-top: 1.8rem;
    width: 38%;
    margin: 0px 20px 0 0;
    vertical-align: middle;
  }

  #hero_image .hero_contact {
    vertical-align: middle;
  }

  #hero_image .info {
    left: 11%;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
    padding: 6px 0 0 0;
  }

  #hero_image.home .info {
    left: 0;
    top: 0;
    justify-content: center;
    /* max-width: 532px; */
  }

  #hero_phone_number {
    margin-bottom: 5px;
    margin-top: 5px;
  }

  #hero_phone_number .call_now {
    font-size: 16px;
  }

  #hero_phone_number .advice {
    font-size: 12px;
    margin: 10px 0 0;
    max-width: 300px;
  }

  #hero_phone_number .tel_mortgage_banner {
    text-align: left;
  }

  #hero_image {
    /*default image until we have all real ones*/
    background-image: url("/i/banners/image@2xfirst-time.jpg");
    /* margin-top: 82px; */
  }

  #first_time_buyer_page #hero_image {
    background-image: url("/i/banners/image@2xfirst-time.jpg");
  }

  #mortgages_page #hero_image {
    background-image: url("/i/banners/hero_img_mortgages_page.jpg");
  }

  #ftb_best_deals_page #hero_image {
    background-image: url("/i/banners/hero_img_mortgages_page.jpg");
  }

  #mortgage_calculators_page #hero_image {
    background-image: url("/i/banners/hero_img_calculators_page_tablet.png");
  }
  /*Tablet*/
  .life-insurance-page #hero_image {
    background-image: url("/i/banners/banner-image@2xlife-insurance.jpg");
    /* margin-top: 82px; */
  }
  .high-net-worth-page #hero_image {
    background-image: url("/i/banners/banner-image@2xhigh-net-worth-finance.jpg");
  }
  .specialist-lending #hero_image {
    background-image: url("/i/banners/banner-image@2xspecialist_lendig.jpg");
  }
  .later-life-page #hero_image {
    background-image: url("/i/banners/banner-image@2xlater-life.jpg");
    /* margin-top: 82px; */
  }
  .bridging-loans-page #hero_image {
    background-image: url("/i/banners/banner-image@2xbringing-loans.jpg");
    /* margin-top: 82px; */
  }
  .commercial-loans-page #hero_image {
    background-image: url("/i/banners/banner-image@2xcommercial-loans.jpg");
    /* margin-top: 82px; */
  }
  .menuButton > g {
    stroke: #38accd;
  }
  /* .ah-logo > g{
        fill:#38accd;
    } */
  .white-phone > svg > path {
    fill: #38accd;
  }
  .development-loans-page #hero_image {
    background-image: url("/i/banners/banner-image@2xdevelopment-loans.jpg");
    /* margin-top: 82px; */
  }
  .portfolio-landlord-page #hero_image {
    background-image: url("/i/banners/banner-image@2xportfolio.jpg");
    /* margin-top: 82px; */
  }

  .trustpilot_logo {
    width: 14rem;
    height: 13rem;
    background-image: url(/i/icons/trustpilot.svg);
    background-repeat: no-repeat;
    position: absolute;
    right: 2rem;
    bottom: -6rem;
  }
}
/* FOR RETINA OF SAME SIZE */
@media only screen and (min-width: 576px) and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-width: 576px) and (min-resolution: 192dpi) {
  #home_page #hero_image {
    background-image: url("/i/banners/banner-image@2xhow-does-the-mortgage-process-work.jpg");
    background-image: url("/i/banners/banner-image@2xhow-does-the-mortgage-process-work.webp");
  }
  #hero_image #hero_text {
    text-align: left;
  }
}
@media only screen and (max-width: 1440px) {
  #hero_image .info {
    left: 0%;
    padding-left: 48px;
  }
}
.ourLedersPicture > .testimonial_shadow::after {
  content: "";
  width: 379.8px;
  height: 412.2px;
  border-radius: 6.3px;
  background-color: #fafafa;
  border: solid 0.5px #f1f1f1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  box-shadow: 0 6px 9px rgba(0, 0, 0, 0.13);
}

/*tabelt break point*/

@media only screen and (min-width: 768px) {
  #hero_image {
    padding-top: 48%;
  }
  #hero_image .hero_contact p {
    display: none;
  }

  #hero_image.home {
    padding-top: 48%;
    background-position: 50% 0;
  }

  #hero_image.home #hero_text {
    font-size: 4vw;
  }

  #hero_image #hero_text {
    font-size: 33px;
    max-width: none;
  }

  #hero_image .hero_strapline {
    font-size: 27px;
    padding-top: 1.8rem;
    vertical-align: middle;
    width: 40%;
  }

  .main_button.large {
    font-size: 16px;
    min-width: 210px;
    min-height: 40px;
  }

  #photo_buttons_menu .photo_button {
    padding-top: 12%;
  }

  .photo_button .subtitle {
    font-size: 14px;
  }

  #mortgage_calculators_page #hero_image {
    background-image: url("/i/banners/hero_img_calculators_page.png");
  }

  #first_time_buyer_page #hero_image {
    background-image: url("/i/banners/image@2xfirst-time.jpg");
    /* margin-top: 82px; */
  }

  #hero_phone_number {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  #hero_image #hero_text,
  #hero_image .hero_strapline,
  #hero_image .hero_contact,
  #hero_image .tel_mortgage_banner,
  #hero_phone_number {
    color: #000;
  }

  #hero_phone_number .call_now {
    font-size: 18px;
    font-weight: normal;
    color: #000;
  }

  #hero_phone_number .advice {
    font-size: 13.8px;
    margin: 10px 0 0;
  }

  #hero_phone_number .tel_mortgage_banner {
    font-size: 33.7px;
  }
}

@media only screen and (min-width: 1024px) {
  #hero_image,
  #hero_image.home {
    padding-top: 33%;
  }
  #hero_image.home {
    background-position: 75% 0;
  }

  #hero_image.home #hero_text {
    font-size: 4vw;
  }

  #hero_image:before {
    content: none;
  }

  #hero_image .hero_contact p {
    display: none;
  }

  #hero_image #hero_text {
    font-size: 28px;
  }
  #hero_image #hero_text {
    color: #000;
  }
  #hero_image .hero_strapline {
    color: #38accd;
    width: 100%;
  }
  #hero_image .hero_contact {
    color: #000;
  }
  #hero_image .tel_mortgage_banner {
    color: #000;
  }
  #hero_phone_number {
    margin-bottom: 15px;
    margin-top: 15px;
  }
  #hero_phone_number .call_now {
    font-size: 18px;
    color: #000;
  }
  #hero_phone_number .advice {
    font-size: 13.8px;
    margin: 10px 0 0;
    color: #000;
    max-width: 300px;
  }
  #hero_phone_number .tel_mortgage_banner {
    font-size: 28px;
  }
  #hero_image #text_crumb,
  #hero_image_small #text_crumb {
    display: block;
  }
  .main_button.large {
    min-height: 52px;
    min-width: 350px;
    font-size: 20px;
    letter-spacing: -0.1px;
  }
  .all_guide_info {
    align-items: flex-end;
  }

  .trustpilot_logo {
    width: 18rem;
    height: 15rem;
    background-image: url(/i/icons/trustpilot.svg);
    background-repeat: no-repeat;
    position: absolute;
    right: 3rem;
    bottom: -6rem;
  }
}

@media only screen and (min-width: 1440px) {
  #hero_image {
    padding-top: 25%;
  }

  #hero_image.home {
    background-position: right 0;
  }
  #hero_image .hero_contact p {
    display: none;
  }

  #hero_image #hero_text {
    font-size: 34px;
  }

  #hero_image.home #hero_text {
    font-size: 59px;
  }

  #hero_phone_number .tel_mortgage_banner {
    font-size: 33.7px;
  }
}

/* SMALL HERO IMAGE */
#hero_image_small {
  position: relative;
}

#hero_image_small #text_crumb_mobile {
  position: absolute;
  top: 20px;
  width: 100%;
  z-index: 1;
}

@media only screen and (min-width: 576px) {
  #hero_image_small {
    display: block;
    background-image: url("/i/banners/hero_img_contact_page.jpg"); /*default image until we have all real ones*/
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 14%;
  }
  #hero_image #hero_text,
  #hero_image .hero_contact,
  #hero_image .tel_mortgage_banner,
  #hero_phone_number {
    color: #000;
  }
  #hero_image .hero_strapline {
    color: #38accd;
    text-align: left;
  }
  #hero_phone_number .call_now {
    font-size: 18px;
    font-weight: normal;
    color: #000;
  }
  .home_page_phone_number > a {
    font-size: 33.7px !important;
    font-weight: 500 !important;
    line-height: 1.23;
    color: #38accd !important;
  }
  .home_page_trustpilot_wrapp {
    margin-top: 30px;
  }
}

/* PAGE INTRO SECTION */

/* to position breadcrumb */

.page_intro_breadcrumb {
  margin: 1rem 0 0 5rem;
}

.page_intro {
  text-align: center;
  width: 100%;
  max-width: 1127px;
  margin: 2rem auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page_intro h1 {
  font-size: 28px;
  line-height: 0.96;
  letter-spacing: -1px;
  color: #3f3f3f;
  text-align: center;
}

.page_intro p {
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0px;
  color: #3f3f3f;
}

.page_intro .link_module {
  margin-top: 50px;
}

@media only screen and (min-width: 768px) {
  .page_intro {
    text-align: left;
    max-width: none;
    padding: 0 10% 20px;
  }

  .page_intro h1 {
    text-align: left;
  }

  .page_intro p {
    font-size: 19.5px;
    font-weight: 300;
  }
}

@media only screen and (min-width: 1024px) {
  .page_intro .link_module {
    margin-top: 30px;
  }
}

/* CUSTOMISE DEALS FORM */
.customise_deals {
  margin: 0;
  padding: 0 5% 0;
  list-style: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.customise_deals li {
  margin: 0 0 2.5rem 0;
  font-size: 0;
}
.customise_deals .borrow_amount {
  display: block;
}

.customise_deals .mortgage_length input[type="number"] {
  width: 50px;
  margin-right: 10px;
  text-align: center;
}
.customise_deals .mortgage_length span {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.33;
  letter-spacing: -0.4px;
}
.customise_deals label {
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 0.5em;
}
.customise_deals input[type="number"],
.customise_deals input[type="text"] {
  height: 36px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  margin: 0;
  padding: 5px;
  font-size: 15px;
  color: #303030;
  width: 100%;
}
.customise_deals input[type="radio"] {
  display: none;
}

.customise_deals input[type="radio"] + label {
  background: none;
  line-height: 35px;
  font-size: 15px;
  letter-spacing: -0.4px;
  text-align: center;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-block;
  width: 50%;
  opacity: 0.4;
  border: solid 1.8px #fff;
}

.customise_deals input[type="radio"]:checked + label {
  background-color: #fff;
  color: #303030;
  opacity: 1;
}

.customise_deals .calculate_all {
  margin-bottom: 0;
}

.customise_deals .calculate_all a {
  border-radius: 110px;
  background-color: #45c4d8;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 2.5;
  text-align: center;
  color: #fff;
  display: inline-block;
  width: 100%;
}

@media only screen and (min-width: 576px) {
  .customise_deals .calculate_all button {
    display: inline-block;
    width: 311px;
  }

  .customise_deals .calculate_all {
    text-align: center;
    display: block;
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
}

@media only screen and (min-width: 1024px) {
  .customise_deals {
    width: 100%;
    position: relative;
    padding: 0 200px 0 30px;
  }
  .customise_deals li {
    float: left;
    vertical-align: bottom;
    margin: 0;
    box-sizing: border-box;
  }
  .customise_deals .borrow_amount {
    width: 40%;
    padding-right: 2%;
    padding-left: 10%;
    margin: 0;
    display: table-cell;
  }
  .customise_deals .mortgage_length {
    width: 22%;
    padding-right: 2%;
    margin: 0;
    display: table-cell;
  }

  .customise_deals .mortgage_type {
    width: 34%;
  }

  .customise_deals .mortgage_type fieldset > div {
    display: table;
  }

  .customise_deals label,
  .customise_deals legend {
    font-size: 20px;
    margin-bottom: 1em;
  }

  .blue_module .customise_deals legend {
    color: #fff;
  }

  .customise_deals input[type="number"],
  .customise_deals input[type="text"] {
    width: auto;
  }

  .customise_deals input[type="radio"] + label {
    width: auto;
    display: table-cell;
  }
  .customise_deals .calculate_all {
    position: absolute;
    right: 30px;
    width: auto;
  }

  .customise_deals .calculate_all .equal_height {
    display: block;
    margin-bottom: 1em;
    font-size: 1rem;
  }

  .customise_deals .calculate_all button {
    font-size: 16.5px;
    display: inline-block;
    width: 165px;
  }
}

/* CONTACT US HEADER */
.contact_header {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #1a2123;
  text-align: center;
}

.contact_header a {
  font-size: 38px;
  font-weight: 500;
  line-height: 0.71;
  letter-spacing: 0.1px;
  text-decoration: none;
  color: #38accd;
}

.contact_header h2 {
  font-size: 27px;
  font-weight: normal;
  line-height: 1.36;
  letter-spacing: -1px;
  text-align: center;
  margin-right: 15%;
  margin-left: 15%;
}

.contact_header #tel {
  font-size: 22px;
  line-height: 1.59;
  letter-spacing: -0.7px;
  color: #38accd;
}

.contact_header .opening_times {
  font-size: 24px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: -0.8px;
  color: #1a2123;
}

.contact_header .contact_divider {
  padding-bottom: 1em;
}

@media only screen and (min-width: 768px) {
  .contact_header {
    text-align: center;
    width: 516px;
    margin: 35px auto 0;
    font-size: 18px;
    letter-spacing: 0;
    text-align: left;
  }

  .contact_header h2 {
    font-size: 24px;
    line-height: 1.13;
    letter-spacing: -0.2px;
    font-weight: normal;
    margin-bottom: 0;
    width: auto;
    margin-top: 51px;
    margin-right: 0;
    margin-left: 0;
  }

  .contact_header a {
    font-size: 38px;
    font-weight: 500;
    line-height: 0.71;
    letter-spacing: 0.1px;
  }

  .contact_header p {
    margin-top: 0;
  }

  .contact_header #tel {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.71;
    letter-spacing: 0.1px;
    color: #38accd;
  }

  .contact_header .opening_times {
    font-size: 24px;
    line-height: 1.13;
    letter-spacing: -0.2px;
    color: #3f3f3f;
  }

  .contact_header .contact_divider {
    border: none;
    padding-bottom: 0.6em;
    text-align: center;
  }
}

/* CONTACT AND CAREERS FORMS */

.contact_form > h2 {
  margin-top: 0;
}

.contact_form label,
.careers_form label {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: -0.4px;
  text-align: left;
  color: #303030;
  margin-top: 1em;
  margin-bottom: 5px;
  display: block;
}

.contact_form legend span,
.careers_form legend span {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: -0.4px;
  color: #303030;
}

.contact_form input,
.contact_form textarea,
.careers_form input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  margin: 0;
}

.careers_form textarea {
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  margin: 0;
}

.contact_form fieldset {
  margin: 0;
}

.contact_form input[type="radio"] {
  display: none;
}

.contact_form input[type="radio"] + label {
  border-radius: 50px;
  border: solid 2px #38accd;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-align: center;
  color: #38accd;
  padding: 14px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.contact_form input[type="radio"]:checked + label {
  background-color: #38accd;
  color: #fff;
}

.contact_form button[type="submit"] {
  margin-top: 30px;
  box-sizing: border-box;
}

@media only screen and (min-width: 576px) {
  .careers_form .form_elements.action_buttons li {
    width: 48%;
    float: left;
    clear: none;
    margin-right: 2%;
  }

  .careers_form .form_elements.action_buttons li a,
  .careers_form .form_elements.action_buttons li button {
    min-width: 250px;
  }
}

@media only screen and (min-width: 768px) {
  #radio_buttons_career_form {
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
    column-count: 3;
    column-gap: 20px;
  }

  .contact_form form,
  .careers_form form {
    width: 100%;
    max-width: 826px;
    margin: 0 auto;
  }

  .contact_form .form_elements li,
  .careers_form .form_elements li {
    width: 48%;
    float: left;
    clear: none;
    margin-right: 2%;
  }

  .contact_form .form_elements li:nth-child(odd),
  .careers_form .form_elements li:nth-child(odd) {
    clear: both;
  }

  .contact_form .form_elements li:nth-child(even),
  .careers_form .form_elements li:nth-child(even) {
    float: right;
    margin-right: 0;
  }

  .contact_form .form_elements li.full-width,
  .careers_form .form_elements li.full-width {
    width: 100%;
    clear: both;
    margin-right: 0%;
  }

  .contact_form form legend {
    font-size: 28px;
    line-height: 0.96;
    text-align: left;
    color: #3f3f3f;
    padding: 50px 0 35px;
    display: block;
  }

  .contact_form form legend span {
    text-align: left;
  }

  .contact_form button[type="submit"] {
    min-width: 48%;
    margin-top: 30px;
    /*      font-weight: bold;
*/
  }
}
#footer_holder .middle .features .footer_feature_fee:before,
#footer_holder .middle .features .footer_feature_fee:after {
  height: 3.4rem;
}
.footer_feature_fee {
  flex: 1 73%;
  display: flex;
}
#footer_holder .warnings {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.container_footer_text {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer_text {
  display: inline-block;
  text-align: left;
  color: #fff;
  font-size: 12.8px;
  line-height: 15px;
  margin: 10px;
}

.footer_text:first-child {
  width: 100%;
}

.footer_text:not(:first-child) {
  flex: 1;
}

/*Sitemap list*/

#sitemap_list {
  list-style-type: none;
}

/* CONTACT OFFICE LIST */
#contact_offices {
  background-color: #f8f8f8;
}

#contact_office_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#contact_office_list li {
  box-sizing: border-box;
  margin-bottom: 30px;
}

#contact_office_list li a {
  text-decoration: none;
}

#contact_office_list li a:hover img {
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.5);
}

#contact_office_list li img {
  width: 100%;
}

#contact_office_list li figure {
  margin: 0;
}

#contact_office_list li figcaption {
  font-size: 20px;
  font-weight: 500;
  line-height: 2.27;
  letter-spacing: 0.5px;
  text-align: center;
  color: #525252;
}

@media only screen and (min-width: 768px) {
  #contact_office_list {
    margin: 50px 0;
    list-style-type: none;
    text-align: center;
  }

  #contact_office_list li {
    display: inline-block;
    width: 40%;
    margin-right: 2%;
  }
}

/* THANKS */

.thanks_copy {
  text-align: center;
  max-width: 550px;
  margin: 0 auto;
}

.thanks_copy p {
  font-size: 18px;
}

@media only screen and (min-width: 768px) {
  .thanks_copy h1 {
    text-align: center;
    font-size: 46px;
    margin-bottom: 1em;
  }
}

@media only screen and (min-width: 1024px) {
  .thanks_intro {
    padding-bottom: 70px;
    padding-top: 70px;
  }
}

/* DATEPICKER */
.ui-datepicker {
  padding: 0;
}

.ui-datepicker .ui-datepicker-header {
  padding: 0.3em 0;
}

.ui-datepicker .ui-datepicker-next span {
  position: relative;
}

.ui-datepicker .ui-datepicker-next span:after,
.ui-datepicker .ui-datepicker-next span:before,
.ui-datepicker .ui-datepicker-prev span:after,
.ui-datepicker .ui-datepicker-prev span:before {
  left: 0%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ui-datepicker .ui-datepicker-prev span:after,
.ui-datepicker .ui-datepicker-prev span:before {
  left: auto;
  right: 0;
}

.ui-datepicker .ui-datepicker-next span:after {
  border-color: rgba(255, 255, 255, 0);
  border-left-color: #ffffff;
  border-width: 5px;
  margin-top: -5px;
}

.ui-datepicker .ui-datepicker-prev span:after {
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #ffffff;
  border-width: 5px;
  margin-top: -5px;
}

.ui-datepicker .ui-datepicker-next span:before {
  border-color: rgba(56, 172, 205, 0);
  border-left-color: #38accd;
  border-width: 6px;
  margin-top: -6px;
}
.ui-datepicker .ui-datepicker-prev span:before {
  border-color: rgba(56, 172, 205, 0);
  border-right-color: #38accd;
  border-width: 6px;
  margin-top: -6px;
}

.ui-datepicker .ui-widget-header .ui-state-hover {
  border-color: #fff;
  background: none;
}

.ui-datepicker.ui-widget.ui-widget-content {
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
  border: solid 0.5px #dadbdb;
}

.ui-datepicker .ui-datepicker-header {
  background-color: #fff;
  border: none;
}

.ui-datepicker .ui-datepicker-title {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: -0.3px;
  text-align: center;
  color: #000000;
}

.ui-datepicker .ui-datepicker-calendar thead {
  border-top: solid 1px #eaeaea;
  border-bottom: solid 1px #eaeaea;
  color: #38accd;
}

.ui-datepicker .ui-datepicker-calendar td {
  line-height: 200%;
}

.ui-datepicker .ui-datepicker-calendar thead th {
  color: #38accd;
}

.ui-datepicker .ui-state-default {
  border-color: #fff;
  background: none;
  font-size: 10px;
  text-align: center;
  border-radius: 5px;
}

.ui-datepicker .ui-state-active {
  background-color: #38accd;
  color: #fff;
}

/* PHOTO BUTTON */
#photo_buttons_menu {
  float: none;
  padding: 10px 20px;
  background-color: #f8f8f8;
}

#photo_buttons_menu .photo_button {
  position: relative;
  padding-top: 47%;
  margin: 20px 0;
  -webkit-box-shadow: 0 2px 10px 0 rgba(129, 175, 188, 0.26);
  -moz-box-shadow: 0 2px 10px 0 rgba(129, 175, 188, 0.26);
  box-shadow: 0 2px 10px 0 rgba(129, 175, 188, 0.26);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

.photo_button .text {
  position: absolute;
  text-align: center;
  top: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #323234;
}

.photo_button a {
  color: black;
}

.photo_button .title {
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0.2px;
  color: #323234;
  font-size: 33px;
  margin: 0;
  letter-spacing: 0;
}

.photo_button .cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-align: center;
  color: #ffffff;
  background-color: #38accd;
  border-radius: 84px;
  padding: 10px 15px;
  margin: 20px 0 0;
}

.photo_button .cta:after {
  content: ">";
  display: inline-block;
  margin-left: 5px;
}

.photo_button_first_time_buyer {
  background-image: url("/i/buttons/FTB.jpg");
}

.photo_button_buy_to_let {
  background-image: url("/i/buttons/Buy-to-let.jpg");
}

.photo_button_remortgage {
  background-image: url("/i/buttons/Remortgaging.jpg");
}

.photo_button_home_mover {
  background-image: url("/i/buttons/Moving-home.jpg");
}

#photo_buttons_menu #photo_button {
  width: 100%;
}

.photo_button_bridging_loans {
  background-image: url("/i/buttons/bridging_loans.jpg");
}

.photo_button_commercial_loans {
  background-image: url("/i/buttons/commercial_loans.jpg");
}

.photo_button_development_loans {
  background-image: url("/i/buttons/development_loans.jpg");
}

.photo_button_limited_company_buy_to_let {
  background-image: url("/i/buttons/btl_limited_company.jpg");
}
/* photo button titles */

@media only screen and (min-width: 576px) {
  #photo_buttons_menu {
    padding: 1%;
  }

  #photo_buttons_menu .photo_button {
    width: 48%;
    float: left;
    padding-top: 23%;
    margin: 1%;
  }

  .photo_button .title {
    font-size: 28px;
  }

  .photo_button:hover .title,
  .photo_button:hover .subtitle {
    color: #fff;
  }

  .photo_button:hover .cta {
    background: #fff;
    color: #000;
  }

  .photo_button:hover:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(to bottom, #38accd, #3296b2);
    opacity: 0.7;
  }

  #photo_buttons_menu .photo_button:last-child {
    margin-right: 0;
  }
}

@media only screen and (min-width: 768px) {
  #photo_buttons_menu {
    padding: 1% 0.5%;
  }

  #photo_buttons_menu .photo_button {
    width: 24%;
    float: left;
    padding-top: 17%;
    margin: 0 0.5%;
  }
  #photo_buttons_menu .specialist-lending .photo_button {
    width: 19%;
  }

  .photo_button .title {
    font-size: 18px;
  }

  .photo_button {
    background-size: cover;
    padding-top: 12.7%;
  }
}

@media only screen and (min-width: 1024px) {
  #photo_buttons_menu .photo_button {
    padding-top: 12%;
  }
}

@media only screen and (min-width: 1404px) {
  .photo_button .title {
    font-size: 33px;
  }
  .specialist-lending .photo_button .title {
    font-size: 24px;
  }
}

/* how_ah_can_help */

#how_ah_can_help {
  background: #fafafa;
  color: #323234;
  clear: both;
  padding: 3rem 10%;
}

#how_ah_can_help p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
  color: #323234;
}

#how_ah_can_help h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -1px;
  text-align: center;
  margin-top: 0;
}

#how_ah_can_help form {
  text-align: center;
}

/* WHY CHOOSE AH */

#why_choose_ah {
  background-color: #fff;
  text-align: center;
  clear: both;
}

#why_choose_ah h2 {
  text-align: center;
  margin-top: 0.85em;
}

@media only screen and (min-width: 768px) {
  #why_choose_ah {
    text-align: left;
    padding-top: 3rem;
    padding-bottom: 4rem;
    max-width: 500px;
    margin: 0 auto;
  }

  #why_choose_ah h2 {
    font-size: 32px;
    text-align: left;
    display: block;
  }

  #how_ah_can_help h2 {
    text-align: left;
  }
}

/* TESTIMONIALS */

#testimonials {
  text-align: center;
}

.advisers_card_title {
  font-size: 26px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: 2.12;
  letter-spacing: -0.7px;
  text-align: center;
  color: #323234;
  margin-bottom: 0;
}

#testimonials ul {
  margin: 0;
  padding: 0;
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  border-radius: 6.3px;
}

#testimonials::after {
  content: "";
  width: 379.8px;
  height: 420px;
  border-radius: 6.3px;
  background-color: #fafafa;
  border: solid 0.5px #f1f1f1;
  position: absolute;
  top: 64.5%;
  left: 50%;
  transform: translate(-50%, -63%);
  z-index: -1;
  box-shadow: 0 6px 9px rgba(0, 0, 0, 0.13);
}

.testimonial_card {
  box-sizing: border-box;
  position: relative;
  list-style: none;
  text-align: center;
  padding: 0 0 40px 0;
}
.career_wrapp_people {
  box-sizing: border-box;
  position: relative;
  list-style: none;
  text-align: center;
  /* padding: 40px 0; */
  display: inline-flex;
  padding: 0 15px;
}

.testimonial_card.small {
  margin: 70px 0;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.career_wrapp_people.small {
  margin: 70px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial_card.small:last-child {
  margin-bottom: 3rem;
}
.career_wrapp_people.small:last-child {
  /* margin-bottom: 3rem;  */
}

.testimonial_shadow {
  padding: 15px 0px;
  background-color: #fbfbfc;
  box-shadow: 0 6px 9px rgba(0, 0, 0, 0.13);
  max-width: 308.7px;
  border-radius: 6.3px;
  margin: 0 auto;
}
.career_wrapp_people > .testimonial_shadow {
  background-color: #fbfbfc;
  box-shadow: 0 6px 9px rgba(0, 0, 0, 0.13);
  min-width: 380px;
  border-radius: 6.3px;
  margin: 0 auto;
  padding: 0;
  max-width: none;
}

.tesimonial_quote_holder {
  position: absolute;
  top: 165px;
  left: 30px;
}

.testimonial_card .testimonial_image_wrap {
  height: 225px;
  width: 225px;
  overflow: hidden;
  border-radius: 50%;
  margin-top: 8px;
  position: relative;
  display: inline-block;
  border: solid 1px #f1f1f1;
}
.career_wrapp_people > .testimonial_shadow > .testimonial_image_wrap {
  height: 225px;
  width: 225px;
  overflow: hidden;
  border-radius: 50%;
  margin-top: 8px;
  position: relative;
  display: inline-block;
  border: solid 1px #f1f1f1;
}

.testimonial_card.small .testimonial_image_wrap {
  height: 120px;
  width: 120px;
  margin-top: -60px;
}

.career_wrapp_people.small > .testimonial_shadow > .testimonial_image_wrap {
  height: 120px;
  width: 120px;
  margin-top: -60px;
}

.testimonial_card .testimonial_image_wrap img {
  height: 100%;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  max-width: none;
}
.career_wrapp_people > .testimonial_shadow > .testimonial_image_wrap img {
  height: 100%;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  max-width: none;
}

.testimonial_card h3 {
  opacity: 0.9;
  font-size: 24.3px;
  font-weight: 600;
  line-height: 2;
  text-align: center;
  color: #323234;
  margin-top: 0px;
  margin-bottom: 0px;
}
.career_wrapp_people h3 {
  opacity: 0.9;
  font-size: 24.3px;
  font-weight: 600;
  line-height: 2;
  text-align: center;
  color: #323234;
  margin-top: 0px;
  margin-bottom: 0px;
}
.testimonial_card .position_advisers {
  opacity: 0.9;
  font-size: 16.2px;
  font-weight: 600;
  line-height: 3;
  text-align: center;
  color: #bebebf;
  margin: 0px;
}
.career_wrapp_people .position_advisers {
  opacity: 0.9;
  font-size: 16.2px;
  font-weight: 600;
  line-height: 3;
  text-align: center;
  color: #bebebf;
  margin: 0px;
}

.testimonial_card.small h3 {
  margin-bottom: 5px;
  line-height: 1;
}
.career_wrapp_people.small h3 {
  margin-bottom: 5px;
  line-height: 1;
  margin-top: 15px;
}

.testimonial_card h4 {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  color: #323234;
}
.career_wrapp_people h4 {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  color: #323234;
}

.testimonial_card.small h4 {
  margin-top: 5px;
  margin-bottom: 15px;
  line-height: 1;
}
.career_wrapp_people.small h4 {
  margin-top: 5px;
  line-height: 1;
  height: 40px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial_card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.56;
  letter-spacing: normal;
  text-align: center;
  color: #323234;
  margin: 10px 40px 0 40px;
}
.career_wrapp_people p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.56;
  letter-spacing: normal;
  text-align: center;
  color: #323234;
  margin: 10px 40px 0 40px;
}

.testimonial_card p:first-of-type {
  height: 150px;
  vertical-align: center;
  display: flex;
  align-items: center;
}

.career_wrapp_people p:first-of-type {
  vertical-align: center;
  display: flex;
  align-items: center;
}

.testimonial_card.small p {
  margin-top: 5px;
}
.career_wrapp_people.small p {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  height: 60px;
  margin: 5px 10px;
}

.testimonial_card a {
  text-decoration: none;
  font-size: 20.1px;
}
.career_wrapp_people a {
  text-decoration: none;
  font-size: 16.5px;
}

.testimonial_card p a:hover {
  border-bottom: solid 2px #1589aa;
}
.career_wrapp_people p a:hover {
  border-bottom: solid 2px #1589aa;
}

@media only screen and (min-width: 1024px) {
  #why_choose_ah {
    max-width: none;
    margin: 0;
  }

  #why_choose_ah h2 {
    font-size: 35px;
  }

  #testimonials::after {
    top: 62.5%;
  }
}

@media only screen and (min-width: 768px) {
  .tesimonial_quote_holder {
    left: 46px;
  }
}

@media only screen and (min-width: 1024px) {
  .careers_profile_links .testimonial_card.small {
    margin: -10px auto 70px;
  }
  .careers_profile_links .career_wrapp_people.small {
    margin: -10px auto 70px;
  }
  .advisers_card_title {
    font-size: 24px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 2.29;
    letter-spacing: -0.7px;
    text-align: center;
    margin-top: 0px;
  }
}

/* BLOG */
/* these cards can be used on other pages  */
.card {
  display: block;
  background: #fff;
  margin-bottom: 24px;
  text-decoration: none;
  box-shadow: 0 0 12px #ddd;
}
.card.clickable {
  cursor: pointer;
  transition: 0.3s ease;
}
.card.clickable:hover {
  box-shadow: 0 0 12px #aaa;
}
a.card {
  height: auto;
  min-height: 47px;
  margin: 0 24px 24px 0;
  box-shadow: 0 0 12px #ddd;
}
.no-touch a.card:hover {
  box-shadow: 0 0 15px #aaa;
}
.card .card_contents {
  padding: 8px 12px;
  position: relative;
}

.card .card_contents h5 {
  font-weight: normal;
}
.card_stack,
card .card_contents h5 {
  line-height: 143%;
  margin-bottom: 6px;
}
/* horizontal card layout (default. Photo on top of copy) */
.card_collection .card {
  width: 220px;
  margin: 0 24px 24px 0;
  min-height: 330px;
  float: left;
  transition: 0.3s ease;
}
.card_collection .card .card_contents {
  min-height: 180px;
}

/* specific number of cards in the collection eg, My Foxtons, Students etc */

.card_collection_2,
.card_collection_3,
.card_collection_4 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.card_collection_2 .card {
  width: 48.5%;
}
.card_collection_3 .card {
  width: 32%;
}
.card_collection_4 .card {
  width: 23%;
  margin-right: 0;
  float: none;
  min-height: 0;
}
.card_collection_3 img,
.card_collection_4 img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media only screen and (max-width: 1026px) {
  .card_collection_4 .card {
    width: 48%;
    margin-top: 24px;
  }
}

/* AH FEATURES BUTTONS */

#ah_features_buttons {
}

.icon_button {
  font-size: 1.1rem;
  margin: 60px 0;
}

.icon_button:first-child {
  margin-top: 0;
}

.icon_button:last-child {
  margin-bottom: 0;
}

.icon_button img {
  width: 80px;
  height: 80px;
  margin: 20px auto;
}

.icon_button h3 {
  color: #3a444e;
  font-size: 1.275rem;
  font-weight: normal;
  margin: 0 0 0.8rem 0;
}

.icon_button .subtitle {
  color: #323234;
  font-weight: 300;
  line-height: 1.6;
  font-size: 107%;
}

.icon_button .round_border .round_border {
  width: 5.3rem;
  height: 5.3rem;
  border-width: 1.4px;
  margin: 0;
}
.icon_button_advice {
  content: url(/i/icons/advice.svg);
}
.icon_button_your_terms {
  content: url(/i/icons/your_terms.svg);
}
.icon_button_hassle_free {
  content: url(/i/icons/hassle_free.svg);
}
.icon_button_deals {
  content: url(/i/icons/exclusive_deals.png);
}
.icon_button_supportive {
  content: url(/i/icons/supportive.png);
}

@media only screen and (min-width: 576px) {
  #ah_features_buttons {
    margin: 0 10%;
  }
}

@media only screen and (min-width: 768px) {
  #ah_features_buttons {
    max-width: 500px;
    margin: 40px auto 0;
  }

  .icon_button {
    padding-left: 110px;
    position: relative;
  }

  .icon_button img {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}

@media only screen and (min-width: 1024px) {
  #ah_features_buttons {
    margin: 0;
  }
}

/*TEXT BASED PAGES - pages included cookies.html*/

.text_based_pages {
  /*class for headers on text based pages*/
}

@media only screen and (min-width: 768px) {
  .text_based_pages {
  }
}

.topics ol {
  list-style: none;
}

.topics li {
  margin: 0;
}

li.text_list_item {
  list-style-type: none;
}

.topics .answer > ol > li:before {
  counter-increment: mycounter;
  content: counter(mycounter) ". ";
  font-weight: bold;
}

.topics .answer > ol:first-of-type {
  counter-reset: mycounter;
}

.topics .answer > ol h3 {
  display: inline-block;
  font-weight: bold;
}

.topics ol > li {
  margin: 0px 0 10px 0;
  padding: 8px 0px 0 0em;
}

.topics ol > li > ol li {
  list-style-type: lower-roman;
  margin-left: 30px;
}

.topics ul > li {
  margin-bottom: 10px;
}

/* mortgage_advice_banner */

#mortgage_advice_banner {
  display: flex;
  justify-content: center;
  text-align: center;
  color: white;
  background-image: url("/i/banners/mortgage_advice_background_mobile.jpg");
}

#mortgage_advice_banner h2 {
  font-size: 2.6rem;
  line-height: 1.16;
  font-weight: normal;
  color: white;
  margin-top: 0.85em;
}

#mortgage_advice_banner .subtitle {
  font-weight: bold;
  letter-spacing: 0.4px;
  margin: 20px 0 10px;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 2.68;
}

#mortgage_advice_banner .tel_mortgage_banner {
  font-size: 33px;
  font-weight: bold;
  letter-spacing: 0.7px;
  margin: 0 0 30px;
  display: block;
}

#mortgage_advice_banner a {
  text-decoration: none;
  color: #ffffff;
}

#mortgage_advice_banner a:hover {
  text-decoration: none;
  color: #ffffff;
}

#mortgage_advice_banner .content {
  padding: 0 20px 40px;
}
#mortgage_advice_banner .subtitle {
  font-weight: bold;
  letter-spacing: 0.8px;
  margin: 20px 0 10px;
  font-size: 15px;
  line-height: 2.68;
}
#mortgage_advice_banner .tel_mortgage_banner {
  font-size: 33.6px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.21;
  letter-spacing: 0.6px;
  text-align: center;
  color: #ffffff;
}

@media only screen and (min-width: 576px) {
  #mortgage_advice_banner .content {
    padding: 0 20% 40px;
  }
}

@media only screen and (min-width: 768px) {
  #mortgage_advice_banner {
    background-image: url("/i/banners/mortgage_advice_background.jpg");
    background-size: cover;
  }

  #mortgage_advice_banner .content {
    margin: 80px 0;
  }

  #mortgage_advice_banner h2 {
    font-size: 44px;
    font-weight: 600;
    margin: 0 auto 1rem auto;
    max-width: 610px;
  }
  #mortgage_advice_banner .subtitle {
    font-weight: bold;
    letter-spacing: 0.4px;
    margin: 10px 0 10px;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 2.68;
    font-style: normal;
    font-stretch: normal;
  }

  #mortgage_advice_banner .tel_mortgage_banner {
    font-size: 38px;
  }

  #mortgage_advice_banner .main_button.large {
    min-width: 22rem;
    font-size: 20px;
  }
  #mortgage_advice_banner .tel_mortgage_banner {
    font-size: 33px;
    font-weight: bold;
    letter-spacing: 0.7px;
    margin: 0 0 30px;
    display: block;
  }
  .table-leter-borrowing {
    width: 100%;
    border: 1px solid #3da9cd;
    border-top: 15px solid #3da9cd;
    border-spacing: 0px;
    border-collapse: collapse;
  }
  .table-leter-borrowing > tbody > tr > td {
    width: 30%;
    padding: 15px 5px;
  }

  .table-leter-borrowing > caption {
    padding: 1rem;
    font-weight: bold;
    font-size: 15px;
    padding: 5px;
  }
  .life-borrowing-left {
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    padding: 5px;
  }
  .leter-life-table-list {
    text-align: left;
  }
  .life-borrowing-center {
    text-align: center;
    color: #3da9cd;
    font-size: 14px;
    padding: 5px;
  }
  .col-life-bor {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    padding: 5px;
    padding: 15px 0;
  }
}
/*Mobile Life Borrow Table*/
.table-leter-borrowing {
  width: 100%;
  border: 1px solid #3da9cd;
  border-top: 15px solid #3da9cd;
  border-spacing: 0px;
  table-layout: fixed;
}
.table-leter-borrowing > caption {
  padding: 1rem;
  font-weight: bold;
  font-size: 15px;
}
.life-borrowing-left {
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: #333;
}
.life-borrowing-center {
  text-align: center;
  color: #3da9cd;
  font-size: 14px;
}
.col-life-bor {
  font-weight: bold;
  font-size: 1.1em;
  color: #333;
  font-size: 14px;
}

.under_a_line {
  text-align: center;
}

.under_a_line:before {
  content: "";
  width: 3.6875rem;
  border-bottom: solid 1px black;
  display: block;
  margin-bottom: 1rem;
  margin: 1rem auto;
  text-align: center;
}

#home_page .under_a_line:before {
  width: 4.2rem;
}

@media only screen and (min-width: 576px) {
  .under_a_line:before {
    margin: 0 0 1rem 0;
  }
  .under_a_line {
    text-align: left;
  }
}

@media only screen and (max-width: 320px) {
  .mortgage_submenu_button {
    font-size: 2.6em;
  }
}

.mortgage_submenu.showhide_submenu {
  justify-content: normal;
  margin-bottom: 0;
}

.mortgage_submenu_button {
  position: relative;
  font-size: 2rem;
  background: none;
  border: none;
  color: #3f3f3f;
  outline: none;
  padding: 0 0 0 55px;
  text-decoration: none;
  /*    text-transform: capitalize;
*/
}

#basic_calculators_view .mortgage_submenu_button {
  display: flex;
  align-items: flex-start;
}

.mortgage_submenu_button img {
  position: absolute;
  left: 5px;
  top: 5px;
}

#basic_calculators_view .mortgage_submenu_button img {
  top: 0px;
}

.mortgage_submenu_button h2 {
  display: inline;
  font-size: 2rem;
  margin-top: 1.3rem;
}

.mortgage_submenu .mortgage_submenu_button {
  cursor: pointer;
  border-right: solid 1.5px #f3f3f3;
  border-top: solid 1.5px #f3f3f3;
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding: 15px 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #323234;
}
.side_bar_title {
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.72;
  letter-spacing: normal;
  color: #323234;
  position: absolute;
  left: 3%;
  margin-top: 117px;
}
.mortgage_submenu.showhide_submenu .mortgage_submenu_button {
  box-shadow: none;
}
.button_guide_mobile {
  box-shadow: none;
  width: 100% !important;
}
.mobileDopdown {
  margin: 0 10px !important;
}

.mortgage_submenu .mortgage_submenu_button:hover,
.mortgage_submenu.showhide_submenu .mortgage_submenu_button.hover_highlight,
.mortgage_submenu.showhide_submenu
  .mortgage_submenu_button.hover_highlight:hover {
  background: #55b7d4;
  border-color: #55b7d4;
  color: #fff;
  /* padding: 15px 0; */
}

.mortgage_submenu.showhide_submenu .mortgage_submenu_button:hover,
.mortgage_submenu.showhide_submenu .mortgage_submenu_button.hover_highlight,
.mortgage_submenu.showhide_submenu
  .mortgage_submenu_button.hover_highlight:hover {
  padding: 15px 0 15px 0;
}

.mortgage_submenu.showhide_submenu .mortgage_submenu_button:hover {
  background: #fff;
  border-color: #f3f3f3;
  color: #38accd;
  border-left: 1px solid #38accd;
}

.mortgage_submenu.grey .mortgage_submenu_button.hover_highlight,
.mortgage_submenu.grey .mortgage_submenu_button.hover_highlight:hover {
  background: #fff;
  border-color: #eff0f0;
  color: #38accd;
  border-left: 1px solid #38accd;
}
.hover_highlightMobile {
  /* margin-left: 15px!important; */
}

/*.mortgage_submenu_button span, .mortgage_submenu_button h2{
    margin-top: 1rem;
    min-width: 0px;
    text-transform: capitalize;
    font-weight: normal;
} */

.mortgage_submenu_button.grey span {
  color: #939393;
  font-size: 0.9rem;
}

.mortgage_page_section .mortgage_submenu_button span {
  margin-top: 0rem;
}

@media only screen and (max-width: 420px) {
  .calc_logo {
    margin-top: 7px !important;
  }
  #basic_calculators_view .mortgage_submenu_button {
    margin-left: 10px;
  }
  .whatsNextButton .call-icon {
    padding-right: 0px;
    margin: 0;
  }
}
@media only screen and (max-width: 768px) {
  .whatsNextButton .img > i {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
  .whatsNextButton > img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  .call-icon > svg {
    height: 30px;
    width: 30px;
    margin-right: 10px;
  }
  .house-icon-what-next > i {
    background-position: 0 -90px;
  }
  .whatsNextButton:hover .house-icon-what-next > i {
    background-position: 0 -132px;
  }
  .whatsNextButton:hover .img > i {
    background-position: 0 -42px;
  }
  .whatsNextButton:hover .house-icon-what-next > i {
    background-position: 0 -132px;
  }
}

.mortgage_submenu_button i {
  margin: 0 0.8rem 0.3rem 0;
  height: 27px;
  vertical-align: middle;
  display: inline-block;
  width: 30px;
  background-image: url("/i/icons/sprite/sprite.svg");
  background-repeat: no-repeat;
  background-size: 100%;
}

.mortgage_submenu_button.calculators i {
  background-position: 0 0;
}
.mortgage_submenu_button.calculators:hover i,
.mortgage_submenu_button.calculators.hover_highlight i {
  background-position: 0 -44px;
}
.mortgage_submenu_button.mortgage_deals i {
  background-position: 0 -90px;
}
.mortgage_submenu_button.mortgage_deals:hover i,
.mortgage_submenu_button.mortgage_deals.hover_highlight i {
  background-position: 0 -135px;
}
.mortgage_submenu_button.guides i {
  background-position: 0 -182px;
}
.mortgage_submenu_button.guides:hover i,
.mortgage_submenu_button.guides.hover_highlight i {
  background-position: 0 -228px;
}
.mortgage_submenu_button.testimonials i {
  background-position: 0 -272px;
}
.mortgage_submenu_button.testimonials:hover i,
.mortgage_submenu_button.testimonials.hover_highlight i {
  background-position: 0 -316px;
}

.mortgage_submenu.showhide_submenu .mortgage_submenu_button span:after {
  content: "";
  width: 1.2rem;
  display: block;
  margin: 0.3rem auto 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  visibility: hidden;
}

.mortgage_submenu.showhide_submenu .mortgage_submenu_button:hover span:after {
  border-color: #1589aa;
}

.mortgage_submenu.showhide_submenu
  .mortgage_submenu_button.hover_highlight:hover
  span:after {
  border-color: #ffffff;
}

.mortgage_submenu.showhide_submenu.grey
  .mortgage_submenu_button.hover_highlight
  span:after {
  border-color: #1589aa;
}

.mortgage_submenu.showhide_submenu .mortgage_submenu_button:hover span:after,
.mortgage_submenu.showhide_submenu
  .mortgage_submenu_button.hover_highlight
  span:after {
  visibility: visible;
}

#basic_calculators_view .mortgage_submenu_button {
  color: white;
}

.mortgage_submenu_button.multi {
  padding: 0px 0 0 20px;
  font-size: 0.7rem;
}

@media only screen and (max-width: 576px) {
  .mortgage_submenu .mortgage_submenu_button:nth-child(2n + 2) {
    border-right: none;
  }
  .mortgageDealsButton {
    text-align: center;
  }

  .mortgage_submenu_button .our_lenders_icon {
    left: -4px;
  }
  .mortgage_submenu .mortgage_submenu_button {
    /* font-size: 14px;*/
    text-align: left;
    padding-left: 14px;
  }
  .limited-company_links {
    text-align: center !important;
  }
  #hero_image {
    margin-top: 0 !important;
  }
}

@media only screen and (max-width: 375px) {
  .limited-company_links:nth-child(1) {
    width: 100%;
  }
  .limited-company_links:nth-child(3) {
    border-left: solid 1.5px #f3f3f3;
    border-bottom: solid 1.5px #f3f3f3;
  }
  .limited-company_links:nth-child(2) {
    border-bottom: solid 1.5px #f3f3f3;
    border-right: solid 1.5px #f3f3f3;
  }
}

@media only screen and (min-width: 375px) {
  .limited-company_links:nth-child(1) {
    width: 100%;
  }
  .limited-company_links:nth-child(2) {
    border-bottom: solid 1.5px #f3f3f3;
    border-right: solid 1.5px #f3f3f3;
  }
  .limited-company_links:nth-child(3) {
    border-left: solid 1.5px #f3f3f3;
    border-bottom: solid 1.5px #f3f3f3;
  }
  .footer_text {
    display: contents;
  }
}

@media only screen and (min-width: 576px) {
  .mortgage_submenu {
    padding: 1%;
  }
  .mortgage_submenu_button .our_lenders_icon {
    left: -8px;
  }

  #basic_calculators_view .mortgage_submenu_button img {
    top: 4px;
  }

  .information_page .mortgage_submenu_button img {
    top: 5px;
  }

  .mortgage_submenu .mortgage_submenu_button {
    border: solid 1px #f3f3f3;
    width: 50%;
    /*  font-size: 15px;*/
  }
  .button_guide_mobile {
    width: 100% !important;
  }
  .limited-company_links:nth-child(1) {
    width: 98%;
  }
  .limited-company_links {
    padding: 0px;
  }
  .limited-company-wrapp {
    padding: 2% 15%;
  }
  .footer_text {
    display: inline-block;
  }
}

@media only screen and (min-width: 768px) {
  .mortgage_submenu.showhide_submenu {
    padding: 0;
    margin: 150px 0%;
  }
  #mobileDopdown > .mortgage_submenu.showhide_submenu {
    margin: 0% 0%;
  }

  .mortgage_submenu .mortgage_submenu_button {
    box-shadow: 0 8px 10px 0 rgba(53, 53, 53, 0.12);
    width: 25%;
  }
  .limited-company_links {
    width: 31.32% !important;
  }
  .limited-company-wrapp {
    padding: 2% 15%;
  }

  .mortgage_submenu.showhide_submenu .mortgage_submenu_button {
    width: 25%;
  }
  .mortgage_submenu.showhide_submenu .all_guide_left_side_bar_button {
    width: 100%;
    text-align: left;
  }

  .mortgage_submenu_button.grey span {
    color: #939393;
    font-size: 1.1rem;
  }

  .mortgage_submenu.showhide_submenu .mortgage_submenu_button {
    margin: 0;
  }

  .careers_profile_intro .return_button {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    color: black;
    padding-right: 0;
  }

  .careers_profile_intro .return_button a {
    color: #000000;
    font-size: 1rem;
  }

  .careers_profile_intro .return_button a:hover {
    color: #38accd;
  }

  .mortgage_submenu.showhide_submenu .mortgage_submenu_button:hover,
  .mortgage_submenu.showhide_submenu .mortgage_submenu_button.hover_highlight,
  .mortgage_submenu.showhide_submenu
    .mortgage_submenu_button.hover_highlight:hover {
    padding: 15px 0;
  }
  .mobile_table_life_borrowing_left {
    display: none;
  }
  .table-leter-borrowing {
    display: block;
    width: 100%;
    border: 1px solid #3da9cd;
    border-top: 15px solid #3da9cd;
    border-spacing: 0px;
    border-right: 1.5px solid #3da9cd;
  }
  .table-leter-borrowing td {
    border-left: 1px solid #3da9cd;
    border-bottom: 1px solid #3da9cd;
  }
  .table-leter-borrowing th {
    border-left: 1px solid #3da9cd;
    border-bottom: 1px solid #3da9cd;
    padding: 10px 10px;
  }
  .table-leter-borrowing th:nth-child(1) {
    border-bottom: 1px solid #3da9cd;
  }
}

@media only screen and (max-width: 480px) {
  #hero_image.home .info {
    padding: 82px 5% 0 !important;
  }
}

@media only screen and (min-width: 1025px) {
  .flex_row {
    display: flex;
    flex-direction: row;
  }

  .flex_col {
    display: flex;
    flex-direction: column;
  }

  .information_page .mortgage_submenu_button img {
    top: auto;
  }
}
.mortgage_page_section {
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 20px 4rem 20px;
}

.all_guide_info {
  align-items: flex-end;
}

.mortgage_page_section > .secondary_button {
  width: 100%;
}

@media only screen and (min-width: 576px) {
  .mortgage_page_section > .secondary_button {
    margin: 0;
    width: auto;
    letter-spacing: 0.2px;
  }
  .all_guide_info_title {
    text-align: left;
  }
  .all_guide_info_title_mobile > img {
    position: relative;
    top: 50%;
    margin-top: -6px;
    margin-right: 30px;
  }
}

/* basic calculators view */
#basic_calculators_view {
  background-image: url("/i/backgrounds/basic_calculators_background.png");
  background-size: cover;
  background-position: top;
}

#basic_calculators_view .mortgage_submenu_button span:after {
  border-color: white;
}

#basic_calculators_view .calculators {
  padding: 2rem 0;
}

#basic_calculators_view.all_calculators .calculators {
  display: none;
}

#basic_calculators_view.all_calculators .calculators.active {
  display: block;
}

#basic_calculators_view .calculator {
  width: 100%;
  margin: 1rem 0;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(53, 53, 53, 0.5);
  position: relative;
  border-radius: 12px;
}

#basic_calculators_view .calculator.fliping {
  box-shadow: none;
  background: transparent;
}

#basic_calculators_view .calculator form {
  margin: 0;
  height: 100%;
}

@media only screen and (min-width: 430px) {
  .input_field input {
    width: 100%;
    box-sizing: border-box;
  }
  .mortgage_page_section {
    padding: 3rem 20px 4rem 20px;
  }
}

@media only screen and (min-width: 768px) {
  #basic_calculators_view {
    margin: 0 2%;
  }

  #basic_calculators_view .calculators {
    width: 80%;
  }
  .all_guide_info_title {
    text-align: center;
  }
}

@media only screen and (min-width: 1024px) {
  #basic_calculators_view .calculators {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 3rem 2% 1rem;
    width: 87%;
  }

  #basic_calculators_view.all_calculators .calculators.active {
    display: flex;
  }

  #basic_calculators_view .calculators.three-col {
    border-spacing: 10px 0;
    width: 95%;
  }

  #basic_calculators_view .calculator {
    flex-basis: 46%;
    max-width: 46%;
    box-sizing: border-box;
    height: auto;
    width: auto;
    margin: 1rem 2%;
  }

  #basic_calculators_view .calculators.three-col .calculator {
    flex-basis: 40%;
    max-width: 40%;
    margin: 1rem 1%;
  }
  #basic_calculators_view .calculators.three-col.small-col-btl .calculator {
    flex-basis: 31%;
    max-width: 31%;
    margin: 1rem 1%;
  }

  #basic_calculators_view .calculators.three-col .calculator.two_col {
    flex-basis: 64%;
  }

  #basic_calculators_view .calculators.three-col .calculator.three_col {
    flex-basis: 97%;
  }

  #basic_calculators_view
    .calculators.three-col
    .calculator.three_col
    .calc_results {
    max-width: 50%;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1024px) {
  #basic_calculators_view .calculators {
    width: 80%;
  }
}

/*STANDALONE CALC PAGE*/
.single_calculator_wrapper {
  background-image: url("/i/backgrounds/calculator_background.png");
  background-size: cover;
}

.single_calculator_wrapper > .copy_wide > .row {
  padding: 30px 0;
}

.single_calculator_wrapper > .copy_wide .row .col .heading,
.single_calculator_wrapper > .copy_wide .row .col .description,
.single_calculator_wrapper #text_crumb,
.single_calculator_wrapper #text_crumb a,
.single_calculator_wrapper .more_calculators_links > .subheading {
  color: white;
  text-decoration: none;
}

.single_calculator_wrapper > .copy_wide > .row.cards {
  padding: 0 0 30px 0;
}

.single_calculator_wrapper .additional_info {
  text-align: right;
  margin-top: 60px;
}

.single_calculator_wrapper .additional_info .link_module {
  margin-top: 0;
}

.single_calculator_wrapper .additional_info .link_module .arrange_free {
  width: 100%;
  text-align: center;
}
.single_calculator_wrapper > .copy_wide .row .col .description {
  text-align: center;
  font-size: 19.5px;
  font-weight: 300;
  line-height: 1.38;
  text-align: center;
  color: #ffffff;
}
.link_module h3 {
  margin-top: 0;
  text-align: left;
}
.calculate {
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: -0.1px;
  text-align: center;
}

.single_calculator_wrapper .more_calculators_links .subheading {
  text-align: center;
}

.single_calculator_wrapper .more_calculators_links .main_button {
  margin: 0 0 16px 0;
  display: block;
}

.single_calculator_wrapper .single_calc_holder {
  text-align: center;
}

.single_calculator_wrapper .calculator {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.what_next {
  display: none;
}

.what_next > .subheading {
  color: white;
}

.what_next .cards {
  text-align: center;
}

.m-fadeIn {
  display: block;
}

@media only screen and (min-width: 576px) {
  .what_next .cards .main_button {
    min-width: 440px;
  }

  .single_calculator_wrapper .more_calculators_links .main_button {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 16px auto;
  }
  .oneColWrapp {
    padding: 2% 2%;
  }
  .single_calculator_wrapper > .copy_wide .row .col .description {
    text-align: left;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    color: #ffffff;
  }
}

@media only screen and (min-width: 768px) {
  .what_next .cards .main_button {
    min-width: 0;
  }
}

@media only screen and (min-width: 1024px) {
  .single_calculator_wrapper .single_calc_holder {
    text-align: left;
  }

  .single_calculator_wrapper .single_calc_holder .subheading {
    text-align: left;
  }

  .single_calculator_wrapper > .copy_wide > .row {
    display: flex;
  }

  .single_calculator_wrapper .additional_info {
    align-self: flex-start;
    margin-top: 0;
  }

  .single_calculator_wrapper .calculator {
    margin: 0;
  }
}

/*LATEST DEALS VIEW*/
.logo_carousel {
  width: 100%;
  margin-top: 30px;
}

#latest_deals_view ul {
  display: none;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: 0 0 2rem 0;
  padding: 0;
  width: 100%;
  float: left;
}
#latest_deals_view ul:first-child {
  display: flex;
}
#latest_deals_view li {
  list-style: none;
  flex-basis: 48%;
  display: flex;
  margin: 2rem 0;
  min-height: 10vh;
}

#latest_deals_view li img {
  align-self: center;
  margin: 0 auto;
  width: 120px;
}

@media only screen and (min-width: 768px) {
  .logo_carousel {
    width: 80%;
  }
  #latest_deals_view ul {
    width: 100%;
    margin: 0 0 2rem;
  }
  #latest_deals_view li {
    flex-basis: 33%;
    margin: 2rem 0;
  }
}

/* cookies message & close button */

.cookie_message {
  z-index: 99999999;
  position: fixed;
  background: #000;
  padding: 1rem 50px;
  bottom: -2px;
  width: 100%;
  text-align: center;
  color: #fff;
  opacity: 0.9;
  font-size: 12px;
  position: fixed;
  bottom: 0;
}

.x {
  display: block;
  z-index: 0;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 50px;
  height: 100%;
  transition: transform 0.25s ease-in-out;
}
.x:hover {
  transform: rotate(180deg);
}
.x:before {
  content: "";
  position: absolute;
  display: block;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  height: 0;
  border-top: 1px solid #ffffff;
  transform: rotate(45deg);
  transform-origin: center;
}
.x:after {
  content: "";
  position: absolute;
  display: block;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  height: 0;
  border-top: 1px solid #ffffff;
  transform: rotate(-45deg);
  transform-origin: center;
}

/*INFO VIEW*/
#info_view {
  background-image: url("/i/backgrounds/info_background.png");
  background-color: #f7f7f7;
  background-size: 100% auto;
}

#info_view > p {
  padding-right: 0;
  padding-left: 0px;
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #000000;
}

#info_view .questions {
  width: 100%;
}

#info_view .topics {
  display: flex;
  flex-direction: column;
  width: calc(100% + 41px);
}

#info_view .answer {
  padding: 1rem 25px;
  background-color: white;
  border-width: 0 1px 0 1px;
  border-color: #dadbdb;
  border-style: solid;
  display: none;
  line-height: 1.4;
  overflow-y: auto;
  height: 250px;
  font-size: 14px;
  color: #1b2123;
  font-weight: 400;
}

.answer table {
  border: solid #38accd 1px;
  border-top: #38accd solid 20px;
  border-spacing: 0px;
  padding: 6px;
  text-align: left;
  min-width: 100%;
}
.answers .btl_prop_table {
  border: none;
  margin: 0;
  border: solid #38accd 1px;
  border-top: #38accd solid 20px;
  border-spacing: 13px;
  text-align: left;
  min-width: 100%;
}
.answers .btl_prop_table th {
  text-align: center !important;
  width: 50%;
}
.answers .btl_prop_table th:nth-child(2) {
  text-align: center !important;
}
.answers .btl_prop_table td {
  text-align: left;
}
.answers .btl_prop_table td:nth-child(1) {
  text-align: center;
  color: #38accd;
}

.answers .mortgage_best_deals {
  text-align: center;
  width: 50%
}

.answers .mortgage_best_deals td {
  color: #38accd;
}

.answers .btl_prop_table td:nth-child(2) {
  text-align: right;
}

.answer table caption {
  padding: 1rem;
  font-weight: bold;
}

.answer table th:nth-child(1) {
  font-weight: bold;
  text-align: left;
  font-size: 1.2em;
  color: #333;
}

.answer table td {
  font-size: 1.2em;
}

#info_view .answer th:nth-child(2),
#info_view .answer th:nth-child(3) {
  font-weight: bold;
  text-align: center;
  font-size: 1.2em;
  color: #333;
}

#info_view .answer td:nth-child(2),
#info_view .answer td:nth-child(3) {
  color: #38accd;
  text-align: center;
}
.table-btl-stamp {
  width: 50%;
}
.answer .btl-table-small th:nth-child(1) {
  text-align: center;
}
.answer .btl-table-small .btl-first-col {
  color: #38accd;
  font-weight: inherit;
  font-size: 1.2em;
}

/*extra width table for larger information copy*/

#info_view .answer.info_table table th:nth-child(1) {
  width: 50%;
}

#info_view .answer.info_table table th:nth-child(2),
.answer.info_table table th:nth-child(3) {
  width: 25%;
}

#info_view .answer p:first-of-type {
  margin-top: 0;
}

#info_view .answer .info_contact .tel_mortgage_banner {
  font-weight: 600;
  font-size: 23px;
  line-height: 1.57;
  display: block;
  color: black;
}

@media only screen and (min-width: 576px) {
  #info_view .answer .info_contact .tel_mortgage_banner {
    text-align: left;
  }
}

#info_view fieldset {
  display: flex;
  flex-direction: column;
}

#info_view h3.label {
  margin: 0;
}
#info_view label {
  background-color: white;
  font-weight: normal;
  line-height: 2;
  letter-spacing: -0.5px;
  color: #77777a;
  font-size: 17px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 2;
  letter-spacing: -0.5px;
  padding: 1rem 35px 1rem 15px;
  border-width: 1px 1px 0 1px;
  border-color: #dadbdb;
  border-style: solid;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  cursor: pointer;
  display: block;
  position: relative;
}

#info_view label:last-of-type {
  border-width: 1px;
}
#info_view input[type="checkbox"] {
  display: none;
}
#info_view input[type="checkbox"]:checked + label {
  background-color: #38accd;
  color: white;
}

#info_view input[type="checkbox"] + label:hover:after {
  background-image: url("/i/svg/fill-2.svg");
}

#info_view .selected_answer {
  display: block;
  -webkit-animation: fadeIn 0.8s;
  animation: fadeIn 0.8s;
}

#info_view label:after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -5px;
  width: 23px;
  height: 13px;
  background-image: url("/i/svg/fill-2.svg");
  background-position: 50%;
}

#info_view input[type="checkbox"]:checked + label:after {
  background-image: url("/i/svg/fill-1.svg");
  width: 23px;
  height: 13px;
  right: 15px;
}
.dropdownGuide {
  border: solid 0.5px rgba(151, 151, 151, 0.45);
  padding: 15px;
  margin: 10px 10px 0px 10px;
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #323234;
  background-color: #fff;
}
.arrow-remaining-mort {
  position: absolute;
  right: 2%;
  top: 27%;
}

@media only screen and (min-width: 576px) {
  #info_view .topics {
    width: 100%;
  }

  #info_view .answer {
    height: auto;
    padding: 1rem 40px;
  }
  #info_view > p {
    padding-right: 0;
    padding-left: 50px;
  }
  #info_view label {
    background-color: white;
    color: #323234;
    font-size: 18px;
    font-weight: 400;
    padding: 1.5rem 45px 1.5rem 25px;
    border-width: 1px 1px 0 1px;
    border-color: #dadbdb;
    border-style: solid;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer;
    display: block;
    position: relative;
  }
  .answer table {
    border: solid #38accd 1px;
    border-top: #38accd solid 20px;
    border-spacing: 13px;
    text-align: left;
    min-width: 100%;
  }
}

@media only screen and (min-width: 768px) {
  #info_view label {
    font-size: 18px;
    padding: 1.875rem 25px;
  }

  #info_view .topics {
    flex-direction: row;
    width: 100%;
  }

  #info_view label:after {
    content: "";
  }

  #info_view input[type="checkbox"]:checked + label:after {
    content: "";
    margin-top: -6px;
  }
  /*Dec*/
  #info_view input[type="checkbox"]:checked + label:after {
    background-image: url("/i/svg/minus.svg") !important;
    right: 20px;
    top: 50%;
    margin-top: -5px;
    width: 14px;
    height: 14px;
  }
  #info_view label:after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -5px;
    width: 14px;
    height: 14px;
    background-image: url("/i/svg/plus.svg");
    background-position: 50%;
    background-repeat: no-repeat;
  }
  #info_view input[type="checkbox"] + label:hover:after {
    background-image: url("/i/svg/plus.svg");
  }
  #info_view label {
    background-color: white;
    color: #323234;
    font-size: 18px;
    font-weight: 400;
    padding: 1.3rem 45px 1.3rem 25px;
    border-width: 1px 1px 0 1px;
    border-color: #dadbdb;
    border-style: solid;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer;
    display: block;
    position: relative;
  }
}

@media only screen and (min-width: 1024px) {
  #info_view .topics {
    flex-direction: row;
    width: 80%;
  }
  #info_view .all_guide_info_accordion {
    width: 70%;
    margin-right: 50px;
  }
  .all_guide_left_side_bar {
    position: absolute;
    display: grid;
    left: 3%;
    margin-top: 8vw;
    padding-top: 8vw;
    background-color: #fff;
    width: 20%;
    -webkit-box-shadow: 1px 9px 27px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 9px 27px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 9px 27px 2px rgba(0, 0, 0, 0.3);
  }
  .all_guide_left_side_bar_mobile {
    display: none;
  }
  .all_guide_info_title {
    padding-top: 30px;
    padding-bottom: 40px;
    margin: 0 auto;
  }
  .side_bar_title {
    display: block;
  }
}

/* CAROUSEL */
.carousel {
  width: 80%;
}
.carousel .item {
  margin: 15%;
}
.carousel .pagination_buttons {
  display: flex;
  justify-content: center;
}
.carousel input[type="radio"] {
  display: none;
}
.carousel .control_indicator:after {
  margin: 0.5rem;
  content: url("/i/buttons/radio_button.svg");
}
.carousel input[type="radio"]:checked ~ .control_indicator:after {
  content: url("/i/buttons/radio_button_checked.svg");
}

@media only screen and (min-width: 576px) {
  .pagination_buttons .mobile {
    display: none;
  }
}

/* CLIENT_TESTIMONIAL */
.client_testimonial {
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.2px;
}
.client_testimonial .title {
  font-size: 1.5rem;
  color: #3f3f3f;
}
.client_testimonial .description {
  color: #555555;
  line-height: 1.2rem;
}
.client_testimonial .photo {
  width: 4.3rem;
  height: 4.3rem;
  margin-top: 1rem;
}
.client_testimonial .author {
  color: #3f3f3f;
  margin-bottom: 0.2rem;
}
.client_testimonial .location {
  color: #9c9c9c;
  /*    text-transform: uppercase;
*/
  margin-top: 0;
}

/*INFORMATION PAGE*/
.information_page .mortgage_page_section {
  padding: 3rem 2rem;
}

.information_page .mortgage_submenu_button a {
  color: rgba(63, 63, 63, 0.9);
}

.information_page .mortgage_submenu_button span {
  margin: 3rem 0 0 1rem;
}

/*BOTTOM BUTTONS*/
.bottom_buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 1rem;
}

.bottom_buttons svg {
  width: 37px;
  margin-right: 20px;
}

.bottom_buttons svg.eye {
  margin-left: 10px;
  margin-right: 10px;
}

.bottom_buttons a {
  padding: 3rem 1rem;
  background: none;
  border: none;
  box-shadow: 0 0 10px 0 rgba(53, 53, 53, 0.12);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 92%;
  margin: 0 0 2rem 0;
  padding-left: 35px;
  text-decoration: none;
  color: #1a2123;
}

.bottom_buttons a:hover {
  box-shadow: 0 0 10px 0 rgba(53, 53, 53, 0.32);
}

.bottom_buttons a img {
  height: 2.3rem;
  margin-right: 1rem;
}

@media only screen and (min-width: 576px) and (max-width: 769px) {
  .bottom_buttons {
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
    max-width: 48%;
  }
  .all_guide_info {
    align-items: center;
  }
}

@media only screen and (min-width: 769px) {
  .bottom_buttons {
    flex-direction: row;
    width: 100%;
    padding: 0 4%;
    box-sizing: border-box;
    margin: 2rem auto 2rem auto;
    justify-content: space-between;
  }

  .bottom_buttons a {
    width: 31%;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 3rem 35px;
  }
}

/*SECONDARY NAV*/

.secondary_nav {
  list-style: none;
  padding: 0;
  min-width: 20%;
  z-index: 2;
}

.secondary_nav li {
  text-align: center;
}

.secondary_nav li:last-child {
  border-bottom: none;
}

.secondary_nav li.about_ah {
  display: none;
}

.secondary_nav li a {
  font-size: 20px;
  line-height: 2;
  letter-spacing: -0.6px;
  color: #1a2123;
  display: block;
  text-decoration: none;
  min-width: 5rem;
}

@media only screen and (min-width: 1023px) {
  .secondary_nav {
    margin-top: 30px;
    margin-left: 4rem;
    min-width: 23rem;
  }
}

/*@media only screen and (min-width : 767px) and (max-width: 1022px){
    .secondary_nav{
        position: relative;
    }

}*/

@media only screen and (min-width: 768px) {
  .secondary_nav li {
    text-align: left;
  }

  .secondary_nav li a:hover,
  .secondary_nav li a:focus,
  .secondary_nav li a.active {
    background-color: transparent;
    border-left: solid 2px #000;
    font-weight: bold;
    min-width: 5rem;
  }

  .secondary_nav li.about_ah {
    display: block;
  }

  .secondary_nav li a {
    margin: 10px 0;
    padding: 0 0 0 25px;
  }
}

/*awards carousel */

#awards_carousel {
  position: relative;
  text-align: center;
}
#awards_carousel ul {
  margin: 0;
  padding: 0;
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  border-radius: 6.3px;
}

#awards_carousel::after {
  content: "";
  width: 400px;
  height: 150px;
  border-radius: 6.3px;
  background-color: transparent;
  border: solid 0.5px #f1f1f1;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: -1;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.2);
}
#awards_carousel .award_card {
  box-sizing: border-box;
  position: relative;
  list-style: none;
  text-align: center;
  background-color: #fff;
  width: 350px;
  height: 190px;
  margin: 20px auto;
  border: solid 0.5px #f1f1f1;
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.13);
}
#awards_carousel .award_shadow {
  background: #fff;
  height: 188px;
  max-width: 350px;
  border-radius: 6.3px;
  margin: 0px auto;
  display: inline-block;
  width: 100%;
}
#awards_carousel .award_shadow .award_img {
  float: left;
  width: 35%;
  height: 100%;

  display: grid;
}
#awards_carousel .award_shadow .award_description {
  float: right;
  width: 60%;
  height: 100%;
  display: grid;
}

#awards_carousel .award_shadow img {
  margin: auto 5px;
}
#awards_carousel .awards_copy {
  margin: auto 5px;
}

#awards_carousel .awards_copy h3 {
  margin-top: 0px;
}
@media only screen and (max-width: 425px) {
  #awards_carousel::after {
    width: 390px;
    top: 50%;
  }

  #awards_carousel .award_card {
    width: 308px;
  }

  #awards_carousel .award_card {
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 320px) {
  #awards_carousel .award_card {
    width: 250px;
    height: 210px;
  }
}

/*ipad pro 1024 design media rules*/

@media only screen and (min-width: 1023px) {
}

/* start of desktop rules */

@media only screen and (min-width: 1025px) {
  .awards_list_box img {
    width: 32%;
    margin-right: 1%;
  }

  #latest_deals_view li {
    flex-basis: 33%;
  }
}

.all_deals_container {
  background-color: #eff0f0;
  padding: 70px 0;
}

/*LINK MODULE*/
.link_module {
  background-color: #ffffff;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  text-align: center;
  padding: 30px 50px;
  box-sizing: border-box;
  max-width: 440px;
  margin: 0 auto;
}

.link_module.testimonials {
  margin-bottom: 100px;
}

.link_module .main_button.large {
  min-width: 0;
}

.link_module p {
  margin-top: 0;
}

.link_module h3 {
  margin-top: 0;
  text-align: center;
}

.link_module .tel_mortgage_banner {
  font-size: 19.5px;
  font-weight: bold;
  color: #323234;
  white-space: nowrap;
}

.link_module .opening_times .tel_mortgage_banner {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: #38accd;
}

.link_module .opening_times p {
  font-size: 18px;
  letter-spacing: -0.1px;
  color: #323234;
  font-weight: 500;
}
.link_module > p {
  text-align: center;
  font-size: 16.2px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.61;
  letter-spacing: normal;
  text-align: center;
  color: #323234;
}
.link_module h3 {
  font-size: 21.6px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.42;
  letter-spacing: -0.1px;
  text-align: center;
  color: #3f3f3f;
}
.opening_times {
  text-align: center;
  opacity: 0.9;
  font-family: Lato;
  font-size: 34.2px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.71;
  letter-spacing: 0.1px;
  text-align: center;
  color: #38accd;
}
.opening_times > p {
  margin-top: 15px;
}
.calc_holder .calc_results h2 {
  margin-bottom: 10px;
}
.based-output {
  font-size: 20px;
  font-weight: 300;
  color: #3f3f3f;
  margin-top: 36px;
}
.result_buttons .recalculate {
  font-size: 20.8px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: -0.1px;
  text-align: center;
  color: #38accd;
}
.calculator-page > #client_testimonials_view {
  background-color: #fafafa;
}
.ftb-are-you-title {
  font-size: 15px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 2.33;
  letter-spacing: normal;
  color: #323234;
  margin: 0px;
  text-align: left;
}

@media only screen and (max-width: 576px) {
  .hide-on-dekstop {
    display: block;
    padding: 3rem 1.5% 1rem 1.5% !important;
  }
  #mobileDopdown {
    margin-right: 1.7% !important;
  }
  .dropdownGuide {
    padding-left: 15px !important;
  }
  .all_guide_info_title_mobile {
    text-align: center !important;
    padding: 0 !important;
  }
  .all_guide_info_title_mobile > img {
    position: relative;
    margin-top: -7px;
    margin-right: 20px;
  }
  .link_module h3 {
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.42;
    letter-spacing: -0.1px;
    color: #3f3f3f;
    text-align: left;
    margin-left: 0;
  }
  .link_module {
    padding: 20px 20px;
  }
  .link_module > p {
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.61;
    letter-spacing: normal;
    color: #323234;
  }
  .opening_times {
    text-align: left;
    opacity: 0.9;
    font-size: 38px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 0.71;
    letter-spacing: 0.1px;
    color: #38accd;
  }
  .calc_holder .calc_results h2 {
    margin-bottom: 10px;
  }
  .based-output {
    font-size: 19px;
    font-weight: normal;
    text-align: center;
    color: #3f3f3f;
  }
  .result_buttons .recalculate {
    font-size: 20.8px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    text-align: center;
    color: #38accd;
  }
}

@media only screen and (min-width: 1025px) {
  .link_module {
    padding: 20px 40px;
  }

  .link_module p {
    padding-bottom: 10px;
  }

  .link_module .secondary_button {
    width: 100%;
  }

  .link_module .subheading {
    max-width: 100%;
  }

  .link_module .opening_times .tel_mortgage_banner {
    font-size: 38px;
  }
}

/* BREADCRUMB */

#text_crumb {
  display: none;
  color: #303030;
  text-decoration: none;
  font-size: 1rem;
}

.breadcrumb_holder_text_crumb {
  margin: 1rem 0 0 5rem;
}

#text_crumb p,
#text_crumb a {
  color: #303030;
  /* text-decoration: none; */
  font-size: 1rem;
}

#text_crumb_mobile {
  line-height: 1;
  color: #9b9b9b;
  text-align: center;
}

#text_crumb_mobile img {
  width: 14px;
  height: 13px;
  margin-right: 8px;
  vertical-align: -1px;
}

@media only screen and (min-width: 768px) {
  #text_crumb {
    display: block;
    font-size: 1rem;
    font-weight: normal;
  }

  #text_crumb_mobile {
    display: none;
  }
}
/*Trustpilot carousel*/
#trustpilot_carousel {
  padding: 5% 9%;
}

/* CAREERS LISTINGS */
.career_listing .location {
  margin-bottom: 0;
  margin-top: 0.85em;
}
.career_listing .subtitle_post {
  margin-bottom: 0;
  margin-top: 1.9em;
}

.career_listing .date_holder {
  font-size: 1rem;
}

.career_listing .date_holder p {
  margin-top: 0;
}

@media only screen and (min-width: 576px) {
  .career_listing .date_holder {
    position: absolute;
    right: 26px;
    top: 28px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 1024px) {
  .link_module.alt .subheading {
    margin-top: 0;
    max-width: 100%;
  }

  .link_module.alt .secondary_button {
    width: 250px;
  }
  .all_guide_info_title_mobile {
    text-align: center !important;
    padding: 0 !important;
  }
  .button_guide_mobile .hover_highlight {
    margin-left: 15px !important;
  }
  .mobile_table_wrapp_text_life_borrowing_left > p {
    font-size: 14px !important;
  }
  .mobile_table_title_life_borrowing_left {
    font-size: 15px !important;
  }
  .mobile_table_wrapp_text_life_borrowing_left > h4 {
    font-size: 15px !important;
  }
  .list_into_table > li {
    font-size: 14px !important;
  }
}

/* phone number links */

.bold_phone_link {
  color: #3f3f3f;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

/* Animation flip */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animated.infinite {
  animation-iteration-count: infinite;
}

.animated.hinge {
  animation-duration: 2s;
}

.animated.flipOutX,
.animated.flipOutY,
.animated.bounceIn,
.animated.bounceOut {
  animation-duration: 0.75s;
}

@keyframes flipInY {
  from {
    transform: perspective(400px) rotate3d(0, 1, 0, 180deg);
    animation-timing-function: ease-out;
  }

  50% {
    transform: perspective(800px) rotate3d(0, 1, 0, -2deg);
    animation-timing-function: ease-in;
  }
}

.flipInY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  animation-name: flipInY;
}

@keyframes flipOutY {
  from {
    transform: perspective(400px) rotate3d(0, 1, 0, -180deg);
    animation-timing-function: ease-out;
  }

  50% {
    transform: perspective(800px) rotate3d(0, 1, 0, -2deg);
    animation-timing-function: ease-in;
  }
}

.flipOutY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  animation-name: flipOutY;
}

/* MODAL */
.modal {
  display: none;
}

.modal.active {
  display: block;
}

.modal_overlay {
  background: #000;
  opacity: 0.4;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
}

.modal_content:not(
    #cookie_consent .modal_content,
    #cookie_compliance .modal_content
  ) {
  background: #fff;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  padding: 70px 10px 40px 30px;
  box-sizing: border-box;
}

.modal_header {
  text-align: right;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.modal_body {
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;
  padding-right: 20px;
}

.modal_close {
  margin-bottom: 20px;
}

.row.cards {
  margin-top: 0;
}

.introWrapp {
  padding: 2% 15%;
}

.introGap > p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.71;
  color: #323234;
}

.introTitle {
  font-size: 24px;
  line-height: 1.5;
  color: #323234;
  font-weight: normal;
  margin-top: 1em;
  margin-bottom: 1em;
}

.oneColWrapp {
  padding: 2% 5%;
}

.copy_wide .subTitleOneCol {
  opacity: 0.9;
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.73;
  letter-spacing: -0.8px;
  color: #3f3f3f;
  margin-top: 1em;
  margin-bottom: 1em;
}
.textOneCol {
  font-size: 16px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #323234;
}
.listOneCol {
  font-size: 14px;
  font-weight: 300;
}
.listOneCol li {
  margin-bottom: 0.5em;
}
.listOneCol a {
  color: #38accd;
}

@media only screen and (min-width: 768px) {
  .modal_content:not(
      #cookie_consent .modal_content,
      #cookie_compliance .modal_content
    ) {
    width: 80%;
    max-height: 80%;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    padding: 70px 25px 40px 50px;
  }

  .modal_body {
    padding-right: 30px;
  }

  .oneColWrapp {
    padding: 2% 22%;
  }

  .copy_wide .subTitleOneCol {
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.8;
    letter-spacing: normal;
    color: #323234;
  }

  .textOneCol {
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.71;
    letter-spacing: normal;
    color: #323234;
  }
  .hide-on-dekstop {
    display: none;
  }
  .side_bar_title {
    display: block;
  }
  .all_guide_left_side_bar {
    display: block;
  }
  .careerTestimonialMobile {
    display: none;
  }
  .copy_wide .subTitleOneCol.small {
    font-size: 18px;
  }
}
@media only screen and (max-width: 1024px) {
  .all_guide_left_side_bar {
    display: none;
  }
  .side_bar_title {
    display: none;
  }
  .hide-on-dekstop {
    display: block;
    padding: 3rem 2rem 1rem 2rem;
  }
  .all_guide_info {
    align-items: center;
  }
  .all_guide_info_title {
    display: none;
  }
  .all_guide_info_title_mobile {
    display: block;
  }
  .hide-on-dekstop > h4 {
    font-size: 17px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.72;
    letter-spacing: normal;
    color: #323234;
    margin-bottom: 0px;
  }
  .button_guide_mobile {
    width: 100%;
    margin: 0%;
    border: none !important;
    text-align: left !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    letter-spacing: -0.2px;
    padding-left: 15px !important;
  }
  .button_guide_mobile.hover_highlight {
    color: #323234 !important;
  }
  .all_guide_info_accordion {
    flex-direction: column !important;
  }
  .dropdownGuide {
    margin: 10px 0px 0px 0px;
  }
  .all_guide_info_accordion > .questions {
    margin-top: 30px;
  }
  #mobileDopdown {
    position: absolute;
    z-index: 9;
    border: solid 0.5px #d0d0d0;
    background-color: #ffffff;
    margin: 0 2rem 3rem 0;
    display: none;
    font-size: 18px;
    font-weight: 600;
    color: #323234;
  }
  .mortgage_submenu_button.hover_highlight {
    background-color: transparent !important;
    padding: 15px 15px !important;
    font-weight: 600 !important;
    margin: 0%;
  }
  .arrowDropdown {
    position: relative;
    float: right;
    margin-top: 7px;
  }
  .all_guide_left_side_bar_button {
    margin: 0px;
  }
  .all_guide_arrow-up {
    float: right;
    margin-top: 10px;
    pointer-events: none;
  }
  .all_guide_arrow-down {
    float: right;
    margin-top: 10px;
    pointer-events: none;
  }
  .all-guides-information-sec {
    background-image: url("/i/backgrounds/info_background.png");
    background-color: #f7f7f7;
    background-size: 100% auto;
  }
  .all-guides-information-sec > #ftb_container > #info_view {
    background-image: none;
    padding-top: 0px;
  }
  .all-guides-information-sec > #btl_container > #info_view {
    background-image: none;
    padding-top: 0px;
  }
  .all-guides-information-sec > #remortgage_container > #info_view {
    background-image: none;
    padding-top: 0px;
  }
  .all-guides-information-sec > #moving_home_container > #info_view {
    background-image: none;
    padding-top: 0px;
  }
  .all-guides-information-sec > #new_build_mortgage_container > #info_view {
    background-image: none;
    padding-top: 0px;
  }
  .all-guides-information-sec > #shared_ownership_container > #info_view {
    background-image: none;
    padding-top: 0px;
  }
  .mobile_table_life_borrowing_left {
    display: block;
  }
  .table-leter-borrowing {
    display: none;
  }
  .small_table {
    width: 100%;
    border: 1px solid #3da9cd;
    border-top: 15px solid #3da9cd;
    border-spacing: 15px;
    table-layout: fixed;
  }
  .mobile_table_wrapp_text_life_borrowing_left {
    padding: 0 10px 15px 10px;
  }
  .mobile_table_title_life_borrowing_left {
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.17;
    letter-spacing: normal;
    color: #303030;
  }
  .mobile_table_wrapp_text_life_borrowing_left > h4 {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.17;
    letter-spacing: normal;
    color: #303030;
    margin: 15px 0;
  }
  .mobile_table_wrapp_text_life_borrowing_left > p {
    font-size: 17px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.24;
    letter-spacing: normal;
    color: #3da9cd;
    margin: 3px 0;
  }
  .list_into_table > li {
    font-size: 17px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.24;
    letter-spacing: normal;
    color: #3da9cd;
    margin: 3px 0;
  }
}
@media only screen and (max-width: 1436px) {
  .career_wrapp_people.small {
    max-width: 26vw;
  }
  .career_wrapp_people > .testimonial_shadow {
    min-width: 25vw;
  }
  .career_wrapp_people p {
    margin: 10px 10px 0 10px;
  }
  .career_wrapp_people h3 {
    font-size: 21.3px;
  }
  .career-open-position-wrapp {
    margin-top: 100px;
  }
  .career_wrapp_people h4 {
    font-size: 17px;
  }
  .careerTestimonialDesktop {
    display: block;
  }
  .singleWrappCar {
    margin-bottom: 50px;
  }
  .careerTestimonialMobile {
    display: none;
  }
}
.career-open-position-wrapp {
  margin-top: 100px;
}
.col-container-skills {
  display: table;
  width: 100%;
}
.col-skills {
  display: table-cell;
  width: 50%;
}
.col-skills > ul {
  max-width: 80%;
  padding-left: 30px;
}

.highlight-page {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  overflow-y: hidden;
  overflow-x: hidden;
}
@media screen and (min-width: 576px) {
  #navbar {
    background-color: #fff;
  }
}
/* Sitemap page Tablet version*/
@media only screen and (min-width: 420px) and (max-width: 769px) {
  .sitemap_wrapper {
    width: 48%;
    display: inline-table;
    margin-left: 0%;
  }
  .careerTestimonialMobile {
    display: block;
  }
  .careerTestimonialDesktop {
    display: none;
  }
  .careerTestimonialMobile
    > .sliderSingleAdv
    > .slide_viewer
    > .slide_group
    > .slide
    > .career_wrapp_people.small {
    min-width: 80%;
    min-height: 220px;
  }
  .careerTestimonialMobile
    > .sliderSingleAdv
    > .slide_viewer
    > .slide_group
    > .slide
    > .career_wrapp_people
    > .testimonial_shadow {
    min-width: 80%;
  }
  .careerTestimonialMobile
    > .sliderSingleAdv
    > .slide_viewer
    > .slide_group
    > .slide
    > .career_wrapp_people {
    padding: 0;
  }
  .career-open-position-wrapp {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 628px) {
  .hover_highlight {
    /* margin-left: 15px!important; */
  }
  .careerTestimonialMobile {
    display: block;
  }
  .careerTestimonialDesktop {
    display: none;
  }
  .careerTestimonialMobile
    > .sliderSingleAdv
    > .slide_viewer
    > .slide_group
    > .slide
    > .career_wrapp_people.small {
    max-width: 80%;
    max-height: 220px;
  }
  .careerTestimonialMobile
    > .sliderSingleAdv
    > .slide_viewer
    > .slide_group
    > .slide
    > .career_wrapp_people
    > .testimonial_shadow {
    min-width: 80%;
  }
  .careerTestimonialMobile
    > .sliderSingleAdv
    > .slide_viewer
    > .slide_group
    > .slide
    > .career_wrapp_people {
    padding: 0;
  }
}

.slider {
  margin: 0 auto;
  max-width: 100%;
}

.slide_viewer {
  height: 320px;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}

.slide_group {
  height: 100%;
  position: relative;
  width: 100%;
}

.slide {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
  text-align: center;
}

.slide:first-child {
  display: block;
}

.slide_buttons {
  display: flex;
  justify-content: center;
}

a.slide_btn {
  color: rgba(50, 50, 52, 0.3);
  font-size: 42px;
  margin: 0 0.175em;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  text-decoration: none;
}

.slide_btn.active,
.slide_btn:hover {
  color: #38accd;
  cursor: pointer;
}
.singleWrappCar {
  margin-bottom: 50px;
  margin-top: 30px;
}

@media only screen and (max-width: 767px) {
  .singleWrappCar {
    margin-bottom: 0px;
  }
  .col-skills {
    width: 100%;
    display: block;
  }
  .col-container-skills {
    display: block;
    width: 100%;
  }
  .col-skills > ul {
    max-width: 100%;
  }
}
