﻿/* LIST TO MENU */
.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 a:nth-child(1):before,
    .tree li a:nth-child(3):before,
    .tree li a:nth-child(4):before,
    .tree li a:nth-child(5):before,
    .tree li a:nth-child(6):before,
    .tree li a:nth-child(7):before,
    .tree li a:nth-child(8):before,
    .tree li a:nth-child(9):before {
        content: "";
        position: absolute;
        left: 10px;
        font-family: "bootstrap-icons";
    }
    .tree li#id998 a:before {
        content: "\F3FC";
        font-size: 18px;
        top: 8px;
    }

    .tree li#id1001 a:before {
        content: "\f32f";
        font-size: 17px;
        top: 9px;
    }

    .tree li#id1004:nth-child(4) a:before {
        content: "\f489";
        font-size: 17px;
        top: 9px;
    }
    .tree li#id1005:nth-child(5) a:before {
        content: "\f463";
        font-size: 17px;
        top: 9px;
    }
    .tree li#id1007:nth-child(6) a:before {
        content: "\f444";
        font-size: 17px;
        top: 9px;
    }

    .tree li#id1008:nth-child(7) a:before {
        content: "\f227";
        font-size: 17px;
        top: 9px;
    }
    .tree li#id1033:nth-child(8) a:before {
        content: "\F224";
        font-size: 17px;
        top: 9px;
    }
    .tree li#id1034:nth-child(9) a:before {
        content: "\F1C8";
        font-size: 17px;
        top: 9px;
    }

    .tree li#id1:nth-child(1) a:before {
        content: "\F3FC";
        font-size: 17px;
        top:9px;
    }
    .tree li#id2:nth-child(2) a:before {
        content: "\F4CF";
        font-size: 17px;
        top: 9px;
    }
    .tree li#id3:nth-child(3) a:before {
        content: "\F600";
        font-size: 17px;
        top: 9px;
    }
    .tree li#id5:nth-child(4) a:before {
        content: "\F17D";
        font-size: 17px;
        top: 9px;
    }
    .tree li#id6:nth-child(5) a:before {
        content: "\F3E5";
        font-size: 17px;
        top: 9px;
    }
   
*/
    .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;
    }

