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 {
  position: relative;
  min-height: 100%;
}

/* Faint shadow under the navbar. */
.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Footer at the bottom of the page. Body is a full-height column and the
   footer's auto top margin pushes it down on short pages; on long pages it
   follows the content. Its height varies as it wraps on narrow screens, so
   it is not absolutely positioned over space reserved for it. (Named
   site-footer, not the template's .footer, so the stale
   Xbrl2Json.WebUI.styles.css still on a server cannot override it.) */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
  padding: 0.75rem 0;
  line-height: 1.5;
}

.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;
}

/* Fix dropdown menus being clipped inside Bootstrap .table-responsive
   containers.  overflow-x:auto creates a scroll container that traps
   absolutely-positioned dropdown menus.  On md+ screens the tables fit
   their containers, so visible overflow is safe.  Mobile keeps the
   default horizontal scroll for genuinely wide tables. */
@media (min-width: 768px) {
  .table-responsive {
    overflow: visible;
  }
}