﻿aside {
    color: #fff;
    padding-left: 10px !important;
    height: 100vh;
    width: 80px !important;
    background-image: linear-gradient(30deg, #011a42, #24649b);
    border-top-right-radius: 0px;
    position: fixed !important;
    top: 0;
    z-index: 10000;
    transform: translateX(0%);
    transition: all 0.3s;
    overflow: auto;
}
.tile-icon {
    font-size: 35px !important;
}
    .sidemenu {
        width: 100px !important;
        color: #fff;
        padding-left: 0px !important;
        margin-left: 0px !important;
        height: 100vh;
        background-image: linear-gradient(30deg, #011a42, #24649b);
        border-top-right-radius: 0px;
        /*position: fixed;*/
        
        
        transform: translateX(0%);
        transition: all 0.3s;
    }
    aside.active, .sidemenu.active {
        /*transform: translateX(210);*/
        width: 210px !important;
        width: calc(100 - 50px)210px !important;
    }
    .contentsection.active {
        /*transform: translateX(210);*/
        width: calc(100% - 210px) !important;
    }
    .contentsection {
        /*transform: translateX(210);*/
        width: calc(100% + 210px) !important;
    }
    .flex-div
    {
        display:flex;
    }

    aside a {
        position: relative;
        overflow: hidden;
        white-space: nowrap;
        color: #fff;
        display: block;
        padding: 12px 0px 12px 8px;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        width: 100%;
    }

        aside a:hover {
            color: #fff;
            background: #ffb606;
            outline: none;
            position: relative;
            background-color: #ffb606;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
        }

        aside a i {
            display: inline-block;
            font-size: 18px !important;
            width: 20px;
            text-align: center;
            vertical-align: middle;
            transition: all 0.3s ease;
            margin-right: 5px;
            padding-left: 14px;
        }

    aside.active a {
        text-align: left;
    }
    .brand_logo {
        height: 40px !important;
        top: 3px;
        padding-right: 20px;
        position: relative;
    }

    aside a span {
        display: none;
        font-size: 14.28px !important;
        opacity: 0;
        width: 0;
        transition: all 0.3s ease;
        vertical-align: middle;
    }

    aside.active a span {
        display: inline-block;
        opacity: 1;
        width: auto;
        margin-left: 10px;
    }

    aside.active a i {
        text-align: left;
    }

    aside a:hover::after {
        content: "";
        position: absolute;
        background-color: transparent;
        right: 0;
        height: 0px;
        width: 0px;
        border-bottom-right-radius: 18px;
        box-shadow: 0 20px 0 0 #ffb606;
    }

    aside a:hover::before {
        content: "";
        position: absolute;
        background-color: transparent;
        right: 0;
        height: 0px;
        width: 0px;
        border-top-right-radius: 18px;
        box-shadow: 0 -20px 0 0 #ffb606;
    }

    aside p {
        margin: 0;
        padding: 40px 0;
    }

.navbar {
    max-height: 70px !important;
    min-height: 70px !important;
    height: 70px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-left: 0px !important;
    transition: all 0.3s;
}

.navbar-brand {
    padding-left: 10px;
}

body {
    font-family: 'Roboto';
    width: 100%;
    height: 100vh;
    margin: 0;
    transition: all 0.3s;
}

#divMenuToggle,#btnMenuClose {
    display: none;
    height: 0px;
    margin-top:4px !important;
}
#menuToggle {
    margin-top: 14px !important;
}
#mmenuToggle{
    display:none;
}
#mbtnProfile {
    display: none !important;
}

#divMenuToggle.active, #btnMenuClose.active {
    display: none;
    color: white;
}

/* Mobile menu button */
.menu-btn-div {
    height: 50px;
}

.menu-btn {
    display: block;
    z-index: 2;
    background: #ffb606;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
/* Main content area */
.main-content {
    margin-left: 10px;
    padding: 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
    aside,.sidemenu {
        transform: translateX(0%);
        width: 80px !important;
    }

    body {
        padding-left: 0;
    }

    aside.active,.sidemenu.active {
        transform: translateX(100);
        width: 270px;
    }
}

/* Adjust for very small screens */
@media (max-width: 576px) {
    aside, .sidemenu {
        width: 0px !important;
        display: none !important;
        padding-left: 0px !important;
    }

    aside.active, .sidemenu.active {
        width: 100vw !important;
        display: block !important;
    }

    .navbar-brand {
        padding-left: 5px;
    }
    #menuToggle{
        display:none !important;
        height:0px !important
    }
    #mmenuToggle {
        display: block !important;
        height: auto !important
    }
    #mbtnProfile {
        display: block !important;
        height: auto !important
    }
    #divMenuToggle.active, #btnMenuClose.active {
        display: block;
        color: white;
        height: auto;
    }
    #divMenuToggle, #btnMenuClose {
        display: none;
        color: white;
        height: auto;
    }
    .main-content {
        margin-left: 0px;
    }
    .student-info {
        visibility: hidden !important;
    }
    .student-info.active {
        visibility: visible !important;
        justify-content:flex-end;
        top: 70px;
        position: absolute;
        background-color: whitesmoke;
        width: 100vw;
        padding-right:20px;
        left: 0;
    }
}

/*Make the Top Nabvar sticky on top*/
.topbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.studentprofilepicture{
    border-radius: 50% !important;
    height:60px !important;
    margin-top:5px;
}
.student-info {
    visibility: visible;
    position: relative;
    display:inline-flex !important;
}
.profile-container {
    position: relative; /* This positions the popup relative to the profile picture */
}

.profile-popup {
    display: none; /* Hide popup by default */
    position: absolute;
    top: 72px; /* Adjust this value if needed (e.g., to match your navbar height) */
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    z-index: 100; /* Ensure the popup appears on top */
    width:160px !important;
}

.profile-popup a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.profile-popup a:hover {
    background-color: #f0f0f0;
    text-decoration:none;
}
.topbar-mobile-btn{
    display:inline-flex !important;
    margin-top:18px !important;
    margin-bottom:auto;
}
.section-body {
    border-radius: 5px;
    padding-left: 0px;
    padding-right: 0px;
}
.section-header {
    background-image: linear-gradient(30deg, #042c6ec4, #3c82be);
    color: white;
    height: 50px;
    align-content: center;
    padding-left: 15px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}