/* Headmasters overlays: forms, modal, mobile nav, NPC iframe, utilities. */
.hm-nav-toggle {
	display: none;
	margin: 8px 12px;
	padding: 8px 16px;
	border: 1px solid #ccc;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	cursor: pointer;
}
@media (max-width: 767px) {
	.hm-nav-toggle { display: inline-block; }
	ul.gf-menu.l1 { display: none; }
	.gf-menu-device-container { display: block; }
	.gf-menu-device-container[hidden] { display: none; }
	ul.gf-menu-mobile { list-style: none; margin: 0; padding: 0 12px 12px; }
	ul.gf-menu-mobile li { border-bottom: 1px solid #ddd; }
	ul.gf-menu-mobile a { display: block; padding: 10px 4px; }
	#rt-top .rt-grid-4.rt-omega img { max-width: 100%; height: auto; }
}
.hm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
.hm-form .formError, .hm-form .formValidation .formError { color: #b00020; display: block; }
.hm-form .is-invalid { border-color: #b00020 !important; }
.hm-form-banner { background: #f8e6e6; border: 1px solid #e0b4b4; padding: 10px 14px; margin: 0 0 16px; }
.hm-form-banner.success { background: #e7f6e9; border-color: #9ccc9c; }
.rsformProgress { display: flex; gap: 6px; margin: 0 0 18px; }
.rsformProgress .hm-step {
	flex: 1;
	text-align: center;
	padding: 8px 4px;
	border-bottom: 3px solid #ccc;
	font-size: 13px;
	color: #666;
}
.rsformProgress .hm-step.is-active { border-color: #17800a; color: #17800a; font-weight: 700; }
.rsformProgress .hm-step.is-done { border-color: #17800a; }
.hm-wizard-page { display: none; }
.hm-wizard-page.is-active { display: block; }
.no-js .hm-wizard-page { display: block; }
.hm-wizard-nav { margin: 18px 0; display: flex; gap: 10px; }
.hm-modal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.hm-modal[hidden] { display: none !important; }
.hm-modal-card {
	background: #fff;
	max-width: 480px;
	width: 100%;
	padding: 28px 26px 22px;
	border-radius: 6px;
	position: relative;
	box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.hm-modal-card h2 { margin: 0 0 12px; font-size: 22px; }
.hm-modal-close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.hm-modal-ok {
	margin-top: 16px;
	padding: 8px 18px;
	background: #17800a;
	color: #fff;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 700;
}
.hm-npc-wrap { min-height: 1300px; }
#hm-npc { display: block; min-height: 1300px; }
.formRequired { color: #b00020; }
.uk-form-row { margin-bottom: 12px; }
.rsform-checkbox-group label, .rsform-radio-group label { display: block; font-weight: 400; }
.checkbox-inline, .radio-inline { display: inline-block; margin-right: 14px; font-weight: 400; }
.sprocket-strips-overlay, .css-loader-wrapper { display: none !important; }
#gantry-totop { display: inline-block; min-width: 32px; min-height: 32px; }

html.no-js [data-required-if][hidden] {
  display: block !important;
}

.hm-wizard-nav [hidden],
button[hidden],
[hidden] {
  display: none !important;
}

.hm-facebook-follow {
  padding: 6px 0 12px;
}
.hm-facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 0;
}
.hm-facebook-link svg {
  display: block;
  width: 40px;
  height: 40px;
}
.hm-facebook-link:hover,
.hm-facebook-link:focus-visible {
  opacity: 0.88;
  outline: 2px solid #1877F2;
  outline-offset: 3px;
  border-radius: 10px;
}

