.hl-selector {
    display: flex;
    flex-direction: column;
    max-width: 250px;
    min-width: 100px;
    background-color: #333333;
    border: 1px solid #999999;
    padding: .5em;
    border-radius: .25em;
    opacity: .95;
}
.hl-selector > .hl-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-bottom: .25em;
}
.hl-selector.headless > .hl-header {
    display: none;
}

.hl-selector.anchored {
    position: absolute;
    transform: translate(-110%, 1.6em);
    min-width: 150px;
    z-index: 1000;
}
.hl-selector.anchored:not(.active) {
    display: none;
}
.hl-selector.anchored.active {
    display: block;
}

.hl-selector > .hl-header > input[type="text"] {
    flex: 1;
    margin-right: 1em;
}
.hl-selector > .hl-loader {
    height: 5px;
    background-color: #333333;
}
.hl-selector > .hl-loader.loading {
    position: relative;
    height: 5px;
    /* -webkit-box-reflect: below 1px linear-gradient(transparent, #333333); */
}
.hl-selector > .hl-loader.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #333333, #ffffff, #333333, #aaaaaa, #333333);
    animation: animateloading 10s linear infinite;
    background-size: 500%;
}
.hl-selector > .hl-loader.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #333333, #ffffff, #333333, #aaaaaa, #333333);
    animation: animateloading 10s linear infinite;
    background-size: 500%;
    filter: blur(10px);
}
@keyframes animateloading {
    0% {
        background-position: 0 0;
    }
    0% {
        background-position: 500% 0;
    }
}

.hl-selector > .hl-body {
    flex: 1;
    min-height: 70px;
    max-height: 100px;
}
.hl-selector .scrollable {
    overflow-y: scroll;
}

.hl-selector .list-item {
    padding: .1em .25em;
    margin: 1px;
    cursor: pointer;
    border-radius: .25em;
}

.hl-selector .list-item:not(:last-child) {
    border-bottom: solid 2px #000000;
}

.hl-selector .list-item:nth-child(even) {
    background-color: #222222;
}

.hl-selector .list-item:nth-child(odd) {
    background-color: #333333;
}

.hl-selector .list-item:hover {
    background-color: #555555;
}

.hl-selector .list-item.selected {
    background-color: #444444;
}