/* Shared Credit Choice Gateway site header and footer */

.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5edf2;
  box-shadow: 0 4px 18px rgba(15, 35, 55, .045);
}

.site-header-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #14283f;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.55px;
  white-space: nowrap;
}

.site-brand-mark {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #14283f, #168b86);
  font-size: 23px;
  font-weight: 800;
}

.site-brand-accent,
.site-footer-brand span {
  color: #168b86;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.site-menu {
  position: relative;
}

.site-menu-trigger {
  min-height: 43px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dce6ec;
  border-radius: 10px;
  background: #ffffff;
  color: #14283f;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.site-menu-trigger::-webkit-details-marker {
  display: none;
}

.site-menu-trigger:hover {
  border-color: #168b86;
}

.site-menu-chevron {
  color: #168b86;
}

.site-menu-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 285px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e1e9ef;
  border-radius: 13px;
  box-shadow: 0 14px 38px rgba(15, 35, 55, .15);
}

.site-menu-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 10px;
  border-radius: 9px;
  color: #14283f;
  text-decoration: none;
}

.site-menu-link:hover {
  background: #f0f8f7;
}

.site-menu-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e9f5f4;
  color: #168b86;
  font-size: 17px;
}

.site-menu-link strong,
.site-menu-link small {
  display: block;
}

.site-menu-link strong {
  font-size: 13px;
}

.site-menu-link small {
  margin-top: 3px;
  color: #718096;
  font-size: 11px;
}

.site-menu-arrow {
  margin-left: auto;
  color: #168b86;
  font-size: 21px;
}

.site-header-cta {
  min-height: 43px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #168b86;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.site-header-cta:hover {
  background: #11736f;
  color: #ffffff;
}

.site-footer {
  width: 100%;
  margin-top: 60px;
  background: #10283d;
  color: #d6e1e9;
}

.site-footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 20px;
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 35px;
}

.site-footer-brand {
  display: inline-block;
  margin-bottom: 13px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer-about p {
  max-width: 410px;
  margin: 0;
  color: #b7c7d3;
  font-size: 13px;
  line-height: 1.8;
}

.site-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.site-footer-column h3 {
  margin: 2px 0 7px;
  color: #ffffff;
  font-size: 14px;
}

.site-footer-column a {
  color: #b7c7d3;
  font-size: 13px;
  text-decoration: none;
}

.site-footer-column a:hover {
  color: #65c7bd;
}

.site-footer-disclosure {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #aebfcb;
  font-size: 11px;
  line-height: 1.8;
}

.site-footer-bottom {
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #91a6b5;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 650px) {
  .site-header-inner {
    width: calc(100% - 28px);
    min-height: 68px;
    gap: 8px;
  }

  .site-brand {
    gap: 7px;
    font-size: 16px;
    letter-spacing: -.3px;
  }

  .site-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 19px;
  }

  .site-header-actions {
    gap: 7px;
  }

  .site-menu-trigger {
    min-height: 39px;
    padding: 0 10px;
    gap: 6px;
    font-size: 12px;
  }

  .site-header-cta {
    min-height: 39px;
    padding: 0 10px;
    font-size: 11px;
  }

  .site-menu-dropdown {
    width: min(285px, calc(100vw - 28px));
  }

  .site-footer-inner {
    width: calc(100% - 32px);
    padding-top: 35px;
  }

  .site-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .site-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 370px) {
  .site-brand {
    font-size: 14px;
  }

  .site-header-cta {
    padding: 0 8px;
    font-size: 10px;
  }
}
