/* Custom Select jQuery Plugin Base */
.custom-select {
    position: relative;
}
.custom-select__option {
    background: transparent;
    width: 100%;
    font-family: inherit;
    text-overflow: ellipsis;
    text-align: left;
    white-space: nowrap;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    display: block;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.custom-select__option-wrap {
    max-height: 11.25rem;
    overflow-y: auto;
    position: relative;
    padding: 4px 8px 8px;
}
.custom-select__option-wrap::-webkit-scrollbar {
    width: 4px;
}
.custom-select__option-wrap::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}
.custom-select__option-wrap::-webkit-scrollbar-thumb:hover {
    background: #adadad;
}
.custom-select__input {
    background: url(/media/images/search.svg) 8px 50% no-repeat;
    width: calc(100% - 16px);
    height: 32px;
    font-size: 14px;
    border: 1px #dee1e5 solid;
    border-radius: 4px;
    display: block;
    margin: 8px 8px 0;
    padding-left: 28px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.custom-select__input::placeholder {
    color: #adadad;
}
.custom-select__input::-moz-placeholder {
    color: #adadad;
}
.custom-select__input::-webkit-input-placeholder {
    color: #adadad;
}
.custom-select__dropdown {
    width: 100%;
    border-top: 1px #dee1e5 solid;
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
}
.custom-select--dropup .custom-select__dropdown {
    top: auto;
    bottom: 100%;
}

/* Custom Select jQuery Plugin Theme */
.custom-select__option {
    color: #212121;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding: 4px 8px;
}
.custom-select__option:hover,
.custom-select__option:focus {
    background: #f6f9fc;
    color: rgb(0, 92, 218);
}
.custom-select__option--value {
    background: #fff;
    color: inherit !important;
    border: 1px solid #e6e6e6;
    border-radius: 0.25rem;
    padding-right: 1.875rem;
}
.custom-select__option--value::after {
    content: '';
    width: 0;
    height: 0;
    border-width: 0.3rem;
    border-bottom-width: 0;
    border-style: solid;
    border-color: currentColor transparent;
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    box-sizing: border-box;
}
.custom-select--active .custom-select__option--value::after {
    transform: translateY(-50%) rotate(-180deg);
}
.custom-select--active .custom-select__option--value {
    border-bottom-color: transparent;
    border-radius: 0.25rem 0.25rem 0 0;
}
.custom-select--active .custom-select__option--value:hover,
.custom-select--active .custom-select__option--value:focus {
    background: #fff;
    color: #1f1f1f !important;
}
.custom-select--dropup.custom-select--active .custom-select__option--value {
    border-top-color: transparent;
    border-bottom-color: #e6e6e6;
    border-radius: 0 0 0.25rem 0.25rem;
}
.custom-select__option--selected {
    background: #fcfcfc;
}
.custom-select__dropdown {
    background: #fff;
    border-width: 0 1px 1px;
    border-style: solid;
    border-color: #e6e6e6;
    border-radius: 0 0 0.25rem 0.25rem;
    overflow: hidden;
    top: calc(100% - 1px);
    z-index: 1;
}
.custom-select--dropup .custom-select__dropdown {
    border-width: 1px 1px 0;
    border-radius: 0.25rem 0.25rem 0 0;
    bottom: calc(100% - 1px);
}
.custom-select__option {
    font-size: 14px;
    border-color: #d3d9e0 !important;
    transition: all 0.2s ease;
}
.custom-select__option:after {
    background: url(/media/images/arrow.svg);
    background-size: 100% 100%;
    width: 13px;
    height: 9px;
    border: none;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    filter: invert(40.6%);
    transition: all 0.2s ease;
}
.custom-select--active .custom-select__option:after {
    transform: translateY(-50%) rotate(180deg);
}
.custom-select__option--value {
    background: #fff !important;
    height: 48px;
    border: 1px #d3d9e0 solid;
    border-radius: 8px;
    padding: 0 44px 0 16px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.custom-select__option--value:hover {
    border-color: #a5a5a5 !important;
}
.custom-select--active .custom-select__option--value {
    border-color: #1e1e1e !important;
    border-radius: 8px 8px 0 0;
}
.custom-select--active .custom-select__option--value:focus {
    border-color: #1e1e1e;
}
.custom-select__option:focus {
    border-color: inherit;
}
.custom-select__dropdown {
    background: #fff;
    border-color: #1e1e1e;
    overflow: hidden;
    top: calc(100% - 1px);
    z-index: 1;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px 0 rgba(30, 30, 30, 0.08), 0 0 4px 0 rgba(30, 30, 30, 0.04);
}
.custom-select__option[disabled] {
    background: #dcdcdc !important;
    color: #adadad !important;
    text-shadow: 1px 1px 1px #fff;
    cursor: default;
    border-color: #c1c1c1 !important;
}
.custom-select__option[disabled]:after {
    filter: invert(75.8%);
}
.custom-select__option[disabled]:hover,
.custom-select__option[disabled]:focus {
    background: transparent;
}