/* WordPress additions shared by every template. Loaded after the page stylesheet.
   Nothing here changes the static design: these rules only cover things the static pages did not have. */

/* Sticky header sits below the admin bar for logged-in editors */
.admin-bar .top{top:32px}
@media (max-width:782px){.admin-bar .top{top:46px}}
@media (max-width:600px){.admin-bar .top{top:0}}

/* Optional logo image in place of the text mark (Site Settings → General) */
.mark .mark-logo{height:30px;width:auto;max-width:220px}

/* The steps run down two columns; the number of rows follows the number of steps */
@media (min-width:641px){.steps{grid-template-rows:repeat(var(--pfp-rows,5),auto)}}

/* ----- Forms ----- */
/* Trap for automated submissions: off-screen, never shown to people */
.pfp-hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}

/* Required-field asterisk after a visible label, in the same red as the error messages */
.pfp-form .field-label i{font-style:normal;color:#ff8a7a;margin-left:3px}

/* Text areas keep the size the design gives them; longer text scrolls inside */
.pfp-form textarea{resize:none}

/* Inline message under a field; takes no space until there is something to say */
.field{display:block}
.field-err{display:block;font-family:var(--ui);font-weight:500;font-size:14px;line-height:1.4;color:#ff8a7a;margin:6px 0 0}
.field-err:empty{display:none}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:#ff8a7a}
.pfp-form .err{font-family:var(--ui);font-size:15px;color:#ff8a7a;margin:10px 0 0;min-height:1px}
.pfp-form .err:empty{margin:0}
.pfp-form .ok{font-family:var(--ui);font-weight:600;font-size:16px;line-height:1.5;color:var(--green);margin:14px 0 0}
.pfp-form .ok:empty{display:none}
.pfp-form .btn:disabled{opacity:.7;cursor:progress}
.pfp-form .g-recaptcha,.pfp-form .pfp-recaptcha{margin:12px 0 0}
.grecaptcha-badge{z-index:20}
