/* ***************** started new home hero section css ***************** */

.container
{
  z-index: 9;
}
.page-container {
  padding-top: 0px !important;
}

section.hero-banner {
  display: flex;
}

section.hero-banner .slide-outer .slide-container .slide-content-box {
  padding-top: 160px;
}

section.hero-banner .hero-form-wrapper {
  max-width: 1000px;
  padding: 16px;
  margin: 0 auto;
  /* background-color: #fff; */
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  height: auto;
  width: 100%;
  z-index: 9;
}

section.hero-banner .hero-form-wrapper.bg-default_theme {
  background-color: #fff;
}

section.hero-banner .hero-form-wrapper.bg-default_theme .hero-title {
  color: #000;
}

section.hero-banner .hero-form-wrapper .inner-div h4 {
  margin: 0;
  margin-bottom: 12px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 400;
}

section.hero-banner .hero-form-wrapper .inner-div .form-container {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
}

section.hero-banner .flp-dropdown-btn span {
  color: #454545;
}

section.hero-banner .hero-form-wrapper .flp-dropdown,
section.hero-banner .hero-form-wrapper .flp-dropdown .flp-dropdown-content {
  width: 100%;
}

section.hero-banner
  .hero-form-wrapper
  .flp-dropdown
  .flp-dropdown-content
  .sqft-wrap,
section.hero-banner
  .hero-form-wrapper
  .flp-dropdown
  .flp-dropdown-content
  .price-wrap {
  max-width: unset;
  width: 100%;
}

section.hero-banner
  .hero-form-wrapper
  .flp-dropdown
  .flp-dropdown-content#dropdownContentPrice,
section.hero-banner
  .hero-form-wrapper
  .flp-dropdown
  .flp-dropdown-content#dropdownContentSqFt {
  padding: 10px 20px;
}

section.hero-banner
  .hero-form-wrapper
  .flp-dropdown
  .flp-dropdown-content
  button {
  padding-left: 0;
}

section.hero-banner .hero-form-wrapper .flp-dropdown button.flp-dropdown-btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1rem 0.6875rem;
  padding-left: 40px;
  font-size: 0.875rem;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  box-shadow: 0px 2px 4px rgba(25, 74, 77, 0.15);
  text-align: left;
  border-radius: 0px;
  font-size: 1rem;
}

section.hero-banner .form-group i.swi {
  top: 26%;
  left: 17px;
  color: #5c5c5c;
}

section.hero-banner .side-space-right-col {
  position: relative;
}

section.hero-banner .hero-form-wrapper .submit-button {
  width: 44px;
  height: 44px;
  border: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.hero-banner .hero-form-wrapper .submit-button img {
  transform: rotate(-90deg);
  height: 30px;
}

section.hero-banner .hero-form-wrapper .form-group:last-of-type::after {
  content: "";
  height: 100%;
  border-left: 1px solid #cccccc;
  position: absolute;
  right: -6px;
}

section.hero-banner .bottom-section-link-wrapper .link-wrapper h4 {
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0;
}

section.hero-banner .bottom-section-link-wrapper .bottom-section-link {
  position: absolute;
  bottom: 4%;
  left: 50%;
  display: flex;
  flex-direction: row-reverse;
  background-color: transparent;
  align-items: center;
  gap: 20px;
  z-index: 9;
  transform: translateX(-50%);
}

section.hero-banner .video-wrapper {
  height: 100%;
  position: relative;
  overflow: hidden;
  width: 100%;
}

section.hero-banner .video-wrapper:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* desktop background player - the wrapper holds the iframe, and must paint
   above .vimeo-thumbnail (z-index: 0 + black bg in common.css) but below
   .video-wrapper:before / .video-container. Same z-index, later in DOM = on top. */
section.hero-banner .video-wrapper .video-iframe-wrapp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

section.hero-banner .video-wrapper iframe#hero_vimeo_bg,
section.hero-banner .video-wrapper iframe.vimeo-video,
section.hero-banner .video-wrapper iframe.youtube-video {
  height: 120vh;
  width: 120%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  pointer-events: none;
  border: 0;
  z-index: 0;
}

section.hero-banner .video-wrapper .video-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

section.hero-banner .slick-prev {
  left: 45px;
}

section.hero-banner .slick-dotted.slick-slider {
  margin-bottom: 0px;
}

section.hero-banner .slide-overlay,
.banner-overlay::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); */
  content: "";
  background: linear-gradient(
    180.15deg,
    rgba(17, 17, 17, 0) 80.97%,
    rgba(17, 17, 17, 0.8) 97.25%
  );
}

body section.hero-banner .slick-prev:before,
body section.hero-banner .slick-next:before {
  font-size: 2rem;
}

/* =======content slide========== */

section.hero-banner.content-hero .slide-bg.desktop-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

section.hero-banner.content-hero .slide-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

section.hero-banner.content-hero
  .slide-outer
  .slide-container
  .slide-content-box,
section.hero-banner.content-hero .container .video-content {
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  padding-top: 0px;
  padding: 50px 100px;
}

section.hero-banner.content-hero .slide-flex-wrapper .container,
section.hero-banner.content-hero .video-wrapper .video-container {
  height: 100%;
  position: relative;
  max-width: unset;
  padding: 0px;
}

section.hero-banner.content-hero .content-slide-flex-wrapper {
  height: 100%;
}

section.hero-banner.content-hero button.slick-arrow {
  display: none !important;
}

section.hero-banner.content-hero .slider-container .slick-dots {
  bottom: 1vw;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  padding: 0 100px;
}

section.hero-banner.content-hero .slider-container .slick-dots > li {
  border-radius: 50%;
  overflow: hidden;
  width: 40px;
  height: 40px;
  opacity: 1;
  margin: 0;
}

section.hero-banner.content-hero .slider-container .slick-dots > li button {
  font-size: 1.6875rem;
  line-height: 1.1;
  opacity: 1;
  color: #fff;
  display: block;
  text-align: center;
  background-color: transparent;
  opacity: 0.5;
  border: 0px;
}

section.hero-banner.content-hero
  .slider-container
  .slick-dots
  > li.slick-active
  button {
  opacity: 1;
}

section.hero-banner.content-hero .slide-flex-wrapper .container .slide-content,
section.hero-banner.content-hero .container .video-content {
  position: relative;
}

section.hero-banner.content-hero .slide-content-box .slide-content:after,
section.hero-banner.content-hero .container .video-content:after {
  content: "";
  border-top: 12px solid;
  width: 75px;
  position: absolute;
  left: 0;
  top: -40px;
}

section.hero-banner.content-hero h1.hero-title {
  font-size: 4rem;
}

section.hero-banner.content-hero h2.hero-subtitle {
  font-size: 3rem;
}

section.hero-banner.content-hero h2.hero-subtitle,
section.hero-banner.content-hero h1.hero-title {
  margin-bottom: 1.25rem;
  line-height: normal;
  font-weight: 400;
}

section.hero-banner.content-hero h2.hero-subtitle {
  margin-top: 0px;
}

section.hero-banner.content-hero .hero-content p {
  font-size: 1.375rem;
  line-height: normal;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

section.hero-banner.content-hero .section-buttons a.btn {
  font-size: 1rem;
}

.hero-form-banner-wrap {
  width: 92.5%;
  margin-left: auto;
  position: relative;
}

/* ****************** end new home hero section css ************ */

@media screen and (min-width: 768px) {
  section.hero-banner.new-section h1.hero-title {
    text-align: center;
  }
}

@media screen and (max-width: 1440px) {
  section.hero-banner.content-hero h1.hero-title {
    font-size: 3.5rem;
  }
  section.hero-banner.content-hero h2.hero-subtitle {
    font-size: 2.5rem;
  }

  section.hero-banner.content-hero
    .slide-outer
    .slide-container
    .slide-content-box,
  section.hero-banner.content-hero .container .video-content {
    padding: 50px;
  }

  section.hero-banner.content-hero .slider-container .slick-dots {
    bottom: 20px;
    padding: 0 50px;
  }
}

@media screen and (max-width: 1024px) {
  section.hero-banner.content-hero h2.hero-subtitle {
    font-size: 1.8rem;
  }
  section.hero-banner.content-hero h1.hero-title {
    font-size: 2.8rem;
  }

  section.hero-banner .hero-form-wrapper {
    max-width: 800px;
  }
  section.hero-banner.new-section .slick-prev {
    left: 20px;
  }
  section.hero-banner.new-section .slick-next {
    right: 20px;
  }
}

@media screen and (max-width: 992px) {
  section.hero-banner .hero-form-wrapper {
    width: 90%;
  }
  section.hero-banner .slick-prev:before,
  section.hero-banner .slick-next:before {
    font-size: 30px;
  }

  section.hero-banner button.slick-next {
    right: 15px;
    top: 55%;
  }
  section.hero-banner .slick-prev {
    left: 15px;
    top: 55%;
  }

  section.hero-banner.content-hero h1.hero-title {
    font-size: 2.5rem;
  }

  section.hero-banner.content-hero .slide-content-box .slide-content:after,
  section.hero-banner.content-hero .container .video-content:after {
    border-top: 7px solid;
    top: -25px;
    width: 56px;
  }

  section.hero-banner.content-hero
    .slide-outer
    .slide-container
    .slide-content-box,
  section.hero-banner.content-hero .container .video-content {
    max-width: unset;
  }
  section.hero-banner.content-hero .hero-content p {
    font-size: 1rem;
  }
  section.hero-banner.content-hero .slider-container .slick-dots > li {
    margin-right: 0;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  section.hero-banner.new-section button.slick-arrow {
    top: unset;
    bottom: 9vw;
  }
  section.hero-banner.new-section .slick-next {
    right: 45%;
  }
  section.hero-banner.new-section .slick-prev {
    left: 45%;
  }
}

@media screen and (max-width: 767px) {
  section.hero-banner {
    display: block;
  }

  section.hero-banner.video-banner {
    display: flex;
  }

  section.hero-banner .hero-form-wrapper {
    position: relative;
    transform: unset;
    margin-top: -15%;
    width: 95%;
    padding: 24px 16px;
    top: unset;
    left: unset;
    z-index: 2;
  }

  section.hero-banner button.slick-next {
    right: 25px;
  }

  section.hero-banner.content-hero {
    position: relative;
    height: 100vh;
    min-height: 50vw;
  }

  section.hero-banner.content-hero .slider,
  section.hero-banner.content-hero .slick-list,
  section.hero-banner.content-hero .slick-slider .slick-track,
  section.hero-banner.content-hero .slick-slide {
    height: 100%;
  }

  section.hero-banner.content-hero .slide-flex-wrapper,
  section.hero-banner.content-hero .video-wrapper .video-container {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    padding: 0;
    z-index: 3;
  }

  section.hero-banner.content-hero .hero-paragraph p {
    font-size: 1.2rem;
  }

  section.hero-banner.content-hero
    .slide-outer
    .slide-container
    .slide-content-box,
  section.hero-banner.content-hero .container .video-content {
    padding: 0 20px;
  }

  section.hero-banner .slider-container .slick-dots {
    padding-left: 15px;
  }

  section.hero-banner.content-hero .slider-container .slick-dots {
    text-align: center;
  }
}

/* ======= SHOW VIDEO BANNER ON MOBILE ======= */
@media screen and (max-width: 767px) {

  /* drop the fallback image only when a real player is present */
  section.hero-banner .video-wrapper:has(.video-iframe-wrapp) .slide-bg.mob-bg,
  section.hero-banner .video-wrapper:has(.wistia_responsive_padding) .slide-bg.mob-bg {
    display: none !important;
  }

  /* component-common.css hides every .desktop-bg under 767px - opt the player back in */
  section.hero-banner .video-wrapper .video-iframe-wrapp,
  section.hero-banner .video-wrapper .video-iframe-wrapp.desktop-bg,
  section.hero-banner .video-wrapper .vimeo-thumbnail.desktop-bg,
  section.hero-banner .video-wrapper iframe.desktop-bg {
    display: block !important;
  }

  section.hero-banner .video-wrapper {
    display: block !important;
    position: relative !important;
    min-height: 450px !important;
    overflow: hidden !important;
  }

  /* takes the place the .mob-bg image used to hold in the flow:
     100% where the section has a real height, 450px where it is auto */
  section.hero-banner .video-wrapper .video-iframe-wrapp {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 450px !important;
    overflow: hidden !important;
    flex: none !important;
  }

  /* poster sits behind the player and adds no flow height */
  section.hero-banner .video-wrapper .vimeo-thumbnail {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  section.hero-banner .video-wrapper .vimeo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 16:9 player cropped to cover the portrait box, whatever its height */
  section.hero-banner .video-wrapper iframe#hero_vimeo_bg,
  section.hero-banner .video-wrapper iframe.vimeo-video,
  section.hero-banner .video-wrapper iframe.youtube-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    aspect-ratio: 16 / 9;
    border: 0;
    pointer-events: none;
  }

  /* wistia background player */
  section.hero-banner .video-wrapper .wistia_responsive_padding.desktop-bg,
  section.hero-banner .video-wrapper .wistia_responsive_wrapper.desktop-bg,
  section.hero-banner .video-wrapper .wistia_embed.desktop-bg {
    display: block !important;
  }

  section.hero-banner .video-wrapper .wistia_responsive_padding.desktop-bg {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 450px !important;
  }

  /* keep overlay and copy stacked above the player */
  section.hero-banner .video-wrapper .slide-overlay {
    z-index: 1;
  }

  section.hero-banner .video-wrapper .container.video-container,
  section.hero-banner .video-wrapper .vedio-content-wrap,
  section.hero-banner .video-wrapper .slide-flex-wrapper {
    z-index: 2;
  }
}
