/* Scoped styles: independent of Gravity Forms, Popup Maker and page headings. */
body.mfc-access-open { overflow: hidden; }
.mfc-access, .mfc-access * { box-sizing: border-box; }
.mfc-access[hidden], .mfc-access [hidden] { display: none !important; }
.mfc-access {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 52px 24px 28px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: rgba(0, 0, 0, .5);
	color: #004275;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}
.mfc-access .mfc-access__dialog {
	position: relative;
	width: 100%;
	max-width: 1150px;
	max-height: calc(100vh - 80px);
	max-height: calc(100dvh - 80px);
	margin: auto;
	padding: 50px 45px 40px;
	border-radius: 0 0 0 25px;
	background: #ffca00;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
	outline: none;
}
.mfc-access .mfc-access__form {
	max-height: calc(100vh - 220px);
	max-height: calc(100dvh - 220px);
	overflow-y: auto;
	padding: 0 9px 4px 0;
	margin: 0;
}
.mfc-access .mfc-access__title {
	margin: 0 20px 24px;
	padding: 0;
	color: #004275;
	font: 800 22px/1.25 'Raleway', sans-serif;
	letter-spacing: .03em;
	text-align: center;
	text-transform: uppercase;
}
.mfc-access .mfc-access__close {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: 800 40px/1 'Open Sans', sans-serif;
	cursor: pointer;
}
.mfc-access .mfc-access__steps {
	position: absolute;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mfc-access .mfc-access__steps li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin: 0;
	border: 4px solid #ffca00;
	border-radius: 50%;
	background: #fff;
	font-size: 20px;
	font-weight: 800;
}
.mfc-access .mfc-access__steps li[aria-current], .mfc-access .mfc-access__steps li.is-complete { background: #39a900; color: #fff; }
.mfc-access fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.mfc-access legend { float: none; width: auto; margin: 0 0 20px; padding: 0; border: 0; color: inherit; font: inherit; }
.mfc-access p { margin: 0 0 20px; color: inherit; font: inherit; }
.mfc-access .mfc-access__choices { display: grid; gap: 16px; }
.mfc-access .mfc-access__choices--yesno { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; margin: 24px auto; }
.mfc-access .mfc-access__choice { display: flex; gap: 14px; align-items: center; margin: 0; padding: 16px; border: 2px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 500; }
.mfc-access .mfc-access__choice:hover { background: rgba(255, 255, 255, .25); }
.mfc-access .mfc-access__choices--yesno .mfc-access__choice { justify-content: center; background: rgba(255, 255, 255, .25); font-size: 20px; font-weight: 700; }
.mfc-access .mfc-access__choice input {
	appearance: none;
	-webkit-appearance: none;
	position: static;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #fff;
	opacity: 1;
	cursor: pointer;
}
.mfc-access .mfc-access__choice input:checked { background: #004275; box-shadow: inset 0 0 0 3px #fff; }
.mfc-access .mfc-access__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.mfc-access .mfc-access__field label { display: block; margin: 0 0 5px; color: #004275; font-size: 14px; font-weight: 600; }
.mfc-access .mfc-access__field input {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 10px 14px;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #fff;
	color: #444c50;
	font: 400 16px/1.3 'Raleway', sans-serif;
}
.mfc-access .mfc-access__field input[aria-invalid="true"] { border-color: #8b1a13; }
.mfc-access .mfc-access__field-error { display: block; padding-top: 5px; color: #75150e; font-size: 13px; }
.mfc-access .mfc-access__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; }
.mfc-access .mfc-access__actions .mfc-access__next { margin-left: auto; }
.mfc-access .mfc-access__contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.mfc-access .mfc-access__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin: 0;
	padding: 9px 15px;
	border: 2px solid transparent;
	border-radius: 7px;
	background: #fff;
	color: #004275;
	font: 800 12px/1.4 'Raleway', sans-serif;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;
}
.mfc-access .mfc-access__button:hover { background: #004275; color: #fff; }
.mfc-access .mfc-access__button:disabled { opacity: .6; cursor: wait; }
.mfc-access :focus-visible { outline: 3px solid #004275; outline-offset: 3px; }
.mfc-access .mfc-access__error { margin: 20px 0 0; padding: 12px; border-left: 4px solid #8b1a13; background: #fff; color: #75150e; }
.mfc-access .mfc-access__status { margin: 12px 0 0; }
.mfc-access .mfc-access__status:empty { margin: 0; }
.mfc-access .mfc-access__honeypot, .mfc-access .mfc-access__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
	.mfc-access { padding: 40px 12px 16px; }
	.mfc-access .mfc-access__dialog { padding: 48px 20px 24px; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); }
	.mfc-access .mfc-access__title { font-size: 19px; margin: 0 15px 20px; }
	.mfc-access .mfc-access__fields { grid-template-columns: 1fr; gap: 14px; }
	.mfc-access .mfc-access__choice { padding: 10px 2px; }
	.mfc-access .mfc-access__actions { flex-wrap: wrap; margin-top: 24px; }
	.mfc-access .mfc-access__contact-actions { flex-direction: column; }
}
