/* ==========================================================================
   Metamorph Pre School — Schedule a Tour page
   Breakpoints: laptop <= 1366px, tablet <= 1024px, mobile <= 767px
   ========================================================================== */

/* ---------- Title banner ---------- */
.tour-hero {
	background-color: var(--accent-8);
}

.tour-hero .page-hero__title {
	color: #0a303a;
	font-family: var(--font-body);
	font-size: 60px;
	letter-spacing: normal;
}

.tour-hero .page-hero__text {
	font-family: var(--font-body);
	font-size: 20px;
	text-align: start;
}

/* ---------- Form ---------- */
.tour {
	padding: 100px 30px 160px;
}

.tour__inner {
	max-width: 1000px;
	margin: 0 auto;
}

.tour-form__fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px -30px;
}

.tour-form__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	margin-bottom: 30px;
	padding: 0 10px;
}

.tour-form__group--half {
	width: 50%;
}

.tour-form__label {
	width: 100%;
	color: var(--accent-3);
	font-size: 15px;
}

.tour-form__input,
.tour-form__select select {
	width: 100%;
	min-height: 47px;
	padding: 6px 16px;
	border: 1px solid #EDEDED;
	border-radius: 4px;
	background-color: #FFFFFF;
	color: rgba(0, 0, 0, .6);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.4;
	outline: none;
}

/* The original textarea group is 8px taller than the field */
.tour-form__textarea {
	margin-bottom: 8px;
	resize: vertical;
}

.tour-form__select {
	position: relative;
	width: 100%;
}

.tour-form__select select {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.tour-form__caret {
	position: absolute;
	top: 50%;
	right: 10px;
	z-index: 1;
	font-size: 11px;
	line-height: 1;
	transform: translateY(-50%);
	pointer-events: none;
}

.tour-form__caret svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: var(--text);
}

.tour-form__option {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	color: var(--accent-3);
}

.tour-form__option input {
	margin: 0 5px 0 0;
}

.tour-form__button {
	min-height: 40px;
	padding: 0 24px;
	border: 0;
	border-radius: 4px;
	background-color: var(--accent-1);
	color: #FFFFFF;
	font-family: var(--font-button);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.tour-form .is-invalid {
	border-color: #D03A39;
}

/* ==========================================================================
   RESPONSIVE — TABLET (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.tour-hero .page-hero__fox img {
		width: 48%;
	}

	.tour {
		padding: 100px 30px 50px;
	}
}

/* ==========================================================================
   RESPONSIVE — MOBILE (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
	.tour-hero .page-hero__title {
		font-size: 44px;
	}

	.tour-hero .page-hero__text {
		font-size: 15px;
		line-height: 1.63em;
	}

	.tour {
		margin-bottom: 70px;
		padding: 50px 20px 70px;
	}

	.tour-form__group--half {
		width: 100%;
	}

	.tour-form__textarea {
		margin-bottom: 14px;
	}
}
