﻿.booking {
    position: relative;
    margin: 30px 0;
}
#booking_nav {
    display: flex;
    justify-content: space-between;
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid var(--pink);
    z-index: 99;
    background: white;
}

.service-block {
    border: 1px solid var(--main-gray);
    border-radius: 15px;
    margin: 10px 0;
    padding: 10px;
    cursor: pointer;
}
.service-block.active {
    border: 1px solid #000;
    background: #DDD;
}
.service-block .info {
    display: flex;
    justify-content: space-between;
}
.service-block .more {
    font-size: var(--text-small);
}
.service-block .large-checkbox {
    width: 20px;
    height: 20px;
}
.book {
    min-width: 100px;
    text-align: right;
}

.chosen-services {
    background: var(--green-light);
    margin-top: 10px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
}
.chosen-services .total-time {

}
.chosen-services .services {

}

.calendar-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.picker {
    width: 60%;
    padding: 10px;
}
.time-block {
    width: 30%;
    padding: 10px;
    text-align: center;
}
.time-block h5 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.picker_header {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 10px 12px;
    line-height: 40px;
    max-width: 700px;
}
.picker_header .month, .picker_header .year {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    margin: 0 4px;
    display: inline-block;
}
.picker_header .nav--prev, .picker_header .nav--next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 1px solid var(--green-dark);
    color: var(--green-dark);
    border-radius: 4px;
    line-height: 36px;
    font-size: 24px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
}
.picker_header .nav--prev:hover:not(.disabled), .picker_header .nav--next:hover:not(.disabled) {
    border: 1px solid var(--green-dark);
    background: var(--green-dark);
    color: white;
}
.picker_header .nav--prev.disabled, .picker_header .nav--next.disabled {
    color: #d9d9d9;
    border-color: #d9d9d9;
    cursor: not-allowed;
}
.picker_header .nav--prev {
    left: 0;
}
.picker_header .nav--next {
    right: 0;
}
.picker_header .nav--prev:before {
    content: "‹";
}
.picker_header .nav--next:before {
    content: "›";
}





.CalendarTable * {
	border: 0px;
	padding: 0px;
}
.CalendarTable {
    font-family: Verdana, sans-serif;
    border: 2px solid var(--lighter-gray);
	margin: 0 auto 20px;
	font-size: 20px;
	border-collapse: separate;
    width: 100%;
    max-width: 700px;
}
.CalendarTable td .today {
	color: black !important;
}
.CalendarTable td .today:after {
    content: "";
    position: absolute;
    top: 70%;
    left: 25%;
    width: 20px;
    margin-left: 0;
    border-bottom: 1px solid var(--green);
}
.CalendarTable td .day {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    font-weight: 500;
    font-size: 14px;
    line-height: 38px;
    text-align: center;
    color: var(--lighter-gray);
}
.CalendarTable td .available {
    font-weight: bold;
    cursor: pointer;
    border: 2px solid var(--green);
    border-radius: 50% 50%;
	color: black !important;
}
.CalendarTable td .available:hover, .CalendarTable td .active {
    background: var(--green);
}
.CalendarTable th {
	height: 30px;
	font-weight: bold;
	font-size: 14px;
}

.CalendarTable td, th {
	text-align: center;
	vertical-align: middle;
    padding: 5px 0;
	color: #444;
	position: relative;
    width: 14.2%;
}
.appointment-time {
    margin: 0 8px 8px 0;
    width: 140px;
}

.text_head {
    color: var(--light-gray);
}
.booking-info {
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0;
}
.booking-details {
    padding: 10px;
    order: 1;
}
.booking-order {
    background: var(--green-light);
    padding: 10px;
    order: 2;
}
.info_block {
    margin: 10px 0;
}

.booking-new, .booking-done {
    margin: 40px 5px;
}

@media screen and (max-width:767px) {
    .booking-info {
        flex-direction: column;
    }
    .booking-details {
        order: 2;
    }
    .booking-order {
        order: 1;
    }
    .chosen-services {
        flex-direction: column;
    }
    .calendar-wrap {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .picker {
        width: 100%;
    }
    .time-block {
        width: 100%;
        text-align: left;
    }
}
