.legacy-page .fa::before,
.legacy-page .fas::before,
.legacy-page .far::before,
.legacy-page .fab::before,
.legacy-page .fa-solid::before,
.legacy-page .fa-regular::before,
.legacy-page .fa-brands::before,
.legacy-page [class*=" fa-"]::before,
.legacy-page [class^="fa-"]::before {

  --tw-content: var(--fa);
  content: var(--fa) !important;
}

.header-top a:not(:has(i.fa-brands)),
.footer a:not(:has(i.fa-brands)),
.footer-1 a:not(:has(i.fa-brands)),
[class*="bg-dark"] a:not(:has(i.fa-brands)),
.bc-cta-one a:not(.bc-btn):not([class*="btn"]) {
  color: #ffffff !important;
}

.legacy-page a:has(i.fa-brands),
.legacy-page a:has(i.fa-brands) i,
.legacy-page a i.fa-brands {
  color: #01377d !important;
}

.header-top a:hover,
.footer a:hover,
.footer-1 a:hover {
  color: #98e7f4 !important;
}

.offer-item,
.offer-item.sticky,
.offer-section-1 .offer-item,
.wpcf7-email,
input.wpcf7-email {
  background-color: #007ba3 !important;
}

.offer-item .bc-btn,
.offer-item [class*="btn"] {
  color: #01377d !important;
}

.legacy-page header a[href="#0"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.legacy-page .apply-btn,
.legacy-page a.apply-btn {
  background-color: #007ba3 !important;
  color: #ffffff !important;
}

.legacy-form-slot input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.legacy-form-slot select,
.legacy-form-slot textarea {
  background-color: #007ba3 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 5px !important;
  padding: 10px 15px !important;
  font-size: 16px !important;
  width: 100% !important;
  box-shadow: none !important;
}

.legacy-form-slot input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.legacy-form-slot select {
  height: 52px !important;
}

.legacy-form-slot textarea {
  border-radius: 10px !important;
  padding: 17px 20px !important;
  min-height: 162px !important;
}

.legacy-form-slot ::placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.legacy-form-slot button[type="submit"],
.legacy-form-slot input[type="submit"] {
  background-color: #98e7f4 !important;
  color: #000000 !important;
  border: 0 !important;
  border-radius: 100px !important;
  padding: 10px 24px !important;
  height: 52px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.legacy-form-slot div:not(:has(> input[type="checkbox"])):not(:has(> input[type="radio"])) > label:not(.legacy-keep-label) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.legacy-form-slot .legacy-keep-label,
.legacy-form-slot div:has(> input[type="checkbox"]) label,
.legacy-form-slot div:has(> input[type="radio"]) label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  margin: 0 0 16px 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #333333 !important;
}

.legacy-form-slot div:has(> input[type="checkbox"]) {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
}

.legacy-form-slot div:has(> input[type="checkbox"]) label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}

.legacy-form-slot input[type="checkbox"],
.legacy-form-slot input[type="radio"] {
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  margin-top: 3px !important;
  appearance: auto !important;
}

.legacy-form-slot .legacy-form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

.legacy-page .terms-conditions a,
.legacy-page .privacy-policy a {
  color: #007ba3 !important;
}

.legacy-page a:focus-visible,
.legacy-page button:focus-visible,
.legacy-page input:focus-visible,
.legacy-page select:focus-visible,
.legacy-page textarea:focus-visible,
.legacy-page [tabindex]:focus-visible {
  outline: 3px solid #ffb703 !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}

.legacy-form-slot form {
  gap: 16px !important;
}

.legacy-form-slot fieldset {
  gap: 16px !important;
  margin: 0 0 8px 0 !important;
}

.legacy-form-slot legend {
  font-size: 20px !important;
  margin-bottom: 4px !important;
}

.legacy-form-slot legend {
  color: #01377d !important;
  font-weight: 700 !important;
}

.legacy-form-slot textarea {
  min-height: 56px !important;
  height: 56px !important;
}

.legacy-form-slot input[type="file"] {
  background-color: #007ba3 !important;
  color: #ffffff !important;
  padding: 14px 15px !important;
  height: auto !important;
}

.legacy-form-slot :is(p, span):has(+ input[type="file"]),
.legacy-form-slot label:has(+ input[type="file"]) {
  color: #1f2933 !important;
  font-weight: 700 !important;
}

.legacy-form-slot fieldset:has(input[type="checkbox"]) legend {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333333 !important;
}

.legacy-page iframe:focus,
.legacy-page iframe:focus-within,
.legacy-page iframe:focus-visible {
  outline: 3px solid #ffb703 !important;
  outline-offset: 2px !important;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 999;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
  color: #01377d !important;
  font-weight: 600 !important;
  outline: 3px solid #ffb703 !important;
  outline-offset: 2px !important;
}

.legacy-page .mouse-cursor,
.mouse-cursor.cursor-inner,
.mouse-cursor.cursor-outer {
  display: none !important;
}

/* The theme makes every img a block, which pushed "Registered NDIS Provider"
   under the logo and stretched the pill past the bottom of the header. One
   row, centred, matching the badge in the React header. */
.header-lower .header-right .header-button {
  display: flex;
}

.header-lower .header-right .header-button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 5px;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  color: #01377d;
}

.header-lower .header-right .header-button a img {
  width: 40px;
  height: 40px;
  max-width: none;
  object-fit: contain;
}
