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%;
}

body {
  margin-bottom: 60px;
}

/* Searchable <select> (Transfers and other forms) */
.hse-searchable-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hse-searchable-select-btn {
  width: 100%;
}

.hse-searchable-select-btn::after {
  float: right;
  margin-top: 0.35em;
}

.hse-searchable-select {
  position: relative;
}

/* Prevent dash-panel from clipping the location list (Transfers page). */
.dash-panel.hse-dropdown-open {
  overflow: visible;
  z-index: 20;
}

.dash-panel.hse-dropdown-open .dash-panel-body {
  overflow: visible;
}

.dash-panel.hse-dropdown-open .row,
.dash-panel.hse-dropdown-open [class*="col-"] {
  overflow: visible;
}

.hse-searchable-select-menu {
  z-index: 1080 !important;
  max-height: min(320px, 70vh);
  overflow: hidden;
}

.hse-searchable-select-menu.show {
  display: block;
}

.hse-searchable-select-list {
  max-height: min(260px, 55vh);
  overflow-y: auto;
}

.hse-searchable-select-list .dropdown-item.active,
.hse-searchable-select-list .dropdown-item:active {
  background-color: var(--bs-primary);
  color: #fff;
}

.transfers-emp-table-wrap {
  max-height: min(420px, 55vh);
  overflow-y: auto;
}

.transfers-lookup-results {
  max-height: 240px;
  overflow-y: auto;
}