/* File: tabs-block.css */

/* Overall section styling */
.tabs-block {
    padding: 100px 20px 260px 20px;
    background-color: #fff;
  }
  
  .tabs-block__inner.container {
    max-width: 1263px;
    margin: 0 auto;
  }
  
  /* Main heading */
  .tabs-block__heading {
    color: #000;
    text-align: center;
    font-family: Poppins;
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 54px; /* 128.571% */
    margin-bottom: 100px;
  }
  
  /* Tab navigation (titles) */
  .tabs-block__nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 70px 0;
    padding: 0;
    justify-content: space-between; /* center the nav items */
    gap: 10px;
    border-bottom: 2px solid #DDDDDD;
  }

  .abs-block__panel__txt {
    display: flex;
    align-items: flex-start;
    padding-left: 50px;
  }
  
  .tabs-block__nav-item {
    cursor: pointer;
    padding: 0.5rem 0rem;
    font-weight: 600;
    transition: border-color 0.2s;
    border-radius: 6px;
    position: relative;
    bottom: -2px;
    color: #000;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 112.5% */
  }

  .tabs-block__nav-item::after {
    content: "";
    width: 0%;
    height: 6px;
    background-color: #0072BC;
    border-radius: 40px;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: .2s;
  }
  .tabs-block__nav-item.active::after {
    width: 100%;
  }
  
  .tabs-block__nav-item:hover::after {
    width: 100%;
  }
  
  
  /* Content wrapper */
  .tabs-block__content {
    /* you can use flex or block layout, up to you */
  }
  
  /* Each tab panel is hidden by default if you're controlling via JS */
  .tabs-block__panel {
    display: none; 
    margin-bottom: 2rem;
    justify-content: space-between;
  }
  
  /* Example: .active class to show the current panel */
  .tabs-block__panel.active {
    display: flex;
  }
  
  /* Tab Number + Title styling */
  .tabs-block__number {
    color: #000;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 130% */
    width: 65px;
    display: flex;
    margin-right: 65px;
    position: relative;
  }

  .tabs-block__number::after {
    content: "";
    width: 100%;
    left: 0;
    height: 5px;
    background-color: #E82C2A;
    bottom: -15px;
    border-radius: 3px;
    position: absolute
  }
  
  .tabs-block__panel-title {
    color: #000;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 130% */
    margin-bottom: 45px;
  }
  
  /* Panel content text */
  .tabs-block__panel-content {
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .tabs-block__panel-content p {
    margin-bottom: 0;
    color: #000;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }

  .tabs-block__panel-image {
    padding-right: 50px;
  }
  
  /* Optional: image styling within the tab panel */
  .tabs-block__panel-image img {
    max-width: 361px;
    height: auto;
    display: block;
  }

  .tabs-block__wrap {
    max-width: 460px;
    margin-right: 60px;
  }

  @media only screen and (max-width: 1024px) { 

    .tabs-block__nav {
        justify-content: flex-start;
    }

    .tabs-block {
        padding-top: 50px;
        padding-bottom: 50px;
    }

  }

  @media only screen and (max-width: 767px) {

    .tabs-block__panel {
        flex-direction: column;
    }

    .tabs-block__wrap {
        max-width: 100%;
        margin-right: 0;
    }

    .abs-block__panel__txt {
        padding-left: 0;
    }

    .tabs-block__panel-image img {
        width: 100%;
        max-width: 100%;
    }

    .tabs-block__panel-image {
        padding-right: 0;
    }

  }

  @media only screen and (max-width: 575px) {

    .tabs-block__nav {
        flex-direction: column;
        border-bottom: none;
    }

  }

  .form-box__cstm .form-box__cta {
    text-align: center;
    margin-top: 60px;
    font-weight: 500;
  }

  body .form-box__cstm .gform_wrapper ul.gfield_radio li input:checked+label:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #000;
    top: 10px;
    left: 12px;
    border-radius: 100%;
  }

  .form-box__cstm .form-box__inner {
    padding: 60px 80px 45px 80px;
  }

  .form-box__cstm .form-box__intro h2 {
    margin-bottom: 30px;
  }

  .faq-lead-cstm .faq-mini__inner {
    border: none;
    border-radius: 6px;
    background: #FFF;
    padding: 60px 80px 40px 80px;
    box-shadow: 0px 7px 20px 0px rgba(153, 153, 153, 0.35);
  }

  .faq-lead-cstm .faq-mini__intro__top {
    border: none;
  }

  .faq-lead-cstm .faq-mini__intro__top img {
    display: none;
  }

  .faq-lead-cstm .faq-mini__carousel__nav {
    justify-content: flex-start;
    padding-left: 97px;
  }

  .faq-lead-cstm .dot-nav span {
    height: 8px;
    width: 8px;
    background-color: #EEEEEE;
  }

  .faq-lead-cstm .dot-nav span.active {
    background-color: #0072BC;
  }

  .faq-lead-cstm  .faq-mini__intro .pretitle {
    color: #000;
    font-family: Poppins;
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 54.6px;
  }

  .faq-lead-cstm  .faq-mini__intro {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    align-items: flex-start;
    padding-bottom: 45px;
  }

  .faq-lead-cstm  .faq-mini__item__question span {
    color: #757575;
    position: absolute;
    left: -20px;
  }

  .faq-lead-cstm  .faq-mini__item__question {
    position: relative;
  }

  .faq-lead-cstm  .faq-mini__item {
    padding-left: 30px;
  }

  .find-location_custom .row {
    max-width: 100%;
  }

  .find-location_custom .column {
    padding-left: 0;
    padding-right: 0;
  }

  .find-location_custom .location-finder__locations {
    max-width: 100%;
    padding-bottom: 200px;
    margin-left: 0;
  }

  .location-finder__intro {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .find-location_custom .location-finder__intro h2 {
    position: relative;
    z-index: 2;
    max-width: 384px;
  }

  .find-location_custom .location-finder__locations {
    position: relative; /* Ensure arrows position correctly */
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.find-location_custom .location-arrows {
    position: absolute;
    bottom: 50px;
    right: 130px;
    width: 130px;
    height: 53px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    pointer-events: none;
    border-radius: 6px;
    box-shadow: 0px 14px 40px 0px rgba(153, 153, 153, 0.35);
}

/* Individual Arrow Buttons */
.find-location_custom .location-arrows div {
    color: #E82C2A;
    padding: 0;
    cursor: pointer;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    position: relative;
    pointer-events: auto; /* Makes sure the buttons are clickable */
}

.find-location_custom .location-arrows div:last-child::after {
    content: "";
    left: 0;
    width: 1px;
    height: 39px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #F5F5F5;
    position: absolute;
}

.find-location_custom .location-finder__loc img {
    display: none;
}

.find-location_custom .location-finder__loc__dist a {
    color: #0072BC;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 17.6px; /* 110% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.find-location_custom .location-finder__loc__dist a:hover {
    text-decoration: none;
}

.find-location_custom .location-finder__loc h3 {
    margin-bottom: 0;
}

.find-location_custom {
    padding-top: 220px;
}

@media only screen and (max-width: 767px) {

    .tabs-block__heading {
        font-size: 30px;
      line-height: 38px;
      text-align: left;
    }

    .form-box__cstm .form-box__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-lead-cstm .faq-mini__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .find-location_custom {
        padding-top: 70px;
    }

    .tabs-block__heading {
        margin-bottom: 40px;
    }

    .abs-block__panel__txt {
        flex-direction: column;
    }

    .tabs-block__number {
        margin-bottom: 30px;
    }

}





/* ///// */

.hide-form .form-box {
    display: none;
}

.splash-hero--locations .form-box {
    display: none;
}

.splash-hero__loc {
    margin-top: 0;
}

.form-box__cstm__red .form-box__inner {
/*     background-color: #CD1613; */
    width: 100%;
}

.form-box__cstm__red {
    padding-top: 0;
    padding-bottom: 40px;
    margin-top: -200px;
}

.form-box__cstm__red.form-box--quote .form-box__form .form-section, .form-box__cstm__red.form-box:not(.form-box--regular) .form-box__form .form-section {
/*     background-color: #CD1613; */
}


@media only screen and (max-width: 767px) {

    .form-box__cstm__red {
        margin-top: 0;
    }

}