
.header {
    background-color: #800000;
    color: white;
    padding: 10px 20px;
    display: flex;
}
.header .logo {
    flex: 1;
    padding-left: 53% !important;
}
.header .logo img {
    height: 40px;
}

.logo a img{
    height: 30px !important;
}

.header nav {
    flex: 8;
    padding-top: 10px;
    padding-left: 20px;
}
.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}
.header nav ul li {
    position: relative;
}
.header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}
.header nav ul li a:hover {
    text-decoration: underline;
}

.sidebar{
    margin-top: 20px !important;
}

/* Submenu styles */
.header nav ul li ul {
    display: none;
    position: absolute;
    background-color: #800000;
    padding: 10px;
    list-style: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.header nav ul li:hover ul {
    display: block;
//width: max-content;
    padding-top: 20px;
    width: 200px;
    margin-left: -10px;
}

.header nav ul li ul li {
    margin: 5px 0;
}

/* Hamburger menu styles */
.sdg-hamburger {
    display: none;
    cursor: pointer;
}

.sdg-hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

.dashboard-url{
    color: white !important;
}

.footer {
    background-color: #800000;
    color: white;
    text-align: center;
    padding: 20px 0px;
    position: relative;
    bottom: 0;
    width: 100%;
//position: fixed;
}
.footer a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 10px;
}
.footer a:hover {
    text-decoration: underline;
}
.footer p {
    margin: 5px 0;
    font-size: 14px;
    padding: 0 10px;
}

.nav-item {
    border-bottom: 0px solid #0067ac !important;
}
.page-title-1{
    padding-top: 25px !important;
}

/* Desktop: Show submenu on hover */
@media (min-width: 769px) {
    .header nav ul li ul {
        display: none;
        position: absolute;
        background-color: #800000;
        padding: 10px;
        list-style: none;
        top: 100%;
        left: 0;
        z-index: 99;
        width: 200px;
    }

    .header nav ul li:hover ul {
        display: block;
    }

}

@media (min-width: 768px){

    .header {
        background-color: #86030a !important;
        position: relative !important;
        width: 100%;
        top: 0;
        z-index: 99;
        padding: 0px 10px 10px 10px !important;
        margin-top: -10px;
    }

    .logout{
        padding: 10px 40px;
    }

    .nav-logout{
        display: none;
    }

    .logout a:link {
        color: #FFD700;
        background-color: transparent;
        text-decoration: none;
    }
    .logout a:visited {
        color: #FFD700;
        background-color: transparent;
        text-decoration: none;
    }
    .logout a:hover {
        color: #FFD700;
        background-color: transparent;
        text-decoration: none;
    }
    .logout a:active {
        color: #FFD700;
        background-color: transparent;
        text-decoration: none;
    }
}

/* Mobile: Always show submenu */
@media (max-width: 768px) {

    .logo{
        display: none !important;
    }

    .header nav ul {
        display: flex !important;
        flex-direction: row;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        background: #86030a;
        padding: 10px;
        z-index: 100;
        align-items: center;
        margin-top: -13px;
    }

    .header nav ul.active {
        display: flex; /* Show menu when active */
    }

    .header nav ul li{
        flex: 1;
        padding: 0 1px;
        text-align: center;
        flex-direction: column;
    }

    .header nav ul li ul {
        display: block !important; /* Ensure submenu is visible */
        position: static; /* Remove absolute positioning */
        background: none; /* Remove background color */
        padding-left: 15px; /* Indent submenu */
    }

    .header nav ul li ul li {
        margin: 5px 0;
    }

    .sdg-hamburger {
        display: block;
        cursor: pointer;
        padding-left: 10px;
        float: right;
    }

    .header{
        max-height: 0px;
        position: relative;
        z-index: 99;
        width: 100%;
        top: 0;
    }

    .header nav {
        flex: 8;
        padding-top: 10px;
        padding-right: 15%;
    }
    .logout{
        display: none;
    }

}