.nice-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    /*border-radius: 5px;*/
    border: solid 1px #dbdbdb;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: inline-block;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 42px;
    line-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: auto;
}

.nice-select:hover {
    border-color: #8db4ee !important;
    box-shadow: 0 0 4px #8db4ee !important;
}

.nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: #8db4ee !important;
    box-shadow: 0 0 4px #8db4ee !important;
}

.nice-select:after {
    content: '';
    display: block;
    pointer-events: none;
    position: absolute;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate( 0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    right: 10px;
    width: 7px;
    height: 4px;
    margin-top: -3.5px;
    background: url(../../images/spr_global_icon.png) no-repeat -278px -8px;
    border: none;
}

.nice-select.open:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

.nice-select.disabled {
    border-color: #ededed;
    color: #999;
    pointer-events: none;
    background-color: #F1F1F1
}

.nice-select.disabled:after {
    border-color: #cccccc;
}

.nice-select.wide {
    width: 73%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #c3c7cc;
    padding: 0 8px;
    color: #333333;
    font-weight: 300;
    font-size: 0.875rem;
}

.nice-select.wide.scroll .list {
    left: 0 !important;
    right: 0 !important;
}

.nice-select.wide .list {
    left: 0 !important;
    right: 0 !important;
}

.nice-select.right {
    float: right;
}

.nice-select.right .list {
    left: auto;
    right: 0;
}

.nice-select.small {
    min-width: 70px;
    font-size: 0.875rem;
    height: 30px;
    line-height: 30px;
    padding: 0 9px;
    border: 1px solid #c3c7cc;
}

.nice-select.small:after{
     content: '';
     display: block;
     pointer-events: none;
     position: absolute;
     top: 50%;
     -webkit-transform-origin: 66% 66%;
     -ms-transform-origin: 66% 66%;
     transform-origin: 66% 66%;
     -webkit-transform: rotate( 0deg);
     -ms-transform: rotate(0deg);
     transform: rotate(0deg);
     -webkit-transition: all 0.15s ease-in-out;
     transition: all 0.15s ease-in-out;
     right: 10px;
     width: 7px;
     height: 4px;
     margin-top: -2px;
     @include sprimg;
     background-position: 38.111% 18.121%;
     border: none;
 }

.nice-select.small .option {
    line-height: 30px;
    min-height: 30px;
}

.nice-select.mid {
    min-width: 70px;
    max-width: 160px;
    font-size: 0.875rem;
    height: 30px;
    line-height: 30px;
    padding: 0 24px 0 9px;
    border: 1px solid #c3c7cc;
}

.nice-select.mid .current{
    min-width: 39px;
    max-width: 129px;
    white-space: nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size: 0.875rem;
    height: 30px;
    line-height: 30px;
}


.nice-select.mid:after{
    content: '';
    display: block;
    pointer-events: none;
    position: absolute;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate( 0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    right: 10px;
    width: 7px;
    height: 4px;
    margin-top: -2px;
    @include sprimg;
    background-position: 38.111% 18.121%;
    border: none;
}

.nice-select.mid .option {
    line-height: 30px;
    min-height: 30px;
}


.nice-select .list {
     background-color: #fff;
     box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
     box-sizing: border-box;
     margin-top: 1px;
     opacity: 0;
     overflow: hidden;
     padding: 0;
     pointer-events: none;
     position: absolute;
     top: 100%;
     left: 0;
     -webkit-transform-origin: 50% 0;
     -ms-transform-origin: 50% 0;
     transform-origin: 50% 0;
     -webkit-transform: scale(0) translateY(-21px);
     -ms-transform: scale(0) translateY(-21px);
     transform: scale(0) translateY(-21px);
     -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
     transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
     z-index: 9;
 }

.nice-select.scroll .list {
   max-height: 230px;
    overflow-y: auto;
}

/*.nice-select .list:hover .option:not(:hover) {*/
    /*background-color: transparent !important;*/
/*}*/

.nice-select .option {
    cursor: pointer;
    font-weight: 300;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
    background-color: #4a81e2;
    color: #ffffff!important;
}

.nice-select .option.selected {
    font-weight: 300;
    color: #4a81e2;
}

.nice-select .option.selected.focus {
    font-weight: bold;
    color: #ffffff;
}

.nice-select .option.disabled {
    background-color: transparent;
    color: #999;
    cursor: default;
}

.no-csspointerevents .nice-select .list {
    display: none;
}

.no-csspointerevents .nice-select.open .list {
    display: block;
}
