﻿.ui-datepicker {
    background-color: #ffffff !important;
    border: solid 1px #d0d0d0 !important;
    border-radius: 2px !important;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08) !important;
    font-family: var(--l-b-fontfamily) !important;
    font-weight: 400;
    font-size: var(--l-b-fontsize--m) !important;
    text-align: center;
    padding: 15px 0 !important;
    width: auto !important;
}

    .ui-datepicker th:first-child,
    .ui-datepicker td:first-child {
        padding-left: 30px !important;
    }

    .ui-datepicker th:last-child,
    .ui-datepicker td:last-child {
        padding-right: 30px !important;
    }

.ui-datepicker-calendar {
    table-layout: fixed;
}

.ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
}

.ui-datepicker-prev {
    margin-left: 17px;
}

.ui-datepicker-next {
    margin-right: 7px;
}

.ui-datepicker-prev-hover {
    top: 2px !important;
    left: 2px !important;
}

.ui-datepicker-next-hover {
    top: 2px !important;
    right: 2px !important;
}

.ui-icon.ui-icon-circle-triangle-w {
    position: relative;
    background: none !important;
}

    .ui-icon.ui-icon-circle-triangle-w:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        border-right: 7px solid #000000;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
    }

    .ui-icon.ui-icon-circle-triangle-w:after {
        content: '';
        position: absolute;
        left: 2px;
        top: 2px;
        border-right: 5px solid #fff;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }

.ui-icon.ui-icon-circle-triangle-e {
    position: relative;
    background: none !important;
}

    .ui-icon.ui-icon-circle-triangle-e:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        border-left: 7px solid #000000;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
    }

    .ui-icon.ui-icon-circle-triangle-e:after {
        content: '';
        position: absolute;
        left: 0;
        top: 2px;
        border-left: 5px solid #fff;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }

.ui-datepicker-title {
    color: rgba(0, 0, 0, 0.87);
    font-family: var(--l-b-fontfamily);
    font-weight: 500;
}

.ui-datepicker th,
.ui-datepicker td {
    height: 45px;
    padding: 5px 0 !important;
}

.ui-datepicker th {
    text-align: center !important;
}

    .ui-datepicker th span {
        color: rgba(0, 0, 0, 0.87) !important;
        font-weight: normal !important;
        opacity: 0.7 !important;
        padding: 0 !important;
    }

.ui-datepicker .ui-state-default {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    text-align: center !important;
}

.ui-datepicker :not(.ui-datepicker-current-day) > a.ui-state-default {
    position: relative;
    color: #1ec5ef !important;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
}

    .ui-datepicker :not(.ui-datepicker-current-day) > a.ui-state-default::after {
        position: absolute;
        content: '';
        width: 28px;
        height: 28px;
        border: 1px solid #1ec5ef !important;
        border-radius: 50%;
        left: calc(50% - 15px);
    }

.ui-datepicker .ui-datepicker-current-day > a {
    background: #1ec5ef !important;
    color: rgba(255, 255, 255, 0.87) !important;
    display: inline-block !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
}

.ui-datepicker .ui-datepicker-current-day {
    position: relative;
}

.ui-datepicker td.ui-datepicker-current-day:not(.ui-state-disabled)::after {
    border: solid transparent;
    border-color: rgba(30, 197, 239, 0);
    border-bottom-color: #1ec5ef;
    border-width: 7px;
    margin-left: -7px;
    content: " ";
    position: absolute;
    height: 0;
    width: 0;
    bottom: 0;
    left: 50%;
}

.ui-datepicker td:first-child.ui-datepicker-current-day:not(.ui-state-disabled)::after {
    left: calc(50% + 15px);
}

.ui-datepicker td:last-child.ui-datepicker-current-day:not(.ui-state-disabled)::after {
    left: calc(50% - 15px);
}

.time-slots {
    background-color: #1ec5ef;
    transform-origin: top;
}

    .time-slots td,
    .time-slots td:first-child,
    .time-slots td:last-child {
        padding: 0 !important;
        overflow: hidden;
    }

    .time-slots td {
        position: relative;
    }

.radio {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0;
}

    .radio:focus,
    .tns-item:focus {
        outline: 0;
        outline-offset: 0;
    }

    .radio:checked + .radio-label {
        background-color: #fff;
        color: #1ec5ef;
    }

.radio-label {
    border: solid 1px #ffffff;
    border-radius: 17.5px;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: var(--l-b-fontsize--m);
    line-height: 1.5;
    width: 75px;
    text-align: center;
    user-select: none;
    user-drag: none;
    padding: 5px 0;
    margin: 0 5px;
}

.tiny-slider {
    list-style-type: none;
    white-space: nowrap;
    padding: 0;
    padding-bottom: 48px;
    margin: 0;
    float: left;
}

    .tiny-slider li {
        display: inline-block;
        padding: 7px 0;
    }

.ts-control {
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: -1;
    cursor: pointer;
    border: none !important;
    background-color: transparent !important;
    display: none;
}

    .ts-control::before {
        content: '∟';
        position: absolute;
        top: 50%;
    }

    .ts-control.prev {
        left: 0;
        background-image: linear-gradient(to right, #1ec5ef, #1ec5ef 10px, transparent) !important;
    }

    .ts-control.prev::before {
        left: 10px;
        transform: translateY(-50%) rotate(45deg);
    }

    .ts-control.next {
        right: 0;
        background-image: linear-gradient(to left, #1ec5ef, #1ec5ef 10px, transparent) !important;
    }

    .ts-control.next::before {
        right: 10px;
        transform: translateY(-50%) rotate(225deg);
    }

@media (min-width: 768px) {
    .ts-control {
        z-index: 1;
    }
}