/* 05-curtain.css (chrome area): the private-access screen shown to anonymous visitors (Elementor Maintenance Mode template, built by build/lib.php agd_curtain(); classes .ag-curtain*).
   Ported from the demo sites' ag-curtain.css and adapted to the OLD Andersen Legal look: white page, red #ab0e1e accent, dark blue-grey #243444 text, Roboto / Roboto Condensed (self-hosted in 00-base.css).
   Scoped under .ag-curtain and !important on purpose: the Elementor Kit (global colours/fonts) and the per-element CSS of containers would otherwise win. Dev-environment screen, not part of the public site. */

.elementor .ag-curtain.e-con { position: relative !important; min-height: 100vh !important; width: 100% !important; max-width: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; padding: 48px 24px !important; margin: 0 !important; overflow: hidden; --padding-top: 48px; --padding-bottom: 48px;
	background: linear-gradient(180deg, #e1e1e1 0, #e1e1e1 30px, #f5f5f5 30px, #f5f5f5 100%) !important; }
.elementor .ag-curtain.e-con::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: #ab0e1e; pointer-events: none; }

.elementor .ag-curtain .ag-curtain__card.e-con { position: relative; z-index: 1; width: min(520px, 100%) !important; max-width: 520px !important; margin: 0 auto !important; padding: 44px 44px 30px !important; align-items: stretch !important; justify-content: flex-start !important; background: #fff !important; border: 1px solid #d0d3d4 !important; border-top: 4px solid #ab0e1e !important; box-shadow: 0 .125rem .5rem rgba(36, 52, 68, .18); --padding-top: 44px; --padding-bottom: 30px; --padding-left: 44px; --padding-right: 44px; }
.ag-curtain .ag-curtain__card .elementor-widget { margin: 0 !important; width: 100%; }

.ag-curtain .ag-curtain__eyebrow .elementor-heading-title { font: 700 13px/1 "Roboto Condensed", Roboto, Arial, sans-serif !important; letter-spacing: .22em !important; text-transform: uppercase !important; color: #ab0e1e !important; margin: 0 !important; }
.ag-curtain .ag-curtain__eyebrow .elementor-heading-title::after { content: ""; display: block; width: 56px; height: 3px; background: #ab0e1e; margin-top: 14px; }
.ag-curtain .ag-curtain__title .elementor-heading-title { font: 400 clamp(30px, 6vw, 40px)/1.12 Roboto, Arial, sans-serif !important; color: #243444 !important; margin: 20px 0 0 !important; }
.ag-curtain .ag-curtain__text { margin: 16px 0 24px !important; }
.ag-curtain .ag-curtain__text p { font: 400 16px/1.55 Roboto, Arial, sans-serif !important; color: #243444 !important; margin: 0 !important; text-align: left !important; }

.ag-curtain .ag-curtain__form .elementor-login .elementor-form-fields-wrapper { display: block !important; margin: 0 !important; }
.ag-curtain .ag-curtain__form .elementor-field-group { margin: 0 0 16px !important; padding: 0 !important; width: 100% !important; }
.ag-curtain .ag-curtain__form .elementor-field-label { display: block !important; font: 700 12px/1 "Roboto Condensed", Roboto, Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: #243444 !important; margin: 0 0 8px !important; }
.ag-curtain .ag-curtain__form .elementor-field-textual { width: 100% !important; height: 48px !important; padding: 0 14px !important; background: #fff !important; border: 1px solid #a3aaae !important; border-radius: 3px !important; color: #252525 !important; font: 400 16px Roboto, Arial, sans-serif !important; box-shadow: none !important; }
.ag-curtain .ag-curtain__form .elementor-field-textual:focus { outline: 2px solid #ab0e1e !important; outline-offset: 1px !important; border-color: #ab0e1e !important; }
.ag-curtain .ag-curtain__form .elementor-field-type-submit { margin: 8px 0 0 !important; width: 100% !important; }
.ag-curtain .ag-curtain__form .elementor-button { display: block !important; width: 100% !important; min-height: 48px; background: #ab0e1e !important; color: #fff !important; border: 1px solid #ab0e1e !important; border-radius: 3px !important; padding: 13px 24px !important; font: 700 16px/22px Roboto, Arial, sans-serif !important; text-transform: none !important; text-align: center !important; cursor: pointer; transition: background .3s, color .3s; }
.ag-curtain .ag-curtain__form .elementor-button:hover, .ag-curtain .ag-curtain__form .elementor-button:focus { background: #243444 !important; border-color: #243444 !important; color: #fff !important; }
.ag-curtain .ag-curtain__form .elementor-button-text { color: inherit !important; }

.ag-curtain .ag-curtain__foot { margin: 28px 0 0 !important; padding-top: 16px !important; border-top: 1px solid #d0d3d4; }
.ag-curtain .ag-curtain__foot p { font: 400 12px/1.4 Roboto, Arial, sans-serif !important; letter-spacing: .02em; color: #5f6772 !important; margin: 0 !important; text-align: left !important; }

/* spacing between the blocks of the card (the generic widget reset above zeroes widget margins) */
.ag-curtain .ag-curtain__card .ag-curtain__text.elementor-widget { margin: 16px 0 0 !important; }
.ag-curtain .ag-curtain__card .ag-curtain__form.elementor-widget { margin-top: 28px !important; }
.ag-curtain .ag-curtain__card .ag-curtain__foot.elementor-widget { margin-top: 26px !important; }

/* brand logo at the top of the card */
.ag-curtain .ag-curtain__card .ag-curtain__logo.elementor-widget { margin: 0 0 30px !important; }
.ag-curtain .ag-curtain__logo { text-align: center !important; }
.ag-curtain .ag-curtain__logo img { display: block; width: 260px; max-width: 100%; height: auto; margin: 0 auto; }

@media (max-width: 600px) {
	.elementor .ag-curtain.e-con { padding: 24px 14px !important; }
	.elementor .ag-curtain .ag-curtain__card.e-con { padding: 32px 22px 24px !important; }
	.ag-curtain .ag-curtain__logo img { width: 220px; }
}
@media (prefers-reduced-motion: reduce) { .ag-curtain .ag-curtain__form .elementor-button { transition: none; } }
