/*
  * Lewis Bakeries Refresh
  * Copyright  2025 Lewis Bakeries
  * CSS authored by Shaun Mackey
  * Version 1.0
  3/1 changes
  */

  /* depricate after new contact form */
  #contact-form {
    margin-top: 50px;
}

.gfmc-row-1-col-2-of-2 ul {
  padding-bottom: 150px;
}

#gform_submit_button_1 {
  top: -100px;
  max-width: 226px;
  left: 20px;
}

.gfmc-row-1-col-2-of-2 ul {
  margin-top: 40px;
}
  /* end depricate after new contact form */

  html {
    scroll-behavior: smooth;
  }
  
  
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
  }
  
  a {
    color: #DF3033;
    font-weight: 600;
  }

  a:hover {
    color: #a52c2e;
  }
  
  p {
    text-align: center;
    margin: 0 auto; /* Centers the text block */
    margin-left:0;
    line-height: 1.6; /* Adds better readability */
    text-wrap:balance;
  }
  
  /* Careers */
  #header h1, .intro h2  {
    color: #231F20;
    font-weight: 700;
    font-size: 5rem;
    text-shadow: unset;
    text-align: center;
    top: 23%;
    left: 7%;
    line-height: 4.8rem;
  }
  
  .intro h2  {
  margin-bottom:0;
    line-height: 3rem;
  
  }
  
  
  .h1, h1 {
    font-size: 4rem;
  }
  
  .h2, h2,  .intro h2 {
    font-size: 2.5rem;
  }
  
  .h3, h3,  .intro h3 {
    font-size: 2.1rem;
  }
  
  .container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x)* 2.5);
    padding-left: calc(var(--bs-gutter-x)* 2.5);
  }
  
    /* header */
  
    .nav-item{
      font-weight: 600;
      letter-spacing: .5px;
    }
  
    .btn{
      text-transform: none;
      line-height: unset;
    }
  
  .btn-green {
      color: #231F20;
       border: 2px solid #231F20;
      /*transition: allease 0.2s; */
  }
  
  .about-spacer{
    margin-bottom:250px !important;
  }
  
  .btn-green:hover, .btn-green:focus {
    background-color: #231F20;
    color: #FFF;
  }
  
  .current_page_item.active {
    position: relative;
  }
  
  .current_page_item.active a {
    color: #DF3033 !important;
  }
  
  #main-menu a:hover, #main-menu a:focus, #product_menu li a:hover, #product_menu li a:focus {
    color: #DF3033;
  }
  
  .current_page_item.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #DF3033; 
      margin-top:-25px;
  }
  
  /* colors */
  .lb-color-primary{
    background-color: #CBC8C3;
  }
  
  .lb-color-secondary{
    background-color: #F2F0ED;
  }
  
  
  .lb-text-primary{
    color: #231F20;
  }
  
  input,
textarea,
select {
  border: 2px solid transparent;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border: 2px solid #DDD !important;
  box-shadow: none !important;
}
  
.wpcf7-not-valid-tip {
  text-align: left;
  margin-top: 5px;
}

.wpcf7 input[type=submit]{
  background-color: unset !important;
  /* border-bottom:none !important; */
  color: #231F20 !important;
  border: 2px solid #231F20 !important;
  border-radius: 0 !important;
  font-weight: bold;
}

.wpcf7 input[type=text]:focus, .wpcf7 input[type=tel]:focus, .wpcf7 input[type=email]:focus, .wpcf7 textarea:focus, .wpcf7 select:focus{
  border-color:#ddd !important;
  /* color: #ddd !important; */
}


.form-control:focus, .wpcf7 .wpcf7-validation-errors:focus, .wpcf7 input[type=color]:focus, .wpcf7 input[type=date]:focus, .wpcf7 input[type=datetime-local]:focus, .wpcf7 input[type=datetime]:focus, .wpcf7 input[type=email]:focus, .wpcf7 input[type=file]:focus, .wpcf7 input[type=month]:focus, .wpcf7 input[type=number]:focus, .wpcf7 input[type=range]:focus, .wpcf7 input[type=search]:focus, .wpcf7 input[type=submit]:focus, .wpcf7 input[type=tel]:focus, .wpcf7 input[type=text]:focus, .wpcf7 input[type=time]:focus, .wpcf7 input[type=url]:focus, .wpcf7 input[type=week]:focus, .wpcf7 select:focus, .wpcf7 textarea:focus{
     border:2px solid#555 !important;
}

.wpcf7-form label, .form-header {
    text-align: left;
}

.wpcf7 select {
  max-width: 295px;
  appearance: none; /* Remove default */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='gray' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}


.form-header {
  font-weight: bold;
}

.form-spacer{
  margin-bottom:10px;
}

.wpcf7 input[type=submit]:hover{
  background-color: black !important;
  border-color: black !important;
  color: white !important;
  border-bottom:none !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #DF3033 !important;
}
  
  .hp-h1  {
   position: unset !important;
   width:300px;
  }
  
  
  .hp-logo{max-height: 75px;}
  
  .hp-aspot{
    position:absolute;
    top: 20%;
    left: 6%;
    max-width: 400px;
  }
  
  
  #header h1  {
  text-align: left;
  }
  
  .white-text {
      color: white !important;
  }
  
  /* text */
  .text-sm{
    font-size: 12px;
  }
  
  /* Footer */
  
  .lb-hr-footer{
    height: 1px; 
    background-color: #CBC8C3;
     z-index: 1;
     margin-top: 36px;
  }
  
  .lb-hr-footer-social{
     margin-top: 3px;
  }
  
  .footer-logo{
    position:relative;
     z-index: 2;
     background-color: #F2F0ED;
  }
  
  #wrapper-footer ul{
  
      list-style: none; 
      padding: 0; 
      margin: 0;
      display: flex; 
      gap: 10px; 
      text-decoration: none;
      justify-content: center; 
      flex-wrap: wrap; 
      max-width: 100%; 
  }
  
  #wrapper-footer ul li {
    text-transform: uppercase; 
    position: relative;
    font-size: 12px;
  }
  
  #wrapper-footer ul li:not(:last-child)::after {
    content: "|"; 
    margin-left: 10px;
    color: #231F20;
  }
  
  #wrapper-footer ul li a {
    text-decoration: none; 
    color: inherit;
  }
  
  #wrapper-footer ul li a:hover {
    text-decoration: underline;
    color: #666;
  }
  
  .btn-footer{
    margin-bottom:40px;
  }
  
  /* Careers stuff */
  #centered-content, #arrow-target {
    display: flex;
    justify-content: center;
    align-items: center; 
    text-align: center; 
  }
  
  .short-section {
    height: 20vh !important; 
  }
  
  #centered-content .container, #arrow-target .container{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
  }
  
  
  .social-icon-footer{
    position: relative;
      z-index: 12;
  }
  
  .social-line-overlay{
    position: relative;
    z-index: 12; 
    background-color: #F2F0ED;
  }
  
  .lb-pin{
    padding-right: 5px;
    margin-top: -3px;
  }
  
  .text-center.position-relative.pt-4 {
    display: flex;
    justify-content: center; /* Centers images horizontally */
    align-items: center; /* Centers them vertically */
    gap: 0; /* Ensures no extra space between images */
    flex-wrap: wrap; /* Prevents stacking */
    padding: 10px 0; /* Optional: Keeps padding on the parent, not each image */
  }
  
  .social-line-overlay {
    padding-right: 15px;
    padding-left: 15px;
    margin: 0;
  }
  
  .social-icon-footer {
    display: block; /* Prevents inline spacing issues */
  }
  
  .gray,.grey {
    background-color: #F2F0ED;
  }
  
  .w-250{
    width:250px;
    height:auto;
  }

  #header {
    background-color: #000;
  }
  
  
  /* about */
  .quote-icon {
    width: 50px; /* Adjust as needed */
    margin-top:-40px;
  }
  
  .quote-text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
  }
  
  .quote-author {
    font-weight: bold;
    font-size: 1rem;
  }
  
  .rise-section {
    background: url('images/bg-about-rise.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0; /* Adjust as needed */
    position: relative;
  }
  
  .rise-container{
    padding-left:100px;
    padding-right:100px;
  }
  
  /* Centered Overlay for Readability */
  .rise-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%; /* Start from the center */
    width: 80%; /* Overlay width */
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    transform: translateX(-50%); /* Center the overlay */
  }
  
  /* Ensure content appears above the overlay */
  .rise-section .container {
    position: relative;
    z-index: 1;
  }
  
  .responsibility-section {
    background: url('images/bg-about-responsibility.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    position: relative;
  }
  
  .partnerships-section {
    background: url('images/bg-about-partnerships.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0; 
    position: relative;
  }
  
  /*  Overlay for Readability */
  .partnerships-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
  }
  
  .partnerships-section .container {
    position: relative;
    z-index: 1;
  }
  
  .hp-subtext{
    max-width: 480px;
  }
  
  /* HP - floating images */
  .floating-images-section {
    position: relative;
    padding: 100px 0; /* Adjust spacing */
  }
  
  /* Center Content */
  .floating-images-section .container {
    position: relative;
    z-index: 2;
  }
  
  /* Floating Images */
  .floating-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 30%; /* Ensure responsiveness */
  }
  
  /* Left Image (Bread) */
  .left-image {
    left: 0;
  }
  
  /* Right Image (Sandwich) */
  .right-image {
    right: 0;
  }
  
  /* Button Styling */
  .btn-outline-dark {
    border: 2px solid #000;
    padding: 12px 24px;
    font-weight: bold;
  }

  .zen .btn-outline-dark {
    text-decoration: none;
  }
  
  .zen .btn-outline-dark:hover {
    color: #fff;
  }

  .zen .cookie-consent-banner a, .zen .cookie-consent-banner a:hover {
    color: #FFF;
}
  
  
  /* Section Base */
  .floating-images-section {
    position: relative;
    padding: 100px 0;
    z-index: 0; /* Base layer */
  }
  
  /* Ensure sections above and below stay above images */
  .section-above, .section-below {
    position: relative;
    z-index: 3;
  }
  
  /* Center Content (Text and Buttons) */
  .floating-images-section .container {
    position: relative;
    z-index: 2; /* Above images */
  }
  
  /* Floating Images (Behind Text but Over Section) */
  .floating-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 30%; /* Adjust for responsiveness */
    z-index: 1; /* Behind the text */
  }
  
  /* Left Image (Bread) */
  .left-image {
    left: 0;
  }
  
  /* Right Image (Sandwich) */
  .right-image {
    right: 0;
  }
  
  .success-image{
    max-height: 180px;
  }
  
  /* down arrow */
  
  .header-section {
    position: relative;
    text-align: center;
  }
  
  /* Keep the container positioning normal */
  .header-section .container {
    z-index: 2; /* Ensures text remains above images */
  }
  
  /* Down Arrow Styling (Independent from the title) */
  .down-arrow {
    position: absolute;
    bottom: 30px; /* Moves arrow to the bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* Keeps it above the images */
    width: 50px; /* Adjust size */
  }
  
  .down-arrow img {
    width: 100%;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
  }
  
  /* Hover effect for arrow */
  .down-arrow img:hover {
    opacity: 1;
  }
  
  /* Brands carousel */
  
  .brands-section {
    position: relative;
  }
  
  /* Brand Card Styling */
  .brand-card {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
    min-height: 420px;
  }
  
  .brand-card img {
    /* max-width: 100px; */
    margin-bottom: 10px;
  }
  
  /* Carousel Controls */
  .custom-carousel-control {
    position: absolute;
    top: 26%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .carousel-control-prev {
    left: -40px;
  }
  
  .carousel-control-next {
    right: -40px;
  }
  
  .custom-carousel-control:hover {
    background: rgba(0, 0, 0, 0.6);
  }
  
  
  /* contact form */
  /* CF7 Grid Container */
  .cf7-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
  }
  
  /* Full-width fields */
  .cf7-full-width, 
  .cf7-submit {
    grid-column: span 3;
  }
  
  /* Styling Inputs & Textareas */
  .wpcf7-form-control-wrap input,
  .wpcf7-form-control-wrap textarea,
  .cf7-grid input,
  .cf7-grid textarea,
  .cf7-grid select {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 2px solid #ddd;
    background: #f7f7f7;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
  }
  
  /* Submit Button Styling */
  .cf7-submit {
    display: flex;
    justify-content: flex-end;
  }
  
  .cf7-submit input[type="submit"] {
    padding: 10px 25px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    font-weight: bold;
    cursor: pointer;
  }
  
  .cf7-submit input[type="submit"]:hover {
    background: #000;
    color: #fff;
  }
  
  /* Mobile Responsive - Stack columns on small screens */
  @media (max-width: 768px) {
    .cf7-grid {
      grid-template-columns: 1fr;
    }
  
    .cf7-full-width, 
    .cf7-submit {
      grid-column: span 1;
    }
  
    .cf7-submit {
      justify-content: center;
    }
  }
  
  /* Form styling */
  /* CF7 Field Styling */
  .cf7-grid input,
  .cf7-grid textarea,
  .cf7-grid select {
    background-color: #f7f7f7;  /* light gray background */
    border: none;
    border-bottom: 2px solid #ddd; /* bottom gray bar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* subtle shadow */
    border-radius: 4px;
    padding: 14px 12px;
    color: #555;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  .cf7-grid input:focus,
  .cf7-grid textarea:focus,
  .cf7-grid select:focus {
    outline: none;
    border-bottom-color: #999; /* darker bar on focus */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  /* Placeholder Color */
  ::placeholder {
    color: #888;
    opacity: 1; /* For Firefox */
  }
  
  /* For better visual clarity */
  .cf7-grid label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 8px;
  }
  
  
  .form-control, .wpcf7 .wpcf7-validation-errors, .wpcf7 input[type=color], .wpcf7 input[type=date], .wpcf7 input[type=datetime-local], .wpcf7 input[type=datetime], .wpcf7 input[type=email], .wpcf7 input[type=file], .wpcf7 input[type=month], .wpcf7 input[type=number], .wpcf7 input[type=range], .wpcf7 input[type=search], .wpcf7 input[type=submit], .wpcf7 input[type=tel], .wpcf7 input[type=text], .wpcf7 input[type=time], .wpcf7 input[type=url], .wpcf7 input[type=week], .wpcf7 select, .wpcf7 textarea {
    background-color: #f7f7f7;  /* light gray background */
    border: none;
    border-bottom: 2px solid #ddd; /* bottom gray bar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* subtle shadow */
    border-radius: 4px;
    padding: 14px 12px;
    color: #555;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  .wpcf7 {
    max-width: 750px;
  }
  
  .lb-logo {
    max-width: 137px;
  }
  
  #main-menu{
    padding-left:20px;
    padding-right:20px;
  }
  
  /* #navbarTogglerDemo02{flex-basis: auto !important;flex-grow: 1 !important;}
   */
  #navbarNavDropdown{
    margin-right: 120px;
  }
  
  .navbar{
    min-height: 86px;
    height: 86px;
  }
  
  .pb-4 {
    padding-bottom: 1.5rem !important; 
  }
  
  .text-sm{
    font-size: 14px;
  }
  
  .carousel-logos{
    height: 100px;
    width: auto;
  }
  
  .about-quote-section{
    min-height:380px;
  }
  
  /* Floating Images */
  .floating-image-about {
    position: absolute;
    transform: translateY(-12%);
  }
  
  /* Left Image */
  .left-image-about {
    position: absolute;
    left: -380px;
  }
  
  /* Right Image */
  .right-image-about {
    position: absolute;
    right: -80px;
    transform: translateY(-9%);
  
  }
  
  .quote-section {
    display: flex;
    align-items: center;
  }
  
  .hundo{
    max-height: 50px;
  }
  
  .hr-white{
    opacity: .75;
    color: white;
    width: 90%;
    margin-left: auto; /* Centers the element horizontally */
    margin-right: auto; /* Centers the element horizontally */
  }
  
  .balance{
    text-wrap: balance;
  }
  
  .unbalance{
    text-wrap: unset !important;
  }
  
  
  /* Completely remove the collapse animation */
  .collapse,
  .collapsing {
    transition: none !important; /* No transition effect */
    height: auto !important;     /* Immediately set height without animation */
  }
  
  /* Force display changes so it snaps open/closed */
  /* 3/2 remove important to fix desktop menu display conflict */
  .collapse:not(.show) {
    display: none;
  }
  
  /* 3/1 changed from block 11pm */
  .collapse.show {
    display: flex !important;
  }
  
      #main-menu li {
        margin: 10px;
        margin-left: 0;
  
      }
  
      .family-bakers{
        max-width: 275px;
      }
  
      
      .grecaptcha-badge {
        visibility: hidden;
    }

    .wpcf7-response-output{
      margin-top:-50px !important;
    }

    .wpcf7 {
      max-width: 930px;
  }
  
  /* --------Begin Responsive Adjustments--------------- */
  @media (max-width: 992px) {
    .floating-image-about {
      display:none;
    }
  }
  
  /* Responsive Adjustments */
  @media (min-width: 992px) {
      #navbarTogglerDemo02 {
          display: flex !important;
          justify-content: space-evenly;
      }
  

  }
  
  
  @media (min-width: 768px) {
    .intro {
         padding-top: 80px;
         padding-bottom: 80px;
    }
  }
  
  
  /* ---------------------------- START MAIN MEDIA QUERIES -------------------------- */
  
  /* For slightly smaller desktops / large tablets (max-width: 1200px) */
  @media (min-width: 1200px) {
  .left-brand-card{
    margin-right:-50px;
  }
  
    .right-brand-card{
    margin-left:-50px;
  }
  
  }

  @media (max-width: 1200px) {
    .hp-h1 {
        position: unset !important;
        width: 500px;
    }
}
  
  /* For slightly smaller desktops / large tablets (max-width: 1200px) */
  @media (max-width: 1400px) {
      .container, .container-lg, .container-md, .container-sm, .container-xl {
          max-width: 1400px;
      }
  
      #navbarNavDropdown {
        margin-right: 50px;
    }
  
  }
  
  /* For slightly smaller desktops / large tablets (max-width: 1200px) */
  @media (max-width: 1200px) {
        #navbarTogglerDemo02 > div.text-end{
          display:none;
        }
  
        #navbarNavDropdown {
          margin-right: 0;
      }
  
      .hp-h1 {
        position: unset !important;
        width: 500px;
      }
  
      p {
        margin-left:0;
      }
  
      .rise-section::before, .partnerships-section::before {
      width: 90%;
  }
  
  }
  
  /* For tablets (max-width: 992px) */
  @media (max-width: 992px) {
    .down-arrow {
    display:none;
  }
  
    .gray{
      padding-top:30px;
      padding-bottom:30px;
    }
  
      .intro {
         padding-top: 70px;
         padding-bottom: 70px;
    }
  
    .h1,h1 { font-size: calc(3rem * 0.9); }
    .h2, h2 {font-size: calc(2.5rem * 0.9);}
    .h3,h3 { font-size: calc(2rem * 0.9); }
   p{ font-size: calc(2rem * 0.45); text-wrap: unset; }
  
    /* .col-12 {
       margin-top: 30px; 
       margin-bottom: 30px; 
  } */
  
  .floating-image{
    display:none;
  }
  
  .pb-3 {
       padding-bottom: 2rem !important;
  }
  
  .pt-3 {
      padding-top: 2rem !important;
  }
  
    .navbar>.container {
    padding-left:0;
    padding-right:0;
  }
  
    .rise-section::before, .partnerships-section::before{
      width: 100%;
  }
  
    .rise-container {
      padding-left: 50px;
      padding-right: 50px;
  }
  
    .padding-adjust-tablet-top{
      padding-top:35px;
    }
  
      .padding-adjust-tablet-bottom{
      padding-bottom:35px;
    }
  
    
    .order-adjust-tablet-top{
      order:1;
    }
  
      .order-adjust-tablet-bottom{
      order:2;  
      }
  
  .crop-top-half {
    display: block;          /* Ensure the image behaves as a block-level element */
    height: 350px;           /* Set the height to half of the natural height */
    width: auto;             /* Allow width to adjust automatically */
    object-fit: cover;        /* Do not scale the image to fit the box */
    object-position: top;    /* Align the image so the top is visible */
  }
  
    .current_page_item.active::before {
   display:none;
  }
  
    #header h1 {
      left:8%;
      font-size:4em;
  }
    
  }
  
  /* For small tablets / large phones (max-width: 768px) */
  @media (max-width: 768px) {
  h2, h2, .intro h2 {
      line-height:1em;
      font-size: 2.3rem;
  }
  
     .rise-sub-container{
       padding-left:0;
       padding-right:0;
     }
  
    .rise-sub-container .col-md-3 {
     padding-bottom:20px
  }
  
    #menu-item-114{
      display:none;
    }

    .carousel-control-prev {
      left: 1px;
  }
  
        .carousel-control-next {
      right: 1px;
  }
  }
  
  /* For mobile devices (max-width: 576px) */
  @media (max-width: 576px) {
      .rise-container {
        padding-left: 40px;
        padding-right: 40px;
      }
  
    
      .hp-subtext {
      max-width: 310px;
      line-height: 1.3em;
  }
  
    .hp-btn{
      display:none;
    }
  
    .pb-3 {
      padding-bottom: 1rem !important;
  }
  
      .padding-adjust-mobile-top{
      padding-top:20px;
    }
  
      .padding-adjust-mobile-bottom{
      padding-bottom:20px;
    }
  
        .intro {
          padding-top: 50px;
          padding-bottom: 50px;
      }

      .carousel-control-prev,
      .carousel-control-next {
          position: absolute;
          top: 24%;
          transform: translateY(-50%); /* Centers vertically */
          width: 40px; /* Adjust as needed */
          height: 40px; /* Adjust as needed */
      }
  
      .carousel-control-prev {
          left: 3vw; /* Keeps it a consistent percentage from the left */
      }
  
      .carousel-control-next {
          right: 3vw; /* Keeps it a consistent percentage from the right */
      }

      .hp-aspot {
        top: 9% !important;
    }
    .hp-subtext {
      font-size: 14px;
  }
  
    #header.brands-header h1 {
      line-height: 2rem !important;
      font-size: 2.4rem !important;
  }
  
  html, body {
    overflow-x: hidden;
    width: 100vw;
}

  }
  
    @media (max-width: 767px) {
      .container {
          padding-left: 24px;
          padding-right: 24px;
      }
  
      p {
      line-height: 1.4;
      font-size: 15px;
      }
  
          #header.brands-header h1 {
          display: unset;
          line-height: 2.8rem;
      }
  
      .hp-aspot {
      position: absolute;
      top: 10%;
      left: 6%;
  }
  
        #header h1 {
      left:6%;
      font-size:2.6em;
      top: 16%;
  }
  
      .intro h2 {
      margin-bottom: .55rem;
    
  }
  
    }
  
  
  @media (min-width: 768px) {
      #main-menu li:last-child {
          display: unset;
      }
  }
  
  @media (max-width: 767px) {
    /* Override custom mobile nav-full styles so the bootstrap collapse displays properly */
    .navbar .nav-full {
      position: static !important;
      visibility: visible !important;
      opacity: 1 !important;
      height: auto !important;
      transition: none !important;
    }
  }
  
  @media (max-width: 991.98px) {
    /* Keep the navbar stacked above everything */
    .navbar {
      position: relative;
      z-index: 1050;
    }
  
    /* Force the .navbar-collapse (in all states) to appear below the .navbar, 
       with no animation or 'jump' */
    .navbar-collapse,
    .navbar-collapse.collapse,
    .navbar-collapse.collapse.show,
    .navbar-collapse.collapsing {
      position: absolute !important;
      top: 86px !important;    /* Matches your .navbarÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢s height */
      left: 0 !important;
      right: 0 !important;
      z-index: 9999 !important;
      background-color: #fff !important;
      transition: none !important;   /* Kill any fade/slide animation */
      height: auto !important;       /* Prevent the brief 0ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢auto jump */
      overflow: visible !important;  
    }
  
    /* If it's not .show, hide it immediately (no animation). */
    .collapse:not(.show) {
      display: none !important;
    }
  }
    /* 3/2*/
  
  @media (min-width: 992px) {
      .navbar-expand-lg {
          display: flex;
      }
  }
  
  
  
  /* fix hero height issue */
  @media (min-width: 1300px) {
      #header {
          height: 500px; /* Fixed height */
          overflow: hidden; /* Ensures image doesn't overflow */
          position: relative; /* Helps with absolute positioning */
      }

      .careers-header-tall {
        height: 900px !important; /* Fixed height */
    }

      #header img {
          width: 100%;
          height: 100%;
          object-fit: cover; /* Ensures the image covers the area */
          object-position: center; /* Focuses on the top part of the image */
      }
  
    #header h1 {
      left: 9%;
  }
  }
  
  /* fix h1 positioning */
  #header {
      display: flex;
      justify-content: flex-start; /* Centers content horizontally */
      align-items: center; /* Aligns items vertically */
      text-align: left;
      position: relative;
  }
  
  #header h1 {
      /* max-width: 500px; */ /* Matches the container width of the navbar */
      padding-left: 0; /* Adjust this based on navbar spacing */
      margin-left: auto; /* Aligns with the left side of the container */
      margin-right: auto;
      width: 100%;
  }
  /* fix h1 styling to stack */
  /* @media (min-width: 992px) and (max-width: 1300px) {
  
  
    #header h1 {
    }
  } */


  /* override for old code hiding 4th menu item on mobile */
  @media (max-width: 767px) {
    #main-menu li:nth-child(4) {
        display: unset;
    }
}

@media (min-width: 1300px) {
  #header h1 {
       max-width: 1340px;  
      padding-left: 0; 
      margin-left: auto;
      margin-right: auto;
      width: 100%;
  }
}

/* workaround for quote */
@media (max-width: 992px) {
  .quote-section .row {
      display: flex !important;
      flex-wrap: nowrap !important; /* Forces items to stay in a row */
  }

  .quote-section .col-auto {
      width: 10% !important; /* Shrinks the icon */
      max-width: 10% !important;
  }

  .quote-section .col-md-6 {
      width: 90% !important; /* Expands the text */
      max-width: 90% !important;
      flex-grow: 1 !important;
  }

  .quote-section .quote-text {
      font-size: 1.2rem !important;
      line-height: 1.5 !important;
  }

 /* depricate after switching to new form */
  #gform_submit_button_1 {
    top: -130px;
    max-width: 226px;
    left: 25px;
}

}

 /* depricate after switching to new form */
@media (min-width: 992px) {
.gform_wrapper li.gfmc-row-1-col-2-of-2 {
   margin-left: 0 !important; 
}
}

@media only screen and (min-width: 641px) {
  .gform_legacy_markup_wrapper .top_label input.medium, .gform_legacy_markup_wrapper .top_label select.medium {
      width: unset; 
  }
}

#gfield_upload_rules_1_15{
margin-top:3px;
display:block;
}
/* ------------------------------------------ */
/* ------------------ ADA ------------------ */
/* ------------------------------------------ */

#ada-settings-panel {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #F2F0ED;
  color: #000;
  border: 1px solid #c6c4c0;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  width: 220px;
  padding-bottom: 6px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
}

#ada-settings-panel h3 {
border-top: 1px solid #e1e0df;
margin-bottom: -5px !important;
}

#ada-settings-panel img {
  width: 16px;
  height: 16px; 
}

#ada-settings-panel button:hover, #ada-settings-panel a.button:hover, #ada-settings-panel a.btn:hover {
  background-color: #ebe8e4 !important;
}

#ada-settings-panel > button:nth-child(11){
  display:none;
}

/* ada-settings-panel button{
  border:none;
} */

/* #ada-settings-panel button:hover, #ada-settings-panel a.button:hover, #ada-settings-panel a.btn:hover {
  background-color: #e1e0df4c !important;
} */


/* ------------------------------------------ */
/* ------------ Cookie Consent ------------- */
/* ------------------------------------------ */
.zen .cookie-consent-banner{
  padding:0;
  margin-bottom: -20px;
  box-shadow: 0px -2px 3.5px rgba(0, 0, 0, 0.10);
}



@media (min-width: 1200px) {
  .zen .cookie-consent-banner z-container{
      max-width: 1225px;
  }
}


/* general page template (priv policy) */

.wp-block-heading, .privacy-policy{
  margin-top:25px;
}

