@charset "utf-8";
/* CSS Document */
/* This is for Formstack forms */
/* Centre aligned form */


/* force proper background and form position */
.fsBody {
  min-height: 100vh;
  background-position: bottom !important;
  background-size: cover;
  padding: 0 !important;
  color: #394357 !important;
}


/* form body */
.fsBody .fsForm {
  margin-top: 0 !important;
  padding: 0 30px 30px 30px !important;
  font-family: Arial, "Helvetica Neue", Arial, "Lucida Grande", Tahoma, Verdana, sans-serif !important;
  border-radius: 0 !important;
}


/* style header area where the logo goes */
#fsHeaderImage {
  box-sizing: border-box !important;
  max-width: 700px !important;
  width: 700px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  background: #ffffff;
  padding: 30px;
  order: -1;
}


/* normal form page: remove empty inline error placeholders */
div[id^="inline-error-field"]:empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}


/* closed form error banner container only */
div[class*="StyledErrorBanner-sc"]:not([id^="inline-error-field"]):has(> div[class*="StyledErrorBannerText-sc"]):not(:has(> a[class*="StyledErrorBannerText-sc"])) {
  box-sizing: border-box !important;
  max-width: 700px !important;
  width: 700px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 0 30px 30px 30px !important;
  background: #ffffff !important;
  border: 0 !important;
  color: #394357 !important;
  text-align: left !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}


/* closed form page: hide only the system-generated first line */
div[class*="StyledErrorBanner-sc"]:not([id^="inline-error-field"]):has(> div[class*="StyledErrorBannerText-sc"]):not(:has(> a[class*="StyledErrorBannerText-sc"])) > div[class*="StyledErrorBannerText-sc"]:first-of-type {
  display: none !important;
}


/* closed form page: keep and style the custom message */
div[class*="StyledErrorBanner-sc"]:not([id^="inline-error-field"]):has(> div[class*="StyledErrorBannerText-sc"]):not(:has(> a[class*="StyledErrorBannerText-sc"])) > div[class*="StyledErrorBannerText-sc"]:not(:first-of-type) {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 0 30px 0 !important;

  height: auto !important;
  min-height: 0 !important;

  font-family: 'Times New Roman', serif !important;
  color: #394357 !important;
  font-size: 26px !important;
  line-height: 1.5 !important;
  text-align: left !important;

  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}

@media screen and (max-width: 760px) {
  #fsHeaderImage {
    width: 100% !important;
    max-width: 100% !important;
    padding: 25px 20px !important;
  }

  div[class*="StyledErrorBanner-sc"]:not([id^="inline-error-field"]):has(> div[class*="StyledErrorBannerText-sc"]):not(:has(> a[class*="StyledErrorBannerText-sc"])) {
    width: 100% !important;
    max-width: 100%  !important;
    padding: 0 20px 30px 20px !important;
  }

  .fsBody .fsForm {
    padding: 0 20px 30px 20px !important;
  }
}