/* The new allamericanspeakers.com footer (aas-footer.php). Copied from the Rails
   app's app/assets/aas/stylesheets/semantic/footer.scss and back-to-top.scss,
   scoped to #aas-footer so it neither depends on nor disturbs main.css. */
#aas-footer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: normal;
  line-height: 1.5;
  color: #fff;
  background-color: #030303;
  padding: 34px 25px 10px;
}
#aas-footer a { color: #fff; text-decoration: none; }
#aas-footer a:hover { color: #fff; text-decoration: underline; }
#aas-footer ul { list-style: none; margin: 0 0 1rem; padding: 0; }
#aas-footer li { margin: 0; font-size: medium; line-height: 1.5; }
#aas-footer h6 { margin: 6px 0 0.5rem; font-family: inherit; font-size: 1rem; font-weight: 500; line-height: 1.2; color: #fff; }
#aas-footer hr { margin: 1rem 0; border: 0; border-top: 2px solid #b29247; opacity: 1; }

#aas-footer .aas-footer-inner { max-width: 1110px; margin: 0 auto; }

/* Logo, topics and links side by side on wide screens; logo above the other
   two on mid-size screens; one column below that. */
#aas-footer .aas-footer-columns { display: grid; grid-template-columns: 1fr; column-gap: 30px; }
@media (min-width: 992px) {
  #aas-footer .aas-footer-columns { grid-template-columns: 1fr 1fr; }
  #aas-footer .aas-footer-logo { grid-column: 1 / -1; }
  #aas-footer .aas-footer-topics { padding: 0 0.5rem; }
}
@media (min-width: 1200px) {
  #aas-footer .aas-footer-columns { grid-template-columns: 1fr 1fr 1fr; }
  #aas-footer .aas-footer-logo { grid-column: auto; }
  #aas-footer .aas-footer-links { padding-left: 1rem; }
}

#aas-footer .aas-footer-logo img { display: block; width: auto; height: 50px; }

#aas-footer .aas-footer-topic-lists { display: flex; gap: 30px; }
#aas-footer .aas-footer-topic-lists ul { flex: 1; }

#aas-footer .aas-footer-other { padding-top: calc(1rem + 6px); }
#aas-footer .aas-footer-other i { padding-left: 0.25rem; }

#aas-footer .aas-footer-bottom { text-align: center; }
@media (min-width: 992px) {
  #aas-footer .aas-footer-bottom { padding-top: 6rem; }
}

#aas-footer .aas-footer-call { margin: 0 0 1rem; line-height: 1.5; font-size: 30px; color: #b29247; }
#aas-footer .aas-footer-call a { color: inherit; }

#aas-footer .aas-footer-social { margin: 5px; }
#aas-footer .aas-footer-social a { display: inline-block; text-decoration: none; }
#aas-footer .aas-footer-social img { display: block; width: 45px; height: 38px; object-fit: contain; }
#aas-footer .aas-footer-social .aas-footer-x img { width: 25px; margin: 0 10px; }

#aas-footer .aas-footer-legal { font-size: 1.2em; }
#aas-footer .aas-footer-copyright { font-size: 1em; }

#aas-return-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 35px;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  line-height: 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}
#aas-return-to-top.aas-visible { opacity: 1; visibility: visible; }
#aas-return-to-top:hover { background: rgba(0, 0, 0, 0.9); text-decoration: none; }
#aas-return-to-top i { color: #fff; font-size: 19px; }
