﻿/*------ selectbox------------------------------------------------*/

.nice-select {
    -webkit-tap-highlight-color: transparent;
    border-radius: 6px;
    border: solid 1px #eee;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: right;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    height: 41px;
    line-height: 41px;
    background: #f7f9fb;
    color: #666;
    outline: 0;
    padding-right: 42px;
    padding-left: 30px;
    position: relative;
    text-align: right !important;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: 100%;
    z-index: 210
}

    .nice-select:before {
        font-family: Font Awesome\ 5 Pro;
        content: "\f0c9";
        font-size: 12px;
        font-weight: 400;
        position: absolute;
        right: 16px;
        top: 0;
        z-index: 10
    }

    .nice-select:hover {
        border-color: #eee
    }

    .nice-select:after {
        border-bottom: 2px solid #fff;
        border-left: 2px solid #fff;
        content: '';
        display: block;
        height: 5px;
        margin-top: -4px;
        pointer-events: none;
        position: absolute;
        left: 14px;
        top: 50%;
        z-index: 1000;
        -webkit-transform-origin: 34% 66%;
        -ms-transform-origin: 34% 66%;
        transform-origin: 34% 66%;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: all .15s ease-in-out;
        transition: all .15s ease-in-out;
        width: 5px
    }

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

    .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
    }

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

    .nice-select.wide {
        width: 100%
    }

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

    .nice-select.right {
        float: left
    }

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

    .nice-select.small {
        font-size: 12px;
        height: 36px;
        line-height: 34px
    }

        .nice-select.small:after {
            height: 4px;
            width: 4px
        }

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

    .nice-select .list {
        background-color: #fff;
        box-shadow: 0 0 0 1px rgba(68,68,68,.11);
        box-sizing: border-box;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        position: absolute;
        width: 100%;
        right: 0;
        -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform: scale(.75) translateY(-21px);
        -ms-transform: scale(.75) translateY(-21px);
        transform: scale(.75) translateY(-21px);
        -webkit-transition: all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;
        transition: all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;
        z-index: 9
    }

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

        .nice-select .option.focus, .nice-select .option.selected.focus, .nice-select .option:hover {
            background-color: #f6f6f6
        }

        .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
}

.nice-select .list::-webkit-scrollbar {
    width: 0
}

.nice-select .list {
    margin-top: 5px;
    top: 100%;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    max-height: 210px;
    overflow-y: scroll;
    padding: 52px 0 0
}

.nice-select.no-search-select .list {
    padding: 0 !important
}

.nice-select.has-multiple span.current {
    float: right;
    font-size: 10px;
    margin-bottom: 3px;
    margin-left: 3px
}

.nice-select.has-multiple .multiple-options {
    display: block;
    padding: 0
}

.nice-select .nice-select-search-box {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    margin-top: 5px;
    top: 100%;
    right: 0;
    z-index: 8;
    padding: 5px;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    border-radius: 5px 5px 0 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(.75) translateY(-21px);
    -ms-transform: scale(.75) translateY(-21px);
    transform: scale(.75) translateY(-21px);
    -webkit-transition: all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;
    transition: all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out
}

    .nice-select .nice-select-search-box:before {
        font-family: Font Awesome\ 5 Pro;
        content: "\f002";
        position: absolute;
        color: #ccc;
        bottom: 5px;
        font-size: 13px;
        right: 16px;
        font-weight: 400;
        transition: all .2s ease-in-out
    }

.nice-select.no-search-select .nice-select-search-box {
    display: none
}

.nice-select .nice-select-search {
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: none;
    color: #333;
    display: inline-block;
    vertical-align: middle;
    padding: 7px 12px;
    margin: 0 0 0 10px;
    width: 100% !important;
    min-height: 36px;
    line-height: 22px;
    height: auto;
    outline: 0 !important
}

.nice-select.open .nice-select-search-box {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0)
}
