/* ==================================================
   GLOBALBOSSUP SYSTEM PAGE VISIBILITY FIX
   Fixes black text appearing on black backgrounds
================================================== */

/* Main Wild Apricot system content areas */
.WaGadgetLoginForm .gadgetStyleBody,
.WaGadgetMembershipApplication .gadgetStyleBody,
.WaGadgetContactProfile .gadgetStyleBody,
.WaGadgetPasswordRecovery .gadgetStyleBody,
.WaGadgetResetPassword .gadgetStyleBody,
.WaGadgetChangePassword .gadgetStyleBody,
.WaGadgetEmailMember .gadgetStyleBody,
.WaGadgetForum .gadgetStyleBody,
.WaGadgetPoll .gadgetStyleBody,
.WaGadgetEvents .gadgetStyleBody,
.WaGadgetEventRegistration .gadgetStyleBody,
.WaGadgetDonationForm .gadgetStyleBody {
  background:#ffffff !important;
  color:#171717 !important;
  padding:25px !important;
  border:1px solid #d8cda9 !important;
  border-radius:12px !important;
}

/* System-page headings and regular text */
.WaGadgetLoginForm h1,
.WaGadgetLoginForm h2,
.WaGadgetLoginForm h3,
.WaGadgetMembershipApplication h1,
.WaGadgetMembershipApplication h2,
.WaGadgetMembershipApplication h3,
.WaGadgetContactProfile h1,
.WaGadgetContactProfile h2,
.WaGadgetContactProfile h3,
.WaGadgetPasswordRecovery h1,
.WaGadgetPasswordRecovery h2,
.WaGadgetPasswordRecovery h3,
.WaGadgetResetPassword h1,
.WaGadgetResetPassword h2,
.WaGadgetResetPassword h3,
.WaGadgetChangePassword h1,
.WaGadgetChangePassword h2,
.WaGadgetChangePassword h3,
.WaGadgetForum h1,
.WaGadgetForum h2,
.WaGadgetForum h3,
.WaGadgetPoll h1,
.WaGadgetPoll h2,
.WaGadgetPoll h3,
.WaGadgetEvents h1,
.WaGadgetEvents h2,
.WaGadgetEvents h3 {
  color:#111111 !important;
}

/* Field names, instructions, descriptions and account text */
.WaGadgetLoginForm label,
.WaGadgetLoginForm .fieldLabel,
.WaGadgetMembershipApplication label,
.WaGadgetMembershipApplication .fieldLabel,
.WaGadgetContactProfile label,
.WaGadgetContactProfile .fieldLabel,
.WaGadgetPasswordRecovery label,
.WaGadgetResetPassword label,
.WaGadgetChangePassword label,
.WaGadgetForum label,
.WaGadgetPoll label,
.WaGadgetEventRegistration label,
.WaGadgetDonationForm label,
.sysForm .fieldLabel,
.sysForm .fieldBody,
.sysForm .fieldSubContainer,
.sysForm .infoContainer,
.sysForm .captionOuterContainer,
.sysForm .formTitleOuterContainer {
  color:#222222 !important;
}

/* Paragraphs and list text inside system forms */
.sysForm p,
.sysForm li,
.sysForm span,
.sysForm strong,
.sysForm div {
  color:#222222;
}

/* Input fields */
.sysForm input[type="text"],
.sysForm input[type="email"],
.sysForm input[type="password"],
.sysForm input[type="tel"],
.sysForm input[type="number"],
.sysForm input[type="date"],
.sysForm select,
.sysForm textarea {
  background:#ffffff !important;
  color:#111111 !important;
  border:1px solid #999999 !important;
  border-radius:6px !important;
}

/* Input placeholder text */
.sysForm input::placeholder,
.sysForm textarea::placeholder {
  color:#686868 !important;
  opacity:1;
}

/* Links inside system pages */
.sysForm a,
.WaGadgetLoginForm a,
.WaGadgetMembershipApplication a,
.WaGadgetContactProfile a,
.WaGadgetForum a,
.WaGadgetPoll a,
.WaGadgetEvents a {
  color:#85630e !important;
  font-weight:700;
}

/* Buttons */
.sysForm input[type="submit"],
.sysForm input[type="button"],
.WaGadgetLoginForm input[type="submit"],
.WaGadgetMembershipApplication input[type="submit"],
.WaGadgetEventRegistration input[type="submit"] {
  background:#d4af37 !important;
  color:#111111 !important;
  border:0 !important;
  border-radius:7px !important;
  font-weight:800 !important;
}

/* Error and required-field text */
.sysForm .mandatorySymbol,
.sysForm .validationError,
.sysForm .errorMessage,
.WaGadgetLoginForm .validationError {
  color:#a32118 !important;
}

/* Mobile spacing */
@media (max-width:700px) {
  .WaGadgetLoginForm .gadgetStyleBody,
  .WaGadgetMembershipApplication .gadgetStyleBody,
  .WaGadgetContactProfile .gadgetStyleBody,
  .WaGadgetPasswordRecovery .gadgetStyleBody,
  .WaGadgetResetPassword .gadgetStyleBody,
  .WaGadgetChangePassword .gadgetStyleBody,
  .WaGadgetForum .gadgetStyleBody,
  .WaGadgetPoll .gadgetStyleBody,
  .WaGadgetEvents .gadgetStyleBody,
  .WaGadgetEventRegistration .gadgetStyleBody {
    padding:17px !important;
  }
}