/* THREE COLUMN */
.three-col-sec {
  h3 {
    font-size:1.1rem;
    margin: 0 0 0.3rem;
  }
  @media (max-width: 992px) {
  .col-md-4.col-sm-6 {
    width: 50%;
  }
  h3 {
    font-size:0.9rem;
  }
  p {
    font-size:0.9rem;
  }
}
}

/* FULL WIDTH TESTIMONIALS */

.fullwidth-testimonial-section{
    min-height: 25rem;
    position:relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    img {
      width: 100%;
      height: auto;
      object-fit: cover;
      height: 25rem;    
      border-radius: 0;
      filter: brightness(0.7);
    }

    p {
      font-size: 2rem;
      font-weight: 500; 
      color: #FFF;
       @media (max-width: 1024px) { 
        font-size: 1.5rem;

        a {font-size:1rem;}
        }
    }

    blockquote p{
      font-size: 2.5rem;
      font-style: italic;
      font-weight: 500;
      line-height: normal; 
      color: #FFF;

       @media (max-width: 1204px) { 
        font-size: 1.5rem;
        }
      }

     @media (min-width: 1204px) { 
    
        min-height: 35rem;

        img {
            height: 35rem;
          }

    }
  
  .testimonial-wrapper{
    font-family: var(--cm-font-family);
    position: absolute;
    width: 60%;
    top: 50%;
    z-index: 2;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
 @media (max-width: 1024px) { 
      width: 80%;
 }
     a {
      display: inline-block;
      margin-top:2rem;
      color:#fff;
      font-size:1rem;
      opacity:0.9;
    }
   
  }
  
  blockquote p::before {
    content: open-quote;
  }
  blockquote p::after {
    content: close-quote;
  }
  blockquote {
    quotes: "“" "”";
  }

  
 &::before{
    position: absolute;
    content: '';
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    left: 0;
    right: 0;
    top:0;
    bottom:0;
  }
}


  /* TEXT TESTIMONIALS */
  /* TODO MAY NEED ALTERING FOR testimonials page */
  .testimonials .hreview .locality:after {
    content: ", ";
}
.testimonials .wrapper-content, ul.long, .privacy .wrapper-content,  .terms_and_conditions .wrapper-content {
  @media screen and (min-width: 760px) {
   column-count: 2;
   column-gap: 6rem;
/* TODO not sure about below */
   padding: 2rem;
    background-color: var(--cm-complement);
    border-radius: 20px;
  }
   @media screen and (min-width: 1400px) {
   column-count: 3;
  }
}
 ul.long li{
  list-style: none;
  margin-bottom:0.5rem;
}
.hreview {
  margin-bottom: 2rem;
  @media screen and (max-width: 640px) {
    margin-top: 2rem;    
  }
  break-inside: avoid;
}
.hreview > p{
  display:none;
}
.areas hreview {
  margin-bottom: 3rem;
}
.areas footer {
  border-top: 1px solid var(--cm-color);
}

  /* Top banner Section */

   .hd {
      width: 100%;
      overflow: hidden;
      position: relative;
  }

  .vcontent {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.vcontent img {
  width: 100%;
  object-fit: cover;
  border-radius:0;
  margin-top:4rem;
  height:70vh;
  @media (min-width: 1024px) {
    margin-top:0;
    height:100vh;
  }
}
.decoration .vcontent, .about .vcontent, .testimonials .vcontent, .marquee_questions .vcontent, .marquee-jobs .vcontent, .privacy .vcontent, .pricing .vcontent,.contact_us .vcontent, .areas .vcontent, .clients .vcontent, .terms_and_conditions .vcontent, .usefullinks .vcontent{
  height: 70vh;
  @media (min-width: 1024px) {
     height:90vh; /* height:100vh; TODO decide */
  }
}
.decoration #main, .about #main, .testimonials #main, .marquee_questions #main, .marquee-jobs #main, .privacy #main, .pricing #main, .contact_us #main, .clients #main, .terms_and_conditions #main, .usefullinks #main {

  padding:0;
}
.decoration section.full-width-banner, .about section.full-width-banner,.testimonials section.full-width-banner, .marquee-jobs section.full-width-banner, .privacy section.full-width-banner, .pricing section.full-width-banner, .contact_us section.full-width-banner, .clients section.full-width-banner, .terms_and_conditions section.full-width-banner, .usefullinks section.full-width-banner, .marquee_questions section.full-width-banner {
  margin-bottom:1rem;
}

.vimeo-wrapper {
  /*position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;*/
  padding-bottom:56%;
}

.vimeo-wrapper iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 125.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
} 

.bespoke .vimeo-wrapper {
  width: 100vw;
    height: 80vh;
  @media (min-width: 760px) {
  width: 43vw;
    height: 50vh;
}
}

@media (min-aspect-ratio: 16/9) {
  .vimeo-wrapper iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    /* height: 56.25vw; This keep a fine line of the left of the video so i have made it 56.3 */
    height: 56.3vw;
  }
}
@media (max-aspect-ratio: 16/9) {
  .vimeo-wrapper iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 177.78vh;
  }
}

    /* Top banner Section */

    .banner-overlay{
    position: absolute;
    top: 95%;
    width: 80vw;
    transform: translateY(-50%);
    color: #ffffff;
    z-index: 1;
      a, a:hover {
        color:#fff;
      }
      p {
        font-size:1rem;
        font-weight:500;        
        opacity:0.7;
      }
      @media screen and (max-width: 1024px) {
        width:100%;
        text-align:left
      }
      h1 {
    color: #fff;
    font-size: calc(1rem + 1.5vw);
    width:fit-content;
    /* background: rgb(0, 0, 0, 0.1); */
    background: rgba(255, 255, 255, 0.1);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    padding: 6px 12px;
    -webkit-backdrop-filter: blur(1px) saturate(100%);
    /* backdrop-filter: blur(16px) saturate(150%); */
    backdrop-filter: blur(1px) saturate(100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom:2rem;
 /* @media (min-width: 1024px) {
    &::before {
        content: "";
        position: absolute;
        width: 32px;
        height: 12px;
        bottom: 0px;
        z-index: -1;
        background: center center no-repeat url(https://newsite.countymarquees.com/wp-content/themes/countymarquees/images/svg/arrow.svg);
        background-size: cover;
        transform: rotate(90deg);
        color: #fff;
        left: 35%;
        }
      } */
  @media (max-width: 1024px) {
    /* font-size: 1.7rem; */
    text-wrap:balance;
    font-size: calc(1rem + 1vw);
    text-align: center;
    margin: 0 auto 2rem;
  }
    }
  .home .banner-overlay {
    top: 85%;
  }
  }
    


    

@media (max-width: 992px) {

  .phone {
      order: 3;
    bottom: unset;
    position: relative;
    margin-left: auto;
    }
  }




@media (max-width: 992px) {
  .testimonial-wrapper {
    width:80%;
  }
  .fullwidth-testimonial-section blockquote p, .fullwidth-testimonial-section p {
    font-size:1.5rem;
  }
  section.fullwidth-content {
    /* padding: 1rem;
    border: 1px solid var(--cm-color);
    border-radius: 1rem; */
    margin: 0 1rem 4rem;
  }
  /* section .vcontent { /*home page
    background-position: -200px -220px;
  } */
 section .vcontent {/*home page*/
  background-position: center center;
  }
  .decoration section .vcontent, .testimonials section .vcontent, .marquee_questions section .vcontent {
    background-position: center center;
  }
}
iframe {
  border: 0;
  width:100%;
}

/* BANNER BLOCK */
.vcontent {

}

/* GRID WIDTH SECTION */
.grid-width-section img {
object-fit: cover;
object-position: center;
width: 100%;
max-height: 40rem;
}



/* TESTIMONIALS */

.summary {
  font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight:400;    
  max-width: 38em;
}
.hreview abbr:after, .hreview .locality:after {
  /* content: ", "; */
}
abbr[title] {
  text-decoration: none;
}
blockquote p {
  font-style: italic;
  max-width: 38em;
}
.testimonials .hreview p, .testimonials .hreview span:not(.summary), .testimonials .hreview abbr { /*TODOD maybe not for area pages*/
  font-size: 0.9rem;
}


/* RESOURCES? */

@media (max-width: 992px) {
p.page-url{
  word-wrap: break-word;
}

.hreview p, .hreview span:not(.summary), .hreview abbr { /*TODOD maybe not for area pages*/
  font-size: 1rem;
}


}
@media (max-width:660px){
 .slider-section .col-content {
  margin-top: 1rem;
 }
}
.resource-section a{
  margin-bottom: 2rem;
}

/* 3 column gallery */
.gallery  {
  .row .col-md-4 {
padding-right:0;
  }
  .block-wrapper {
  @media screen and (max-width: 992px) {
    margin-bottom: 0;
    
  }
}
}

/* top content section for links */
.content-section.bg-color {
  background-color: var(--cm-complement);
  padding:2rem 0;
  @media screen and (max-width: 992px) {
    padding:1rem 0;
  }
}

/* hero slider2 SECTION */
.hero-slider2-section {

   margin-left: 7%;

   h2 {
    margin-bottom:1.1rem;
    margin-top:0
   }

   .standout {
    margin-top:2rem;
    display:inline-block
   }

   .container {
    max-width:100%;
    padding: 0;
    margin: 0;
    width:100%;
    .col-12 {
      padding:0;
    }
   }

    .slick-list{
   @media  (min-width: 641px) { 
   padding:0 2% 0 0 !important;
   }
      @media  (max-width: 640px) { 
        padding:0 20% 0 0 !important;        
      }
}

  .slick-slide-item:nth-of-type(1) {
        padding-left: 0;
  }
  .slick-slide-item {
        padding: 0 1rem 0 0;
        position: relative;
        @media screen and (max-width: 640px) { 
          padding:0 0.5rem;
        } 
    }
    /* .slick-list {
      margin-left:3rem !important
    } */
  
    .slick-prev, .slick-next {
        top: 60%;
        transform: translateY(-50%);
        background: none;
        border: none;
        z-index: 2;
        width: 40px;
      height: 40px;
      border: 2px solid #ffffff;
      border-radius: 50%;
      z-index: 9;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
        &::before {
            display: none;    
        }
    }
    .slick-prev {
        left: 1%;     
    }
  .slick-next {
        right:4%;
    }
    .btn-class {
      border-color:var(--cm-color);
      color:var(--cm-color);
      margin-bottom:2.8rem;
    }
    p {
          
    margin-bottom: 2rem;
    }
    .carousel-caption{
    left:1.5rem;
       p {
      font-size:0.9rem;
      font-weight: 400;
      margin-bottom: 1.2rem;
      line-height: 0;
      opacity:0.9rem
      }
      
 
    /* .hero-slider2-section .slick-list{padding:0 20% 0 0 !important;} */
}
.carousel-caption:has(a) {
    right:1.5rem;
    left:auto;
  }
}

.hero-slider .carousel-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
   position: relative;
    }
/* *******************home */
    .home {
  a.phone {
  color:#fff;
}
.nav-scroll a.phone {
    color: var(--cm-color);
}
.vcontent {
  height: 100vh;
}
.slick-prev, .slick-next {
        top: 72%;
  }
}

/* .lighting .three-col-sec p {
margin-bottom:3rem;
} */
