/* One shared footer: public website, members, forum and Staff Area. */
body.class58-theme footer.c58-site-footer,
body #footer.c58-admin-footer {
  background: #303438 !important;
  color: #fff !important;
  border-top: 5px solid #BF402B !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  text-align: left !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  position: relative !important;
  clear: both;
  box-sizing: border-box;
}
body.class58-theme footer.c58-site-footer *,
body #footer.c58-admin-footer * { box-sizing: border-box; }

body.class58-theme footer.c58-site-footer > .container,
body.class58-theme footer.c58-site-footer .footer_bottom > .container,
body #footer.c58-admin-footer .c58-admin-footer-top,
body #footer.c58-admin-footer .c58-admin-footer-links,
body #footer.c58-admin-footer .c58-admin-footer-meta-inner {
  width: calc(100% - 48px) !important;
  max-width: 1780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.class58-theme footer.c58-site-footer :is(.footer-top, .position-footer-top, .footer-inner) {
  padding: 0 !important;
}
body.class58-theme footer.c58-site-footer .footer-left-news > .row,
body #footer.c58-admin-footer .c58-admin-footer-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 40px !important;
  padding-top: 40px !important;
  padding-bottom: 28px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
body.class58-theme footer.c58-site-footer .footer-left-news > .row { margin-left: 0 !important; margin-right: 0 !important; }
body.class58-theme footer.c58-site-footer .footer-left-news > .row > *,
body #footer.c58-admin-footer .c58-admin-footer-top > * {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.class58-theme footer.c58-site-footer .footer_aboutus,
body #footer.c58-admin-footer .c58-admin-footer-identity {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
body.class58-theme footer.c58-site-footer .footer_aboutus > a,
body #footer.c58-admin-footer .c58-admin-footer-logo {
  display: block !important;
  width: 180px !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.class58-theme footer.c58-site-footer .footer_aboutus img,
body #footer.c58-admin-footer .c58-admin-footer-logo img {
  display: block !important;
  width: 180px !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}
body.class58-theme footer.c58-site-footer .footer-desc,
body #footer.c58-admin-footer :is(.c58-admin-footer-tagline, .c58-admin-footer-contact) {
  font: 400 15px/1.65 "IBM Plex Sans", Arial, sans-serif !important;
  text-align: center !important;
  color: #fff !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  overflow-wrap: anywhere;
}
body.class58-theme footer.c58-site-footer .footer-desc :is(b, em) { font-weight: 400 !important; font-style: normal !important; }
body #footer.c58-admin-footer .c58-admin-footer-contact { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 6px 20px !important; margin-top: 12px !important; }
body.class58-theme footer.c58-site-footer .c58-brand-pillars,
body #footer.c58-admin-footer .c58-admin-footer-pillars {
  display: block !important;
  font: 600 15px/1.65 "IBM Plex Sans", Arial, sans-serif !important;
  color: #F9C623 !important;
  margin-top: 6px !important;
  text-align: center !important;
}

/* The newsletter keeps its own card, without an imposed empty height. */
body.class58-theme footer.c58-site-footer .footer-left-news > .row > .news,
body #footer.c58-admin-footer .c58-admin-footer-top > .c58-admin-footer-newsletter {
  background: rgba(255, 255, 255, .045) !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-top: 3px solid #BF402B !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12) !important;
  padding: 24px !important;
  text-align: left !important;
  overflow: visible !important;
}
body.class58-theme footer.c58-site-footer :is(.newsletterblock, .newsletter-form, .news-info, .news-dec, .page-title.section) {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  min-height: 0 !important;
  height: auto !important;
}
body.class58-theme footer.c58-site-footer .newsletterblock h3,
body #footer.c58-admin-footer .c58-admin-footer-newsletter h2 {
  font: 600 24px/1.25 "IBM Plex Sans", Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #fff !important;
  text-align: left !important;
  margin: 0 0 14px !important;
}
body.class58-theme footer.c58-site-footer .news-description,
body #footer.c58-admin-footer .c58-admin-footer-newsletter > p {
  font: 400 15px/1.65 "IBM Plex Sans", Arial, sans-serif !important;
  color: #fff !important;
  text-align: left !important;
  max-width: none !important;
  margin: 0 0 18px !important;
}
body.class58-theme footer.c58-site-footer .subscribe-form,
body #footer.c58-admin-footer .c58-admin-subscribe-form {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.class58-theme footer.c58-site-footer .subscribe-form > i,
body #footer.c58-admin-footer .c58-admin-subscribe-form > i { display: none !important; }
body.class58-theme footer.c58-site-footer .subscribe-form input,
body #footer.c58-admin-footer .c58-admin-subscribe-form input {
  flex: 1 1 180px !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 44px !important;
  padding: 10px 14px !important;
  position: static !important;
  border: 1px solid #707372 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #303438 !important;
  font: 400 16px/1.25 "IBM Plex Sans", Arial, sans-serif !important;
}
body.class58-theme footer.c58-site-footer .subscribe-form button,
body #footer.c58-admin-footer .c58-admin-subscribe-form button {
  position: static !important;
  flex: 0 0 auto !important;
  min-height: 44px !important;
  width: auto !important;
  padding: 10px 18px !important;
  border: 1px solid #BF402B !important;
  border-radius: 6px !important;
  background: #BF402B !important;
  color: #fff !important;
  font: 600 15px/1.25 "IBM Plex Sans", Arial, sans-serif !important;
  text-transform: none !important;
  text-align: center !important;
}
body.class58-theme footer.c58-site-footer .subscribe-form button:hover,
body #footer.c58-admin-footer .c58-admin-subscribe-form button:hover { background: #9C3524 !important; color: #fff !important; }

body.class58-theme footer.c58-site-footer .class58-banner,
body #footer.c58-admin-footer .c58-admin-train-banner {
  position: relative !important;
  width: 100% !important;
  max-width: 1780px !important;
  height: 200px !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Footer navigation uses the main menu typography and yellow hover underline. */
body.class58-theme footer.c58-site-footer .footer-center.c58-footer-navigation,
body #footer.c58-admin-footer .c58-admin-footer-links {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  min-height: 68px !important;
  height: auto !important;
  border: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.class58-theme footer.c58-site-footer .footer-center ul,
body #footer.c58-admin-footer .c58-admin-footer-links {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0 8px !important;
  list-style: none !important;
}
body.class58-theme footer.c58-site-footer .footer-center ul { margin: 0 !important; padding: 0 !important; }
body.class58-theme footer.c58-site-footer .footer-center li { margin: 0 !important; padding: 0 !important; }
body.class58-theme footer.c58-site-footer .footer-center :is(a, button),
body #footer.c58-admin-footer .c58-admin-footer-links :is(a, button) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 44px !important;
  padding: 11px 10px !important;
  border: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #fff !important;
  font: 600 15px/1.45 "IBM Plex Sans", Arial, sans-serif !important;
  letter-spacing: .15px !important;
  text-decoration: none !important;
  text-transform: none !important;
}
body.class58-theme footer.c58-site-footer .footer-center :is(a, button):is(:hover, [aria-current="page"]),
body #footer.c58-admin-footer .c58-admin-footer-links :is(a, button):is(:hover, [aria-current="page"]) {
  color: #F9C623 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 7px !important;
  background: transparent !important;
}
body.class58-theme footer.c58-site-footer .footer-center :is(a, button):focus:not(:focus-visible),
body #footer.c58-admin-footer .c58-admin-footer-links :is(a, button):focus:not(:focus-visible) { outline: none !important; }
body.class58-theme footer.c58-site-footer .footer-center :is(a, button):focus-visible,
body #footer.c58-admin-footer .c58-admin-footer-links :is(a, button):focus-visible { outline: 2px solid #F9C623 !important; outline-offset: 2px !important; }

body.class58-theme footer.c58-site-footer .footer_bottom.c58-footer-bottom,
body #footer.c58-admin-footer .c58-admin-footer-meta {
  display: block !important;
  padding: 24px 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: #303438 !important;
  border-top: 1px solid #707372 !important;
  text-align: center !important;
}
body.class58-theme footer.c58-site-footer .footer-bottom-inner,
body #footer.c58-admin-footer .c58-admin-footer-meta-inner {
  display: flex !important;
  align-items: center !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 24px !important;
  text-align: center !important;
}
body.class58-theme footer.c58-site-footer .c58-legal-identity,
body #footer.c58-admin-footer .c58-admin-footer-meta-copy {
  flex: none !important;
  width: 100% !important;
  display: block !important;
  font: 400 13px/1.65 "IBM Plex Sans", Arial, sans-serif !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  text-align: center !important;
}
body #footer.c58-admin-footer .c58-admin-footer-meta-copy > span { display: block !important; text-align: center !important; }
body.class58-theme footer.c58-site-footer .c58-site-version,
body #footer.c58-admin-footer .c58-admin-version {
  display: block !important;
  visibility: visible !important;
  color: #fff !important;
  font: 400 13px/1.65 "IBM Plex Sans", Arial, sans-serif !important;
  text-align: center !important;
  margin-top: 8px !important;
}
body.class58-theme footer.c58-site-footer .payment-link,
body #footer.c58-admin-footer .c58-admin-footer-payment { flex: none !important; margin: 0 !important; }
body.class58-theme footer.c58-site-footer .payment-link img,
body #footer.c58-admin-footer .c58-admin-footer-payment img { display: block !important; width: 180px !important; max-width: 100% !important; height: auto !important; }

@media (max-width: 767px) {
  body.class58-theme footer.c58-site-footer > .container,
  body.class58-theme footer.c58-site-footer .footer_bottom > .container,
  body #footer.c58-admin-footer .c58-admin-footer-top,
  body #footer.c58-admin-footer .c58-admin-footer-links,
  body #footer.c58-admin-footer .c58-admin-footer-meta-inner { width: calc(100% - 32px) !important; }
  body.class58-theme footer.c58-site-footer .footer-left-news > .row,
  body #footer.c58-admin-footer .c58-admin-footer-top { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; padding-top: 32px !important; }
  body.class58-theme footer.c58-site-footer .footer-left-news > .row > .news,
  body #footer.c58-admin-footer .c58-admin-footer-top > .c58-admin-footer-newsletter { padding: 20px !important; }
  body.class58-theme footer.c58-site-footer .subscribe-form,
  body #footer.c58-admin-footer .c58-admin-subscribe-form { flex-direction: column !important; align-items: stretch !important; }
  body.class58-theme footer.c58-site-footer .subscribe-form input,
  body #footer.c58-admin-footer .c58-admin-subscribe-form input { flex: 0 0 44px !important; }
  body.class58-theme footer.c58-site-footer .subscribe-form button,
  body #footer.c58-admin-footer .c58-admin-subscribe-form button { width: 100% !important; }
  body.class58-theme footer.c58-site-footer .footer-center ul,
  body #footer.c58-admin-footer .c58-admin-footer-links { gap: 0 !important; }
  body.class58-theme footer.c58-site-footer .footer-bottom-inner,
  body #footer.c58-admin-footer .c58-admin-footer-meta-inner { flex-direction: column !important; align-items: center !important; }
  body.class58-theme footer.c58-site-footer .payment-link,
  body #footer.c58-admin-footer .c58-admin-footer-payment { flex: none !important; }
  body.class58-theme footer.c58-site-footer .class58-banner,
  body #footer.c58-admin-footer .c58-admin-train-banner { height: 200px !important; }
}
