/* general */
#wrapper {
    position: relative;
    width: 100%;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: calc(1360px + var(--bs-gutter-x));
    }
}


/* header */
#main-header {
    position: fixed;
    left: 0;
    right: 0;
    top: -99px;
    z-index: 99;
    background-color: var(--bs-white);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.08);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.08);
    transition: all 500ms ease-in;
}
#main-header.loaded {
    top: 0;
}
.logged-in #main-header.loaded {
    top: 32px;
}

#header {
    padding: 1.25rem 0;
}
.header-spacer {
    height: 99px;
    transition: all 500ms ease-in;
}

.logo-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.logo-wrapper #logo > img {
    width: 206px;
}
.logo-wrapper .add-logos {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 2rem;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}
.logo-wrapper .add-logos::before {
    content: "";
    position: absolute;
    left: 0;
    top: -8px;
    bottom: -8px;
    width: 1px;
    background-color: var(--bs-light-gray);
    border-radius: 1px;
}
.logo-wrapper .add-logos .item:first-child img {
    width: 143px;
    transform: translateY(2px);
}
.logo-wrapper .add-logos .item:last-child img {
    width: 98px;
}

.nav-wrapper .btn-group {
    padding: 6px 8px;
    border-radius: 20px;
    border: 1px solid var(--bs-light-gray);
    gap: 8px;
}
.nav-wrapper .btn-group .sep {
    width: 1px;
    background-color: var(--bs-light-gray);
}
.nav-wrapper button {
    border: none;
    background: none;
    padding: 8px;
    line-height: 0;
}
.search-wrapper {
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
}
.search-wrapper .search-form {
    width: 100%;
}
.search-wrapper .form-control {
    border: none;
    padding: .5rem;
    background: none;
}

/* off canvas nav */
#offcanvasMenu {
    --bs-offcanvas-width: 280px;
    background-color: var(--bs-black);
}
#mainMenu {
    width: 100%;
}
#mainMenu .nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.125rem;
}
#mainMenu .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--bs-light);
    font-size: 24px;
}
#mainMenu .nav-link:hover,
#mainMenu .nav-link:focus {
    color: var(--bs-primary);
}
#mainMenu .nav-link[aria-expanded="true"] {
    color: var(--bs-primary);
    font-weight: 800;
}
#mainMenu .nav-link .link-text {
    position: relative;
}
#mainMenu .nav-link[aria-expanded="true"]  .link-text::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 20px);
    height: 2px;
    background-color: var(--bs-primary);
}
#mainMenu .nav-link[aria-expanded="false"] .sub {
    width: 16px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='16' viewBox='0 0 11 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.63159 15L9.00001 8L1.63159 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#mainMenu .nav-link[aria-expanded="false"]:hover .sub,
#mainMenu .nav-link[aria-expanded="false"]:focus .sub {
    /* background-image: url("data:image/svg+xml,%3Csvg width='11' height='16' viewBox='0 0 11 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.63159 15L9.00001 8L1.63159 1' stroke='#CFFC51' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); */
}
#mainMenu .nav-link[aria-expanded="true"] .sub {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.8215 9.99904L2.32739 3.50492L3.5059 2.32642L10 8.82046L16.4941 2.32642L17.6726 3.50492L11.1785 9.99904L17.6726 16.493L16.4941 17.6716L10 11.1775L3.5059 17.6716L2.32739 16.493L8.8215 9.99904Z' fill='%23CFFC51'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#mainMenu .menu-item .inner {
    padding: 45px var(--bs-nav-link-padding-x) 20px;
}
#mainMenu .menu-item .dropdown-item {
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--bs-light);
    opacity: .7;
}


/* hero */
.hero {
    position: relative;
    height: calc(100dvh - 97px);
    max-height: 840px;
}
.hero > .background {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 0;
    margin: 0;
    list-style: none;
}
.hero > .background > li {
    width: 100%;
    height: 100%;
}
.hero > .background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero > .background .slick-list,
.hero > .background .slick-track,
.hero > .background .slick-slide {
    width: 100%;
    height: 100%;
}
.hero > .container,
.hero > .container-fluid {
    position: relative;
    z-index: 2;
    color: var(--bs-white);
}

.hero .learn-more {
    position: absolute;
    left: 50%;
    bottom: 65px;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--bs-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
}
.hero .learn-more svg {
    /* animation-name: bounce; */
    transform-origin: center bottom;
    animation-fill-mode: both;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.hero-slider .col {
    padding-top: 10rem;
}
.hero-slider .title h1 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: .75rem 0 1.25rem 0;
    line-height: 1;
    font-size: clamp(2rem, 0.4043rem + 5.1064vw, 5rem);
    font-weight: 500;
    /* background-color: var(--bs-primary); */
    color: var(--bs-black);
    /* border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius); */
}
.hero-slider .title h1::after {
    content: "";
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 4rem;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 132.4 137' style='enable-background:new 0 0 132.4 137;' xml:space='preserve'%3E%3Cpath class='st0' d='M0,0h112.4c13.6,0,23.3,13.3,19,26.3l-31.9,97c-2.7,8.2-10.4,13.7-19,13.7H0V0z' fill='%23CFFC51'/%3E%3C/svg%3E");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-slider .title h1::before {
    --distance: 30px;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--distance) * -1);
    right: calc(100% + var(--distance));
    background-color: var(--bs-primary);
    z-index: -1;
    pointer-events: none;
    transition: all 1s;
    transform: skew(-20deg);
}
.hero-slider.in-view .title h1::before {
    right: calc(var(--distance) * -1);
}
.hero-slider .subtitles {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    position: relative;
    flex: 1;
}
.hero-slider .subtitles.animate-subtitles {
    overflow: hidden;
}
.hero-slider .subtitles > li {
    font-size: clamp(2rem, 0.4043rem + 5.1064vw, 5rem);
    line-height: 1;
}
.hero-slider .subtitles.animate-subtitles > li {
    transform: translateY(-100%);
    opacity: 0;
    animation-name: herosubtitle;
    animation-duration: 3s; /* if changing this, need to update the scripting related to timing each li */
    animation-iteration-count: infinite;
    animation-play-state: paused;
    animation-fill-mode: forwards;
}
@media (max-width: 575px) {
    .hero {
        height: calc(90dvh - 97px);
    }
    .hero-slider .col {
        padding-top: 5rem;
    }
}
@keyframes herosubtitle {
    0% { transform: translateY(-100%); opacity: 0; }
    30%   { transform: translateY(0); opacity: 1; }
    70%   { transform: translateY(0); opacity: 1; }
    100%   { transform: translateY(100%); opacity: 0; }
}
@keyframes bounce {
  0%, 20%, 53%, 100% {
    animation-timing-function: cubic-bezier(.215,.61,.355,1);
    transform: translateZ(0);
  }

  40%, 43% {
    animation-timing-function: cubic-bezier(.755,.05,.855,.06);
    transform: translate3d(0, -20px, 0) scaleY(1.1);
  }

  70% {
    animation-timing-function: cubic-bezier(.755,.05,.855,.06);
    transform: translate3d(0, -10px, 0) scaleY(1.05);
  }

  80% {
    transform: translateZ(0) scaleY(.95);
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
  }

  90% {
    transform: translate3d(0, -4px, 0) scaleY(1.02);
  }
  
  /* Add a pause by duplicating the final frame at 95%-100% */
  95%, 100% {
    transform: translateZ(0);
  }
}


/* footer */
#main-footer {
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: var(--bs-primary);
    background-color: var(--bs-black);
    padding: 3.75rem 0;
    color: var(--bs-light);
    hr {
        margin: 0 0 3.75rem 0;
        opacity: 1;
        border-color: var(--bs-light);
    }
}

.footer-logo-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 5.625rem;
}
#footer-logo > img {
    width: 260px;
}
.footer-logo-wrapper .add-logos {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 3rem;
    display: flex;
    align-items: flex-end;
    gap: 3rem;
}
.footer-logo-wrapper .add-logos::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--bs-light);
    border-radius: 1px;
}
.footer-logo-wrapper .add-logos > .list-inline-item:not(:last-child) {
    margin-right: 0;
}
.footer-logo-wrapper .add-logos > li:first-child img {
    width: 186px;
}
.footer-logo-wrapper .add-logos > li:last-child img {
    width: 136px;
}

#main-footer .social-links {
    margin-bottom: 1.25rem;
    .list-inline-item:not(:last-child) {
        margin-right: 1rem;
    }
    a:not(:hover) {
        color: var(--bs-light);
    }
}

#footer-nav,
#footer-nav-mobile {
    padding: 0;
}
#footer-nav .nav,
#footer-nav-mobile .nav {
    display: block;
    columns: 2;
}
#footer-nav .nav-link,
#footer-nav-mobile .nav-link {
    color: var(--bs-light);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
#footer-nav .nav-link:hover,
#footer-nav .nav-link:focus,
#footer-nav-mobile .nav-link:hover,
#footer-nav-mobile .nav-link:focus {
    color: var(--bs-primary);
}

.footer-copyright {
    font-weight: 700;
    font-size: .75rem;
}


.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #002f6c;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.with_frm_style {
    --success-font-size: 19px !important;
}