
/*Sidebar*/
.sidebar {
    width: 4rem;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
}
.sidebar .nav-pills .nav-link {
    color: #fff!important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.sidebar .icon.logo {
    font-size: 2rem;
}
.sidebar .icon {
    font-size: 1.5rem;
}



/*Navbar Side -----------------------------*/
.sidebar-menu {
    background-color: #ccd3d9;
    width: 1.5rem;
    height: 100%;
    position: fixed;
    top: 0;
    left: 4rem;
    bottom: 0;
}
.sidebar-menu.active {width: 15rem;}
.sidebar-menu .menu-overflow {
    height: inherit;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto !important;
}
.sidebar-menu.active .menu-overflow {
    opacity: 1;
    visibility: visible;
}
.sidebar-menu .toggle-menu {
    font-size: 1.5rem;
    top: .5rem;
    right: -.6rem;
    cursor: pointer;
    z-index: 5;
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}
.sidebar-menu .toggle-menu::after {
    content: '';
    background-color: red;
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    top: 7px;
    left: -1px;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    border-radius: 2rem;
    display: block;
}
.sidebar-menu .toggle-menu:hover::after {
    opacity: 1;
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}
.sidebar-menu.active .toggle-menu {
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}
.sidebar-menu .nav-pills li {
    margin-bottom: 3px;
}
.sidebar-menu .nav-pills .nav-link {
    color: #000;
    font-weight: 600;
}
.sidebar-menu .nav-pills .nav-link.active {
    background-color: #6c757d!important;
    color: #fff;
}
.sidebar-menu .nav-pills li:hover .nav-link {
    background-color: #9ba2a9!important;
    color: #fff;
}