﻿.booking-layout {
    display: flex;
    padding: 40px 0;
}

.booking-info {
    border-right: 1px solid #ccc;
    margin-right: 50px;
    padding-right: 50px;
    width: 30%;
}

.info-des {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 20px;
}

.info-content p {
    margin-bottom: 5px;
}

.info-ttl {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.info-opt-itm {
    padding-left: 30px;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 15px;
}

    .info-opt-itm:nth-child(1) {
        background: url(/W_images/ico-clock.png) no-repeat left bottom;
        background-size: 20px;
    }

    .info-opt-itm:nth-child(2) {
        background: url(/W_images/ico-facetime.png) no-repeat left 5px;
        background-size: 22px;
    }

    .info-opt-itm:nth-child(3) {
        background: url(/W_images/ico-calendar.png) no-repeat left 5px;
        background-size: 22px;
        color: #8d9de8;
    }

.calendar-layout {
    width: 65%;
    display: flex;
}

.calendar {
    width: 400px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header-ttl {
    font-size: 19px;
    padding-left: 12px;
}

.calendar-header-btn button {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: none;
    cursor: pointer;
}

    .calendar-header-btn button:hover {
        background: #e0e0e0;
    }

.btn-previous:before {
    content: "";
    position: absolute;
    top: 15px;
    right: 13px;
    border: 4px solid transparent;
    border-left: 2px solid #a0a0a0;
    border-top: 2px solid #a0a0a0;
    padding: 2px;
    transform: rotate(-45deg);
}

.btn-next:before {
    content: "";
    position: absolute;
    top: 15px;
    left: 13px;
    border: 4px solid transparent;
    border-right: 2px solid #a0a0a0;
    border-top: 2px solid #a0a0a0;
    padding: 2px;
    transform: rotate(45deg);
}

.calendar-head {
    display: flex;
    justify-content: space-between;
}

    .calendar-head p {
        width: calc(100%/7 - 0px);
        text-align: center;
        font-size: 14px;
    }

.calendar-month {
    display: flex;
    flex-wrap: wrap;
}

.calendar-day {
    width: calc(100%/7 - 0px);
    height: 35px;
    text-align: center;
    margin-bottom: 15px;
    overflow: hidden;
}

    .calendar-day button {
        position: relative;
        text-indent: -99999px;
        background: none;
        width: 35px;
        height: 35px;
        text-align: center;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .calendar-day span {
        font-size: 15px;
    }

    .calendar-day.day button {
        text-indent: 0
    }

    .calendar-day.today button:after {
        content: "";
        position: absolute;
        left: calc(50% - 2px);
        bottom: 3px;
        background: #ccc;
        padding: 2px;
        border-radius: 10px;
    }

    .calendar-day.active button {
        background: #b4bbdc;
        color: #fff;
        cursor: pointer;
    }

        .calendar-day.active button.select {
            background: #8d9de8;
        }

    .calendar-day.today.active button:after {
        background: #fff;
    }

.booking-time {
    width: 320px;
    margin-left: 70px;
    display: none;
}

.booking-time-list {
    height: 350px;
    margin-bottom: 25px;
    width: 100%;
    overflow-y: scroll;
    padding-right: 30px;
}

.booking-time-scroll {
    min-height: 350px;
}
/*.booking-time-list::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);border-radius: 10px;background-color: none;}*/
.booking-time-list::-webkit-scrollbar {
    width: 7px;
    background-color: none;
}

.booking-time-list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #adadad;
}

.time-item {
    display: flex;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

    .time-item .btn-book {
        width: 100%;
        background: none;
        border: 1px solid #8d9de8;
        font-weight: 600;
        border-radius: 5px;
        padding: 10px 5px;
        cursor: pointer;
        transition: all 0.5s ease;
    }

.btn-confirm {
    position: absolute;
    top: 0;
    right: -100%;
    background: #8d9de8;
    color: #fff;
    width: 100%;
    border: 1px solid #8d9de8;
    border-radius: 5px;
    padding: 10px 5px;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.5s ease;
}

    .btn-confirm:hover {
        background: #5160a5;
    }

.time-item.active .btn-confirm {
    position: relative;
    right: 0;
}

.form-confirm-layout {
    width: 65%;
}

.form-confirm {
    max-width: 400px;
}

.form-ttl {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 22px;
}

.form-group span {
    font-weight: 600;
}

.form-group .form-input {
    margin: 5px 0 20px;
}

.form-input input, .form-input textarea {
    width: 100%;
    border: 1px solid #adadad;
    padding: 5px;
    font-family: 'UTMAvo','roboto';
}

.btn-send, .btn-back {
    background: #8e3733;
    padding: 5px 20px;
    color: #fff;
    border: none;
    font-size: 17px;
    cursor: pointer;
    margin-right: 40px;
}

.action-back {
    margin-bottom: 10px;
}

.loader-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffffe8;
    z-index: 99999;
}

.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #bdbdbd;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

@media screen and (max-width:640px) {
    .booking-layout {
        display: block;
    }

    .booking-info, .calendar-layout {
        width: 100%;
        padding: 0;
        border: none;
        margin-bottom: 20px;
        display: block;
    }

    .booking-time-list {
        padding-right: 0;
    }

    .booking-time {
        margin: 0;
        width: 100%;
    }

    .booking-time-scroll {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .time-item {
        width: 47%;
    }

    .form-confirm-layout {
        width: 100%;
    }
}
