/*the container must be positioned relative:*/
.custom-select {
    position: relative;
    height: 100%;
}
  
.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: -15px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-color: #000 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #000 transparent;
    top: 16px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
    color: #000000;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    height: 100%;
    line-height: 42px;
    font-size: 20px;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    text-align: center;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    text-align: center;
    max-height: 200px;
    overflow-y: scroll;
    font-size: 20px;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    width: 100px;
}

.select-items > div {
    height: fit-content;
    font-size: 20px;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgb(110, 28, 129, 0.3);
}

@media (max-width: 670px) {
    .select-items div,.select-selected {
        font-size: 16px !important;
    }
    .select-selected:after {
        right: -10px !important;
    }
    
    .select-items {
        width: 70px !important;
    }
}