#booking_result span {
	color:#349bb1;
	border-bottom: 1px dashed #349bb1;
	cursor: pointer;
}

#calend {
	display: none;
	position: fixed;
	top:0; left:0; width:100%; height: 100%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#calend > div {
	width:385px; /* 55px * 7 */
	display: flex;
	flex-direction: column;
	align-items: stretch;
	box-shadow: 0px 0px 20px #333;
	background-color: #fff;
}


#calend .top {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0 0 0;
	background-color: #f5f5f5;
}
#calend .top span {
	font-size:20px;
	width:200px;
	text-align: center;

	user-select: none;
	-webkit-user-select: none;
}
#calend .top img {
	height:25px;
	padding:10px 20px;
	border-radius: 25px;
}
#calend .top img:hover {
	background-color: aliceblue;
}


#calend .week {
	display: flex;
	background-color: #f5f5f5;
	padding:10px 0;
}
#calend .week span {
	width:55px;
	text-align: center;
	color:#999;
}
#calend .week span.red {
	color:rgb(149, 25, 25);
}


#calend .days {
	display: flex;
	flex-wrap: wrap;
	min-height: 240px; /* 40px * 6 rows (weeks) */
}
#calend .days span {
	display: flex;
	align-items: center;
	justify-content: center;
	width:55px;
	height:40px;
	font-size: 20px;
	user-select: none;
	-webkit-user-select: none;
	color:#999;
}
#calend .days span.today {
	border:6px solid rgba(205, 28, 28, 0.54);
	border-radius: 2px;
	width:43px;
	height:28px;
}
#calend .days span.act {
	color:#000;
}
#calend .days span.act:hover {
	background-color: aliceblue;
}
#calend .days span.selected {
	background-color: #75dbe3;
	color:#000;
}
#calend .days span.selected:hover {
	background-color: #75dbe3;
}


#calend .time_graph {
	display: flex;
	height:30px;
	border-top: 1px solid #EEE;
	padding:10px 15px 20px 15px;
}
#calend .time_graph span {
	position: relative;
	flex:1;
	display: flex;
	align-items: flex-end;
	border-left:2px solid #ccc;
	border-bottom:2px solid #ccc;
	border-top: 0;
}
#calend .time_graph span.half {
	border-left:1px solid #eeeeee80;
}
#calend .time_graph span.unavailable {
	background-color: #ccc;
	opacity: 0.5;
}

#calend .time_graph span label {
	height:16px;
	font-size: 10px;
	position: absolute;
	bottom: -18px;
	left: -11px;
	z-index: 1;
}

#calend .time_graph > span > span {
	display:block;
	background-color: #3499af;
}
#calend .time_graph > span > span.full {
	background-color: #333;
}
#calend .time_graph > span.sel > span {
	background-color: #3499af40;
}
#calend .time_graph > span.sel {
	background-color: #4bff55;
}

#calend .legend {
	text-align: center;
}
#calend .legend label {
	margin:0 10px;
	font-size: 14px;
}
#calend .legend span {
	display:inline-block;
	border:1px solid #3499af;
	width:8px;
	height:8px;
	border-radius: 2px;
}
#calend .legend span.load {
	background-color: #3499af;
}
#calend .legend span.full {
	background-color: #333;
	border:1px solid #333;
}

#calend .form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	padding: 10px 0;
}
#calend .form > div {
	text-align: center;
	padding: 0 0 10px 0;
}
#calend .form select {
	margin:0 8px;
	font-size:large;
	width:200px;
}
#calend .form input {
	border:0;
	padding:8px;
	margin: 0 10px 0 10px;
	border-radius: 4px;
	font-size:16px;
	text-transform: uppercase;
	background-color:#fff;
	color:#333;
	width:120px;
}

#calend .form input.ok {
	background-color: #75dbe3;
	color:#fff;
}

#calend .comment > div {
	display: flex;
	align-items: center;
	margin:4px 12px;
	padding:4px;
	background-color: #f5f47870;
	border-radius: 2px;
	border:1px solid #f5f478;
}

#calend .comment > div span:nth-child(1) {
	font-size: 20px;
	margin:0 10px;
}
#calend .comment > div span:nth-child(2) {
	flex:1;
	font-size: 14px;
}