/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gfield {
	border: 1px solid var(--accent-color);
	border-radius: 0.4rem;
	overflow: hidden !important;
	background: var(--white);
	line-height: normal;
}

.gfield:focus-within {
	outline: 2px auto -webkit-focus-ring-color;
}

body .gfield .gfield_label.gform-field-label {
	color: var(--accent-color);
	font-weight: normal;
	font-size: 0.7rem;
	margin-bottom: 0;
	padding-left: 0.6rem;
	width: 100%;
}

.gform_wrapper.gravity-theme .gfield .medium,
.gform_wrapper.gravity-theme .gfield .large {
	padding: 0 0.6rem 0.35rem;
	color: var(--content-color);
	background: var(--white);
	outline: none;
	border: 0 !important;
	/* Prevent border on validation error */
}

.gform_footer {
	position: relative;
	margin-top: 0.7rem;
}

.gform_footer {
	justify-content: center;
}

.gform_button {
	transition: color 0.3s, background-color 0.3s;
	margin: 0.9rem auto 0;
}

.gform_ajax_spinner {
	position: absolute;
	top: 0;
	right: 0.5rem;
	bottom: 0;
	margin: auto;
	border: 0.2em solid rgba(0, 0, 0, 0.4);
	border-left: 0.2em solid #07B084;
	border-radius: 50%;
	width: 1.2em;
	height: 1.2em;
	animation: spin 1.1s infinite linear;
}

.gform_confirmation_message {
	font-family: inherit;
	font-size: 1.1em;
	font-weight: normal;
	padding-bottom: 1rem;
}

.gform_fileupload_rules {
	padding: 0 1rem 1rem;
	font-style: italic;
}

.validation_error p {
	font-size: 0.8rem;
}

.gform_validation_errors {
	padding: 0;
}

.gform_legacy_markup_wrapper div.validation_error,
.gform_legacy_markup_wrapper li.gfield.gfield_error {
	background-color: var(--white);
}

#sidebar button:hover {
	color: var(--white);
}

#sidebar .gform_button::before {
	background-color: var(--accent-color);
}

@media (max-width: 68.49em) {
	#sidebar .gform_button {
		margin-top: 0;
	}
}

/* Validation styling */
.gform_wrapper .gform_validation_errors .gform_submission_error {
	border: none;
	margin: 0;
	font-size: 0.8rem;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
	padding: 0.2rem;
}

.gform_validation_errors p {
	margin: 0;
}

.gfield_error {
	border-color: #c02b0a;
}

.gform_wrapper .validation_message.gfield_validation_message {
	border: none;
	border-top: inherit;
	padding: 0.2rem 0.6rem;
}

.gform_required_legend,
#contact_section .sidebar-form-content {
	display: none;
}

/* Full width contact form */
#contact_section .gform_title {
	text-align: center;
}

#contact_section .gform_description {
	font-size: clamp(0.7rem, 3vw, 0.9rem);
}

#contact_section .contact-emergency {
	display: block;
	margin-bottom: 1rem;
}

#contact_section .gform_footer {
	margin-top: 0;
}

.wide-contact-section h2::before {
	display: none;
}

.gform_fields input {
	color: var(--white);
	padding-left: 3rem !important;
}


@media (prefers-reduced-motion: no-preference) and (min-width: 68.5em) {
	.wide-contact-section .contact-accent circle {
		transform: scale(0.8);
		opacity: 0;
		transition: transform 350ms, opacity 350ms;
		transform-origin: left bottom;
	}

	.wide-contact-section.js-intersected .contact-accent circle {
		opacity: 1;
		transform: scale(1);
		transition-delay: 400ms;
	}

	.wide-contact-section.js-intersected .contact-accent circle:first-of-type {
		transition-delay: 800ms;
	}

	.wide-contact-section.js-intersected .contact-accent circle:last-of-type {
		transition-delay: 0ms;
	}

	.wide-contact-section figure img {
		clip-path: circle(0% at 50% 50%);
		transition: clip-path 1s ease-out;
	}

	.wide-contact-section.js-intersected figure img {
		clip-path: circle(75% at 50% 50%);
	}

	.wide-contact-section.js-intersected figure:last-of-type img {
		transition-delay: 500ms;
	}
}