﻿div.fancy-select {
    position: relative;
    font-size: 16px;
    color: #061B2B;
    border-radius: 4px;
}

div.fancy-select ul.options li.selected {
    color: #061B2B !important;
}

div.fancy-select.disabled {
    background: #AEB6BC !important;
}

div.fancy-select.disabled div.trigger {
    background: #AEB6BC !important;
}

div.fancy-select div.trigger {
    cursor: pointer;
    background: #fff !important;
    border: none !important;
    outline: none !important;
    padding-left: 10px;
    min-height: 42px;
    line-height: 42px !important;
    font-size: 16px !important;
    font-style: normal;
    font-variant: normal;
    font-family: "D-DIN-PRO", sans-serif;
    font-weight: 400;
    border-radius: 4px;
}

div.fancy-select div.trigger:after {
    content: '\e900';
    font-family: icons, sans-serif;
    font-weight: 400;
    font-size: 11px;
    position: absolute;
    top: 1px;
    right: 9px;
    color: #0092CB !important;
    box-sizing: border-box;
}

div.fancy-select div.trigger.open:after {
    content: '\e901';
    font-family: icons, sans-serif;
    font-weight: 400;
    font-size: 11px;
    position: absolute;
    top: 1px;
    right: 9px;
    color: #0092CB !important;
    box-sizing: border-box;
}

div.fancy-select div.trigger.open {
    background: #fff;
    box-shadow: none;
}

div.fancy-select ul.options {
    list-style: none;
    margin: 0;
    position: absolute;
    top: 40px;
    left: 0;
    padding: 0px;
    visibility: hidden;
    opacity: 0;
    z-index: 50;
    max-height: 200px;
    overflow: auto;
    background: #fff;
    min-width: 200px;
}

div.fancy-select ul.options.open {
    visibility: visible;
    opacity: 1;
    top: 43px;
}

div.fancy-select ul.options.overflowing {
    top: auto;
    bottom: 40px;
}

div.fancy-select ul.options.overflowing.open {
    top: auto;
    bottom: 50px;
}

div.fancy-select ul.options li {
    padding-left: 9px;
    height: 42px;
    font-size: 16px;
    line-height: 42px;
    cursor: pointer;
    white-space: nowrap;
}

div.fancy-select ul.options li.hover {
    background: #C7DAE7 !important;
    color: #061B2B;
}

.fancy-select select::-ms-expand {
    display: none;
}
div.fancy-select ul.options.open.above {
    top: auto;
    bottom: 38px;
    border-radius: 4px 4px 0px 0px;
    box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.3), 0px -4px 4px 0px rgba(0, 0, 0, 0.2);
}

div.fancy-select ul.options.open.below {
    top: 39px;
    bottom: auto;
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3), 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
}

.fancy-select select {
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 400;
    background: #fff !important;
    cursor: pointer;
    border: none !important;
    outline: none !important;
    padding-left: 9px;
    min-height: 42px;
    line-height: 1.5 !important;
    font-size: 16px !important;
    font-style: normal;
    font-variant: normal;
    width: 100%;
    color: #061B2B !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media screen and (max-width: 767px) {
    .fancy-select .options {
        z-index: 99999999 !important;
    }

    div.fancy-select div.trigger:after {
        content: '\e900';
        font-family: icons, sans-serif;
        font-weight: 400;
        font-size: 11px;
        position: absolute;
        top: 1px;
        right: 5px !important;
        color: #0092CB !important;
        box-sizing: border-box;
    }
}