/* Xact site footer */

#sticky-footer.xact-footer {
  margin: 0;
  padding: 0;
  position: relative;
  bottom: auto;
  height: auto;
  background: transparent;
}

.xact-footer__main {
  background-color: #163963;
  padding: 4rem 0;
  color: #fff;
  position: relative;
}

.xact-footer__columns {
  display: flex;
  flex-wrap: wrap;
}

.xact-footer__column {
  flex: 1 1 100%;
  padding: 1.5rem 0;
}

.xact-footer__column + .xact-footer__column {
  margin-top: 2rem;
}

.xact-footer__heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: #fff;
}

.xact-footer__content {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.xact-footer__content p:last-child,
.xact-footer__links li:last-child {
  margin-bottom: 0;
}

.xact-footer__content a,
.xact-footer__links a,
.xact-footer__sandbox-link {
  color: #fff;
  text-decoration: none;
}

.xact-footer__content a:hover,
.xact-footer__links a:hover,
.xact-footer__sandbox-link:hover {
  color: #fff;
  text-decoration: underline;
}

.xact-footer__links li {
  margin-bottom: 0.5rem;
}

.xact-footer__links li a {
  font-size: 0.9375rem;
}

.xact-footer__glossary {
  color: #fff;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.xact-footer__glossary:hover {
  color: #fff;
  text-decoration: underline;
}

.xact-footer__bottom {
  background-color: #000;
  padding: 1.25rem 0;
  color: #fff;
}

.xact-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.xact-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.xact-footer__brand-link {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.xact-footer__brand-logo {
  width: auto;
  height: 1rem;
}

.xact-footer__brand-text {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.xact-footer__brand-text-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.xact-footer__brand-text-link:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.xact-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.xact-footer__soc-badge {
  width: 75px;
  height: auto;
  display: block;
}

.xact-footer__soc-badge-btn {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.xact-footer__soc-badge-btn:hover .xact-footer__soc-badge,
.xact-footer__soc-badge-btn:focus .xact-footer__soc-badge {
  opacity: 0.85;
}

.xact-footer__soc-badge-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.xact-footer__soc-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  align-items: center;
  justify-content: center;
  background-color: rgba(22, 57, 99, 0.92);
}

.xact-footer--soc-overlay-full .xact-footer__soc-overlay {
  inset: 0;
}

.xact-footer__soc-overlay.is-open {
  display: flex;
}

.xact-footer__soc-overlay-image {
  width: auto;
  height: auto;
  max-width: min(400px, 90vw);
  max-height: min(400px, 70vh);
}

.xact-footer__soc-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.xact-footer__soc-overlay-close::before,
.xact-footer__soc-overlay-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
}

.xact-footer__soc-overlay-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.xact-footer__soc-overlay-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.xact-footer__soc-overlay-close:hover::before,
.xact-footer__soc-overlay-close:hover::after {
  background-color: #fff;
}

.xact-footer__soc-overlay-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.xact-footer__copyright {
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .xact-footer__column {
    flex: 1 1 0;
    padding: 0 2.5rem;
    position: relative;
  }

  .xact-footer__columns--count-1 {
    justify-content: flex-start;
  }

  .xact-footer__columns--count-1 .xact-footer__column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .xact-footer__columns--count-2 .xact-footer__column {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .xact-footer__columns--count-3 .xact-footer__column {
    flex: 1 1 0;
    max-width: none;
  }

  .xact-footer__column:first-child {
    padding-left: 0;
  }

  .xact-footer__column:last-child {
    padding-right: 0;
  }

  .xact-footer__column + .xact-footer__column {
    margin-top: 0;
  }

  .xact-footer__column:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 767.98px) {
  .xact-footer__main {
    padding: 2.5rem 0;
  }

  .xact-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .xact-footer__brand {
    justify-content: center;
  }

  .xact-footer__legal {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* CMS footer preview wrapper */
.footer-cms-preview {
  border: 1px solid #ddd;
  overflow: hidden;
  margin-bottom: 1rem;
}

.footer-cms-preview .xact-footer .container {
  max-width: 100%;
}
