html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
  overflow-x: clip;
}

header {
    z-index: 30;
}

body {
    /*margin-bottom: 60px;*/
    padding-right: 0px !important;
    font-family: 'SF Pro Display', sans-serif;
    background-color: #FBFEFF !important;
}

/*#sidebar {
    padding-top: 13rem;
    position: absolute;
    transition: 0.5s;
    overflow-y: hidden;
    top: 0px;
    width: 80px;
    height: 100%;
    z-index: 1;
}

#sidebarMenu {
    white-space: nowrap;
    transition: 0.5s;
    width: 80px;
    overflow-x: hidden;
}*/

/* Sidebar base styles */
.sidebar {
    position: fixed;
    top: 0px;
    left: -300px;
    height: 100vh;
    width: 260px;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
    z-index: 1040;
    transition: left 0.3s cubic-bezier(.4,0,.2,1);
    overflow-y: hidden;
    padding-top: 60px;
}

/* Overlay for mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1035;
    transition: opacity 0.3s;
}

/* Sidebar open state */
.sidebar.open {
    left: 0;
}

.sidebar-overlay.open {
    display: block;
    opacity: 1;
}

/* Responsive: full screen on mobile */
@media (max-width: 991.98px) {
    .sidebar {
        width: 100vw;
        left: -100vw;
    }

        .sidebar.open {
            left: 0;
        }
}

#sidebarToggle {
    left: 10px;
    /* Adjust left as needed */
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #003048;
    border: none;
    padding: 0.5rem 0.6rem;
    transition: background 0.2s;
}

    #sidebarToggle:hover {
        background: #f3f8fb;
    }

.sidebar-toggle-btn {
    position: fixed;
    top: 120px; /* Adjust vertical position */
    left: 0;
    z-index: 1050;
    width: 54px;
    height: 54px;
    background: #fff;
    border: none;
    border-radius: 18px 0 0 18px; /* Rounded right edge */
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    color: #003048;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

    .sidebar-toggle-btn.hide {
        display: none !important;
    }

    .sidebar-toggle-btn:hover {
        background: #f3f8fb;
        box-shadow: 0 4px 16px rgba(0,48,72,0.12);
    }

@media (max-width: 991.98px) {
    .sidebar-toggle-btn {
        top: 60px; /* Lower on mobile if desired */
        left: 0;
        border-radius: 18px;
    }
}

.sidebar-close-btn {
    color: #003048;
    background: transparent;
    border: none;
    z-index: 1060;
    font-size: 1.5rem;
    transition: color 0.2s;
    padding-left: 20px;
}

    .sidebar-close-btn:hover {
        color: #6fccdd;
        background: #f3f8fb;
        border-radius: 50%;
    }

#menu {
    min-width: 0px;
}

#loggedInMain {
    transition: margin-left .5s;
    /*margin-left: 80px;*/
}

.validation-summary-valid span {
    display: none;
}

#loggedInFooter {
}

.fa {
    vertical-align: middle;
}

main {
    min-height: 600px;
}

/*#eventNavbarBrand {
    transform: translateX(-50%);
    left: 50%;
}*/

a.nav-link.pill-active {
    background-color: #003048;
    color: white !important;
}
a.nav-link.pill-link {
    color: #003048;
}

.nav-link-top {
    color: #6fccdd !important;
    font-weight: bold;
}

    .nav-link-top:hover {
        box-shadow: inset 0 -5px 0 0 #6fccdd;
    }

.header-nav-link {
    font-weight: bold;
    text-decoration: none;
    color: #003048;
}

    .header-nav-link:hover {
        text-decoration: underline;
    }

.bg-manager {
    background-color: transparent;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    background-color: #003048;
    z-index: 20;
}

.footer::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background-color: inherit;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    transform-origin: bottom right;
    transform: skewY(3deg);
}

.youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 750px;
}

.teal {
    color: #6fccdd;
}

.dark-red {
    color: #8B0000;
}

.error {
    color: red;
}

.flex-child {
    margin-left: auto;
    order: 2;
}

.dtSelected {
    background-color: #babfb0 !important;
    cursor: pointer !important;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
}

.trusted-by-swiper {
    width: 100%;
    overflow: hidden;
}

/*.homepage-banner {
    border-radius: 25px;
}*/

.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

#homeCarousel .carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 50vh;
    overflow: hidden;
}

@media screen and (max-width: 576px) {
    main {
        min-height: 500px;
    }

    footer {
        position: absolute;
    }    
}

.highlight-checkbox {
    background: #f3f8fb; /* lighter than #f8f9fa, matches brand palette */
    border: 2px solid #6fccdd; /* teal blue */
    border-radius: 0.5rem;
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,48,72,0.08); /* subtle blue shadow */
}

    .highlight-checkbox .form-check-label {
        font-weight: 400;
        font-size: 0.8rem;
        color: #003048;
    }

    .highlight-checkbox .form-check-input {
        width: 1.5em;
        height: 1.5em;
        margin-top: 0.2em;
        margin-right: 0.5em;
        border: 2px solid #003048; /* brand blue accent for the checkbox itself */
        background-color: #fff;
    }

        /* Brand blue for checked checkboxes */
        .highlight-checkbox .form-check-input:checked {
            background-color: #003048;
            border-color: #003048;
        }

    /* Teal color for policy links inside highlight-checkbox */
    .highlight-checkbox a {
        color: #6fccdd;
        text-decoration: underline;
        font-weight: 600;
    }

        .highlight-checkbox a:hover,
        .highlight-checkbox a:focus {
            color: #003048;
            text-decoration: underline;
        }

    /* Make highlight-checkbox background lighter when checkbox is checked */
    .highlight-checkbox input[type="checkbox"]:checked ~ .form-check-label,
    .highlight-checkbox input[type="checkbox"]:checked + .form-check-label,
    .highlight-checkbox input[type="checkbox"]:checked {
        /* fallback for direct siblings, but we use JS below for full box */
    }

    .highlight-checkbox.selected {
        background: #fafdff; /* even lighter blue */
        border-color: #6fccdd;
        box-shadow: 0 2px 12px rgba(111,204,221,0.10);
    }

.btn-theme-toggle {
    background: linear-gradient(135deg, #003048 0%, #6fccdd 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,48,72,0.10);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    font-size: 1.25rem;
    cursor: pointer;
}

    .btn-theme-toggle:hover, .btn-theme-toggle:focus {
        background: linear-gradient(135deg, #6fccdd 0%, #003048 100%);
        color: #fff;
        box-shadow: 0 4px 16px rgba(0,48,72,0.18);
        outline: none;
    }

body.dark-mode .btn-theme-toggle {
    background: linear-gradient(135deg, #23272b 0%, #6fccdd 100%);
    color: #e8e6e3;
}

@media screen and (max-width: 991px) {
    .btn-small-user {
        display: block;
    }

    .btn-big-user {
        display:none;
    }

    /*.fun-line {
        position: absolute;
        width: 30.87px;
        height: 1px;
        left: 40.99px;
        top: 234.02px;
        color: #003048;
        border-top: 3px solid #003048;
        transform: rotate(-45deg);
        z-index: 1000;
    }

    .fun-line-small {
        position: absolute;
        width: 22.05px;
        height: 1px;
        left: 50.42px;
        top: 242.27px;
        border: 1px solid #003048;
        transform: rotate(-45deg);
    }*/
}

@media (min-width: 992px) {
    .btn-small-user {
        display:none;
    }

    .btn-big-user {
        display: block;
    }

    .fun-line {
        position: absolute;
        width: 80.88px;
        height: 1px;
        left: 60.99px;
        top: 224.02px;
        color: #003048;
        border-top: 3px solid #003048;
        transform: rotate(-45deg);
        z-index: 1000;
    }

    .fun-line-small {
        position: absolute;
        width: 55.91px;
        height: 1px;
        left: 86.42px;
        top: 234.27px;
        border: 1px solid #003048;
        transform: rotate(-45deg);
    }
}

@media (min-width: 1200px) {
    .btn-small-user {
        display: none;
    }

    .btn-big-user {
        display: block;
    }

    .fun-line {
        position: absolute;
        width: 125.88px;
        height: 1px;
        left: 60.99px;
        top: 324.02px;
        color: #003048;
        border-top: 3px solid #003048;
        transform: rotate(-45deg);
        z-index: 1000;
    }

    .fun-line-small {
        position: absolute;
        width: 89.91px;
        height: 1px;
        left: 96.42px;
        top: 334.27px;
        border: 1px solid #003048;
        transform: rotate(-45deg);
    }
}

@media (max-width: 1024px) {
    .intercom-lightweight-app-launcher {
        bottom: 72px !important;
    }

    /*localhost*/
    .intercom-dfosxs {
        bottom: 72px !important;
    }

    iframe[name='intercom-notifications-frame'] {
        bottom: 124px !important;
    }
}