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;
  background: url(../login_bg_testsystem.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

header {
  position: sticky;
  top: 0;
  background: url(../login_bg_testsystem.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

header div.container {
  overflow: hidden;
}

table th,
table td {
  white-space: nowrap;
}

/* Fixed Headers */

table thead {
  position: sticky;
  top: 75px;
  z-index: 2;
  background: #fff;
}

#searchrow {
  position: fixed;
  top: 0.5em;
  right: 0.5em;
  z-index: 2;
  background: #fff;
  padding: 0.5em;
  border-radius: 0.3em;
}

/* Strictly for making the scrolling happen. */

body {
  padding-bottom: 90vh;
}

main {
  background: #fff;
}

::highlight(search-results) {
  background-color: #f06;
}

a.no-decoration {
  text-decoration: none;
}

dialog {
  max-height: 80vh;
  margin: auto;
  overflow-y: auto;
}

dialog a.btn-close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
}

.small, small {
  font-size: 0.75em;
}