html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body > header {
  flex-shrink: 0;
}

/* AAI logo in the header. Sizing lives here (rather than in scoped
   _Layout.cshtml.css) because scoped-CSS attributes are not applied to
   layout elements in MVC — the selector never matched from there. */
.site-header {
  padding: 32px;
}

.site-logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

@media (max-width: 991.98px) {
  .site-logo {
    max-width: 260px;
  }
}

@media (max-width: 767.98px) {
  .site-logo {
    max-width: 200px;
  }
}

body > .container {
  flex: 1 0 auto;
}

body > footer {
  flex-shrink: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}