.nice-select {
    border: 1px solid #D4D4D4;
    border-radius: 50px;
    outline: 0;
    font-size: 16px;
    height: 46px;
    line-height: 28px;
    color: #989898;
    width: 100%;
    padding: 8px 40px 8px 16px;
    transition: 0.2s linear;
    letter-spacing: 0.8px;
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}

    .nice-select.hour-select:after {
        background: url(../Content/images/hour-selector-icon.svg) no-repeat right 1.4rem center/20px 10px;
    }

.clock-icon .nice-select {
    padding-left: 44px;
    background: url(../Content/images/clock-icon.svg) no-repeat left 0.8rem center/20px 30px;
}

.nice-select span.current {
    height: 28px;
    display: inline-block;
    font-weight: 500;
    overflow: hidden;
}

.nice-select:hover {
    border-color: #dbdbdb;
}

.nice-select.open {
    border-color: #989898;
    border-radius: 20px 20px 0 0;
}

.nice-select:after {
    background: url(../Content/images/chevron_down_nice_select-icon.svg) no-repeat right 1.4rem center/20px 10px;
    content: '';
    position: absolute;
    right: -10px;
    transition: all 0.15s linear;
    height: 100%;
    top: 0;
    width: 50px;
    bottom: 0;
}

.nice-select.open:after {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    right: 4px;
}

li.option.selected.focus:after {
    width: calc(100% - 32px);
    left: 16px;
}

.nice-select.open .list {
    display: block;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    width: calc(100% + 2px);
}

.nice-select.disabled {
    border-color: #D4D4D4;
    color: #989898;
    background: #F0F0F0;
    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: 0 0 20px 20px;
    border: 1px solid #989898;
    margin-top: 0px;
    display: none;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 100%;
    left: -1px;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    z-index: 9;
    max-height: 225px;
    overflow: auto;
}

    .nice-select .list:hover .option:not(:hover) {
        background-color: transparent !important;
    }

.nice-select .option {
    cursor: pointer;
    margin: 0px 16px;
    padding: 8px 16px 8px 0px;
    color: #4f4f4f;
    list-style: none;
    outline: none;
    -webkit-transition: linear 0.2s;
    transition: linear 0.2s;
    position: relative;
    font-weight: 500;
}

.clock-icon .nice-select .option {
    padding: 8px 16px 8px 28px;
}

li.option.selected.focus {
    background: #E9F7F3;
    margin: 0;
    padding: 8px 32px 8px 16px;
}

.clock-icon li.option.selected.focus {
    padding: 8px 32px 8px 44px;
}

.nice-select .option:after {
    border-top: 1px solid #D4D4D4;
    content: '';
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}

.nice-select .option:first-child:after {
    border: 0;
}

.nice-select .option:hover:after {
    border: 0;
}

.nice-select .option:hover {
    background-color: #E9F7F3;
    color: #4F4F4F;
    margin: 0;
    padding: 8px 32px 8px 16px;
}

.clock-icon .nice-select .option:hover {
    padding: 8px 32px 8px 44px;
}

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