/* Book a Class button + school popup (program banner) */

.program-banner .book-class {
	margin-top: 25px;
	position: relative;
	z-index: 2;
}

.program-banner .book-class .blue-button {
	display: inline-flex;
	width: auto;
	min-width: 240px;
	text-decoration: none;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
}

.program-banner .book-class .blue-button span {
	background: none !important;
	margin: 0;
	width: auto;
	color: #fff;
}

.program-banner .book-class .blue-button:hover span,
.program-banner .book-class .blue-button:focus-visible span {
	color: #202F79;
}

@media (max-width: 600px) {
	.program-banner .book-class .blue-button {
		display: flex;
		width: 100%;
	}
}

html.book-class-locked {
	overflow: hidden;
}

.book-class-dialog {
	width: min(92vw, 440px);
	max-height: 85vh;
	padding: 35px 30px 30px;
	border: 0;
	border-top-left-radius: 15px;
	border-bottom-right-radius: 15px;
	background: #fff;
	color: #202F79;
	font-family: "Poppins", sans-serif;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(32, 47, 121, 0.25);
}

.book-class-dialog::backdrop {
	background: rgba(32, 47, 121, 0.55);
}

.book-class-dialog [hidden] {
	display: none !important;
}

.book-class-dialog .book-class-close {
	position: absolute;
	top: 10px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	background: none;
	color: #202F79;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.book-class-dialog .book-class-title {
	margin: 0 30px 20px 0;
	padding: 0;
	font-size: 22px;
	line-height: 1.3;
}

.book-class-dialog .book-class-courses {
	display: grid;
	gap: 12px;
}

.book-class-dialog .book-class-course {
	padding: 15px 20px;
	border: 0;
	border-top-left-radius: 15px;
	border-bottom-right-radius: 15px;
	background: #202F79;
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: .4s;
}

.book-class-dialog .book-class-course:hover,
.book-class-dialog .book-class-course:focus-visible {
	background: #29DAC4;
	color: #202F79;
}

.book-class-dialog .book-class-back {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	background: none;
	color: #4D5994;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.book-class-dialog .book-class-state + .book-class-state {
	margin-top: 20px;
}

.book-class-dialog .book-class-state h3 {
	margin: 0 0 8px;
	padding: 0;
	color: #4D5994;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.book-class-dialog .book-class-state ul {
	margin: 0 !important;
	padding: 0;
	list-style: none;
	width: 100% !important;
}

.book-class-dialog .book-class-state li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #D7F4F1;
}

.book-class-dialog .book-class-state li::before {
	display: none;
}

.book-class-dialog .book-class-state a {
	display: block;
	padding: 11px 4px;
	color: #202F79;
	font-weight: 500;
	text-decoration: none;
	transition: .2s;
}

.book-class-dialog .book-class-state a:hover,
.book-class-dialog .book-class-state a:focus-visible {
	padding-left: 10px;
	background: #D7F4F1;
}
