/* styles.css */

* {
    box-sizing: border-box; /* Ensure padding and borders are included in element's total width and height */
}

body {
    margin: 0;
    font-family: Helvetica,Arial,sans-serif;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full height of the viewport */
}

#header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 5px;
    display: flex;
}

#header-center {
    flex:1;
}

#header-left, #header-right {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-left a, #header-right a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}




#main {
    display: flex;
    flex: 1; /* Take up remaining space */
}


#sidebar-left, #sidebar-right {
    width: 160px;
    background-color: #f4f4f4;
    padding: 12px;
    padding-left:0px;
    border-right: 1px solid #ccc;
}

#sidebar-right {
    border-left: 1px solid #ccc;
}

#content {
    flex: 1; /* Take up remaining space */
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
}

#footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 5px;
}



ul {
    list-style-type: none;
    padding-left: 15px;
}
ul li {
    position: relative;
    padding-left: 12px;
}
ul li::before {
    left: 0;
    content: '-';
    position: absolute;
}



.menu_title
{
    padding-left:12px;
}


ul.menu
{
    list-style-type: none;
    padding-left: 15px;
}
ul.menu li
{
    padding-left: 0;
}
ul.menu li::before {
    left: 0;
    content: '';
    position: relative;
}




.nested {
    display: none;
    padding-left: 20px;
}


.folder {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    position: relative;
}



.triangle {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    position: relative;
}

.triangle::before {
    content: '';
    display: inline-block;
    width: 0;
    height    width: 0;
    height: 0;
    margin-right: 5px;
    border-left: 5px solid black; /* Right-pointing triangle */
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: transform 0.2s;
}

.triangle.expanded::before {
    transform: rotate(90deg); /* Rotate to point down when expanded */
}

.sidebar_selected {
    font-weight: bold;
    color: red;
    pointer-events: none; /* Prevent clicking on the active link */
}





/* end of styles.css */
