.tree-list {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 4px;
}

.tree-item {
    margin: 0;
    padding: 0;
}

.tree-item-content {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 3px;
    position: relative;
}

.tree-item-content:hover, .tree-item-content.selected:hover {
    background-color: #f0f0f0;
}

.tree-item-content:focus {
    outline: 2px solid #0066cc;
    outline-offset: -2px;
}

.tree-item-content.selected {
    background-color: #e6f3ff;
}

.tree-item-content.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tree-item-content.locked {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.tree-item-content.loading {
    background-color: #fff3cd;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tree-expander {
    width: 14px;
    height: 14px;
    margin: 0 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid;
    background: none;
    padding: 0;
}

.tree-expander:focus {
    outline: 2px solid #0066cc;
    outline-offset: 1px;
}

.tree-expander.no-children {
    /*visibility: hidden;*/
    display:none;
}

.tree-selection {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.tree-selection input {
    margin: 0;
}

.tree-label {
    flex: 1;
    user-select: none;
}

.tree-children {
    list-style: none;
    margin-left: 15px;
    padding: 0;
    padding-left: 4px;
    display: none;
}

.tree-children.expanded {
    display: block;
}
.tree-list {
    border-left: 1px dashed #00f;
}
.tree-item[aria-level="1"] .tree-children {
    border-left: 1px dashed #06f;
}
.tree-item[aria-level="2"] .tree-children {
    border-left: 1px dashed #0bf;
}
.tree-item[aria-level="3"] .tree-children {
    border-left: 1px dashed #0cc;
}
.tree-item[aria-level="4"] .tree-children {
    border-left: 1px dashed #0c6;
}
span.r0 {
	color: #c00;
}
span.r1 {
	color: #6c6;
}
span.r2 {
	color: #0c0;
}
span.r4 {
	color: #999;
}
span.r5 {
	color: #060;
}
span.r8 {
	color: #000;
}
span.fedico {
	color: #aaa;
    padding-left: 0.5ch;
}
.tree-item-content .dropdown {
    display: none;
}
[tabindex="0"].tree-item-content .dropdown, .tree-item-content:hover .dropdown {
    display: inline;
}