﻿.select {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    font: inherit;
}

.select-icon {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 8px;
    background: inherit;
    font-size: 17px;
    z-index: 2;
}

.select-icon:before {
    margin: 0;
    font-size: inherit;
}

.select:disabled {
    pointer-events: none;
}

.select select {
    display: none !important;
}

.select-text,
.select-option {
    cursor: default;
}

.select-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    background: inherit;
    z-index: 1;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: inherit; 
}

.select:not(.animated) .select-options {
    display: none;
}

.select.open:not(.animated) .select-options {
    display: block;
}

.select.animated.open .select-options {
    opacity: 1;
    transform: scale3d(1, 1, 1);
    transition: opacity 0.4s linear, transform 0.4s cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

.select.animated .select-options {
    opacity: 0;
    transform: scale3d(1, 0, 1);
    transform-origin: top;
    transition: opacity 0.15s linear, transform 0.3s linear;
}

.select-option {
    width: 100%;
    height: auto !important;
    padding-top: 5px;
    padding-right: 0;
    padding-bottom: 5px;
    margin: 0;
    border: none;
    list-style: none;
}

.select-option:hover {
    color: #ffffff;
    background-color: #1e90ff;
}