.sts_datetime_select {
    position: relative;
}
.sts_datetime_select.opened {
    z-index: 2;
}
.sts_datetime_select_butt {
    font-size: 1.25em;
    background-color: transparent;
    color: #000000;
    box-sizing: border-box;
    border: 0.1em solid #A5A5A5;
    border-radius: 0.9em;
    display: flex;
    height: 2.5em;
    width: 100%;
    padding: 0.5em 1em 0.5em 3em;
    font-weight: 500;
    cursor: pointer;
    background-size: auto 1.5em;
    background-repeat: no-repeat;
    background-image: url(img/calendar-000.svg);
    background-position: 0.75em center;
    transition-property: border-color;
    transition-duration: 0.3s;
}

.sts_datetime_select.opened .sts_datetime_select_butt,
.sts_datetime_select_butt:hover {
    border-color: #FF5F25;
}
.sts_datetime_select_butt_date {
    display: flex;
    align-items: center;
    height: 100%;
    flex-grow: 1;
    box-sizing: border-box;
    width: 67%;
}
.sts_datetime_select_butt_time {
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    width: 33%;
    text-align: right;
    justify-content: flex-end;
}
.sts_datetime_select_butt_time:not(:first-child) {
    border-left: 0.1em solid #A5A5A5;
}
.sts_datetime_select_placeholder {
    font-size: 0.8em;
    opacity: 0.5;
}
.sts_datetime_select_popup {
    position: absolute;
    background-color: #ffffff;
    border-radius: 1.125em;
    color: #000000;
    box-shadow: 0 0.25em 1.625em 0 rgba(0, 0, 0, 0.08);
    left: 0;
    top: calc(100% + 0.5em);
    display: flex;
    visibility: hidden;
    transform: translateY(1em);
    opacity: 0;
    transition-property: visibility, transform, opacity, left;
    transition-duration: 0.3s;
}
.sts_datetime_select.opened .sts_datetime_select_popup {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.sts_datetime_select_calendar {
    padding: 1.5em;
    box-sizing: border-box;
    width: 24.5em;
}
.sts_datetime_select_calendar_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sts_datetime_select_calendar_head:not(:last-child) {
    margin-bottom: 0.5em;
}
.sts_datetime_select_calendar_title {
    font-weight: 600;
    font-size: 1.25em;
}



.sts_datetime_select_calendar_prev_butt,
.sts_datetime_select_calendar_next_butt {
    display: block;
    font-size: inherit;
    box-sizing: border-box;
    border-radius: 50%;
    color: transparent;
    overflow: hidden;
    border: none;
    background-color: #DEDEDE;
    padding: 0;
    outline: none;
    background-image: url(../../img/slick-slider/slick-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    z-index: 1;
    width: 2em;
    height: 2em;
    transition-property: background-color, background-image;
    transition-duration: 0.3s;
}
.sts_datetime_select_calendar_prev_butt:hover,
.sts_datetime_select_calendar_next_butt:hover {
    background-image: url(../../img/slick-slider/slick-next-hover.svg);
}
.sts_datetime_select_calendar_prev_butt:active,
.sts_datetime_select_calendar_next_butt:active {
    background-color: #ff5f25;
    background-image: url(../../img/slick-slider/slick-next-active.svg);
}
.sts_datetime_select_calendar_prev_butt {
    transform: scaleX(-1);
}




.sts_datetime_select_calendar_table {
    border-collapse: collapse;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #AAAAAA;
}
.sts_datetime_select_calendar_table td {
    padding: 0.25em;
    box-sizing: border-box;
    height: 3em;
}
.sts_datetime_select_calendar_table td:first-child {
    border-left: 0;
}
.sts_datetime_select_calendar_table td:last-child {
    border-right: 0;
}
.sts_datetime_select_date_butt {
    font-size: inherit;
    width: 2.5em;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25em;
    color: #000000;
    border: none;
    background-color: #F7F7F7;
    cursor: pointer;
}
.sts_datetime_select_date_butt:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.sts_datetime_select_date_butt:not(:disabled, .active):hover {
    background-color: rgba(255, 107, 0, 0.30);
}
td:nth-child(6) .sts_datetime_select_date_butt,
td:nth-child(7) .sts_datetime_select_date_butt {
    color: #EC2A4D;
}
.sts_datetime_select_date_butt.active {
    background-color: #FF5F25;
    color: #ffffff !important;
}


.sts_datetime_select_times {
    border-radius: 0 1.125em 1.125em 0;
    background: #F3F3F3;
    box-shadow: 0 0.25em 1.625em 0 rgba(0, 0, 0, 0.08);
    z-index: 1;
    position: relative;
    width: 17.5em;
}
.sts_datetime_select_times:not(.showed) {
    display: none;
}
.sts_datetime_select_times_head {
    padding: 1.5em;
}
.sts_datetime_select_times_title {
    font-weight: 600;
}
.sts_datetime_select_times_title:not(:last-child) {
    margin-bottom: 0.5em;
}
.sts_datetime_select_times_desc {
    font-size: 0.875em;
    font-weight: 500;
    opacity: 0.5;
    padding-left: 1.86em;
    background-image: url('img/clock.svg');
    background-size: 1.29em auto;
    background-repeat: no-repeat;
    background-position: left top;
}
.sts_datetime_select_times_head:not(:last-child) {
    padding-bottom: 0;
}
.sts_datetime_select_times_head:not(:last-child):after {
    content: '';
    display: block;
    opacity: 0.2;
    border-bottom: 1px dashed #000000;
    margin-top: 1.5em;
}
.sts_datetime_select_times_groups {
    overflow-y: auto;
    padding: 1.5em;
    box-sizing: border-box;
    max-height: 21.75em;
    scrollbar-width: thin;
}
.sts_datetime_select_times_group:not(:last-child) {
    margin-bottom: 1.75em;
}
.sts_datetime_select_times_group_title {
    font-weight: 600;
    font-size: 0.875em;
}
.sts_datetime_select_times_group_title:not(:last-child) {
    margin-bottom: 0.625em;
}
.sts_datetime_select_time_items {
    display: flex;
    flex-wrap: wrap;
    margin: -0.25em -0.125em;
}
.sts_datetime_select_time_item {
    margin: 0.25em 0.125em;
    box-sizing: border-box;
    padding: 0.5em;
    border-radius: 0.5em;
    text-align: center;
    background-color: #E8E8E8;
    cursor: pointer;
    border: none;
    width: calc(50% - 0.25em);
    min-height: 3em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000000;
}
.sts_datetime_select_time_item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.sts_datetime_select_time_item:not(.active):not(:disabled):hover {
    background-color: rgba(255, 107, 0, 0.30);
}
.sts_datetime_select_time_item.active {
    background-color: #FF5F25;
    color: #ffffff;
}
.sts_datetime_select_time_item_title {
    width: 100%;
    font-size: 0.875em;
    font-weight: 500;
}
.sts_datetime_select_time_item_desc {
    width: 100%;
    opacity: 0.4;
    font-size: 0.75em;
    font-weight: 500;
}
@media(max-width: 686px) {
    .sts_datetime_select_popup {
        display: block;
        width: max-content;
        overflow: hidden;
    }
    .sts_datetime_select_times {
        height: 100%;
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 2;
        visibility: hidden;
        opacity: 0;
        transition-property: visibility, opacity;
        transition-duration: 0.3s;
    }
    .sts_datetime_select_times.showed_by_date_click {
        opacity: 1;
        visibility: visible;
    }
}