/* Form Assembly iframe embed overrides */
.wFormWebPage {
  font-size: 10px !important;
  margin: 0px !important;
  background-color: #fdfdf8 !important;
}

.wFormContainer .wForm {
    justify-content: unset!important;
    align-items: unset!important;
}

.wFormWebPage #tfaContent {
  background-color: #fdfdf8 !important;
}

.wFormWebPage .wForm {
  padding: 0px !important;
  margin: 0px !important;
  background-color: #fdfdf8 !important;
}

.wFormWebPage .wForm form {
  background-color: #fdfdf8 !important;
}

.wFormHeader {
    height: 50px!important;
}

/* Structural Overrides */
.wFormWebPage div:empty,
.wFormWebPage span:empty,å
.wFormWebPage .supportInfo,
.wFormWebPage .captchaHelp,
.wFormWebPage .last-page-previous-button.wfHideSubmit + .actions.multipage {
  display: block !important;
}
.wFormTitle {
    display: block !important;
    margin-right: auto!important;
    margin-top: 30px!important;
    margin-bottom: 30px!important;
    border-radius: 16px;
}
.wFormWebPage .wFormContainer {
  width: 90% !important;
  max-width: 100% !important;
  padding: 0px !important;
  margin: 30px auto !important;
  border: 0px !important;
}

/* Typography & HTML Sections */
.wFormWebPage .htmlSection {
  padding: 0px !important;
  overflow: visible;
}

.wFormWebPage .htmlSection:first-child {
  margin-top: 0px !important;
}

.wFormWebPage .htmlSection:not(:first-child) {
  margin-top: 32px !important;
}

.wFormWebPage .htmlSection .htmlContent b u,
.wFormWebPage .htmlSection .htmlContent u b {
  font-family: "Avenir Next", sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-stretch: normal !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #0e2f58 !important; /* $text */
  font-size: 24px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

@media (min-width: 767px) {
  .wFormWebPage .htmlSection .htmlContent b u,
  .wFormWebPage .htmlSection .htmlContent u b {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
}

/* Headings (Expanded from %extends) */
.wFormWebPage .htmlSection .htmlContent h1,
.wFormWebPage .wFormThankYou h1 {
  color: #0a2240; /* $text-strong */
  font-family: "Avenir Next", sans-serif !important;
  font-weight: 700;
  font-size: 32px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.wFormWebPage .htmlSection .htmlContent h2,
.wFormWebPage .wFormThankYou h2 {
  color: #0a2240;
  font-family: "Avenir Next", sans-serif !important;
  font-weight: 700;
  font-size: 28px;
  margin-top: 20px;
  margin-bottom: 25px;
}

.wFormWebPage .htmlSection .htmlContent h2.after-p,
.wFormWebPage .htmlSection .htmlContent h2.after-ol,
.wFormWebPage .htmlSection .htmlContent h2.after-ul {
  margin-top: 60px;
}

.wFormWebPage .htmlSection .htmlContent p,
.wFormWebPage .wFormThankYou p {
  font-family: "Avenir Next", sans-serif !important;
  color: #0e2f58;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 30px;
  display: block !important;
}

/* Buttons */
.wFormWebPage .wFormContainer .wForm input[type="button"],
.wFormWebPage .wFormContainer .wForm input[type="submit"] {
  font-family: "Avenir Next", sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 18px;
  line-height: 27px;
  background: #b3dedc; /* $light-green */
  color: #0a2240; /* $navy */
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  width: auto !important;
  display: inline-block;
  visibility: visible !important;
}

.wFormWebPage .wFormContainer .wForm input[type="button"]:hover,
.wFormWebPage .wFormContainer .wForm input[type="submit"]:hover {
  background: #86c5c7; /* $teal */
}

.wFormWebPage .wFormContainer .wForm input[type="button"]:disabled,
.wFormWebPage .wFormContainer .wForm input[type="submit"]:disabled {
  pointer-events: none;
  background-color: #d3d3d3 !important;
}

/* Form Fields */
.wFormWebPage .wFormContainer .wForm .oneField label {
  font-family: "Avenir Next", sans-serif !important;
  font-weight: 500;
  color: #0e2f58 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  display: block !important;
  margin-bottom: 5px;
}

.wFormWebPage .wFormContainer .wForm .inputWrapper input[type="text"],
.wFormWebPage .wFormContainer .wForm .inputWrapper input[type="password"],
.wFormWebPage .wFormContainer .wForm .inputWrapper select,
.wFormWebPage .wFormContainer .wForm .inputWrapper textarea {
  font-family: "Avenir Next", sans-serif !important;
  font-size: 18px !important;
  line-height: 27px !important;
  padding: 8px 16px !important;
  color: #4D596E !important; /* $dark-grey */
  border-radius: 4px;
  border: 1px solid #c9e1e2 !important; /* $lighter-green */
  width: 100% !important;
  background: #ffffff !important;
  box-sizing: border-box;
}

.wFormWebPage .wFormContainer .wForm .inputWrapper input:focus {
  border-color: #4b9b9e !important; /* $focus */
  outline: none;
}

/* Custom Checkboxes/Radios */
.wFormWebPage .oneChoice input[type="checkbox"]:checked + label::after,
.wFormWebPage .oneChoice input[type="radio"]:checked + label::after {
  content: " ";
  background-image: url(../images/Checkbox.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 3px;
  left: 0px;
  height: 18px;
  width: 18px;
  z-index: 1;
  border: 1px solid #00767d;
  background-color: #00767d;
  border-radius: 4px;
}

.wFormWebPage .oneChoice label {
  font-family: "Avenir Next", sans-serif !important;
  color: #0e2f58;
  font-size: 16px;
  cursor: pointer;
  padding-left: 30px;
}