/*
 * Course Calendar / Register page (/course-calendar-register/, page 3962).
 * Hero, typography and form card come from inner-page.css (page is listed in
 * cra_sections()). This file: responsive calendar and a compact form layout.
 */

/* ---------- Google Calendar embed: full width card, responsive height ---------- */
.page-id-3962 .elementor-element-8ae3165 .elementor-shortcode {
	overflow: hidden;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fff;
	line-height: 0;
}
.page-id-3962 .elementor-element-8ae3165 iframe {
	display: block;
	width: 100% !important;
	height: 640px !important;
	border: 0 !important;
}

/* Space between the calendar and the enrollment form */
.page-id-3962 .elementor-element-ccbf2f6 {
	margin-top: 32px !important;
}

/* ---------- Enrollment form: 2- and 3-column rows instead of one long column ---------- */
.page-id-3962 .elementor-element-aadd5db .elementor-form-fields-wrapper {
	row-gap: 4px;
}
/* halves: name, email, phone, date of birth */
.page-id-3962 .elementor-field-group-name,
.page-id-3962 .elementor-field-group-email,
.page-id-3962 .elementor-field-group-field_0e42e24,
.page-id-3962 .elementor-field-group-field_e309dbb {
	flex: 0 0 50% !important;
	width: 50% !important;
	max-width: 50% !important;
}
/* thirds: apt / city / state, and course date / requested level / current level */
.page-id-3962 .elementor-field-group-field_067d629,
.page-id-3962 .elementor-field-group-field_b7ee40f,
.page-id-3962 .elementor-field-group-field_9bdd505,
.page-id-3962 .elementor-field-group-field_ef14eff,
.page-id-3962 .elementor-field-group-field_63de9d8,
.page-id-3962 .elementor-field-group-field_5df40dc {
	flex: 0 0 33.3333% !important;
	width: 33.3333% !important;
	max-width: 33.3333% !important;
}
/* labels of the course row are long: keep them on one line where possible */
.page-id-3962 .elementor-field-group-field_63de9d8 .elementor-field-label,
.page-id-3962 .elementor-field-group-field_5df40dc .elementor-field-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* date field: same look as the text fields */
.page-id-3962 .elementor-element-aadd5db input[type="date"] {
	min-height: 48px;
	font-family: "Poppins", sans-serif !important;
}
.page-id-3962 .elementor-element-aadd5db textarea {
	min-height: 120px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.page-id-3962 .elementor-field-group-field_63de9d8 .elementor-field-label,
	.page-id-3962 .elementor-field-group-field_5df40dc .elementor-field-label {
		white-space: normal;
	}
}

/* ---------- Mobile: one column ---------- */
@media (max-width: 767px) {
	.page-id-3962 .elementor-element-8ae3165 iframe {
		height: 520px !important;
	}
	.page-id-3962 .elementor-element-aadd5db .elementor-field-group {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* ---------- Remove the orange bands / diagonal shapes behind headings and calendar ---------- */
.page-id-3962 .elementor-element-d198bbb,
.page-id-3962 .elementor-element-5d11a8c,
.page-id-3962 .elementor-element-ccbf2f6,
.page-id-3962 .elementor-element-ee36db8 {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.page-id-3962 .elementor-element-d198bbb::before,
.page-id-3962 .elementor-element-5d11a8c::before,
.page-id-3962 .elementor-element-ccbf2f6::before,
.page-id-3962 .elementor-element-ee36db8::before,
.page-id-3962 .elementor-element-d198bbb > .elementor-background-overlay,
.page-id-3962 .elementor-element-5d11a8c > .elementor-background-overlay,
.page-id-3962 .elementor-element-ccbf2f6 > .elementor-background-overlay {
	display: none !important;
}
.page-id-3962 [data-elementor-type="wp-page"] .elementor-shape {
	display: none !important;
}
.page-id-3962 .elementor-element-d198bbb .elementor-widget-heading,
.page-id-3962 .elementor-element-ccbf2f6 .elementor-widget-heading {
	margin-bottom: 16px !important;
}

/* ---------- Full-width submit button, like the other forms ---------- */
.page-id-3962 .elementor-element-aadd5db .elementor-field-type-submit {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 8px;
}
.page-id-3962 .elementor-element-aadd5db .elementor-field-type-submit .elementor-button {
	width: 100% !important;
	justify-content: center;
}
