.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    height: 3.5rem;
    background-color: #004797;
}

.navbar-brand {
    font-size: 1.1rem;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.7em;
    padding-bottom: 0.0rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item ::deep a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 2rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item ::deep a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item ::deep a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.nav-link {
    color: #ffffff;
    font-size: 1.0rem;
}

.nav-link:hover, .nav-link:focus {
    color: #FF6600;
}

.scrollable-menu {
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #ccc; /* Optional: Add a border to the menu */
    padding: 10px; /* Optional: Add some padding */
}

/* Default max-height */
.scrollable-menu {
    max-height: 500px;
}

/* Max-height for small screens (e.g., mobile devices) */
@media (max-width: 600px) {
    .scrollable-menu {
        max-height: 380px;
        /*background-color: green !important;*/
    }
}

/* Max-height for medium screens (e.g., tablets) */
@media (min-width: 601px) and (max-width: 900px) {
    .scrollable-menu {
        max-height: 400px;
        /*background-color: red !important;*/
    }
}

@media (min-width: 901px) and (max-width: 1024px) {
    .scrollable-menu {
        max-height: 500px;
        /*background-color: yellow !important;*/
    }
}

/* Max-height for large screens (e.g., desktops) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .scrollable-menu {
        max-height: 660px;
    }
}

@media (min-width: 1201px) {
    .scrollable-menu {
        max-height: 700px;
    }
}
