html, body {     
    min-height: 100vh;
    overscroll-behavior: none;
    display: flex;
    flex-direction: column;
}

.nav-item:hover + .chevron {
    transform: rotate(180deg);
    transition: 0.3s ease;
}

#directorsGrid {
    grid-auto-flow: dense;
}

.hidden-section {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 500ms ease,
    opacity 300ms ease;
}

.hidden-section > .hidden-section-inner {
  overflow: hidden;
}

.hidden-section.is-expanded {
  grid-template-rows: 1fr;
  opacity: 1;
}

.container-padding {
    padding: 4rem 1rem;
}

.x-container-padding {
    padding-left: 1rem;
    padding-right: 1rem;
}
  
@media (min-width: 768px) {
    .container-padding {
        padding: 8rem 7rem;
    }
  
    .x-container-padding {
        padding-left: 7rem;
        padding-right: 7rem;
    }
}

.animated-button {
    position: relative;
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.animated-button .originalSpan {
    transition: transform 0.6s cubic-bezier(0.4, 1.8, 1, 1);
} 

.animated-button .copySpan {
    display: flex;
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    pointer-events: none;
    transition: top .6s cubic-bezier(0.4, 1.4, 1, 1);
}

.animated-button:hover .originalSpan {
    transform: translateY(200%);
}

.animated-button:hover .copySpan {
    top: 50%;
}

.x-animated-button {
    position: relative;
    overflow: hidden; 
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.x-animated-button .originalSpan,
.x-animated-button .copySpan {
    transition: left 0.6s cubic-bezier(0.4, 1.8, 1, 1), transform 0.6s cubic-bezier(0.4, 1.8, 1, 1);
} 

.x-animated-button.move-left .copySpan {
    display: flex;
    position: absolute;
    width: max-content;
    pointer-events: none; 
    left: 150%;
    transform: translateX(-50%);
}

.x-animated-button.move-right .copySpan {
    display: flex;
    position: absolute;
    width: max-content;
    pointer-events: none; 
    left: -50%;
    transform: translateX(-50%);
}

.x-animated-button.move-left:hover .originalSpan {
    transform: translateX(-200%);
}

.x-animated-button.move-left:hover .copySpan {
   left: 50%;
} 

.x-animated-button.move-right:hover .originalSpan {
    transform: translateX(200%);
}

.x-animated-button.move-right:hover .copySpan {
   left: 50%;
} 

.homeBanner {
    background-image: url('../images/ncbInsuranceBannerSmall.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-color: #002850;
    
}

@media(min-width: 375px) {
    .homeBanner {
        background-size: 100% auto;
    }
}

@media(min-width: 430px) {
    .homeBanner {
        background-position: 0 -148px;
    }
}

@media(min-width: 1024px) {
    .homeBanner {
        background-image: url('../images/ncbInsuranceBannerLarge.png');
        background-repeat: no-repeat;
        background-position: -270px 0;
        background-size: cover;
    }
}

@media(min-width: 1536px) {
    .homeBanner {
        background-position: 0 0;
    }
}


@media (max-width: 640px) {
    .digit-pair > .first-digit {
        display: none;
    }

    .digit-pair > .second-digit {
        width: 3rem;
    }
}

.hide-scrollbar-x {
    scroll-snap-type: x mandatory;
    overflow-x: auto; 
    -ms-overflow-style: none; /* Hides scrollbar for IE and Edge */
    scrollbar-width: none; /* Hides scrollbar for Firefox */
}
  
/* Hides scrollbar for Chrome, Safari, and Opera */
.hide-scrollbarx::-webkit-scrollbar {
    display: none;
}

.modal-backdrop {
    position: fixed;
    inset:0;
    opacity: 0;
    background-color: black;
    height: 100vh;
    height: 100svh;
    width: 100vw;
    width: 100svw;
    z-index: 2147483640;
    cursor: pointer;
    pointer-events: none;
    transition: opacity .3s ease-in-out;
}

.modal-backdrop.show {
    opacity: 0.20;
    pointer-events:all;
}

.modal-container {
    position: fixed;
    left: 50%;
    top: 70%;
    opacity: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    max-width: 25rem;
    width: 100%;
    z-index: 2147483645;
    background: white;
    pointer-events: none;
    border-radius: 0.75rem;
    transition-property: opacity, top;
    transition-duration: .3s;
    transform: translate(-50%, -50%);
    overflow-y: scroll;
}

.modal-container.show {
    opacity: 1;
    top: 50%;
    pointer-events: all;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
}

input[type="checkbox"]:active {
    outline: 2px solid #0784FF; 
    outline-offset: 2px;
    border-radius: 4px;
}
  
  /* Box */
input[type="checkbox"]::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #D5D7DA;
    border-radius: 4px;
    background: #fff;
    transition: all 0.15s ease;
}
  
  /* Custom check icon */
input[type="checkbox"]::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.15s ease;
}
  
  /* Checked state */
input[type="checkbox"]:checked::before {
    background: #0033A0;
    border-color: #0033A0;
}
  
input[type="checkbox"]:checked::after {
    opacity: 1;
    background-image: url("../icons/checkIcon-white.svg");
    background-size: 12px 12px;
}

/* Hover */
input[type="checkbox"]:not(:disabled):hover::before {
    /* border-color: #0033A0; */
}

/* Focus (keyboard)*/
input[type="checkbox"]:focus-visible::before {
    outline: 2px solid #0784FF; 
    outline-offset: 2px;
    background-color: #fff;
} 

/* Disabled */
input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

input[type="checkbox"]:disabled::before {
    opacity: 0.5;
}

input[type=""]:disabled {
    cursor: not-allowed;
}

input[type="text"]:focus {
    border: none;
    box-shadow: none;
    outline: 2px solid #01529A;
}

input[type="email"]:focus {
    border: none;
    box-shadow: none;
    outline: 2px solid #01529A;
}

.input-error {
    border-color: #F0AB81;
}

.input-error:focus {
    outline: none;
    box-shadow: none;
    border: none;
    outline: 2px solid #E45F2B !important; 
}

.error-text {
    color: #F0AB81;
    margin-top: 6px;
}

.search-input {
    background-image: url('../icons/searchIcon.svg');
    background-repeat: no-repeat;
    background-position: 14px 50%;
    background-size: 20px;
    padding-left: 40px;
}
  
