/* Keep the shared frontend footer in normal document flow. */
section.footer {
  position: relative;
  z-index: 1;
  clear: both;
  margin-top: 60px;
  padding: 20px 0 16px;
  background: #f3f7f9 !important;
  overflow: visible;
}

section.footer > .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

section.footer > .container > .row.footer-list {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin: 0;
}

section.footer > .container > .row.footer-list > .footer-l-s {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  padding: 0;
}

section.footer > .container > .row.footer-list > .footer-l-s:last-child {
  flex: 1.05 1 0;
}

section.footer .footer-line.nextt {
  display: block !important;
  margin: 0 0 10px;
  color: #003f64 !important;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

section.footer .footer-l-s ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

section.footer .footer-l-s ul li {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  line-height: 1.25;
}

section.footer .footer-l-s a {
  color: #003f64 !important;
  font-size: 12px;
  text-decoration: none;
}

section.footer .social-media-menu ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

section.footer .social-media-menu ul li {
  margin: 0;
}

section.footer .social-media-menu ul li a {
  display: block;
}

section.footer .social-media-menu img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}

section.footer .social-media-menu .ply {
  margin-top: 18px;
}

section.footer .social-media-menu .ply img {
  width: 120px;
  height: auto;
  margin-bottom: 8px;
}

section.footer > .container > .row.footer-list ~ .footer-line,
section.footer > .container > .row.footer-list ~ .row.footer-list {
  display: none !important;
}

section.footer .copy-r.inline-style-4c1c7db338 {
  display: none !important;
}

section.footer .copy-r p {
  margin: 0;
  color: #003f64 !important;
  font-size: 11px;
}

section.bottomfooter {
  min-height: 28px;
  background: #16a7b7 !important;
}

section.bottomfooter > .container {
  padding: 0;
}

section.bottomfooter .copy-r {
  display: block;
  padding: 6px 0;
}

section.bottomfooter .copy-r p {
  margin: 0;
  color: #fff;
  font-size: 10px;
}

/* Let the session cards contribute their full height before the footer. */
.bookasession-page section.inline-style-4df3597bdf .wrapper {
  height: auto !important;
  min-height: 0;
  overflow: visible !important;
}

.bookasession-page section.inline-style-4df3597bdf .pricing-table {
  height: auto;
}

@media (max-width: 767px) {
  section.footer {
    margin-top: 35px;
    padding: 25px 0 16px;
  }

  section.footer > .container > .row.footer-list {
    flex-wrap: wrap;
    gap: 24px 16px;
  }

  section.footer > .container > .row.footer-list > .footer-l-s {
    flex: 1 1 calc(50% - 16px);
  }

  section.footer > .container > .row.footer-list > .footer-l-s:last-child {
    flex-basis: 100%;
  }
}
