/*style the arrow inside the select element:*/
.select-selected:after {
    /*position: absolute;*/
    content: "";
    border-color: #fff transparent transparent transparent;
    width: 20px;
    /*right: 4.2em;*/
    height: 51px;
    background-image: url(/img/dropdown_arrow.png);
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: 18px;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
}

/*style the items (options), including the selected item:*/
.select-items div, .select-selected {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    padding-left: 0.5em;
    padding-right: 0.5em;
    height: var(--height-2_5);
    font-size: var(--font-size-1_5);
    justify-content: space-between;
}

/*style items (options):*/
.select-items {
    overflow-y: auto;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}
.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}
.select-item-selected {
    background-color: var(--body-gray);
}

.select-items > div {
    border-top-width: 0px;
    border-left: 1px solid var(--border-color);
    /*border-right: 1px solid var(--border-color);*/
    border-bottom: 1px dashed var(--border-color);
}

.select-selected {
    color: var(--font-black);
}
