/* transformed into css and edited by Jan Sedláček
with following changes
1) mat-sidenav -> nav
2) snav -> sideNav
3) category -> navCategory
4) mat-list-item -> navItem
5) mat-icon -> icon
6) anything marked as added/removed below
*/

/*
Template Name: Material Pro Admin
Author: Themedesigner
Email: niravjoshi87@gmail.com
File: scss
*/

/*******************
Main sidebar
******************/
nav {
    /*width: 260px;*/
    padding-top: 0;
}

#sideNav {
    box-shadow: 1px 0 20px rgba(0, 0, 0, 0.08);
    padding-left: 5px;
}

#sideNav .navItem {
    height: auto;
}

#sideNav .navItem:hover {
    background: none;
}

#sideNav .navItem:focus-within {
    outline: 1px solid;
    background: none;
    color: var(--themecolor);
}

#sideNav .navItem a {
    align-items: center;
    display: flex;
    font-size: 15px;
    white-space: nowrap;
    /*color: var(--sidebar-text);*/
}

#sideNav .navItem a icon:not(.dd-icon) {
    margin-right: 8px;
}

#sideNav .navItem a icon {
    color: var(--sidebar-icons);
}

#sideNav .navItem a .dd-icon {
    font-size: 16px;
    width: 16px;
    transition: 0.2s ease-in;
    margin: 5px 0 5px 5px;
    height: 16px;
}

#sideNav .navItem.selected>.navItem-content>a {
    background: var(--themecolor-alt);
    border-radius: var(--radius);
    color: var(--white);
}

#sideNav .navItem.selected>.navItem-content>a icon {
    color: var(--white);
}

#sideNav .navItem.selected>.navItem-content>a .dd-icon {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

#sideNav .navItem.selected .sub-item .navItem-content a.selected {
    background: transparent;
    color: var(--inverse);
    font-weight: 500;
}

#sideNav .navCategory {
    cursor: text;
    font-size: 14px;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 500;
    white-space: nowrap;
    padding: 3px 5px;
    /*edited*/
}

/******************* user profile section ******************/
.user-profile {
    position: relative;
    background: url('../images/background/user-info.jpg') no-repeat center;
    background-size: cover;
}

.user-profile .profile-text {
    padding: 100px 0 5px 0;
    position: relative;
    white-space: nowrap;
}

.user-profile .profile-text>.profile-text-wrapper {
    color: var(--white) !important;
    width: 100%;
    padding: 6px 25px;
    background: rgba(0, 0, 0, 0.5);
    display: block;
    white-space: nowrap;
}

.user-profile .profile-text>.profile-text-wrapper:after {
    position: absolute;
    right: 20px;
    top: 20px;
}

.sidebar-closed #sideNav.nav~.mat-drawer-content {
    margin-left: 0 !important;
}


/****  Added  ****/
nav>ul {
    list-style-type: none;
    padding-left: 10px;
}

nav>ul>li {
    list-style-type: none;
    color: rgb(255, 255, 255);
    background-color: #a039ff;
}

nav>ul>li>ul {
    list-style-type: none;
    padding-left: 5px;
    padding-top: 3px;
}

nav>ul>li>ul>li {
    list-style-type: none;
    padding-left: 5px;
    margin: 2px;
    color: rgb(0, 0, 0);
    background-color: aqua;
}

#sideNav .navItem.active>a {
    background: var(--themecolor-alt);
    border-radius: var(--radius);
    /*color: var(--white);*/
    color: green;
}

#sideNav .navItem > a {
    color: rgb(0, 0, 0);
}


#sideNav span {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    padding-right: 3px;
}