@media screen and (min-width: 1140px) {

    /* Aside */
    aside {
        height: 100%;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        border-right: 1px solid var(--white);
        position: sticky;
        top: 0px;
        z-index: 998;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    aside::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    aside {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    aside .sidebar {
        background-color: #F0F4F7;
        padding: 10px 0px 0px 10px;
        /* border-radius: 10px; */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    aside .sidebar .nav {
        background-color: var(--primary);
        /* border-radius: 12px; */
        padding: 5px;
    }

    aside .sidebar ul:last-child {
        margin-top: 5vh;
    }

    aside .btnname {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: start;
        font-size: 15px;
        font-weight: 600;
    }

    aside .collapse .li1:hover {
        color: #000 !important;
        transition: 0.3s ease-in-out;
    }

    aside .collapse li a:hover::after {
        width: 70%;
        background: #000;
        color: #000;
    }

    aside .collapse li a::after {
        content: '';
        display: block;
        height: 3px;
        width: 0px;
        background: transparent;
        transition: width .5s ease, background-color .5s ease;
    }

    aside .sidebar i {
        width: 20%;
        font-size: 17px;
    }

    aside .bxs-dashboard {
        font-size: 20px !important;
    }

}

@media screen and (max-width: 1140px) {
    aside {
        display: none;
    }

    .sidebar i {
        width: 20%;
        font-size: 17px;
    }

    .sidebar ul li a {
        color: #808080;
        padding-top: 10px;
        font-size: 14px;
    }

    .sidebar ul li .btnname {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: start;
        font-size: 14px;
    }

    .sidebar ul li a:hover {
        color: var(--black);
    }

    .sidebar ul:last-child {
        margin-top: 30vh;
    }

    .offcanvas-body {
        padding: 0px;
    }

}

@media screen and (min-width:1140px) and (max-width: 1220px) {
    aside .btnname {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: start;
        font-size: 12px;
    }

    aside .sidebar i {
        width: 20%;
        font-size: 15px;
    }

    aside .bxs-dashboard {
        font-size: 18px !important;
    }
}

.selected {
    background-color: var(--primary) !important;
    border-radius: 5px;
}

.selected .btnname {
    color: var(--white);
}

.sidebar-footer {
    background-color: #F8FAFC;
    margin-top: auto;
}

.sidebar-footer h6 {
    font-size: 14px;
    color: #1E293B;
}

.sidebar-footer small {
    font-size: 12px;
}
