/* CSS FOR SIDEBAR AND IT'S NAVIGATION ITEMS  */

.main-sidebar {
    position: relative;
    right: 16px;
}

.menu-collapse .main-sidebar {
    width: 80px;
}

.menu-collapse .sidebar {
    width: 100%;
    padding: 8px !important;
}

.menu-collapse .main-sidebar .sidebar-sticky {
    padding-left: 20px;
}

.menu-collapse .main-sidebar .sidebar-sticky .nav {
    text-align: left;
}

.menu-collapse .main-sidebar .sidebar-sticky .nav img {
    width: 36px;
}

.menu-collapse .pcoded-menu-caption {
    display: none;
}

.menu-collapse .main-sidebar .sidebar-sticky .nav .nav-item .nav-link>span .sidebar-icon,
.menu-collapse .main-sidebar .sidebar-sticky .nav .nav-item .nav-link .sidebar-icon {
    font-size: 20px;
    margin-right: 10px;
}

.sidebar {
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 90%;
    height: 100%;
    float: left
}


.sidebar .nav-item {
    margin-bottom: .2rem;
}

.sidebar .nav-item.active>.nav-link {
    color: #eaedf2;
    background-color: #2e3650;
    border-radius: 0.5rem;
}

.sidebar .nav-item .nav-link {
    color: #eaedf2;
}

.sidebar .nav-item .nav-link:hover {
    color: #eaedf2;
    background-color: #2e3650;
    border-radius: 0.5rem;
}


.sidebar .nav-link+.multi-level {
    margin-top: .2rem;
}

.sidebar .nav-link {
    font-size: 15px !important;
    vertical-align: middle;
    padding: 0.55rem 0.75rem;
}

.sidebar .nav-link .sidebar-icon {
    color: #ffffff;
}

.sidebar .nav-link .sidebar-icon span {
    min-width: 22px;
}

.sidebar .nav-link .link-arrow {
    font-size: 10px;
    margin-top: 3px;
}

.sidebar .nav-link[data-toggle=collapse][aria-expanded=true] .link-arrow {
    transform: rotate(90deg);
    transition: all 0.2s ease;
}

.sidebar .nav-link.active {
    color: #262B40;
}

.sidebar .multi-level .nav-link {
    padding-left: 45px;
}

.sidebar-sticky {
    top: 0;
    height: 100vh !important;
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.user-card {
    border-bottom: 0.0625rem solid #2e3650;
}


/**
 * = Sidebars
 */

.content {
    width: 100% !important;
    /* height: 100vh !important; */
}

.sidebar-sticky.pt-3.mx-auto::-webkit-scrollbar {
    width: 10px;
}

/* margin css code  */

.mr-lg-3 {
    margin-right: 1rem !important;
}

.mr-lg-5 {
    margin-right: 3rem !important;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important
}

.menu-collapse .showImage,
.showIcon {
    display: none;

}

.menu-collapse .showIcon {
    display: block !important;
    width: 22px !important;
}

/* MEDIA QUERY FOR SIDEBAR */

@media (min-width: 992px) {

    #doc-index {
        display: block;
    }

    .doc-sidebar {
        display: block;
        height: calc(100vh - 2rem);
        overflow-y: scroll;
        position: -webkit-sticky;
        position: sticky;
        top: 2rem;
    }

    .doc-sidebar .nav-link[data-toggle="collapse"]>.icon {
        transform: rotateZ(-90deg);
        position: relative;
        right: .25rem;
    }

    .doc-sidebar .nav .nav-item {
        font-size: 0.875rem;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 100%;
        height: 100%;
    }

    #close-sidebar {
        display: none !important;
    }

    .main-sidebar {
        position: absolute;
        right: 0;
        z-index: 100;
        overflow-y: auto;
        width: 100vw !important;
    }
}



@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        /* position: -webkit-sticky; */
        position: sticky;
        padding: 20px;
    }



}