﻿/* Remove default bullets */
.custom-treeview ul {
    list-style-type: none;
}

.custom-treeview i.toggle-all
{
    float: right;
    margin-right: 5px;
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

.custom-treeview ul.root {
    margin: 0;
    padding: 0;
    margin-top: 10px;
}

/* Style the caret/arrow */
.custom-treeview .custom-caret {
    padding: 10px 0px;
}

.custom-treeview .custom-caret.with-icon > span.custom-caret-icon,
.custom-treeview .custom-caret.with-icon > div.custom-caret-text,
.custom-treeview .custom-caret.with-icon > i.custom-marker
{
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

.custom-treeview .custom-caret > div.custom-caret-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: calc(100% - 80px);
    display: inline-block;
    line-height: 13px;
}

.custom-treeview .custom-caret i.fas {
    float: right;
    margin-right: 5px;
}

/* Hide the nested list */
.custom-treeview .nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.custom-treeview .active {
    display: block;
    padding: 10px 0 10px 20px;
}

.custom-treeview .active > li {
    margin: 5px 0;
}

.custom-treeview .icon-container
{
    border: 1px solid steelblue;
}

.custom-treeview .icon-container > img
{
    height: 150px;
}

.nested-treeview .list-group {
    padding: 0px !important;
    padding-inline-start: 0px !important;
}

.nested-treeview .list-group-item {
    padding: 0px;
}