.nice-select {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    outline: none;
    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;

    font-weight: 300;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    padding: 0 5px 0 33px;
    color: var(--color-grey);
}

.nice-select:after {
    content: '';
    display: block;
    position: absolute;
    width: 18px;
    height: 18px;
    background: url(/wp-content/themes/wp-bootstrap-starter-master/img/lang.svg) no-repeat center;
    top: 4px;
    left: 5px;
    z-index: 99;
}

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

li.option.selected.focus {
    display: none;
}

.nice-select .list {
    box-sizing: border-box;
    margin: 0;
    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.open .list {
    list-style: none;
    opacity: 1;
    overflow: visible;
    padding: 5px 0 5px;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

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

.nice-select span.current {
    position: relative;
    z-index: 99;
}

.nice-select.open .list:before {
    content: '';
    display: block;
    width: 100%;
    height: calc(100% + 24px);
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}

.nice-select .option {
    color: var(--color-grey);
    padding: 0 5px 0 33px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
