﻿#settingsTree, #pageTree {
    margin-bottom: 25px;
}

#settingsTree ul:has(li.active) {
    display: block;
}

#settingsTree ul, #pageTree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
    
#settingsTree li a, #pageTree li a {
    display: block;
    background-color: transparent;
    text-decoration: none;
    width: 100%;
    font-weight: normal;
    overflow: hidden;
    line-height: 25px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
    width: auto;
}

#settingsTree li a:visited, #pageTree li a:visited {
    color: #000;
}


#settingsTree li a span, #pageTree li a span {
    vertical-align: middle;
}

#settingsTree li a:hover, #pageTree li a:hover {
    color: var(--mainthemelight);
    background-color: var(--lightgrey);
    text-overflow: clip;
    white-space: normal;
    word-break: break-all;
}

#settingsTree li li a, #pageTree li li a {
    padding-left: 10px;
    background-image: url('data:image/svg+xml,<svg height="1px" width="10px" xmlns="http://www.w3.org/2000/svg"><path style="fill:none;stroke:%23dbdbdc;stroke-width:1;" d="M 3,0.5 7,0.5" /></svg>');
    background-position: 0px center;
    background-repeat: no-repeat;
}

#settingsTree li li, #pageTree li li {
    padding-left: 15px;
    background-image: url('data:image/svg+xml,<svg height="10px" width="1px" xmlns="http://www.w3.org/2000/svg"><path style="fill:none;stroke:%23dbdbdc;stroke-width:1;" d="M 0.5,0 0.5,4" /></svg>');
    background-position: 15px top;
    background-repeat: repeat-y;
}

#settingsTree li li:last-child, #pageTree li li:last-child {
    background-position: 15px 5px;
    background-repeat: no-repeat;
}

#settingsTree ul ul {display:none}

#settingsTree li.active span {font-weight: bold;}
#settingsTree li a {padding-left: 5px;}
#settingsTree {margin-top: 10px;}

#pageTree .onpath {font-weight: bold;}

#pageTree li a.active {
    background-color: #b6b7b9;
    color: white;
    background-image: none;
}




