
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /*list-style: none;*/
    text-decoration: none;
}

:root {
    --color_Blue: #3f93f1;
    --color_Dark1: #1e1e1e;
    --color_Dark2: #252527;
    --color_Light1: #dfdfdf;
    --color_Light2: #c4c4c4;
    --sidebar_width: 360px;
    --sidebar_width_closed: 50px;
}

/*--------------------------------------------*/
/*                  SIDEBAR                   */
/*--------------------------------------------*/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--sidebar_width);
    background-color: var(--color_Dark1);
    transition: all .5s ease;
    z-index: 100;
    font-family: 'Poppins', sans-serif;
}

.sidebar.close {
    width: var(--sidebar_width_closed);
}

.logo-box {
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color_Light1);
    background-color: #5b6677;
    transition: all .5s ease;
}

.logo-box:hover {
    color: var(--color_Blue);
}

.logo-box i {
    font-size: 30px;
    height: 50px;
    min-width: 50px;
    text-align: center;
    line-height: 50px;
    transition: all .5s ease;
}

.sidebar.close .logo-box i {
    transition: all .5s ease;
    transform: rotate(180deg);
}

.logo-name {
    font-size: 22px;
    font-weight: 600;
}

.main-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 30px;
    color: #d1d173;
    border-bottom: 1px solid #fff;
}

.main-header span {
    font-size: 22px;
    color: #d1d173;
    font-weight: 600;
    padding: 10px 0;
    text-align: center;
    letter-spacing: 1px;
}

/*--------------------------------------------*/
/*                 SIDEBAR MENU               */
/*--------------------------------------------*/
.sidebar-list {
    height: 100%;
    padding: 30px 0 150px 0;
    overflow: auto;
    border-bottom: 1px solid #fff;
}

.sidebar-list li {
    transition: all .5s ease;
}

.sidebar-list li:hover {
    background-color: var(--color_Dark2);
}

.sidebar-list li .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .5s ease;
    cursor: pointer;
}

.sidebar-list li.active .title {
    background-color: var(--color_Blue);
}

.sidebar-list li.active .title .bx-chevron-down {
    transition: all .5s ease;
    transform: rotate(180deg);
}

.sidebar-list li .title .link {
    display: flex;
    align-items: center;
}

.sidebar-list li .title i {
    height: 50px;
    min-width: 50px;
    text-align: center;
    line-height: 50px;
    color: var(--color_Light1);
    font-size: 20px;
}

.sidebar-list li .title a i {
    opacity: 1;
    transition: all .5s ease;
}

.sidebar-list li .title .name {
    font-size: 18px;
    font-weight: 400;
    color: var(--color_Light1);
}

.sidebar-list::-webkit-scrollbar {
    /*display: none;*/
    width: 5px;
}

.sidebar-list::-webkit-scrollbar-track {
    background-color: var(--color_Dark1)
}

.sidebar-list::-webkit-scrollbar-thumb {
    background-color: gray;
}

.sidebar-list::-webkit-scrollbar-thumb:hover {
    background-color: #a29c9c;
}

.sidebar-list::-webkit-scrollbar-button:single-button {
    background-color: rgb(64, 64, 64);

    display: block;
    background-size: 10px;
    background-repeat: no-repeat;
}

/*--------------------------------------------*/
/*                  SUBMENU                   */
/*--------------------------------------------*/
.sidebar-list li .submenu {
    display: none;
    transition: all .5s ease;
}

.sidebar-list .dropdown.active .submenu {
    width: unset;
    height: unset;
    display: flex;
    flex-direction: column;
    padding: 6px 6px 14px 0;
    background-color: var(--color_Dark2);
}

.sidebar-list .submenu .link:not(.submenu-title) {
    color: var(--color_Light2);
    font-size: 15px;
    padding: 5px 8px;
    margin-bottom: 5px;
    transition: all .5s ease;
    border-left: 1px solid #fff;
    line-height: 24px;
}

.sidebar-list .submenu-title {
    display: none;
}

.sidebar-list .submenu .link:hover {
    color: #fff;
}

.sidebar-list .submenu .title2 a {
    width: calc(var(--sidebar_width) - 150px);
}

/*--------------------------------------------*/
/*                  SUBMENU2                  */
/*--------------------------------------------*/
.sidebar .submenu2 .title2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
}

.sidebar .submenu2 .title2 i {
    min-width: 78px;
    text-align: center;
    font-size: 20px;
    color: var(--color_Light1);
}

.sidebar .submenu2 .title2 i:first-child {
    width: 52px;
    text-align: center;
    font-size: 20px;
    color: var(--color_Light1);
    padding-left: 26px;
    opacity: 1;
}

.sidebar .submenu2 .title2 i.inactive {
    opacity: 0;
}

.sidebar .submenu2 .title2 i.hidden {
    display: none;
}

.sidebar.close .submenu2 .title2 i.hidden {
    display: initial;
    opacity: 0;
}

/*--------------------------------------------*/
/*                   LEVELS                   */
/*--------------------------------------------*/
.sidebar-list .submenu2 .levels {
    display: none;
}

.sidebar-list .submenu2.active .levels {
    width: 50%;
    height: unset;
    display: flex;
    align-items: center;
    background-color: var(--color_Dark2);
    color: var(--color_Light2);
    margin-bottom: 2px;
}

.sidebar-list .levels input {
    /*appearance: none;*/
    display: none;
}

.sidebar-list .levels label {
    width: 100%;
    padding: 6px 0;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 8px;
    background-color: var(--color_Dark1);
    cursor: pointer;
    margin: 5px 0;
}

.sidebar-list .levels input[type="radio"]:checked + label {
    width: 100%;
    padding: 6px 0;
    text-align: center;
    cursor: unset;
    background-color: #00008B;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 25px;
    color: var(--color_Light1);
}

.sidebar-list .levels label:hover {
    color: #fff;
}

.sidebarlist .submenu2 ul {
    max-width: calc(var(--sidebar_width) - 164px);
}

.sidebar-list .submenu2 ul li {
    margin-left: 32px;
    display: flex;
    justify-content: center;
}

.sidebar-list .submenu2.active .bx-chevron-down {
    transition: all .5s ease;
    transform: rotate(180deg);
}

/*--------------------------------------------*/
/*                SIDEBAR.CLOSE               */
/*--------------------------------------------*/
.sidebar.close .bx-book-content,
.sidebar.close .logo-name,
.sidebar.close .main-header,
.sidebar.close .title .name,
.sidebar.close .title .bx-chevron-down {
    display: none;
}

.sidebar.close .bxs-chevrons-right {
    display: block;
}

.sidebar.close .sidebar-list {
    overflow: visible;
}

.sidebar.close .sidebar-list .dropdown {
    position: relative;
}

.sidebar.close .sidebar-list .dropdown .submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 10px 10px 20px;
    border-radius: 0 10px 10px 0;
    height: max-content;
    width: calc(var(--sidebar_width) - 30px);
    opacity: 0;
    transition: all .5s ease;
    pointer-events: none;
}

.sidebar.close .sidebar-list .dropdown:hover .submenu {
    opacity: 1;
    top: 0;
    pointer-events: auto;
    background-color: var(--color_Dark2);
}

.sidebar.close .submenu-title {
    display: block;
    font-size: 18px;
    color: var(--color_Light1);
    margin-bottom: 8px;
}

.sidebar.close .submenu2 .title2 .bx-glasses-alt{
    /*width: 20px;*/
    padding-left: 0;
    min-width: 50px;
}

.sidebar.close .submenu2 ul {
    margin-left: 32px;
}

.sidebar.close .submenu2 .title2 .bx-chevron-down {
    width: 40px;
    min-width: 40px;
}

/*--------------------------------------------*/
/*                      N/A                   */
/*--------------------------------------------*/
/*.home {*/
/*    position: relative;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    !*background-color: var(--color_Light1);*!*/
/*    !*left: 300px;*!*/
/*    background-color: #4070f4;*/
/*    left: var(--sidebar_width);*/
/*    width: calc(100% - var(--sidebar_width));*/
/*    height: 100vh;*/
/*    transition: all .5s ease;*/
/*    !*display: none;*!*/
/*}*/

/*.sidebar.close ~ .home {*/
/*    !*left: 78px;*!*/
/*    !*width: calc(100% - 78px);*!*/
/*    left: var(--sidebar_width_closed);*/
/*    width: calc(100% - var(--sidebar_width_closed));*/
/*}*/

/*.main {*/
/*    position: absolute;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 3rem;*/
/*    align-items: center;*/
/*    margin: 20rem auto;*/
/*    padding: 3rem;*/
/*    border-radius: 2rem;*/
/*    background-color: yellowgreen;*/
/*}*/

/*.main p:first-child {*/
/*    font-size: 4rem;*/
/*}*/

/*.home .toggle-sidebar {*/
/*    height: 60px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    width: fit-content;*/
/*    cursor: pointer;*/
/*}*/

/*.home .toggle-sidebar i {*/
/*    font-size: 35px;*/
/*    color: var(--color_Dark1);*/
/*    margin-left: 15px;*/
/*}*/

/*.home .toggle-sidebar .text {*/
/*    font-size: 25px;*/
/*    color: var(--color_Dark1);*/
/*    font-weight: 600;*/
/*}*/

