/*--------------------------------------------------------------
# Find Installer
--------------------------------------------------------------*/

.page-template-find-installer .landing-blocks {
  margin-top: 215px;
  @media screen and (max-width: 1023px) {
    margin-top: 135px;
  }
}

.page-template-find-installer .landing-blocks > .image-block {
  width: 65%;
  margin-bottom: 4px;
  background-position: left;
  @media screen and (max-width: 850px) {
    width: 100%;
    height: 400px;
    margin-bottom: 5%;
  }
  @media screen and (max-width: 550px) {
    height: 260px;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.page-template-find-installer .landing-blocks .right {
  width: 33%;
  @media screen and (max-width: 850px) {
    width: 100%;   
  }
}

.page-template-find-installer .landing-blocks .right .image-block {
  width: 100%;
  display: block;
  padding: 50px 45px;
}

.page-template-find-installer .landing-blocks .right .image-block::after {
  display: block;
  content: '';
  background: linear-gradient(270.08deg, rgba(0, 0, 0, 0) 1.82%, rgba(0, 0, 0, 0.216) 54.68%, rgba(0, 0, 0, 0.4) 99.94%);
  background-blend-mode: multiply;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.page-template-find-installer .landing-blocks .right .image-block:first-child {
  margin-bottom: 5%;
}

.page-template-find-installer .landing-blocks .right .image-block .wrap {
  position: relative;
  z-index: 2;
}

.page-template-find-installer .landing-blocks .right .image-block h2 {
  font-weight: 600;
  max-width: 251px;
  font-size: 20px;
}

.page-template-find-installer .landing-blocks .right .image-block span {
  background-color: #00adef;
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  display: inline-block;
  padding: 8px 17px;
  transition: 0.35s ease all;
}

.page-template-find-installer .landing-blocks .right .image-block span:hover {
  background-color: #00adef;
  color: #65be6e;
  border-radius: 30px;
  font-size: 14px;
  display: inline-block;
  padding: 8px 17px;
  transition: 0.35s ease all;
}

.benefits {
  padding: 100px 0 70px;
  position: relative;
  display:flex;
  flex-wrap: wrap;
  @media screen and (max-width: 850px) {
    padding: 40px 0 70px;
  }
}

.benefits .max-width {
    /* margin: 0 auto; */
    /* max-width: 35%; */
    display: flex;
    flex-wrap: wrap;
    gap: 75px;
}

.benefits .max-width .wrap {
  max-width: 35%;
  z-index:2;
  @media screen and (max-width: 694px) {
    max-width: 100%;
  }
}

.benefits h2 {
  max-width: 350px;
}

.benefits-carousel {
  /* width: 59%; */
  /* margin: 0 -20px 0 auto; */
  height: 385px;
  width: 275px;
}

.benefits-carousel .slick-list {
  overflow: visible;
}
.benefits-carousel .slick-list:before {
    content: '';
    background-color: white;
    width: 100vw;
    right: 100%;
    position: absolute;
    height: 99%;
    z-index: 1;
}

.benefits-carousel .slide-inner {
  width: 100%;
  transition: width .3s ease;
  position: relative;
  height: 335px;
  /* width: 275px; */
}

/* .benefits-carousel .benefit-item {
  width: 275px !important;
} */

.benefits-carousel .slide-inner img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.benefits-carousel .slick-current .slide-inner img {
  transition: 0.35s ease all;
}

.benefits-carousel .slick-current .slide-inner {
  height: 385px;
}

.benefits-carousel .slick-track {
  padding: 0 0 75px;
}

.benefit-item {
  position: relative;
  padding-right: 20px;
  color: #fff;
  text-decoration: none;
  transition: 0.35s ease all;
}

.benefit-item .slide-inner::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(84, 86, 90, 0) 0%, rgba(84, 86, 90, 0.7) 64.9%, rgba(84, 86, 90, 0.72) 100%);
  position: absolute;
  top: 0;
  z-index: 1;
}

.benefit-item .benefit-thumbnail {
  width: 100%;
  height: 365px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.benefit-item .benefit-content {
  position: absolute;
  bottom: -16px;
  left: 25px;
  right: 25px;
  z-index: 3;
  width: calc(100% - 70px);
  transition: 0.35s ease all;
}

.benefit-item.slick-current .benefit-content {
  bottom: 30px;
}

.benefit-item .benefit-content h2 {
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 30px;
  transition: 0.35s ease all;
}

.benefit-item.slick-current .benefit-content h2 {
  margin-bottom: 10px;
}

.benefit-item .benefit-content span {
  font-size: 14px;
  display: block;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.benefit-item.slick-current .benefit-content span {
  opacity: 1;
}

.benefits-carousel .slick-prev, 
.benefits-carousel .slick-next {
  bottom: 0%;
  left: calc(100% + 15px);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: auto;
  height: auto;
  z-index: 5;
  top: auto;
  transition: 0.35s ease all;
}

.benefits-carousel .slick-next {
  left: calc(100% + 55px);
}

.page-template-find-installer .button {
  text-transform: none;
  font-weight: 400;
  padding: 7px 15px;
  font-size: 14px;
}

.page-template-find-installer .button.grey-o {
  border-color: #54565a;
  color: #54565a;
}

.page-template-find-installer .button.grey-o:hover {
  border-color: #54565a;
  color: #fff;
  background-color: #54565a;
}

.page-template-find-installer .buttons .button {
  margin-right: 8px;
}

.contact-forms {
  background-color: #f0f0f0;
  padding: 80px 0;
}

.contact-forms .wrap {
  padding: 0 30px;
  max-width: 850px;
  margin: auto;
}

body.page-template-find-installer legend.gfield_label.gform-field-label {
  color: #6B6F6C;
  font-size: 15px;
  font-style: normal;
  font-weight: lighter;
  line-height: normal;
  float:left;
}

body.page-template-find-installer .gform_wrapper.gravity-theme .gfield_label,
body.page-template-find-installer .gform_wrapper.gravity-theme .gform-field-label--type-inline {
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: #6B6F6C;
  margin-bottom: 8px;
  padding-left: 0px;
  padding-top: 10px;
  padding-bottom: 0;
  padding-right: 0;
  font-style: normal;
  line-height: normal;
}

body.page-template-find-installer legend.gfield_label.gform-field-label {
    margin-left: 30px;
}

body.page-template-find-installer .gfield_radio {
  display: flex;
  gap: 20px;
}

body.page-template-find-installer .ginput_container.ginput_container_radio {
  display: inline-block;
  margin-left: 40px;
  padding-top: 5px;
}

body.page-template-find-installer .gform_wrapper.gravity-theme .chosen-container-single .chosen-single {
  height: 50px;
}

body.page-template-find-installer .gform_wrapper.gravity-theme.gfield .ginput_container--name input, 
body.page-template-find-installer .gform_wrapper.gravity-theme .gfield input.large, 
body.page-template-find-installer .gform_wrapper.gravity-theme .gfield select.large, 
body.page-template-find-installer .gform_wrapper.gravity-theme .gfield textarea.large,
body.page-template-find-installer .gform_wrapper.gravity-theme .chosen-container-single .chosen-single span {
  color: #6B6F6C;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: none;
  padding: 14px 29px !important;
}

body.page-template-find-installer .gform_wrapper.gravity-theme .gfield .ginput_container--name input::placeholder,
body.page-template-find-installer .gform_wrapper.gravity-theme .gfield input.large::placeholder,
body.page-template-find-installer .gform_wrapper.gravity-theme .gfield select.large::placeholder,
body.page-template-find-installer .gform_wrapper.gravity-theme .gfield textarea.large::placeholder {
  color: #6B6F6C;
  font-size: 15px;
}

body.page-template-find-installer .gform_wrapper.gravity-theme .gform_footer, 
body.page-template-find-installer .gform_wrapper.gravity-theme .gform_page_footer {
  text-align: left;
}

body.page-template-find-installer .gform_wrapper.gravity-theme .gform_footer input {
  border-radius: 0;
  font-size: 17px;
  padding: 10px 20px;
  cursor: pointer;
  margin: 0;
  border-radius: 30px;
  font-weight: 400;
  text-transform: none;
  font-size: 14px;
}

body.page-template-find-installer .gfield_radio > div,
body.page-template-find-installer .gfield_checkbox > div {
  position: relative;
}

body.page-template-find-installer .gfield_checkbox > div {
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}

body.page-template-find-installer .gfield_radio > div + div {
  margin-left: 20px;
}

body.page-template-find-installer .gfield-choice-input[type="radio"],
body.page-template-find-installer .gfield-choice-input[type="checkbox"] {
  opacity: 0;
}

body.page-template-find-installer .gfield-choice-input[type="radio"] + label,
body.page-template-find-installer .gfield-choice-input[type="checkbox"] + label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

body.page-template-find-installer .gfield-choice-input[type="radio"] + label::before,
body.page-template-find-installer .gfield-choice-input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  left: -30px;
  width: 24px;
  height: 24px;
  border: 0px solid #ccc;
  background: #fff;
  border-radius: 0;
  top: 7px;
}

form#gform_24 {
  position: relative;
}
#gform_confirmation_message_24 {
  text-align: center;
}

body.page-template-find-installer .gfield-choice-input[type="radio"]:checked + label::after,
body.page-template-find-installer .gfield-choice-input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 12px;
  width: 15px;
  height: 15px;
  background: #19bdbf;
}

#field_24_12 .ginput_container_text,
#field_24_19 .ginput_container_text,
#field_24_21 .ginput_container_text {
  position: relative;
}

#field_24_12 .ginput_container_text:after,
#field_24_19 .ginput_container_text:after,
#field_24_21 .ginput_container_text:after {
  display: block;
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 18px;
  right: 20px;
  background-image: url("images/date.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

body.page-template-find-installer .gform_wrapper.gravity-theme .chosen-container-single .chosen-single div b {
  background-image: url("images/search-find.svg");
  background-position: 0px 20px;
}

body.page-template-find-installer .gform_wrapper.gravity-theme .chosen-container-single .chosen-single div {
  width: 30px;
}

body.page-template-find-installer .tab-container .tab-nav {
    display: flex;
    flex-wrap: wrap;
    max-width: 360px;
    margin: 0 auto;
    margin-bottom: 40px;
    border-radius: 20px;
    justify-content: center;
}

body.page-template-find-installer .tab-container .tab-nav .tab {
  text-align: center;
  padding:11px 28px;
  background-color: #E5E7EA;
  cursor: pointer;
  @media screen and (max-width: 424px) {
    padding: 11px 15px;
  }
}
body.page-template-find-installer .tab-container .tab-nav .tab:first-child {
  border-radius: 20px 0px 0px 20px;
}
body.page-template-find-installer .tab-container .tab-nav .tab:last-child {
  border-radius: 0px 20px 20px 0px;
}

body.page-template-find-installer .tab-container .tab-nav .tab.active {
  background-color: #8DC63F;
  color:white;
  cursor: default;
}

body.page-template-find-installer .browse-by-brand h2.carousel-heading {
    margin-top: 60px;
}

body.page-template-find-installer .brands-carousel .category-block {
  display: flex;
  height: 170px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, 0.06);
  margin-top:10px;
  margin-bottom:10px;
  a {
    margin: 0 20px;
  }
}

body.page-template-find-installer .brands-carousel .glide__track {
    overflow: visible;
}

body.page-template-find-installer .brands-carousel .glide__track:before {
    content: '';
    background-color: white;
    position: absolute;
    right: 100%;
    height: 100%;
    width: 100%;
    z-index: 1;
    margin-right: 10px;
}

body.page-template-find-installer .brands-carousel img.category-thumbnail {
  filter: grayscale(1);
  transition: filter 0.2s linear;
}

body.page-template-find-installer .brands-carousel a:hover img.category-thumbnail {
  filter: grayscale(0);
}

body.page-template-find-installer .browse-by-brand {
    margin-bottom: 90px;
}

body.page-template-find-installer .footer-faq-items {
  display: none;
}