/*************************ASISA FOUNDATION FORMS THEME*************************/
/* The rules the Foundation Forms theme cannot do without, loaded BY THE THEME rather than by a layout.
   Views/Partials/Forms/Themes/Foundation/Form.cshtml adds this file with Html.AddFormThemeCssFile, and
   Umbraco Forms writes the link wherever a form renders with that theme.

   WHY IT IS ITS OWN FILE. The theme drops Umbraco Forms' default stylesheet, and that sheet was the only
   thing hiding the markup below. foundation-forms.css restyles the form, but only masterFoundation
   loads it, while the Form Theme picker offers "Foundation" on every brand's pages. Without this file an
   editor who picks the Foundation theme on an ASISA, Academy or ESD page gets a visible honeypot input,
   and every conditionally hidden field drawn open. A visitor who types into the honeypot has the
   submission discarded as a bot's, with no error and no record. Raised by Felicia Khoza and Michiel
   Visser on PR 54951.

   HIDING ONLY. Nothing here styles anything, so it changes nothing that a Foundation-themed form is not
   already meant to hide. Every rule is scoped to the theme's wrapper, except the two elements Umbraco
   Forms writes OUTSIDE that wrapper, which the default stylesheet hides on every page anyway. */

.umbraco-forms-Foundation .umbraco-forms-hidden,
.umbraco-forms-Foundation .hiddenfield,
.umbraco-forms-form-config.umbraco-forms-hidden,
#umbraco-forms-form-submitted.umbraco-forms-hidden {
  display: none;
}
