/* Remove default bullets */
ul {
   list-style-type: none;
}

/* Remove margins and padding from the parent ul */
ul.treeview {
   margin: 0;
   padding: 0;
}

/* Style the caret/arrow */
.caret {
   cursor: pointer;
   user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
   content: "\25B6";
   color: black;
   display: inline-block;
   margin-right: 20px;
}

.caret.caret-hide::before {
   content: "\25B6";
   visibility: hidden;
   margin-right: 20px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
   transform: rotate(90deg);
   color: #29b6f6;
}

.child-item::before {
   content: "\2010";
   color: black;
   display: inline-block;
   margin-right: 22px;
}

/* Hide the nested list */
.nested {
   display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
   display: block;
}