﻿:root{
    --sidenav-width: 250px;
}
/*#region .sidebar */

.sidebar {
    min-width: var(--sidenav-width);
    height: 100vh;
    position: sticky;
    top: 0;
    background-color: #021056 /*#3B5998*/ !important;
    overflow-y: hidden;
    z-index:1021;
    transition:width ease-in-out 3s;
}

.sidebar.collapse{
    width: 0;
    min-width: 0;
}

.sidebar-scroll {
    padding-top: .5rem;
    padding-bottom: 50px;
}

.sidebar .close {
    display: none;
    position: absolute;
    top: .4rem;
    right: .8rem;
    opacity: 1;
}

@media screen and (max-width: 991px) {
    .sidebar {
        position: fixed;
        box-shadow: .25rem 0 .25rem #bdbdbd !important;
    }

    .menu-toggler-wrapper.sidebar-expanded {
        margin-left: calc(250px - 5px);
    }

    .sidebar.offcanvas-lg.offcanvas-start {
        width: 35%;
    }

    .sidebar-nav {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .sidebar.offcanvas-lg.offcanvas-start {
        width: 45%;
    }
}

@media screen and (max-width: 575px) {
    .sidebar.offcanvas-lg.offcanvas-start {
        width: 70%;
    }

    .menu-toggler-wrapper.sidebar-expanded {
        margin-left: 0;
    }

    .sidebar .close {
        display: block;
    }
}

@media screen and (max-width: 400px) {
    .sidebar.offcanvas-lg.offcanvas-start {
        width: 100%;
    }
}
/*#endregion */

/*#region .sidebar-logo, .sidebar-scroll */

    .sidebar-logo a {
        display: block;
        text-decoration: none;
        font-size: 1.3em;
        font-weight: bold;
        color: #f2f2f2;
    }

        .sidebar-logo a span {
            text-transform: uppercase;
            font-size: small;
            letter-spacing: 2px;
            --margin-left: 0px;
            margin-top: 10px;
            opacity: 0.5;
            --float: left;
        }

.sidebar-scroll::-webkit-scrollbar {
    width: 15px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    -webkit-border-radius: 7px;
    background-color: lightblue;
    border: 4px solid rgba(0,0,0,0.9);
    height: 200px;
}
/*#endregion */

/*#region .sidebar-nav */

.sidebar-nav {
    width: 220px;
    font-size: 95%;
}

    .sidebar-nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        margin-bottom: 20px;
        --border: 1px yellow dotted;
    }

    .sidebar-nav a,
    .sidebar-nav a:hover,
    .sidebar-nav a:focus,
    .sidebar-nav a:active {
        outline: none;
    }

    .sidebar-nav ul li,
    .sidebar-nav ul a {
        display: block;
    }

        .sidebar-nav ul li a span {
            margin-right: 5px;
        }

    .sidebar-nav ul header {
        text-transform: uppercase;
        padding: 5px 0 5px 15px;
        font-weight: bold;
        color: lightblue;
    }

    .sidebar-nav ul a i {
        width: 20px;
        margin-right: 10px;
        text-align: center;
    }

    .sidebar-nav ul a:hover,
    .sidebar-nav ul a:focus,
    .sidebar-nav ul a:active {
        color: #989fc8;
        text-decoration: none;
    }

    .sidebar-nav ul ul a {
        padding: 5px 0 5px 15px;
        position: relative;
        color: #989fc8;
    }

    .sidebar-nav ul a:hover,
    .sidebar-nav ul a:focus {
        background-color: rgba(0, 0, 0, 0.99);
    }

    .sidebar-nav ul ul a:active,
    .sidebar-nav ul ul li.active a {
        color: yellow;
        /* shttp://astronautweb.co/snippet/font-awesome */
    }

    .sidebar-nav ul li.active > a {
        color: yellow;
    }

    .sidebar-nav footer {
        padding: 15px;
        color: #bbbbbb;
        padding-top: 0;
    }

        .sidebar-nav footer strong {
            color: #ffffff;
        }
/*#endregion */

.details-card {
    width: 13.77065rem;
}

