/* Online-Buchung als Vollbild-Overlay (siehe booking-overlay.js) */
.schandl-booking-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2147483000;
	display: flex;
	flex-direction: column;
	background: #fff;
	overscroll-behavior: contain;
}

.schandl-booking-overlay[hidden] {
	display: none;
}

/* Ladeanzeige: liegt hinter dem iframe und verschwindet, sobald die Buchung gezeichnet ist. */
.schandl-booking-overlay::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 3px solid #d9dadb;
	border-top-color: #a1a5a7;
	border-radius: 50%;
	animation: schandl-booking-spin .8s linear infinite;
}

@keyframes schandl-booking-spin {
	to {
		transform: rotate(360deg);
	}
}

.schandl-booking-overlay__bar {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: calc(52px + env(safe-area-inset-top, 0px));
	padding: env(safe-area-inset-top, 0px) calc(8px + env(safe-area-inset-right, 0px)) 0 calc(16px + env(safe-area-inset-left, 0px));
	background: #fff;
	border-bottom: 1px solid #e3e4e5;
}

.schandl-booking-overlay__title {
	font-size: 13px;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #666;
}

#schandl-booking-overlay .schandl-booking-overlay__close {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #222;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

#schandl-booking-overlay .schandl-booking-overlay__close:hover {
	background: #eee;
	color: #222;
}

#schandl-booking-overlay .schandl-booking-overlay__close:focus-visible {
	outline: 2px solid #222 !important;
	outline-offset: 2px;
}

.schandl-booking-overlay__frame {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: block;
	width: 100%;
	min-height: 0;
	border: 0;
	background: transparent;
}

html.schandl-booking-open,
html.schandl-booking-open body {
	overflow: hidden;
}
