/* Match Gravity Forms to the theme contact forms when ?test=true. */

.theme-gravity-form .gform_wrapper,
.theme-gravity-form .gform_wrapper.gravity-theme,
.theme-gravity-form .gform_wrapper.gform-theme {
	margin: 0 !important;
	max-width: none !important;
}

.theme-gravity-form .gform_required_legend,
.theme-gravity-form .gform_heading,
.theme-gravity-form .gform_validation_container,
.theme-gravity-form .gf_invisible,
.theme-gravity-form input[type="hidden"] {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.theme-gravity-form .gform_fields,
.theme-gravity-form .gform_body,
.theme-gravity-form .gform-body {
	margin: 0 !important;
	padding: 0 !important;
}

.theme-gravity-form .gform_fields {
	list-style: none !important;
}

.theme-gravity-form .gfield_description,
.theme-gravity-form .gform_confirmation_message,
.theme-gravity-form .validation_message,
.theme-gravity-form .gfield_validation_message {
	font-size: 14px;
	line-height: 1.4;
	margin: 0 0 12px;
}

.theme-gravity-form--stacked .gform_fields {
	display: block !important;
}

.theme-gravity-form--stacked .gfield,
.theme-gravity-form--stacked .ginput_container,
.theme-gravity-form--stacked .ginput_complex,
.theme-gravity-form--stacked .ginput_complex > span {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.theme-gravity-form--stacked .gfield_label,
.theme-gravity-form--stacked .gform-field-label,
.theme-gravity-form--stacked .gform_wrapper label {
	display: block !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 30px !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
}

.theme-gravity-form--stacked input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
.theme-gravity-form--stacked select,
.theme-gravity-form--stacked textarea {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 50px !important;
	margin: 0 0 15px !important;
	padding: 0 12px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5) !important;
	color: #373737 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 30px !important;
}

.theme-gravity-form--stacked textarea {
	height: 90px !important;
	padding-top: 15px !important;
	resize: vertical;
}

.theme-gravity-form--stacked input::placeholder,
.theme-gravity-form--stacked textarea::placeholder {
	color: #9a9b9b !important;
	opacity: 1 !important;
	font-weight: 400 !important;
}

.theme-gravity-form--stacked .gform_footer,
.theme-gravity-form--stacked .gform_page_footer,
.theme-gravity-form--stacked .gform-footer {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

.theme-gravity-form--stacked input[type="submit"],
.theme-gravity-form--stacked button[type="submit"],
.theme-gravity-form--stacked .gform_button {
	display: inline-block !important;
	width: 100% !important;
	height: 63px !important;
	margin: 0 !important;
	padding: 19px 42px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background-color: #fed924 !important;
	box-shadow: none !important;
	color: #373737 !important;
	cursor: pointer;
	font-family: "Montserrat", sans-serif !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: 0.7px !important;
	line-height: 18px !important;
	text-align: center !important;
	text-transform: uppercase !important;
}

.theme-gravity-form--stacked input[type="submit"]:hover,
.theme-gravity-form--stacked button[type="submit"]:hover,
.theme-gravity-form--stacked .gform_button:hover {
	background-color: #e0be16 !important;
	color: #313131 !important;
}

.theme-gravity-form--stacked input[type="checkbox"],
.theme-gravity-form--stacked input[type="radio"] {
	display: inline-block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 8px 0 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

.theme-gravity-form--stacked .gfield--type-consent .gfield_label,
.theme-gravity-form--stacked .gfield--type-checkbox .gfield_label,
.theme-gravity-form--stacked .ginput_container_consent label,
.theme-gravity-form--stacked .gfield_consent_label {
	display: inline !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

.theme-gravity-form--stacked .gform_confirmation_message {
	color: #fff;
}

/* Sidebar forms sit on the light blue panel. */
.inverse-form .theme-gravity-form--inverse {
	background: #56a0d3;
	padding: 30px 20px;
}

.inverse-form .theme-gravity-form--inverse form {
	background: transparent !important;
	padding: 0 !important;
}

.theme-gravity-form--inverse .form-title,
.theme-gravity-form--inverse .form-subtitle,
.theme-gravity-form--inverse .gfield_label,
.theme-gravity-form--inverse .gform-field-label,
.theme-gravity-form--inverse .gform_wrapper label,
.theme-gravity-form--inverse .gform_confirmation_message {
	color: #373737 !important;
}

.theme-gravity-form--inverse input[type="submit"],
.theme-gravity-form--inverse button[type="submit"],
.theme-gravity-form--inverse .gform_button {
	background-color: #18345f !important;
	color: #fff !important;
}

.theme-gravity-form--inverse input[type="submit"]:hover,
.theme-gravity-form--inverse button[type="submit"]:hover,
.theme-gravity-form--inverse .gform_button:hover {
	background-color: #0b5894 !important;
	color: #fff !important;
}

/* Homepage hero form. */
.front-page-form .theme-gravity-form--home .gfield_label,
.front-page-form .theme-gravity-form--home .gform-field-label,
.front-page-form .theme-gravity-form--home .gform_wrapper label,
.front-page-form .theme-gravity-form--home .gform_confirmation_message {
	color: #18345f !important;
}

.theme-gravity-form--home input[type="submit"],
.theme-gravity-form--home button[type="submit"],
.theme-gravity-form--home .gform_button {
	background-color: #18345f !important;
	color: #fff !important;
}

.theme-gravity-form--home input[type="submit"]:hover,
.theme-gravity-form--home button[type="submit"]:hover,
.theme-gravity-form--home .gform_button:hover {
	background-color: #0b5894 !important;
	color: #fff !important;
}

/* 404 sidebar form. */
.theme-gravity-form--compact .gform_fields {
	display: block !important;
}

.theme-gravity-form--compact .gfield,
.theme-gravity-form--compact .ginput_container {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.theme-gravity-form--compact .gfield_label,
.theme-gravity-form--compact .gform-field-label,
.theme-gravity-form--compact .gform_wrapper label {
	display: block !important;
	color: #373737 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: normal !important;
	margin: 0 0 6px !important;
}

.theme-gravity-form--compact input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
.theme-gravity-form--compact select,
.theme-gravity-form--compact textarea {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 0 15px !important;
	padding: 15px 12px !important;
	border: 1px solid #d8d9d9 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #373737 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: normal !important;
}

.theme-gravity-form--compact textarea {
	min-height: 100px !important;
	resize: none;
}

.theme-gravity-form--compact .gform_footer,
.theme-gravity-form--compact .gform-footer {
	margin: 0 !important;
	padding: 0 !important;
}

.theme-gravity-form--compact input[type="submit"],
.theme-gravity-form--compact button[type="submit"],
.theme-gravity-form--compact .gform_button {
	display: inline-block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 19px 42px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background-color: #6c8dbf !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	font-family: "Montserrat", sans-serif !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: 0.7px !important;
	line-height: 18px !important;
	text-align: center !important;
	text-transform: uppercase !important;
}

.theme-gravity-form--compact input[type="submit"]:hover,
.theme-gravity-form--compact button[type="submit"]:hover,
.theme-gravity-form--compact .gform_button:hover {
	background: #416396 !important;
	color: #fff !important;
}

/* Location page bar. */
.theme-gravity-form--location form {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 21px;
	background: none !important;
}

.theme-gravity-form--location .gform_body,
.theme-gravity-form--location .gform-body,
.theme-gravity-form--location .gform_fields {
	display: contents !important;
}

.theme-gravity-form--location .gform_fields {
	gap: 21px;
}

.theme-gravity-form--location .gfield {
	flex: 1 1 280px;
	max-width: 468px;
	margin: 0 !important;
	padding: 0 !important;
}

.theme-gravity-form--location .gfield_label,
.theme-gravity-form--location .gform-field-label,
.theme-gravity-form--location .gform_wrapper label {
	display: block !important;
	color: #fff !important;
	font-family: "Noto Sans", sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 0 6px !important;
}

.theme-gravity-form--location input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
.theme-gravity-form--location select,
.theme-gravity-form--location textarea {
	width: 100% !important;
	height: 60px !important;
	margin: 0 !important;
	padding: 0 25px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: rgba(255, 255, 255, 0.1) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	letter-spacing: 0.32px !important;
	line-height: 60px !important;
}

.theme-gravity-form--location textarea {
	height: 90px !important;
	line-height: 1.4 !important;
	padding-top: 15px !important;
}

.theme-gravity-form--location input::placeholder,
.theme-gravity-form--location textarea::placeholder {
	color: #fff !important;
	opacity: 1 !important;
}

.theme-gravity-form--location .gform_footer,
.theme-gravity-form--location .gform-footer {
	flex: 0 0 160px;
	align-self: flex-end;
	margin: 0 !important;
	padding: 0 !important;
}

.theme-gravity-form--location input[type="submit"],
.theme-gravity-form--location button[type="submit"],
.theme-gravity-form--location .gform_button {
	width: 160px !important;
	height: 60px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 5px !important;
	background-color: #fed924 !important;
	box-shadow: none !important;
	color: #18345f !important;
	cursor: pointer;
	font-family: "Noto Sans", sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	letter-spacing: 1.6px !important;
	line-height: 26px !important;
	text-transform: uppercase !important;
}

.theme-gravity-form--location input[type="submit"]:hover,
.theme-gravity-form--location button[type="submit"]:hover,
.theme-gravity-form--location .gform_button:hover {
	background-color: #e0be16 !important;
	color: #18345f !important;
}

.theme-gravity-form--location .gform_confirmation_message {
	color: #fff;
}

@media (max-width: 767px) {
	.theme-gravity-form--location .gfield,
	.theme-gravity-form--location .gform_footer,
	.theme-gravity-form--location .gform-footer,
	.theme-gravity-form--location input[type="submit"],
	.theme-gravity-form--location button[type="submit"],
	.theme-gravity-form--location .gform_button {
		flex: 1 1 100%;
		max-width: none;
		width: 100% !important;
	}
}
