/*
 * Loaded after assets/css/style.css. The theme sets html { font-size: 62.5% } (1rem = 10px), but
 * Bootstrap's typography helpers assume a 16px root, so rem-sized helpers render about 37% too small.
 * These restore readable sizes on the 10px scale for the helpers the site uses. Relative (em) sizes
 * such as small and badges are left relative so they keep scaling with their surroundings.
 */
.lead {
    font-size: 1.8rem;
}

h5,
.h5 {
    font-size: 1.8rem;
}

h6,
.h6 {
    font-size: 1.6rem;
}

.badge {
    --bs-badge-font-size: 0.85em;
}

/* The theme's .form-control is 1.2rem (12px), which also sizes the closed selects. */
.form-control,
.form-select {
    font-size: 1.5rem;
}

/* DOC-455: support contact + social bar above the header */
.top-contact-bar {
  background-color: #2B686D;
  color: #fff;
  font-size: 1.4rem;
  padding: 0.8rem 0;
}
.top-contact-bar a {
  color: #fff;
  text-decoration: none;
}
.top-contact-bar a:hover,
.top-contact-bar a:focus {
  text-decoration: underline;
}
.top-contact-links a + a {
  margin-left: 2rem;
}
.top-contact-links i {
  margin-right: 0.6rem;
}
.top-contact-social a {
  font-size: 1.6rem;
  line-height: 1;
}
.top-contact-social a + a {
  margin-left: 1.5rem;
}
@media (max-width: 575.98px) {
  .top-contact-bar {
    font-size: 1.2rem;
  }
  .top-contact-links a + a {
    margin-left: 1.2rem;
  }
}
