.nice-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    border-radius: 8px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 42px;
    line-height: 40px;
    outline: none;
    padding-left: 8px;
    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: #dbdbdb;
}

.nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: #999;
}

.nice-select:after {
    border-bottom: 2px solid #414346;
    border-right: 2px solid #414346;
    content: '';
    display: block;
    height: 8px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 8px;
}

.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: #cccccc;
}

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

.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 {
    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;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    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.75) translateY(-21px);
    -ms-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) 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 .list:hover .option:not(:hover) {
    background-color: transparent !important;
}

.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    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: #f6f6f6;
}

.nice-select .option.selected {
    font-weight: bold;
}

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

/* custom */
.nice-select .current {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

html[dir="rtl"] .nice-select::after {
    right: auto;
    left: 12px;
}

html[dir="rtl"] .nice-select .current {
    right: 12px;
}

/* search & multiple */
.nice-select .list {
    top: 100%;
    max-height: 320px;
    overflow-y: scroll;
    margin-top: 5px;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

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

.nice-select .nice-select-search-box {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    z-index: 8;
    top: 120%;
    left: 2px;
    opacity: 0;
    width: 99.5%;
    margin-top: 5px;
    padding: 12px 8px;
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    -o-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;
    -webkit-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) translateY(-21px);
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    pointer-events: none;
    border-radius: 8px;
    background: #FFF;
    /*-webkit-box-shadow: 0 0 0 1px rgba(68, 88, 112, 0.11);*/
    /*box-shadow: 0 0 0 1px rgba(68, 88, 112, 0.11);*/
}

.nice-select .nice-select-search {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100% !important;
    height: auto;
    min-height: 36px;
    display: inline-block;
    padding: 8px 8px 8px 36px;
    vertical-align: middle;
    color: #333;
    border: 1px solid #AAADB1;
    border-radius: 8px;
    outline: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    line-height: 22px;

    background-color: #fff;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkgMjAuM0wxMy4zIDE0LjdDMTIuOCAxNS4xIDEyLjIyNSAxNS40MTY3IDExLjU3NSAxNS42NUMxMC45MjUgMTUuODgzMyAxMC4yMzMzIDE2IDkuNSAxNkM3LjY4MzMzIDE2IDYuMTQ2IDE1LjM3MSA0Ljg4OCAxNC4xMTNDMy42MjkzMyAxMi44NTQzIDMgMTEuMzE2NyAzIDkuNUMzIDcuNjgzMzMgMy42MjkzMyA2LjE0NTY3IDQuODg4IDQuODg3QzYuMTQ2IDMuNjI5IDcuNjgzMzMgMyA5LjUgM0MxMS4zMTY3IDMgMTIuODU0MyAzLjYyOSAxNC4xMTMgNC44ODdDMTUuMzcxIDYuMTQ1NjcgMTYgNy42ODMzMyAxNiA5LjVDMTYgMTAuMjMzMyAxNS44ODMzIDEwLjkyNSAxNS42NSAxMS41NzVDMTUuNDE2NyAxMi4yMjUgMTUuMSAxMi44IDE0LjcgMTMuM0wyMC4zMjUgMTguOTI1QzIwLjUwODMgMTkuMTA4MyAyMC42IDE5LjMzMzMgMjAuNiAxOS42QzIwLjYgMTkuODY2NyAyMC41IDIwLjEgMjAuMyAyMC4zQzIwLjExNjcgMjAuNDgzMyAxOS44ODMzIDIwLjU3NSAxOS42IDIwLjU3NUMxOS4zMTY3IDIwLjU3NSAxOS4wODMzIDIwLjQ4MzMgMTguOSAyMC4zWk05LjUgMTRDMTAuNzUgMTQgMTEuODEyNyAxMy41NjI3IDEyLjY4OCAxMi42ODhDMTMuNTYyNyAxMS44MTI3IDE0IDEwLjc1IDE0IDkuNUMxNCA4LjI1IDEzLjU2MjcgNy4xODczMyAxMi42ODggNi4zMTJDMTEuODEyNyA1LjQzNzMzIDEwLjc1IDUgOS41IDVDOC4yNSA1IDcuMTg3MzMgNS40MzczMyA2LjMxMiA2LjMxMkM1LjQzNzMzIDcuMTg3MzMgNSA4LjI1IDUgOS41QzUgMTAuNzUgNS40MzczMyAxMS44MTI3IDYuMzEyIDEyLjY4OEM3LjE4NzMzIDEzLjU2MjcgOC4yNSAxNCA5LjUgMTRaIiBmaWxsPSIjNDE0MzQ2Ii8+Cjwvc3ZnPgo=");
    background-position: 8px 8px;
    background-repeat: no-repeat;
}

.nice-select .nice-select-search:focus {
    border: 1px solid #AAADB1;
    box-shadow: none;
    outline: 0;
}

.nice-select.has-multiple {
    height: auto;
    min-height: 36px;
    padding: 7px 12px;
    white-space: inherit;
    line-height: 22px;
}

.nice-select.has-multiple span.current {
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 3px;
    padding: 0 10px;
    border: 1px solid #CCC;
    border-radius: 3px;
    background: #EEE;
    font-size: 14px;
    line-height: 24px;
}

.nice-select.has-multiple .multiple-options {
    display: block;
    padding: 0;
    line-height: 24px;
}

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

select[data-searchable="true"] + .nice-select .list {
    padding-top: 70px !important;
}