/* 
* Creator: Davane Davis 
* Custom SelectStyles
*/

/* 
 ===================== Custom Select ======================
*/

/*the container must be positioned relative:*/

.adv-custom-select {
    position: relative;
    font-family: Arial;
    width: 100%;
}

.adv-custom-select.fixed-md {
    width: 350px;
}

.adv-custom-select.fixed-sm {
    width: 200px;
}

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

.select-selected {
    background-color: transparent;
    /* border: none; */
    border: thin solid lightgray;
    border-radius: 2rem;
    padding-right: 6rem;
}

.select-selected:hover,
.select-items:hover {
    /* box-shadow: 0px 1px 2px 0px #dedede, 0px 2px 6px 0px #efefef; */
}

/*style the arrow inside the select element:*/

.select-selected:after {
    position: absolute;
    content: "";
    top: 56%;
    transform: translateY(-50%);
    right: 20px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-color: rgb(96, 174, 69) transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/

.select-selected.select-arrow-active:after {
    border-color: transparent transparent rgb(96, 174, 69) transparent;
    top: 50%;
    transform: translateY(-50%);
}

/*style the items (options), including the selected item:*/

.select-items .option-list div,
.select-selected {
    color: rgba(0, 0, 0, 0.80);
    padding: 8px 16px;
    padding-right: 25px;
    cursor: pointer;
    user-select: none;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: white;
}

.select-items > .option-list > div {
    /* border-bottom: 1px solid lightgray; */
}

/*style items (options):*/

.select-items {
    border-radius: 12px;
    position: absolute;
    background-color: white;
    border: thin solid rgb(221, 221, 221);
    top: 129%;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0px 8px 1px 0 rgba(0, 0, 0, 0.04), 0 8px 8px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.select-items .option-list {
    max-height: 200px;
}
/*hide the items when the select box is closed:*/

.select-hide {
    display: none;
}

.select-items .option-list div:hover,
.same-as-selected {
    background-color: transparent;
    color: rgb(96, 174, 69) !important;
}

.select-items .option-list div.disabled,
.select-items .option-list div.disabled:hover {
    color: gray;
    background-color: transparent;
    cursor: no-drop;
}

.scroll-y {
    overflow-y: auto;
}

/* Search Feature Styling */

.search-contianer {
    padding: 1rem !important;
}
.search-contianer input.search-input {
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 4px;
    padding: 4px 6px;
    min-height: 32px;
    font-size: 12px;
}