﻿.sidebar {
    position: fixed;
    width: 60px;
    height: 100vh;
    background: #fbf900;
    overflow: hidden;
    transition: 0.5s;
    margin-top: 80px;
    z-index: 1010;
}

.sidebar:hover {
    width: 300px;
}

.sidebar ul {
    position: relative;
    min-height: 85vh;
    padding: 0px;
}

.sidebar ul li {
    list-style: none;
    border-radius: 10px;
}

.sidebar .main-menu:hover {
    background: #FFC600;
}

.sidebar ul li a {
    position: relative;
    display: flex;
    white-space: nowrap;
    text-decoration: none;
}

.sidebar ul li a .icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 65px;
    height: 65px;
    color: var(--icon-color);
}

.sidebar ul li a .text {
    color: #0c2f53;
    font-size: 15px;
}

.sidebar-li-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sb-list-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 20px;
    transition: 0.5s;
}

.sb-list-menu i {
    font-size: 20px;
}

.sb-menu-treeview {
    position: relative !important;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: 0.5s;
    min-height: 0px !important;
}

.sb-menu-treeview li {
    width: 320px;
}

.sb-menu-treeview.active {
    display: flex;
}

.sb-menu-treeview.closed {
    display: none;
}

.sb-list-menu.active i {
    transform: rotate( -90deg);
}

.sb-sub-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 15px;
}

.sidebar .menu-item:hover {
    background: var(--otod-yellow);
}
