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

    border-radius: 0;
    width: 100%;
    direction: rtl;
    font-size: 20px;
    padding: 0;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    padding: 0 0px 0 48px;
}
.nice-select.form-control:focus, .nice-select.form-control {
    outline: none;
    box-shadow: none;
    border: 0;
}
.nice-select span.current {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: #000;
    font-size: 20px;
    padding: 0 16px;
}
.nice-select:after {
    content: '';
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    background: url(/wp-content/themes/wp-bootstrap-starter-master/img/select.svg) no-repeat center;
    top: -2px;
    left: 0px;
    z-index: 99;
    transform: rotate(0deg);
    transition: .23s;
}

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

.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;
    width: 100%;
}

.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 .list:before {
    content: '';
    display: block;
    width: 100%;
    height: calc(100% - 19px);
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
    z-index: -1;
    border: 0;
}
.nice-select .list {
    gap: 10px;
    display: flex;
    flex-direction: column;
    padding-bottom: 16px !important;
}
.nice-select .option {
    color: #000;
    padding: 0 16px;
    text-align: right;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.field.field--select > p > label:before {
    opacity: 0;
}

@media only screen and (max-width: 991px) {
    .nice-select {
        line-height: 1!important;
    }
    .nice-select:after {
        width: 32px;
        height: 32px;
        background-size: contain;
        top: -6px;
    }
    .nice-select.wpcf7-form-control {
        height: auto;
    }
    .nice-select .list {
        top: calc(100% + 10px);
    }

    .nice-select .list:before {
        height: calc(100% - 5px);
    }
}
