.sidebar {
    position: fixed;
    top: 0px;
    left: 0;
    bottom: 0;
    width: 375px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px 0px 80px 0px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    background-color: #fff;
    display:none;
}
.sidebar-right {
    position: fixed;
    top: 0px;
    right: -90px;
    bottom: 0;
    width: 90px;
    z-index: 9999;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    background-color: #fff;
}
.toggle-sidebar-right .sidebar-right {
    right: 0px;

}
.toggle-sidebar-right #main {
    margin-right:90px;
}
.form-inline .nav-link.btn {
    padding:0;
}
    .form-inline .nav-link.btn i {
        font-size: 20px;
        border-radius: 20px;
        padding: 15px 20px;
        font-size: 25px;
        color: #809fb8;
        position: relative;
        transition: all 0.3s;
        margin-left: 4px;
    }
        .form-inline .nav-link.btn i:hover {
            background: #844200;
            color: #fff;
        }

.inner-holder-login.pages {
    margin-top: 0%;
    margin-bottom: 25px;
    padding-right: 25px;
}
    .inner-holder-login.pages .logo-holder {
        margin-bottom: 0%;
        background: #15144a;
        padding: 10% 15% 10% 0%;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        max-height: 215px;
    }

.sidebar ul.tree {
    list-style: none;
    padding-left: 0px;
    padding-right: 25px;
}


    .sidebar > ul.tree > li {
        line-height: 73px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        overflow: hidden;
        margin-bottom: 0px;
    }

    .sidebar ul.tree li {
        width: 100%;
        border-top-right-radius: 10px;
        position: relative;
        transition: all 0.5s ease-in-out 0s;
        z-index: 1;
    }

.sidebar > ul.tree > li:before {
    transition: all 0.5s ease-in-out 0s;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: #99b2c6;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 73px;
}
.sidebar > ul.tree > li.parent.open:before {
    transition: all 0.5s ease-in-out 0s;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #3179b2;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    height: 74px;
}
.sidebar > ul.tree > li.parent.open > a, .sidebar > ul.tree > li.parent.open > a > svg {
    color: #fff;
    fill: #fff;
}

.sidebar > ul.tree > li.active:before {
    background: #3179b2;
    height: 73px;
}

.sidebar > ul.tree > li:hover:before, .sidebar > ul.tree > li.active:before {
    width: 100%;
}

.sidebar ul.tree li a {
    position: relative;
    z-index: 9999;
    color: #000;
    width: 100%;
    display: inline-block;
    font-size: 18px;
    color: #809fb8;
    transition: all 0.5s ease-in-out 0s;
    text-decoration: none;
    padding-left:20px;
}

    .sidebar > ul.tree > li > a:hover, .sidebar > ul.tree > li.active > a {
        color: #fff;
    }
.sidebar > ul.tree > li > ul {
    padding-left: 0px;
    background: #f1f4fa;
    transition: none;
    display:none;
}
.sidebar > ul.tree > li > ul > li {
    line-height: 45px;
    transition:none;
}

.sidebar ul.tree li {
  
  
    z-index: 1;
}

    .sidebar > ul.tree > li > ul > li {
        line-height: 45px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
        .sidebar > ul.tree > li > ul > li:first-child {
            border-top-right-radius: 0px;
        }
    .sidebar > ul.tree > li > ul > li > a {
        color: #809fb8;
        transition: none;
        padding-left:50px;
    }
        .sidebar > ul.tree > li > ul > li > a:hover, .sidebar > ul.tree > li > ul > li > a.active {
            color: #fff;
            background: #99b2c6;
        }



.sidebar ul.tree li.parent a {
   position:relative;
}
    .sidebar ul.tree li.parent a .material-symbols-outlined {
        position: absolute;
        top: 20px;
        font-size: 30px;
        right: 27px;
        transition: all 0.3s ease-in-out 0s;
    }
.sidebar ul.tree li.parent:hover a .material-symbols-outlined,
.sidebar ul.tree li.parent.active a .material-symbols-outlined {
    color: #fff;
    right: 30px;
    transform: rotate(90deg);
}
.sidebar > ul.tree > li.parent.open > a > .material-symbols-outlined {
    color: #fff;
    right: 30px;
    transform: rotate(-90deg);
}

    .sidebar ul.tree li a svg {
        width: 20px;
        height: 20px;
        font-weight: 400;
        display: inline-block;
        fill: #809fb8;
        position: relative;
        top: -2px;
        transition: all 0.5s ease-in-out 0s;
        margin-right: 10px;
    }


.sidebar ul.tree li:hover a svg, .sidebar ul.tree li.active a svg {
    fill: #fff;
}

.sidebar ul.tree li a span.number {
    position: absolute;
    right: 25px;
    background: #99b2c6;
    line-height: 15px;
    padding: 5px 10px;
    border-radius: 30px;
    color: #fff;
    top: 25px;
    transition: all 0.5s ease-in-out 0s;
}
.sidebar ul.tree li:hover a span.number, .sidebar ul.tree li.active a span.number {
    background: #fff;
    color: #3179b2;
}
.nav-item .bi-toggle-off {
    font-size: 25px;
    position: relative;
    top: -3px;
    transition: all 0.5s ease-in-out 0s;
    cursor:pointer;
}
    .nav-item .bi-toggle-off:before {
        transition: all 0.5s ease-in-out 0s;
        color: #99b2c6;
    }

.toggle-sidebar-right .nav-item .bi-toggle-off:before {
    content: "\F5D8";

}

/* tree view pentru permisiuni roluri */
.tree, .menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tree {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .tree li {
        display: block;
        margin-bottom: 5px;
        border-radius: 4px;
    }

        .tree li:hover {
            background: #EFF6FD;
        }

        .tree li a {
            color: #012970;
            text-decoration: none; /* no underline */
            padding: 10px 0px 10px 10px;
            transition: all 0.5s ease-in-out 0s;
            display: block;
            font-weight: 500;
            border-radius: 4px;
            position: relative;
            font-size: 15px;
        }

        .tree li:nth-child(2) a {
            padding: 10px 0px 10px 11px;
        }

    .tree label {
        width: 100%;
    }

    .tree a:hover {
        color: #4F9AEC;
        background: #EFF6FD;
        border-radius: 4px;
    }

    .tree a.sidebar-active {
        color: #4F9AEC;
        font-weight: 500;
        background: #EFF6FD;
        border-radius: 4px;
    }

    .tree li.menu-section label a.sidebar-active:before {
        background: #EFF6FD;
        width: 30px;
        height: 42px;
        left: -25px;
        top: 0px;
        z-index: 1;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .tree li:last-child {
        border: 0;
    }

/* SUB-SECTIONS */
/* TOGGLE SHOW/HIDE */
.menu-section ul {
    display: none;
}

.menu-section input.menu-option:checked ~ ul {
    display: block;
}

/* HIDE CHECKBOX */
.menu-section .menu-option {
    display: none;
}


/* ADD EXPAND/COLLAPSE ICON  */
.menu-section {
    position: relative;
    padding-left: 25px !important;
}

    .menu-section label:not(.display-text):after {
        content: "\0002B";
        position: absolute;
        top: -1px;
        left: 2px;
        padding: 0px 0px 0px 5px;
        text-align: center;
        font-size: 170%;
        color: forestgreen;
        transition: all 0.5s;
        cursor: pointer;
        z-index: 2;
    }

    .menu-section input:checked ~ label:not(.display-text):after {
        color: red;
        transform: rotate(45deg);
        margin-top: -1px;
        margin-left: 2px;
    }

    /* SUB-SECTION ITEMS */
    .menu-section ul {
        margin-top: 0px;
    }







