/* ****************** start home hero slider css ****************** */
/* section.hero-banner{
  height: 100vh;
} */

section.hero-banner .hero-form-wrapper{
    padding: 16px;
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 99;
}

section.hero-banner .hero-form-wrapper .inner-div {
    max-width: 1004px;
    width: 100%;
    margin: 0 auto;
}

section.hero-banner .hero-form-wrapper .inner-div h4{
    margin: 0;
    margin-bottom: 16px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    text-transform: capitalize;
}

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


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: .75rem 1rem;
  padding-left: 40px;
  font-size: 0.875rem;
  background-color: #fff;
  border: 1px solid #6B6B6B;
  border-radius: 6px;
  text-align: left;
  font-size: 1rem;
}

section.hero-banner .form-group i.swi {
    position: absolute;
    /* top: 29%; */
    /* transform: translateY(-50%); */
    left: 17px;
    /* font-size: 14px; */
}

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

section.hero-banner .hero-form-wrapper .submit-button{
    /* width: 40px;
    height: 40px;
    border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
     border: 0px;
}

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

  section.hero-banner .link-wrapper h4{
    font-weight: 600;
    font-size: 12px;
    margin: 0;
    padding: 32px 16px 12px 16px;
  }
  
  section.hero-banner .bottom-section-link{
    position: absolute;
    bottom: 33px;
    left: 50%;
    transform: translate(-50%);
    /* display: flex;
    flex-direction: column;
    width: 120px;
    height: 120px; */
    border-radius: 50%;
    /* text-align: center;
    z-index: 99; */
    background-color: transparent;
  }


  /* .dextrose-img,
  .apiary-img,
  .honeycomb-img,
  .tupelo-img,
  .collective-img,
  .acacia-img{
    display: none;
  } */

  section.hero-banner .video-wrapper {
  height: 100%;
  position: relative;
  overflow: hidden;
}
/* desktop background player - the wrapper holds the iframe, and must paint
   above .vimeo-thumbnail (z-index: 0 + black bg in common.css) but below
   .slide-overlay / .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;
}


/* =======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-flex-wrapper {
    height: 100%;
    z-index: 9;
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

  section.hero-banner.content-hero .slide-flex-wrapper .container .slide-content, 
  section.hero-banner.content-hero .slide-flex-wrapper .container .video-content {
      width: 50%;
      color: #fff;
      position: relative;
      overflow: hidden;
      padding: 30px 75px;
      text-align: left;
      max-width: 860px;
  }

  section.hero-banner.content-hero .slide-flex-wrapper .container .slide-content .caption-bg, 
  section.hero-banner.content-hero .slide-flex-wrapper .container .video-content .caption-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -9;
    opacity: 0.5;
}

section.hero-banner.content-hero .container.slide-container {
  max-width: unset;
  padding-left: 0;
}

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

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

section.hero-banner.content-hero h2.hero-subtitle{
  font-size: 2rem;
  font-weight: normal;
}

section.hero-banner.content-hero h1.hero-title,
section.hero-banner.content-hero h2.hero-subtitle{
   margin-bottom: .875rem;
  margin-top: 0px;
  line-height: normal;

}

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

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

section.hero-banner.content-hero .slider-container .slick-dots > li button, 
section.hero-banner.content-hero .slick-dots li button:before{
  display: block;
}

section.hero-banner.content-hero .slider-container .slick-dots{
  bottom: 4%;
  left: 4%;
  width: auto;
}

section.hero-banner.content-hero .slick-dots li.slick-active button:before,
section.hero-banner.content-hero .slick-dots li button:before
{
  color: #d9d9d9;
}

section.hero-banner.content-hero .slider-container .slick-dots > li button:before{
  font-size: 16px;
}

section.hero-banner.content-hero .video-container .video-content{
  max-width: 860px;
  width: 100%;
}


/* ******************* end home hero slider 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 .video-wrapper .video-container{
    max-width: 1120px;
  }
}

@media screen and (max-width: 1280px) {
    section.hero-banner.content-hero .slide-flex-wrapper .container .slide-content, 
    section.hero-banner.content-hero .slide-flex-wrapper .container .video-content {
        padding: 40px;
        padding-left: calc(50% - 460px);
        width: 90%;
        padding-right: 100px;
    }
    section.hero-banner.content-hero .video-wrapper .video-container{
      max-width: 980px;
    }
  }


@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.content-hero .slide-flex-wrapper .container .slide-content, 
  section.hero-banner.content-hero .slide-flex-wrapper .container .video-content {
        padding-right: 40px;
    }
}


@media screen and (max-width: 992px) {
 section.hero-banner .hero-form-wrapper .inner-div h4{
    text-align: center;
  }
  section.hero-banner .slick-prev:before, 
  section.hero-banner .slick-next:before{
    font-size: 30px;
  }
  section.hero-banner.content-hero h1.hero-title {
      font-size: 2.5rem;
    }
    section.hero-banner.content-hero .slide-flex-wrapper .container .slide-content, 
    section.hero-banner.content-hero .slide-flex-wrapper .container .video-content {
        padding-left: 40px;
        margin: 0 auto;
        text-align: center;
    }
    section.hero-banner.content-hero .section-buttons{
      justify-content: center;
    }
    section.hero-banner.content-hero .slider-container .slick-dots{
      left: 7%;
    }
}

@media screen and (max-width: 767px) {
  section.hero-banner.content-hero .container.slide-container{
    padding: 0 16px;
  }
section.hero-banner .hero-form-wrapper{
      position: relative;
    }
section.hero-banner .slick-prev {
    left: 20px;
}
section.hero-banner button.slick-next {
    right: 25px;
}

   section.hero-banner.video-banner .hero-form-wrapper{
      width: 95%;
    }

    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;
    }

    section.hero-banner.content-hero .slide-flex-wrapper .container .slide-content, 
    section.hero-banner.content-hero .slide-flex-wrapper .container .video-content{
      padding: 20px;
      width: 100%;
    }

    section.hero-banner.content-hero .video-wrapper .video-container{
      padding: 0 20px;
    }

    section.hero-banner.content-hero .hero-paragraph p {
    font-size: 1.2rem;
    }
    section.hero-banner.content-hero .slider-container .slick-dots{
      left: 50%;
      transform: translateX(-50%);
    }
    
}
/* ======= 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;
  }
}
