/*
 * NTM Gravity Form Steps — loaded only on pages that use the widget.
 * Restyles the Gravity Forms markup inside .ntm-gfs (doubled class for enough
 * specificity over Gravity Forms' own theme CSS). Nothing outside .ntm-gfs is touched.
 * Colors/sizes run through CSS variables set by the widget's Style controls.
 */

.ntm-gfs {
	--ntm-gfs-on: #6EB8BB;
	--ntm-gfs-off: #CFE0E5;
	--ntm-gfs-bar-h: 4px;
	--ntm-gfs-bar-r: 2px;
	--ntm-gfs-choice-gap: 10px;
	--ntm-gfs-choice-h: 54px;
	--ntm-gfs-choice-px: 18px;
	--ntm-gfs-choice-r: 14px;
	--ntm-gfs-choice-color-normal: #333330;
	--ntm-gfs-choice-bg-normal: #FBFDFD;
	--ntm-gfs-choice-border-normal: #D9E8EB;
	--ntm-gfs-choice-color-hover: var(--ntm-gfs-choice-color-normal);
	--ntm-gfs-choice-bg-hover: #FFFFFF;
	--ntm-gfs-choice-border-hover: #A9D3D5;
	--ntm-gfs-choice-color-selected: #00355E;
	--ntm-gfs-choice-bg-selected: #FFFFFF;
	--ntm-gfs-choice-border-selected: #6EB8BB;
	--ntm-gfs-input-color: #2B2B2B;
	--ntm-gfs-input-ph: #7A7A76;
	--ntm-gfs-input-bg: #FFFFFF;
	--ntm-gfs-input-border: #CFE0E3;
	--ntm-gfs-input-focus: #6EB8BB;
	--ntm-gfs-input-h: 54px;
	--ntm-gfs-input-r: 16px;
	--ntm-gfs-field-gap: 12px;
	--ntm-gfs-btn-h: 50px;
	--ntm-gfs-btn-r: 999px;
	--ntm-gfs-btn-w: 100%;
	--ntm-gfs-btn-color-normal: #FFFFFF;
	--ntm-gfs-btn-bg-normal: #6EB8BB;
	--ntm-gfs-btn-color-hover: #FFFFFF;
	--ntm-gfs-btn-bg-hover: #4FA3A7;
	--ntm-gfs-btn-color-locked: #FFFFFF;
	--ntm-gfs-btn-bg-locked: #9FBCC5;
	--ntm-gfs-footer-gap: 16px;
	--ntm-gfs-error: #B42318;
	--ntm-gfs-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ntm-gfs-serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;

	box-sizing: border-box;
	max-width: 340px;
	padding: 28px 26px 26px;
	background-color: #F4FAFB;
	background-image: linear-gradient(160deg, #F4FAFB 0%, #E9F4F5 100%);
	border: 1px solid #D5E7EC;
	border-radius: 22px;
	font-family: var(--ntm-gfs-ui);
}
.ntm-gfs *,
.ntm-gfs *::before,
.ntm-gfs *::after { box-sizing: border-box; }

/* ---------- Progress ---------- */
.ntm-gfs .ntm-gfs__progress { display: flex; gap: 7px; margin: 0 0 20px; }
.ntm-gfs .ntm-gfs__seg {
	flex: 1 1 0;
	height: var(--ntm-gfs-bar-h);
	border-radius: var(--ntm-gfs-bar-r);
	background: var(--ntm-gfs-off);
	transition: background-color .35s ease;
}
.ntm-gfs .ntm-gfs__seg.is-done { background: var(--ntm-gfs-on); }

/* ---------- Header ---------- */
.ntm-gfs .ntm-gfs__header { margin: 0 0 18px; }
.ntm-gfs .ntm-gfs__header[hidden],
.ntm-gfs [hidden] { display: none !important; }
.ntm-gfs .ntm-gfs__eyebrow {
	margin: 0 0 12px;
	font-family: var(--ntm-gfs-ui);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #6C8E96;
}
.ntm-gfs .ntm-gfs__heading {
	margin: 0 0 4px;
	padding: 0;
	font-family: var(--ntm-gfs-serif);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.2px;
	color: #00355E;
}
.ntm-gfs .ntm-gfs__sub {
	margin: 0;
	font-family: var(--ntm-gfs-serif);
	font-size: 15px;
	line-height: 1.55;
	color: #5F605B;
}

/* ---------- Gravity Forms resets ---------- */
.ntm-gfs.ntm-gfs .gform_wrapper { margin: 0; padding: 0; max-width: none; }
.ntm-gfs.ntm-gfs .gform_wrapper form { margin: 0; }
.ntm-gfs.ntm-gfs .gform_heading,
.ntm-gfs.ntm-gfs .gf_progressbar_wrapper,
.ntm-gfs.ntm-gfs .gf_page_steps { display: none !important; }
.ntm-gfs.ntm-gfs .gform_body,
.ntm-gfs.ntm-gfs .gform_page,
.ntm-gfs.ntm-gfs .gform_page_fields { margin: 0; padding: 0; }
.ntm-gfs.ntm-gfs .gform_fields {
	display: flex;
	flex-direction: column;
	gap: var(--ntm-gfs-field-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ntm-gfs.ntm-gfs .gfield { margin: 0; padding: 0; border: 0; max-width: none; grid-column: auto; }
.ntm-gfs.ntm-gfs .gfield_required { color: var(--ntm-gfs-error); }

/* Labels set to "Hidden" in Gravity Forms stay available to screen readers. */
.ntm-gfs.ntm-gfs .hidden_label > .gfield_label,
.ntm-gfs.ntm-gfs .hidden_label > legend.gfield_label,
.ntm-gfs.ntm-gfs .ntm-gfs-source > .gfield_label,
.ntm-gfs.ntm-gfs .ntm-gfs-source > legend.gfield_label,
.ntm-gfs.ntm-gfs .ntm-gfs-source > .gfield_description:not(.validation_message) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.ntm-gfs.ntm-gfs .ntm-gfs-source--section { display: none !important; }

.ntm-gfs.ntm-gfs .gfield_label,
.ntm-gfs.ntm-gfs .gfield_description,
.ntm-gfs.ntm-gfs .ginput_complex label,
.ntm-gfs.ntm-gfs .gform-field-label--type-sub {
	font-family: var(--ntm-gfs-ui);
	font-size: 13px;
	color: #5F605B;
}

/* ---------- Choice cards (radio / checkbox) ---------- */
.ntm-gfs.ntm-gfs .gfield_radio,
.ntm-gfs.ntm-gfs .gfield_checkbox {
	display: flex;
	flex-direction: column;
	gap: var(--ntm-gfs-choice-gap);
	margin: 0;
	padding: 0;
}
.ntm-gfs.ntm-gfs .gchoice { position: relative; display: block; margin: 0; padding: 0; }
.ntm-gfs.ntm-gfs .gchoice input[type=radio],
.ntm-gfs.ntm-gfs .gchoice input[type=checkbox] {
	position: absolute;
	top: 50%;
	left: 12px;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
}
.ntm-gfs.ntm-gfs .gchoice label {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: none;
	min-height: var(--ntm-gfs-choice-h);
	margin: 0;
	padding: 12px var(--ntm-gfs-choice-px);
	border: 1px solid var(--ntm-gfs-choice-border-normal);
	border-radius: var(--ntm-gfs-choice-r);
	background: var(--ntm-gfs-choice-bg-normal);
	color: var(--ntm-gfs-choice-color-normal);
	font-family: var(--ntm-gfs-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.2px;
	text-align: left;
	cursor: pointer;
	user-select: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ntm-gfs.ntm-gfs .gchoice label::before,
.ntm-gfs.ntm-gfs .gchoice label::after { display: none; }
.ntm-gfs.ntm-gfs .gchoice label:hover {
	border-color: var(--ntm-gfs-choice-border-hover);
	background: var(--ntm-gfs-choice-bg-hover);
	color: var(--ntm-gfs-choice-color-hover);
}
.ntm-gfs.ntm-gfs .gchoice input:checked + label {
	border-color: var(--ntm-gfs-choice-border-selected);
	background: var(--ntm-gfs-choice-bg-selected);
	color: var(--ntm-gfs-choice-color-selected);
	box-shadow: 0 0 0 1px var(--ntm-gfs-choice-border-selected);
}
.ntm-gfs.ntm-gfs .gchoice input:focus-visible + label { outline: 2px solid #00355E; outline-offset: 2px; }
/* "Other" choice text box. */
.ntm-gfs.ntm-gfs .gchoice input[type=text] { margin-top: 8px; }

/* ---------- Text fields ---------- */
.ntm-gfs.ntm-gfs .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=image]),
.ntm-gfs.ntm-gfs .gform_wrapper textarea,
.ntm-gfs.ntm-gfs .gform_wrapper select {
	width: 100%;
	max-width: none;
	min-height: var(--ntm-gfs-input-h);
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--ntm-gfs-input-border);
	border-radius: var(--ntm-gfs-input-r);
	background: var(--ntm-gfs-input-bg);
	box-shadow: none;
	color: var(--ntm-gfs-input-color);
	font-family: var(--ntm-gfs-ui);
	font-size: 16px; /* 16px+ stops iOS zooming into the field. */
	line-height: 1.3;
	letter-spacing: -0.2px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.ntm-gfs.ntm-gfs .gform_wrapper textarea { padding: 14px 18px; min-height: 110px; }
.ntm-gfs.ntm-gfs .gform_wrapper input::placeholder,
.ntm-gfs.ntm-gfs .gform_wrapper textarea::placeholder { color: var(--ntm-gfs-input-ph); opacity: 1; }
.ntm-gfs.ntm-gfs .gform_wrapper input:focus,
.ntm-gfs.ntm-gfs .gform_wrapper textarea:focus,
.ntm-gfs.ntm-gfs .gform_wrapper select:focus {
	border-color: var(--ntm-gfs-input-focus);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ntm-gfs-input-focus) 22%, transparent);
}
.ntm-gfs.ntm-gfs .ginput_complex { display: flex; flex-wrap: wrap; gap: var(--ntm-gfs-field-gap); }
.ntm-gfs.ntm-gfs .ginput_complex > span { flex: 1 1 140px; margin: 0; padding: 0; }

/* ---------- Footer: submit / next, back link, step counter ---------- */
.ntm-gfs.ntm-gfs .gform_page_footer,
.ntm-gfs.ntm-gfs .gform_footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 12px;
	margin: var(--ntm-gfs-footer-gap) 0 0;
	padding: 0;
	border: 0;
}
.ntm-gfs.ntm-gfs .gform_page_footer input[type=submit],
.ntm-gfs.ntm-gfs .gform_page_footer button[type=submit],
.ntm-gfs.ntm-gfs .gform_footer input[type=submit],
.ntm-gfs.ntm-gfs .gform_footer button[type=submit],
.ntm-gfs.ntm-gfs .gform_next_button {
	order: 1;
	flex: 1 1 var(--ntm-gfs-btn-w);
	width: var(--ntm-gfs-btn-w);
	max-width: 100%;
	min-height: var(--ntm-gfs-btn-h);
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: var(--ntm-gfs-btn-r);
	background: var(--ntm-gfs-btn-bg-normal);
	box-shadow: none;
	color: var(--ntm-gfs-btn-color-normal);
	font-family: var(--ntm-gfs-ui);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.4px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.ntm-gfs.ntm-gfs .gform_page_footer input[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_page_footer button[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_footer input[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_footer button[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_next_button:hover {
	background: var(--ntm-gfs-btn-bg-hover);
	color: var(--ntm-gfs-btn-color-hover);
}
/* Specific enough to beat the ready/hover rules above (which include [type=submit]). */
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked:hover,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked:hover {
	background: var(--ntm-gfs-btn-bg-locked);
	color: var(--ntm-gfs-btn-color-locked);
	cursor: not-allowed;
}
.ntm-gfs.ntm-gfs .gform_wrapper input[type=submit]:focus-visible,
.ntm-gfs.ntm-gfs .gform_wrapper button[type=submit]:focus-visible,
.ntm-gfs.ntm-gfs .gform_next_button:focus-visible { outline: 2px solid #00355E; outline-offset: 3px; }

/* Auto-advance pages: Next stays reachable for keyboard users, visible only when focused. */
.ntm-gfs.ntm-gfs .ntm-gfs-auto .gform_next_button:not(:focus) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	flex: 0 0 auto !important;
}

.ntm-gfs.ntm-gfs .gform_previous_button {
	order: 2;
	flex: 0 0 auto;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #00355E;
	font-family: var(--ntm-gfs-ui);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	cursor: pointer;
}
.ntm-gfs.ntm-gfs .gform_previous_button:hover { background: none; opacity: .75; }
.ntm-gfs.ntm-gfs .gform_previous_button:focus-visible { outline: 2px solid #00355E; outline-offset: 3px; }

.ntm-gfs .ntm-gfs__step {
	order: 3;
	margin-left: auto;
	font-family: var(--ntm-gfs-ui);
	font-size: 13px;
	line-height: 1.3;
	color: #6B6B66;
}

.ntm-gfs.ntm-gfs .gform_ajax_spinner { order: 4; width: 18px; height: 18px; margin: 0; }

/* ---------- Validation ---------- */
.ntm-gfs.ntm-gfs .gform_validation_errors {
	margin: 0 0 14px;
	padding: 10px 14px;
	border: 1px solid color-mix(in srgb, var(--ntm-gfs-error) 35%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--ntm-gfs-error) 6%, #FFFFFF);
	box-shadow: none;
}
.ntm-gfs.ntm-gfs .gform_validation_errors h2,
.ntm-gfs.ntm-gfs .gform_validation_errors .gform_submission_error {
	margin: 0;
	font-family: var(--ntm-gfs-ui);
	font-size: 13px;
	font-weight: 500;
	color: var(--ntm-gfs-error);
}
.ntm-gfs.ntm-gfs .gform_validation_errors .gform-icon { display: none; }
.ntm-gfs.ntm-gfs .gfield_error input:not([type=radio]):not([type=checkbox]),
.ntm-gfs.ntm-gfs .gfield_error textarea,
.ntm-gfs.ntm-gfs .gfield_error .gchoice label { border-color: var(--ntm-gfs-error); }
.ntm-gfs.ntm-gfs .validation_message,
.ntm-gfs.ntm-gfs .gfield_validation_message {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--ntm-gfs-ui);
	font-size: 13px;
	color: var(--ntm-gfs-error);
}

/* ---------- Confirmation ---------- */
.ntm-gfs.ntm-gfs .gform_confirmation_message {
	font-family: var(--ntm-gfs-serif);
	font-size: 16px;
	line-height: 1.7;
	color: #2B2B2B;
}

/* ---------- Footer note ---------- */
.ntm-gfs .ntm-gfs__note {
	margin: 18px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #D9E9EB;
	font-family: var(--ntm-gfs-ui);
	font-size: 13px;
	line-height: 1.65;
	color: #6B6B66;
}
.ntm-gfs .ntm-gfs__note--plain { border-top: 0; padding-top: 0; }
.ntm-gfs .ntm-gfs__note a {
	color: #00355E;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ntm-gfs--notice { max-width: none; }

@media (prefers-reduced-motion: reduce) {
	.ntm-gfs *, .ntm-gfs *::before { transition: none !important; }
}

/* Choice pages: the footer only shows "Step X of Y" (and Back), a touch lower like the design. */
.ntm-gfs.ntm-gfs .ntm-gfs-auto .gform_page_footer { margin-top: calc(var(--ntm-gfs-footer-gap) + 3px); }

/* =========================================================================
 * 1.0.1 - Hardening against Gravity Forms theme CSS and theme button styles.
 * Gravity Forms limits choice labels to calc(100% - 32px) (room for its round
 * radio icon) and themes style every [type=button] (white box behind "Back").
 * Layout/box properties below use !important; their values still come from the
 * widget's Style controls through CSS variables, so everything stays editable.
 * Font properties are left alone so Elementor's Typography controls keep working.
 * ========================================================================= */

/* Choice cards: always full width. */
.ntm-gfs.ntm-gfs .gform_wrapper .gfield_radio,
.ntm-gfs.ntm-gfs .gform_wrapper .gfield_checkbox {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--ntm-gfs-choice-gap) !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice input[type=radio],
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice input[type=checkbox] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	pointer-events: none !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice input[type=radio]::before,
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice input[type=checkbox]::before,
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice label::before,
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice label::after { display: none !important; content: none !important; }
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice label {
	display: flex !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-height: var(--ntm-gfs-choice-h) !important;
	margin: 0 !important;
	padding: 12px var(--ntm-gfs-choice-px) !important;
	border: 1px solid var(--ntm-gfs-choice-border-normal) !important;
	border-radius: var(--ntm-gfs-choice-r) !important;
	background: var(--ntm-gfs-choice-bg-normal) !important;
	color: var(--ntm-gfs-choice-color-normal) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice label:hover {
	border-color: var(--ntm-gfs-choice-border-hover) !important;
	background: var(--ntm-gfs-choice-bg-hover) !important;
	color: var(--ntm-gfs-choice-color-hover) !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gchoice input:checked + label {
	border-color: var(--ntm-gfs-choice-border-selected) !important;
	background: var(--ntm-gfs-choice-bg-selected) !important;
	color: var(--ntm-gfs-choice-color-selected) !important;
	box-shadow: 0 0 0 1px var(--ntm-gfs-choice-border-selected) !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gfield_error .gchoice label { border-color: var(--ntm-gfs-error) !important; }

/* Back: a plain underlined text link, never a button box. */
.ntm-gfs.ntm-gfs .gform_wrapper .gform_previous_button,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_previous_button:hover,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_previous_button:focus,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_previous_button:active {
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--ntm-gfs-back-color, #00355E) !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 3px !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gform_previous_button:hover { opacity: .75; }
.ntm-gfs.ntm-gfs .gform_wrapper .gform_previous_button:focus-visible { outline: 2px solid var(--ntm-gfs-back-color, #00355E) !important; outline-offset: 3px !important; }

/* Submit / Next button box. */
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer input[type=submit],
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer button[type=submit],
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer input[type=submit],
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer button[type=submit],
.ntm-gfs.ntm-gfs .gform_wrapper .gform_next_button {
	width: var(--ntm-gfs-btn-w) !important;
	max-width: 100% !important;
	min-height: var(--ntm-gfs-btn-h) !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: var(--ntm-gfs-btn-r) !important;
	background: var(--ntm-gfs-btn-bg-normal) !important;
	box-shadow: none !important;
	color: var(--ntm-gfs-btn-color-normal) !important;
	text-decoration: none !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer input[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer button[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer input[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer button[type=submit]:hover,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_next_button:hover {
	background: var(--ntm-gfs-btn-bg-hover) !important;
	color: var(--ntm-gfs-btn-color-hover) !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_page_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked:hover,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked,
.ntm-gfs.ntm-gfs .gform_wrapper .gform_footer .ntm-gfs-locked.ntm-gfs-locked.ntm-gfs-locked:hover {
	background: var(--ntm-gfs-btn-bg-locked) !important;
	color: var(--ntm-gfs-btn-color-locked) !important;
	cursor: not-allowed !important;
}
/* Auto-advance pages keep Next hidden unless keyboard-focused (beats the box rules above). */
.ntm-gfs.ntm-gfs .gform_wrapper .ntm-gfs-auto .gform_next_button:not(:focus) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

/* Text fields box. */
.ntm-gfs.ntm-gfs .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=image]),
.ntm-gfs.ntm-gfs .gform_wrapper textarea,
.ntm-gfs.ntm-gfs .gform_wrapper select {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-height: var(--ntm-gfs-input-h) !important;
	margin: 0 !important;
	padding-left: 18px !important;
	padding-right: 18px !important;
	border: 1px solid var(--ntm-gfs-input-border) !important;
	border-radius: var(--ntm-gfs-input-r) !important;
	background: var(--ntm-gfs-input-bg) !important;
	color: var(--ntm-gfs-input-color) !important;
	box-shadow: none !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper input:focus,
.ntm-gfs.ntm-gfs .gform_wrapper textarea:focus,
.ntm-gfs.ntm-gfs .gform_wrapper select:focus {
	border-color: var(--ntm-gfs-input-focus) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ntm-gfs-input-focus) 22%, transparent) !important;
}
.ntm-gfs.ntm-gfs .gform_wrapper .gfield_error input:not([type=radio]):not([type=checkbox]),
.ntm-gfs.ntm-gfs .gform_wrapper .gfield_error textarea { border-color: var(--ntm-gfs-error) !important; }

/* Field containers never shrink the fields. */
.ntm-gfs.ntm-gfs .gform_wrapper .ginput_container,
.ntm-gfs.ntm-gfs .gform_wrapper .gfield { width: 100% !important; max-width: none !important; }
