/*the container must be positioned relative:*/
.custom-select {
    position: relative;
    font-family: Arial;
    width: fit-content;
    transition: .25s width;
    display: inline-block;
}

.custom-select select {
    display: none; /*hide original SELECT element:*/
}

.select-selected {
    background-color: transparent;
    color: #2B2B2B;
    padding: 6px 32px 5px 16px;
    border-radius: 50px;
    border: 1px solid #2B2B2B;
    cursor: pointer;
    user-select: none;
    transition: .25s color, .25s background-color, .25s border;
}


.custom-select.skoba-select-item-selected .select-selected:not(.select-arrow-active) {
    border: 1px solid #2B2B2B !important;;
    background-color: #2B2B2B;
    color: #FAF9EE;
}

.custom-select.skoba-select-item-selected .select-selected:not(.select-arrow-active)::after {
    border-color: #FAF9EE transparent transparent transparent;
}

.custom-select .select-selected.select-arrow-active {
    background-color: #FFFFFF;
}

.custom-select:hover .select-selected:not(.select-arrow-active) {
    background-color: #3ECDE1;
    color: #FAF9EE;
    border: 1px solid #3ECDE1 !important;
}

.custom-select:hover .select-selected:not(.select-arrow-active)::after {
    border-color: #FAF9EE transparent transparent transparent;
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 13px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #2b2b2b transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #2b2b2b transparent;
    top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div {
    color: #2B2B2B;
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: #FFFFFF;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #2B2B2B;
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/*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-items > div:first-child {
     display: none;
 }
.skoba-show-all .select-items > div:first-child {
    display: block !important;
}