/* custom select css - currently used on results.php ######################################################################## */

/*the container (span or div) must be positioned relative:*/
.custom-select {
    display: inline-block;
    position: relative;
    text-align: left;
    /*font-family: Arial;*/
    /*font-size: .9em;*/
}

.custom-select select {
    display: none;
    /*hide original SELECT element:*/
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

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

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
    color: white;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
}

.select-selected {
    color: #a7a700;
    background-color: #254E1E;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: #254E1E;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    font-size: .8em;
}

/*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);
}