/* The container must be positioned relative: */
.custom_select {
    position: relative;
    font-family: 'silkalight';
    width: 100%; 
}

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

.select-selected {
    font-size: 12pt;
    border-radius: 10px;
    background-color: white;
    border: none;
    color: black;
    padding: 20px 50px 20px 30px;
    box-sizing: border-box;
    margin-top: 20px;
    font-family: 'silkalight';
    cursor: pointer;
    text-align: left;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: url("../../img/select_down.png");
    top: 10px;
    right: 20px;
    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 {
    content: url("../../img/select_up.png");
}

/* style the items (options), including the selected item: */
.select-items {
    position: absolute;
    background-color: white;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 99;
    text-align: left;
    padding-top: 20px;
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.select-items div {
    color: black;
    font-family: 'silkalight';
    padding: 20px 30px;
    border: none;
    cursor: pointer; 
}

.select-items div:hover {
    background-color: rgba(0, 0, 0, 0.1); 
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none; 
}

.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1); 
}