
.nice-select {
    -webkit-tap-highlight-color: transparent;
    background: #fff;
    border: solid 1px #cccccc;
    border-radius: 8px;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    /* custom  */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* custom  */
    float: left;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: normal;
    height: 50px;
    /* 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;
    /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.082); */
}

@media screen and (max-width: 767px){
    .nice-select {
        font-size: .8rem;
        height: 40px;
    }
}

.nice-select:hover {
    border-color: #dbdbdb;
}

.nice-select .current{
    color: var(--theme-secondary-color);
    font-weight: 600;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
    border-color: var(--theme-secondary-color);;
}

.nice-select:after {
    content: '\f107';  /* Unicode for the down arrow icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;  /* Use solid icons */
    display: block;
    height: auto;  /* Adjust height to auto to accommodate the icon size */
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    color: #5d5d5d;
    -webkit-transform: translateY(-50%) rotate(-90deg);  /* For Safari and older browsers */
    -ms-transform: translateY(-50%) rotate(-90deg);  /* For older IE versions */
    transform: translateY(-50%) rotate(-90deg);  /* Standard syntax */
    -webkit-transition: all 0.15s ease-in-out;  /* For Safari and older browsers */
    -moz-transition: all 0.15s ease-in-out;  /* For older Firefox versions */
    -o-transition: all 0.15s ease-in-out;  /* For older Opera versions */
    transition: all 0.15s ease-in-out;  /* Standard syntax */
}


.nice-select.open:after {
    -webkit-transform: rrotate(0) translateY(-50%);
    -ms-transform: rotate(0) translateY(-50%);
    transform: rotate(0) translateY(-50%);
}

.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: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.181);
    box-sizing: border-box;
    margin-top: 10px;
    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;
    border-radius: 8px;
}

/* .nice-select .list:hover .option:not(:hover) {
    background-color: transparent !important;
} */

.nice-select .option {
    cursor: pointer;
    font-weight: 500;
    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 {
   color: var(--theme-secondary-color);
}

.nice-select .option.selected.focus {
    color: white;
    background-color:var(--theme-secondary-color);;
}

.nice-select .option:hover{
    background-color: #eeeeee;
}

/* .nice-select .option.selected.focus:hover{
    color: white !important;
} */
/* .nice-select .option.focus {
    font-weight: bold;
    color: var(--theme-green-color) !important;
} */

.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;
}