﻿html, body {
    background-color: rgb(46, 47, 67);
    margin: 0;
    padding: 0;
    height: 100% !important;
    width: 100% !important;
}

#logo-navbar-top {
    height: 4rem;
}

.main-page-div {
    background-image: url('/images/Corner image.jpg') !important;
    background-repeat: no-repeat !important;
    background-size: 20vw !important;
    background-position: right 0px top 0px !important;
}

#container_sidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow-y:auto;
}

#sidebar {
    width: 320px;
}

#sidebar, #sidebarMenu {
    background-color: rgb(30,30,32) !important;
    color: white;
    padding: 0;
}

#sidebarMenu {
    flex: 0 0 auto !important;
    width: 25% !important;
}

#main-content {
    flex: 0 0 auto !important;
    width: 75% !important;
}

#navbarMenu {
    background-color: rgb(30,30,32);
    color: white;
    padding: 0;
    height: 0rem;
    z-index: 10000;
}

#navbar-collapse-btn {
    height:3rem;
}

#navbar-collapse-span {
    color: white !important;
    min-height: 4rem;
}

.username-text {
    font-weight: 500 !important;
    color: white !important;
}

.flex-center-single-item {
    display: flex;
    justify-content: center;
    text-align: center;
}

.account-dropdown {
    margin-right: 1rem;
    width: auto !important;
    background-color: rgb(30,30,32) !important;
    border-radius: 12px 12px 12px 12px;
    border-color: white;
    color: white !important;
}

.account-dropdown li a {
    font-weight: 500 !important;
    color: white !important;
}

.sidebar-item {
    background-color: transparent;
    font-weight: 600;
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sidebar-li-subitem, .sidebar-li-subitem-2 {
    text-align: left !important;
    color: white !important;
    font-weight: 500 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.sidebar-link{
    width:100%;
}

.sidebar-collapse-item {
    background-color: transparent;
    font-weight: 600;
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 3rem;
    font-size: 1rem !important;
}

.sidebar-li-subitem-2 {
    font-size: 0.7rem !important;
}

.fixed-height-2 {
    height: 3rem;
}

.list-group-item-img, .list-group-item-img-2 {
    display: flex;
    justify-content: center;
    text-align: center;
    text-align: center !important;
    color: white;
}

.list-group-item-text, .list-group-item-text-2 {
    width: 100% !important;
    align-items: center !important;
    text-align: left !important;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.list-group-item-img {
    width: calc(5% + 1vw) !important;
}

.list-group-item-img-2 {
    width: 2rem !important;
}

#sidebar-ul, #sidebar-ul2 {
    font-size: 0.6rem;
}

.Logo {
    width: 14rem;
    height: auto;
}

ul .active * {
    border: 1px solid rgb(255,128,0);
    border-radius: 0.75rem;
    background-color: rgb(255,128,0);
    color: rgb(30,30,32);
}

#SubMenu1, #SubMenu2 {
    width: 100%;
}

.username-text {
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

::-webkit-scrollbar {
    height: 1rem;
    width: 1rem;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0.5rem black;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(255,68,70);
    border-radius: 0.3rem;
    cursor: pointer;
}

::-webkit-scrollbar-corner {
    background-color: white;
    border-radius:100%;
}

@media (max-width: 600px) {
    #container_sidebar {
        overflow-x: auto;
    }

    .navbar-toggler {
        display: none;
    }

    #navbarMenu {
        height: 5rem;
    }

    .main-page-div {
        height: auto;
        background: none !important;
    }

    .sidebar-collapse-item {
        font-size: 16px !important;
    }

    #container_sidebar {
        padding-top: 5rem;
    }

    #main-content {
        width: 100% !important;
    }

    .body-container {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .username-text {
        font-size: 16px;
    }

    .footer-description {
        font-size: 12px;
    }

}

@media (min-width:600px) and (max-width:768px) {
    #container_sidebar {
        overflow-x: auto;
    }

    .navbar-toggler {
        display: none;
    }

    #navbarMenu {
        height: 5rem;
    }

    .main-page-div {
        height: auto;
        background: none !important;
    }

    #container_sidebar {
        padding-top: 5rem;
    }

    #main-content {
        width: 100% !important;
    }

    .body-container {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .footer-description {
        font-size: 12px;
    }
}

@media (min-width:768px) and (max-width:992px) {
    #sidebarMenu {
        width: 25% !important;
    }

    .sidebar-item {
        min-height: 3rem;
    }

    .sidebar-li-subitem {
        font-size: calc(30% + 1vw) !important;
    }

    .fixed-height {
        height: 3rem;
    }

    .Logo {
        width: 80%;
    }

    #main-content {
        width: 75% !important;
    }

    .list-group-item-img {
        font-size: max(0.8rem, calc(60% + 1vw)) !important;
    }

    .list-group-item-text {
        font-size: max(0.8rem, calc(60% + 1vw)) !important;
    }

    input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill::first-line {
        font-size: 1.1rem;
        font-weight:600;
    }

    .body-container {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
}

@media (min-width:992px) {
    #sidebarMenu {
        width: 22% !important;
    }

    .sidebar-item {
        min-height: 4rem;
    }

    .sidebar-li-subitem {
        font-size: calc(35% + 1vw) !important;
    }

    .fixed-height {
        height: 4rem;
    }

    .Logo {
        width: 70%;
    }

    #main-content {
        width: 78% !important;
    }

    .list-group-item-img {
        font-size: max(1.1rem, calc(45% + 1vw)) !important;
    }

    .list-group-item-text {
        font-size: max(1.1rem, calc(45% + 1vw)) !important;
    }

    input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill::first-line {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .username-text {
        font-size: 1.1rem;
    }

    .body-container {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
        margin-left: 2rem !important;
        margin-right: 2rem !important;
    }
}
