.top-bar{
    position: absolute;
        top: 0;
        left: 0;
        height: 40px;
        width: 200vh;
        z-index: 30;
    background-color: rgb(109, 175, 133);
    background-image: url(../../../../Assets/Graphics/Pictures/Background/tienko-dima-uYoVf9I6ANI-unsplash.jpg);
        background-size: 100%;
        /* background-position: 40% 60%; */
    box-shadow: 1px 0px 4px darkgreen;
}
.left-bar{
    position: absolute;
        top: 40px;
        left: 0;
        height: calc(100% - 40px);
        width: 90px;
        z-index: 10;
    background-color: rgb(224, 227, 227);
    box-shadow: 1px 1px 4px rgb(148, 148, 152);
    /* outline: 2px solid black; */
}
.main-content{
    position: absolute;
        top: 50px;
        left: 100px;
        width: 900px;
        right: 0;
        bottom: 0;
        padding: 0;
    overflow: hidden;
    /* overflow: auto; */
    outline: 1px dotted rgb(159, 159, 159);
    /* background-color: #ffffff; */
}


.category-grid {
    display: none;
    position: absolute;
        top: 40px;
        left: 10px;
        padding: 10px;
        height: 300px;
        z-index: 100;
    background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}


.menu-trigger {
    color: white;
        text-shadow: 1px 0px 1px white;
    font-size: 24px;
    cursor: pointer;
    line-height: 40px;
    padding-left: 20px;
    user-select: none;
    width: 30px;
}
.category-menu {
    display: none;
    position: absolute;
        top: 40px;
        left: 10px;
        z-index: 40;
        max-height: 320px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    
    /* display: flex; */
}
.category-menu.active {
    display: flex; 
    flex-direction: column; 
    flex-wrap: wrap; 
    /* flex, only active */
}
.category-item {
    width: 120px;
    padding: 5px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.category-item:hover { background-color: #e0e0e0; }




.tree-root, .tree-children {
    list-style-type: none;
    padding-left: 10px;
    margin: 0;
    font-size: 12px;
}
.tree-root{ padding-top: 10px; }
.tree-children { display: none; }
.tree-children.expanded { display: block; }
.node-label {
    cursor: pointer;
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.node-label:hover { color: rgb(109, 175, 133); }

.level-2 { position: relative; }
.tree-children.flyout-menu {
    position: absolute;
        left: 100%;
        top: 0;
        z-index: 50;
        padding: 5px;
    background: rgb(224, 227, 227);
    border: 1px solid #999;
    min-width: 120px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.level-2:hover > .tree-children.flyout-menu {
    display: block;
}