﻿.custom-select {
    position: relative;
    width: 100%;
}
.custom-select__selected {
    background: url(/Content/images/Droplis.svg) calc(100% - 8px) center no-repeat, #fff;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    border: solid 1px #e0e0e0;
    min-height: 40px;
    min-width: 280px;
    transition: border 0.12s;
}
.custom-select__selected.active {
    padding: 0;
}
.custom-select__selected input {
    border: none;
    outline: none;
    width: 90%;
    font-size: 1.12rem;
    padding: 8px 0 8px 8px;
    background: transparent;
}
.custom-select__selected .arrow {
    margin-left: 14px;
    font-size: 1.2em;
    color: #555;
    flex-shrink: 0;
}
.custom-select__selected .placeholder {
    color: #888;
}
.custom-select__dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    border: solid 1px #e0e0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    padding: 6px 0;
}
.custom-select.open .custom-select__dropdown {
    display: block;
    animation: fadeIn 0.15s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-9px);}
    to   { opacity: 1; transform: none;}
}
.custom-select__options {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-select__option {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1.09rem;
    transition: background 0.09s;
}
.custom-select__option:hover,
.custom-select__option.selected {
    background: #f2f2f2;
}
.custom-select__option .highlight {
    background: #B4E197;
    color: #333;
    font-weight: bold;
    border-radius: 3px;
    padding: 0 2px;
}