/*
 * Gravity Forms overrides for the "Inquire" footer.
 *
 * Every rule is scoped under the #inquire-themed ID so it outranks Gravity
 * Forms' own class-based (Orbital theme) selectors on specificity alone. This
 * lets us override the plugin's styles without any !important declarations.
 * The ID also keeps these rules from affecting the form in footer.php.
 */

#inquire-themed .gform_wrapper {
	max-width: 600px;
	margin: 0 auto;
	padding-bottom: 8rem;
}

#inquire-themed .gform_wrapper .gform_fields {
	display: block;
	grid-template-columns: none;
	grid-gap: 0;
	gap: 0;
}

#inquire-themed .gform_wrapper .gfield {
	margin-bottom: 20px;
	padding: 0;
}

#inquire-themed .gform_wrapper .gfield_required_text {
	display: none;
}

#inquire-themed .gform_wrapper .gfield_label {
	visibility: hidden;
	position: absolute;
	height: 0;
	margin: 0;
	overflow: hidden;
}

#inquire-themed .gform_wrapper .gfield input:not([type="checkbox"]):not([type="radio"]),
#inquire-themed .gform_wrapper .gfield select,
#inquire-themed .gform_wrapper .gfield textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	margin: 0;
	padding-right: 10px;
	padding-left: 10px;
	background-color: rgba(0, 0, 0, 0);
	border: 1px solid #fff;
	border-radius: 0;
	color: #fff;
	font-size: 16px;
	font-family: "Basis Grotesque", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: normal;
}

#inquire-themed .gform_wrapper .gfield textarea {
	height: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	resize: vertical;
}

#inquire-themed .gform_wrapper .gfield input::placeholder,
#inquire-themed .gform_wrapper .gfield textarea::placeholder {
	color: #fff;
	opacity: 1;
}

#inquire-themed .gform_wrapper .gfield select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#inquire-themed .gform_wrapper .gfield input[type="checkbox"],
#inquire-themed .gform_wrapper .gfield input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	position: relative;
	width: 16px;
	height: 16px;
	margin: 2px 8px 0 0;
	padding: 0;
	background-color: rgba(0, 0, 0, 0);
	background-image: none;
	border: 1px solid #fff;
	border-radius: 0;
	box-shadow: none;
	vertical-align: top;
	cursor: pointer;
}

#inquire-themed .gform_wrapper .gfield input[type="radio"] {
	border-radius: 50%;
}

#inquire-themed .gform_wrapper .gfield input[type="checkbox"]:checked,
#inquire-themed .gform_wrapper .gfield input[type="radio"]:checked {
	background-color: #fff;
	background-image: none;
}

#inquire-themed .gform_wrapper .gfield input[type="checkbox"]::before,
#inquire-themed .gform_wrapper .gfield input[type="radio"]::before {
	content: none;
	display: none;
}

#inquire-themed .gform_wrapper .gfield input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 4px;
	width: 4px;
	height: 8px;
	border: solid #000;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

#inquire-themed .gform_wrapper .gfield input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #000;
}

#inquire-themed .gform_wrapper .gfield .gchoice,
#inquire-themed .gform_wrapper .gfield .ginput_container_consent {
	display: flex;
	align-items: flex-start;
}

#inquire-themed .gform_wrapper .gfield .gfield_consent_label .title {
	font-size: 14px;
	line-height: 1.25;
}

#inquire-themed .gform_wrapper .gfield .gchoice label,
#inquire-themed .gform_wrapper .gfield .gfield_consent_label,
#inquire-themed .gform_wrapper .gfield .gfield_consent_description {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: #fff;
	font-size: 16px;
	font-family: "Basis Grotesque", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1.25;
}

#inquire-themed .gform_wrapper .gfield .gchoice label a,
#inquire-themed .gform_wrapper .gfield .gfield_consent_label a,
#inquire-themed .gform_wrapper .gfield .gfield_consent_description a {
	color: #fff;
	text-decoration: underline;
}

#inquire-themed .gform_wrapper .gfield input:focus,
#inquire-themed .gform_wrapper .gfield select:focus,
#inquire-themed .gform_wrapper .gfield textarea:focus {
	outline: none;
	border-color: #fff;
}

#inquire-themed .gform_wrapper .gform_footer {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 20px 0 0;
}

#inquire-themed .gform_wrapper .gform_footer input[type="submit"],
#inquire-themed .gform_wrapper .gform_footer button {
	display: inline-block;
	width: auto;
	height: auto;
	padding: 10px 20px;
	background-color: transparent;
	border: 1px solid #fff;
	border-radius: 0;
	color: #fff;
	font-size: 12px;
	font-family: "Basis Grotesque", Helvetica, Arial, sans-serif;
	font-weight: 500;
	line-height: 1em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s linear, color 0.2s linear;
}

#inquire-themed .gform_wrapper .gform_footer input[type="submit"]:hover,
#inquire-themed .gform_wrapper .gform_footer button:hover {
	background-color: #fff;
	color: #C07A51;
}

#inquire-themed .gform_wrapper .gfield_validation_message,
#inquire-themed .gform_wrapper .validation_message {
	margin-top: 5px;
	padding: 0;
	background: none;
	border: 0;
	color: #C07A51;
	font-size: 13px;
	font-family: "Basis Grotesque", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1.4;
}

#inquire-themed .gform_wrapper .gform_validation_errors {
	display: none;
}

#inquire-themed .gform_wrapper .gfield_error input,
#inquire-themed .gform_wrapper .gfield_error select,
#inquire-themed .gform_wrapper .gfield_error textarea {
	border-color: #C07A51;
}

#inquire-themed .gform_wrapper .form-download {
	margin: 3rem auto;
	text-align: center;
}

#inquire-themed .gform_confirmation_message {
	color: #fff;
	font-size: 16px;
	font-family: "Basis Grotesque", Helvetica, Arial, sans-serif;
}
