div.fancy-select {
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    color: #46565D;
    /* margin: 10px; */
}

div.fancy-select.disabled {
    opacity: .5
}

div.fancy-select select:focus+div.trigger {
    box-shadow: 0 0 0 2px #fff
}

div.fancy-select select:focus+div.trigger.open {
    box-shadow: none
}

div.fancy-select div.trigger {
    border-radius: 4px;
    cursor: pointer;
    padding: 0px 24px 0px 9px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* position: relative; */
    position: absolute;
    background: transparent;
    /* border: 1px solid transparent;
    border-top-color: #A5B2CB; */
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    width: 60px;
    height: 40px;
    transition: all 240ms ease-out;
    -webkit-transition: all 240ms ease-out;
    -moz-transition: all 240ms ease-out;
    -ms-transition: all 240ms ease-out;
    -o-transition: all 240ms ease-out
}

div.fancy-select div.trigger:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: #fff;
    top: 20px;
    right: 9px
}

div.fancy-select div.trigger.open {
    background: transparent;
    border: 1px solid #FFC400;
    color: #fff;
    box-shadow: none
}

div.fancy-select div.trigger.open:after {
    border-top-color: #7A8498
}

div.fancy-select ul.options {
    list-style: none;
    margin: 0;
    position: absolute;
    top: 40px;
    left: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 50;
    max-height: 200px;
    overflow: auto;
    background: #222;
    border-radius: 4px;
    /* border-top: 1px solid #fff; */
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    min-width: 60px;
    transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
    -webkit-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
    -moz-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
    -ms-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
    -o-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out
}

div.fancy-select ul.options.open {
    visibility: visible;
    top: 50px;
    opacity: 1;
    transition: opacity 300ms ease-out, top 300ms ease-out;
    -webkit-transition: opacity 300ms ease-out, top 300ms ease-out;
    -moz-transition: opacity 300ms ease-out, top 300ms ease-out;
    -ms-transition: opacity 300ms ease-out, top 300ms ease-out;
    -o-transition: opacity 300ms ease-out, top 300ms ease-out
}

div.fancy-select ul.options.overflowing {
    top: auto;
    bottom: 40px;
    transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
    -webkit-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
    -moz-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
    -ms-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
    -o-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out
}

.fancy-select ul {
    padding: 0
}

div.fancy-select ul.options.overflowing.open {
    top: auto;
    bottom: 50px;
    transition: opacity 300ms ease-out, bottom 300ms ease-out;
    -webkit-transition: opacity 300ms ease-out, bottom 300ms ease-out;
    -moz-transition: opacity 300ms ease-out, bottom 300ms ease-out;
    -ms-transition: opacity 300ms ease-out, bottom 300ms ease-out;
    -o-transition: opacity 300ms ease-out, bottom 300ms ease-out
}

div.fancy-select ul.options li {
    padding: 8px 12px;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    display: block;
    transition: all 150ms ease-out;
    -webkit-transition: all 150ms ease-out;
    -moz-transition: all 150ms ease-out;
    -ms-transition: all 150ms ease-out;
    -o-transition: all 150ms ease-out
}

div.fancy-select ul.options li.selected {
    background: #FFC400;
    color: #fff
}

div.fancy-select ul.options li.hover {
    color: #fff;
    background: #FFC400
}