﻿/* Remove default bullets */
ul, #myUL, #myULSupplier, .myUL, #myUL2 {
    /*list-style-type: none;*/
}

    #myUL ::marker, .myUL ::marker, #myUL2 ::marker {
        font-size: 18px;
    }

    #myUL .selectedNode, .myUL .selectedNode, #myUL2 .selectedNode {
        background: #e5e5e5;
        border-radius: 5px;
        padding-bottom: 10px;
    }

    #myUL .categoryLI, .myUL .categoryLI, #myUL2 .categoryLI {
        /*width: fit-content;*/
        padding-bottom: 5px;
    }

li.categoryLI, li.categoryLISupplier {
    cursor: pointer;
}

#myUL span.caret, .myUL span.caret, #myUL2 span.caret {
    width: 100%;
    padding: 5px;
}
/* Remove margins and padding from the parent ul */
#myUL, #myULSupplier, .myUL, #myUL2 {
    margin: 0;
    padding: 20px;
    direction: rtl;
    max-height: 350px;
    height: 350px;
    overflow-y: auto;
    /*position: fixed;*/
}

/* 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: "\002b";*/
        color: black;
        /*display: inline-block;*/
        margin-right: 6px;
    }

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
    display: block;
}
