﻿#submenu, #pageTree {
    margin-bottom: 25px;
}

#submenu ul, #pageTree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
    
#submenu 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;
}

#submenu li a:visited, #pageTree li a:visited {
    color: #000;
}


#submenu li a span, #pageTree li a span {
    vertical-align: middle;
}

#submenu li a:hover, #pageTree li a:hover {
    color: var(--mainthemelight);
    background-color: var(--lightgrey);
    text-overflow: clip;
    white-space: normal;
    word-break: break-all;
}

#submenu 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;
}

    #submenu 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;
    }

#submenu li li:last-child, #pageTree li li:last-child {
    background-position: 15px 5px;
    background-repeat: no-repeat;
}

#submenu ul ul {display:none}
#submenu li.active span {font-weight: bold;}
#submenu li a {padding-left: 5px;}
#submenu {margin-top: 10px;}

#pageTree .onpath {font-weight: bold;}

#pageTree #active {
    background-color: #b6b7b9;
    color: white;
    font-weight: bold;
    background-image: none;
}




