/* ensure mobile does not have a horizontal scrollbar */
html,
body {
  width: 100%;
}

.usa-hero {
  height: 28rem;
  background-position-y: 25%;
}

.btn-link.nav-link:focus,
.form-check-input:focus {
  box-shadow:
    0 0 0 0.1rem white,
    0 0 0 0.25rem #258cfb;
}

h1:focus {
  outline: none;
}

h2 {
  max-width: 53.125rem;
}

.invalid {
  outline: 1px solid #e50000;
}

.validation-message {
  color: #e50000;
}

.main-content-container {
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
}

.main-content {
  margin-bottom: 3rem;
}

.lis-prose {
  max-width: 45rem;
  padding-left: 1rem;
}

.usa-navbar,
.usa-nav__inner {
  max-width: 80rem !important;
  margin-left: auto;
  margin-right: auto;
}

.usa-nav__submenu {
  background-color: #a4cced !important;
}

.equal-width-table th {
  width: 33.33%;
}

.usa-button:not(.keep-text-color):visited {
  color: #fff;
}

.usa-nav__submenu-item a,
.usa-nav__submenu-item a:visited {
  font-weight: 700;
  color: #162e51 !important;
}

@media (min-width: 40em) {
  .equal-width-table {
    min-width: 0 !important;
  }

  .usa-table-container--scrollable.mobile-scroll-only {
    overflow-x: visible !important;
  }

  .equal-width-table th,
  .equal-width-table td {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

.usa-table caption {
  font-size: 1.25rem;
}

.usa-link--external::after {
  margin-top: 0;
}

.member-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}

.news-date-badge {
  min-width: 5rem;
}

.news-date-badge > div:last-child {
  border: 1px solid #162e51;
  border-top: none;
}

.news-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
