#topHeader {
    background-color: #375d81; /*btots style*/
}

@media (min-width: 768px) {
    #topHeader {
        height: 50px;
    }
}

/*btots style*/
#bottomHeader {
    min-height: 28px;
    background-color: #183152;
    color: White;
    display: flex;
}

/*#sign-out-button {
    margin-top: 8px;
    margin-right: 20px;
}*/

.home-logo {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .home-logo {
        margin-left: 4px;
    }
}

#localeSwitcher {
    display: inline-block;
    margin-top: 8px;
    margin-right: 20px;
}

.logo {
    margin-bottom: 10px;
    height: 72px;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    border-radius: 0 0 5px 5px;
    background-color: white;
    padding: .5rem;
}

.navbar {
    border: 0;
}

.options {
    padding: 10px;
}

a.option {
    color: DarkGrey;
    font-size: 16px;
}

a:hover.option {
    color: black;
    text-decoration: none
}

.top-navbar {
    display: flex;
    flex-direction: row;
}

ul.nav-menu {
    margin: 0;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    flex-grow: 1;
    justify-content: end;
}

.nav-menu .menu-item {
    margin-left: 4px;
}

.nav-menu .menu-item.last {
    margin-right: 16px;
}

.nav-menu .nav-link {
    background-color: #bcd2ee;
    color: #034AF3;
    padding: 10px 10px 3px 10px;
    line-height: 30px;
    border-bottom: solid 4px #bcd2ee;
    border-radius: 0 0 4px 4px;
    font-weight: bold;
}

.nav-menu .nav-link:hover {
    background-color: #3963D1;
    color: white;
    border-bottom-color: #3964D1;
    text-decoration: none;
}

.mobile-menu-button-container {
    display: none;
}

.mobile-menu-button {
    background-color: transparent;
    border: none;
    width: 72px;
    height: 72px;
    color: white;
    padding: 8px;
}

.mobile-languages-container {
    display: none;
}

.mobile-nav-spacer {
    display: none;
}

.nav-menu-mobile {
    display: none;
}

.mobile-nav-shadow {
    display: none;
}


@media (max-width: 768px) {
    .top-navbar:has(+.mobile-dropdown-menu.mobile-dropdown-menu--open) {
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 100;
    }

    .mobile-nav-spacer {
        display: block;
        height: 120px;
    }

    nav.navbar {
        position: fixed;
        width: 100%;
        z-index: 800;
    }

    .mobile-languages-container {
        display: block;
        flex-grow: 1;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-button-container {
        display: flex;
        flex-grow: 1;
        justify-content: flex-end;
        align-items: center;
    }

    .mobile-dropdown-menu {
        background-color: #375d81;
        width: 100%;
        position: fixed;
        border-radius: 0 0 8px 8px;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.2s ease, filter 0.2s ease;
        pointer-events: none;
        filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0));
    }

    .mobile-dropdown-menu.mobile-dropdown-menu--open {
        clip-path: inset(0 0 -20px 0);
        pointer-events: auto;
        filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.2));
    }

    .nav-menu-mobile {
        display: block;
        list-style: none;
        padding: 8px 16px;
        margin: 0;
    }

    .nav-menu-mobile .menu-item-mobile {
        padding: 4px 0;
    }

    .nav-menu-mobile .menu-item-mobile .nav-link {
        color: white;
        font-size: 1.4em;
    }

    .mobile-nav-shadow {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 100;
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }
    .mobile-nav-shadow.mobile-nav-shadow--visible {
        opacity: 1;
        pointer-events: auto;
    }
}
