﻿
/*the container must be positioned relative:*/
.custom-select {
    position: relative;
    font-family: Montserrat;
    border: 1px solid #A8A9A8;
    border-radius: 3px;
}

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

.select-selected {
    border: 1px solid #A9A8A9;
    border-color: #A9A8A9;
}

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

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

/*style the items (options), including the selected item:*/
.select-items div, .select-selected {
    color: #000;
    padding: 4px 8px;
    /*border: 1px solid transparent;*/
    border-color: transparent;
    cursor: pointer;
    user-select: none;
}
/*style items (options):*/
.select-items {
    position: absolute;
    background-color: #FFF;
    color: #fff;
    border: 1px solid #A8A9A9;
    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: #9D2449;
    color: #FFF !important;
}
