﻿/* Remove default bullets */
ul, #myUL {
    list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
    margin: 0;
    padding: 0;
}

/* Style the treeViewCaret/arrow */
.treeViewCaret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

/* Create the treeViewCaret/arrow with a unicode, and style it */
.treeViewCaret::before {
    content: "\25B6";
    color: black;
    display: inline-block;
    margin-right: 6px;
}

/* Rotate the treeViewCaret/arrow icon when clicked on (using JavaScript) */
.treeViewCaret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the treeViewCaret/arrow (with JavaScript) */
.active {
    display: block;
}
