:root {
    --body-text-color: #333333;
    --body-background: #fafafa;
}

body {
    color: var(--body-text-color);
    background: var(--body-background);
    font-size: 1rem !important;
    font-weight: 400;
}

    body .navbar.navbar-expand-lg {
        background: #fff;
        border-bottom: 1px solid #efe9e9;
    }

.sb-hide-sm {
    margin-left: -90px;
}

.sb-show-sm {
    margin-left: 0px;
}

.sb-hide-lg {
    margin-left: -180px;
}

.sb-show-lg {
    margin-left: 0px;
}

.sb-hide-lg-ni {
    margin-left: -270px !important;
}

.sb-show-lg-ni {
    margin-left: 0px !important;
}


@media screen and (min-width: 768px) {
    .nav-toggle.lg-show {
        width: calc(100% - 270px);
        float: right;
    }

    .nav-toggle.sm-show {
        width: calc(100% - 90px);
        float: right;
    }

    #nav-close-sm-device {
        display: none;
    }
}

.nav-toggle {
    transition: all .6s ease;
}

@media screen and (max-width: 767px) {
    .nav-toggle.lg-show {
        width: 100% ;
    }

    .nav-toggle.sm-show {
        width: 100% ;
    }

    .sidebar-nav-lg {
        margin-left: -270px;
    }

    .sidebar-nav-sm {
        margin-left: -90px;
    }
}


#page-wrapper {
    padding: 15px;
    width: 100%;
}

.sidebar-nav-sm {
    width: 90px;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--theme-menu-color) !important;
    overflow-y: auto;
    z-index: 2;
    transition: all .6s ease;
    z-index: 5;
}

    .sidebar-nav-sm .logo-div {
        width: 100%;
        display: block;
        text-align: center;
        padding: 11px 5px 16px 5px;
    }

        .sidebar-nav-sm .logo-div img {
            width: 50px;
        }

    .sidebar-nav-sm .nav-item i {
        width: 100%;
        display: block;
        text-align: center;
        font-size: 20px;
    }

    .sidebar-nav-sm .nav-item-parent-a span {
        font-size: 11px;
        width: 100%;
        text-align: center;
        margin-top: 6px;
    }

    .sidebar-nav-sm .nav-item-parent-a.active {
        background: var(--theme-color);
    }

    .sidebar-nav-sm .nav-item-parent-a {
        color: #fff;
        border-radius: 0;
        border-bottom: 1px solid var(--theme-menu-border-color) !important;
        padding: 10px 3px;
    }

    .sidebar-nav-sm .nav-item-1st-child {
        background: var(--theme-menu-color) !important;
        color: #ffffff;
        text-align: left;
        left: 90px;
        top: 0;
        width: 300px;
        box-shadow: 3px 3px 12px 0px #72727252;
        position: fixed;
        height: 100%;
        overflow-y: auto;
        border-left: 2px solid #0000003b;
        display: none;
    }

    .sidebar-nav-sm .nav-item-parent-li:hover .nav-item-1st-child {
        display: initial !important;
    }

    .sidebar-nav-sm .child-nav-2nd div {
        border-bottom: 1px solid var(--theme-menu-border-color);
        padding: 20px 20px 8px 20px;
        width: 100%
    }

    .sidebar-nav-sm .child-nav-2nd h4 {
        font-size: 19px;
    }

    .sidebar-nav-sm .child-nav-2nd {
        margin-bottom: 5px;
    }

    .sidebar-nav-sm .child-nav-3rd {
        width: 100%;
        float: left;
        padding: 5px 15px
    }

        .sidebar-nav-sm .child-nav-3rd a {
            text-decoration: none;
            color: #fff;
            font-size: 13px;
        }

        .sidebar-nav-sm .child-nav-3rd i {
            padding: 4px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 6px;
            margin-right: 7px;
            font-size: 15px;
            float: left;
            width: auto;
        }

    .sidebar-nav-sm .bottom-dropdown {
        border-top: 1px solid var(--theme-menu-border-color) !important;
    }

.sidebar-nav-lg {
    height: 100vh;
    width: 270px;
    top: 0;
    left: 0;
    position: fixed;
    background: var(--theme-menu-color);
    color: #fff;
    z-index: 1;
    transition: all .6s ease;
}


    .sidebar-nav-lg .border-bottom {
        border-bottom: 1px solid var(--theme-menu-border-color) !important;
    }


    .sidebar-nav-lg .logo-div {
        width: 100%;
        display: block;
        text-align: center;
    }

        .sidebar-nav-lg .logo-div img {
            width: 95%;
        }

        .sidebar-nav-lg .logo-div img {
            width: 95%;
        }

    .sidebar-nav-lg .btn-toggle {
        color: #fff;
    }

    .sidebar-nav-lg .btn-toggle-nav a {
        color: #fff !important;
    }

.dropdown-toggle {
    outline: 0;
}

.btn-toggle {
    width: 100%;
    padding: .5rem .6rem;
    font-weight: 500;
    color: #fff;
    background-color: transparent;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: #fff;
        background-color: #ffffff29;
    }

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: #ffffff29;
    }
    .sidebar-nav-lg .btn-toggle span {
        padding: 0px 5px 0px 10px;
    }

.btn-toggle-parent::after {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
    position: absolute;
    right: 20px;
}

.sidebar-nav-lg .btn-toggle-parent span {
    padding: 0px 5px 0px 10px;
}


.btn-toggle-parent[aria-expanded="true"] {
    color: #fff;
}

    .btn-toggle-parent[aria-expanded="true"]::after {
        transform: rotate(90deg);
    }

.btn-toggle-child {
    margin-top: 5px !important;
    padding: .25rem .5rem !important;
    font-size: 14px;
}

    .btn-toggle-child::before {
        width: 1.3em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 30%;
    }


    .btn-toggle-child[aria-expanded="true"] {
        color: #fff;
    }

        .btn-toggle-child[aria-expanded="true"]::before {
            transform: rotate(90deg);
        }

    .btn-toggle-child + div {
        margin-left: 15px;
    }

.cursor-pointer {
    cursor: pointer;
}

.sidebar-nav-close {
    color: #474646;
    font-size: 15px;
    background: #f9f9f9;
    -ms-border-radius: 50%;
    border-radius: 22px;
    padding: 5px 10px;
    border: 1px solid #e5e5e5;
}

    .sidebar-nav-close > i {
        transition: all .6s;
    }

    .sidebar-nav-close.active > i {
        transform: rotate(180deg);
    }

#nav-close-sm-device {
    color: #ffffff;
    left: -5px;
    position: absolute;
    top: -7px;
    font-size: 19px;
}

.nav-global-filter i {
    top: 10px;
    position: absolute;
    left: 4px;
    color: #c2c2c2;
}

.nav-top-user-profile img {
    width: 26px;
    height: 26px;
    object-fit: cover;
}

.nav-notification {
    font-size: 17px;
    cursor: pointer;
}

.navbar-nav {
    color: #989898;
}

.dropdown-menu.show {
    border: none;
    box-shadow: #dadada 0px 0px 4px 1px;
    margin-top: 6px;
}
