/* https://www.w3schools.com/howto/howto_custom_select.asp */

/* The container must be positioned relative: */
.custom-select {
        position: relative;
        color: #555555;
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: "Euclid Circular B";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
        border: 1px solid #DBDEE7;
        border-radius: 6px;
}

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

.select-selected {
        background-color: transparent;
}

/* Style the arrow inside the select element: */
.select-selected:after {
        position: absolute;
        content: "";
        top: 21px;
        right: 20px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #8E8E8E transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
        border-color: transparent transparent #8E8E8E transparent;
        top: 15px;
}

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

.select-items div:first-child {
        border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
}

.select-selected{
        /*color: #555555;*/
        color: #8E8E8E;
        border: none;
}


/* Style items (options): */
.select-items {
        position: absolute;
        background-color: white;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 99;
}

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