.navigation_holder{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ontop {
    /*position: fixed;*/
    /*top: 0;*/
    width: 100%;
    z-index: 999;
    background: radial-gradient(234.07% 105.67% at 11.96% 19.36%, #00529E 22.12%, #378EDF 100%);
    transition: padding-bottom 0.3s ease, padding-top 0.3s ease;
    .logo img{
        max-height: 80px;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

.ontop.transaparent_nav {
    background: transparent;
    position: fixed;
    top: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    .logo img{
        max-height: 80px;
        padding: 0!important;
    }
}

.ontop.transaparent_nav.ontopbg {
    background: radial-gradient(234.07% 105.67% at 11.96% 19.36%, #00529E 22.12%, #378EDF 100%);
}

.moved {
    padding-top: 0!important;
    padding-bottom: 0!important;
}

ol,ul{
    list-style: none;
}

.menu{
    display: flex;
}

.menu li {
    list-style-type: none;
}


.icon_menu {
    border: none!important;
}


.menu li > a {
    color: var(--light);
    font-family: 'Roboto ', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ffffff50;

}


.menu li.active a{
    border-bottom: 1px solid var(--light);
}


#close-sidebar,
#show-sidebar{
    display: none;
}

.search_nav {
    background-color: #00bbff2b;
    border-radius: 1.1rem;
    color: var(--light);
     padding: 0.9rem 3rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 36px;
    /* line-height: 36px; */
    flex-direction: column;
    margin-right: 1rem;
    min-width: 200px;
}

.top_nav_mobile{
    display: none;
}

.logo-mobile{
    display: none;
}

@media (max-width: 1300px) {
    .ontop.transaparent_nav {
        .logo img {
            max-height: 70px;
            padding: 0 !important;
        }
    }

    .menu li > a {
        padding-right: .6rem;
        padding-left: .6rem;
    }
}

@media (max-width: 1199px) {
    .logo {
        #logo {
            height: 60px;
            transition: scale 0.3s ease;
        }
    }

    .person-image {
        display: none;
    }
}

@media (max-width: 1030px) {

    .top_nav_mobile{
        display: flex;
        align-items: center;
        order: 2;
        gap:16px;
        justify-content: space-between;
        width: 100%;

        .search_nav{
        background-color: #00bbff2b;
        padding: unset;
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 36px;
        flex-direction: column;
        min-width: unset;
            margin:0;
            background-color: unset;
            border-radius: unset;
            color: var(--light);
        }
        
        a {
            color: #fff;
        }
        
        i {
            color: #fff;
            font-size: 20px;
        }

    }

    .top_nav_badge_mobile{
        top: -8px;
        left: unset;
        right: -10px;
        position: absolute;
    }

    h1{
        line-height: clamp(40px, 4.2vw, 50px);
        margin-bottom: 10px;
    }

    .logo-mobile{

        height: 36px;
        max-height: 40px;
        display: block;
        flex:1;
        text-align: left;
        #logo {
            height: 36px;
            /*min-width: fit-content;*/
            /*transition: scale 0.3s ease;*/
        }
    }
    .logo{
        display: none;
    }
    /* Style the show-sidebar (hamburger icon) on the left */
    #show-sidebar {
        display: block;
        order: 1;
        cursor: pointer;
        padding-left:10px;
        color: #fff;
    }
    
    #show-sidebar i {
        color: #fff;
        font-size: 24px;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
        z-index: 1; /* Below the sidebar but above the content */
        display: none; /* Hidden by default */
    }

    /* Hide navigation elements inside navigation_holder */
    .navigation_holder .topmenu,
    .navigation_holder .menu {
        display: none;
    }

    /* Style the sidebar */
    .navigation_holder #sidebar.topmenu {
        position: fixed;
        top: 0;
        left: -300px; /* Hidden by default */
        width: 300px;
        height: 100%;
        min-height: 100vh;
        background: #f5f7fb;
        overflow-y: auto;
        transition: left 0.3s ease;
        display: block;
        padding: 5px 15px;
        z-index: 1111;
    }

    /* Slide in the sidebar when menu-open class is added to the body */
    body.menu-open #sidebar {
        left: 0!important;
    }

    /* Style the close sidebar icon */
    #close-sidebar {
        text-align: right;
        padding: 10px;
        cursor: pointer;
        display: block;
        color: #7a7b7d;;
    }

    /* Style the sidebar navigation */
    #sidebar .menuLogin,
    #sidebar .menu {
        display: block;
    }

    /* Reset default list styles */
    #sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* Style list items */
    #sidebar .menu li a {
        display: block;
        text-decoration: none;
        color: var(--muted);
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        padding: .8rem;
    }

    .menu{
        width: 100%;
        margin: 0;
        display: block;
    }
    /* Optional: enhance the appearance of the menu items on hover */
    #sidebar ul li a:hover {
        opacity: 1;
    }

    /************************************/
    .main-holder {

        max-width: 90%;
        margin: 0 auto;
        padding: 0 0;

    }

    .ontop,
    .ontop.no_bg_navigation,
    .ontop.grey_navigation {
        background: var(--primary);
        text-align: center;
        position: relative;
        width: 100%;
        padding: 5px 0;
        margin-top: 0;
        z-index: 999;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .topmenu {
        display: none;
    }

    .menu li {
        display: block;
        text-align: left;
        cursor: pointer;
    }

    .menu li a{
        margin-right: 0;
        padding: .7rem;
        border-bottom: 1px solid #CDD8EE;
    }

    .menu li .dropdown-menu a:last-child{
        border-bottom: none;
    }

    .menu li.active {
        a{
            font-weight: 600!important;
            border-bottom: 1px solid #3e3e3e;

        }
    }


}

@media only screen and (max-width: 576px) {
    .ontop{
        position: fixed;
    }

}

/* Mobile dropdown alignment fix */
.top_nav_mobile .dropdown-menu {
    min-width: 150px;
    text-align: left !important;
}

.top_nav_mobile .dropdown-menu .dropdown-item {
    text-align: left !important;
    padding: 0.5rem 1rem;
}

.top_nav_mobile .dropdown-menu .dropdown-header {
    text-align: left !important;
    padding: 0.5rem 1rem;
    font-weight: bold;
}

.top_nav_mobile .dropdown-menu .dropdown-divider {
    margin: 0.25rem 0;
}

/* Fix user icon color and size only in dropdown menu items */
.top_nav_mobile .dropdown-menu .fa-user {
    color: #333 !important;
    font-size: 16px !important;
}

@media only screen and (max-width: 350px) {
    .top_nav_mobile {
        .search_nav,
        #show-sidebar,
        a {
            padding: 10px;
        }
    }



    .logo-mobile {
        #logo {
            height: 30px;
        }
        height: 48px;
        max-height: 40px;
        display: block;
        flex: 1;
        text-align: left;
        min-width: 90px;
    }


    .top_nav_mobile {
        display: flex    ;
        align-items: center;
        order: 2;
        gap: 0;
        justify-content: space-between;
        width: 100%;
    }

}

