/* Custom Selects
------------------------------------------------------------------*/

.select {
    display: inline-block;
    position: relative;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    line-height: 14px;
    color: #07497b;
    background: #fff;
    border: 1px solid #85a0b7;
    border-radius: 4px;
    box-shadow: inset 0 2px 5px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.select-disabled {
    background: #e7edf2;
    cursor: default;
}

.select-hidden {
    display: none;
}

.select:after {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #00497b transparent transparent transparent;
    content: '';
}

.select-active {
    color: #93a0b2;
    border: 1px solid #40a3d5;
    border-bottom: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.select.select-active:after {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent #00497b transparent;
}

.select-options {
    display: none;
    position: absolute;
    top: 38px;
    right: 0;
    left: 0;
    margin: 0 -1px;
    padding: 0;
    max-height: 314px;
    overflow-y: auto;
    list-style: none;
    border: 1px solid #40a3d5;
    border-top: none;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    background: #fff;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1;
}

.select-options::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 14px;
    height: 14px
}

.select-options::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #ccc;
    border: 4px solid transparent;
    background-clip: padding-box
}

.select-options li {
    margin: 0;
    padding: 12px;
    font-size: 14px;
    line-height: 14px;
    color: #07497b;
}

.select-options li:hover {
    background: #40a3d5;
    color: #fff;
}

.select-options li:before {
    background: none !important;
}