:root {
  --bs-primary: #2a8fe6;
  --bs-link-color: #2a8fe6;
}

.btn-primary {
  --bs-btn-bg: #2a8fe6;
}

.btn-outline-primary {
  --bs-btn-color: #2a8fe6;
}

.nav-underline {
  margin-bottom: 1rem;
  @media (max-width: 768px) {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.25rem;
    /* --bs-nav-underline-gap: 0.5rem; */
  }
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: Inter, Arial;
}

#app {
  height: 100%;
  overflow: hidden;
}

a {
  color: unset;
}

h3 {
  color: var(--bs-primary);
}

h4 {
  color: var(--bs-secondary-color);
}

label[for] {
  cursor: pointer;
}

.table input[type='number'] {
  text-align: right;
}

.ControlIcon {
  padding: 2px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  border-radius: 10px;
  text-decoration: none;
  line-height: 0.5;
  min-width: 24px;
  min-height: 24px;
  user-select: none;
}

.ControlIcon:hover {
  color: var(--bs-primary);
}

.gap10px {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}

.mb10px {
  margin-bottom: 20px;
}

.mb20px {
  margin-bottom: 20px;
}

.mt20px {
  margin-top: 20px;
}

.small {
  color: var(--bs-secondary-color);
}

/* maybe unnecessary if we could set --bs-gutter-y */
.row > * {
  margin-bottom: 0.75rem;
}

/* TODO - restore when header of scrolling frame sorted out
.table > thead {
  vertical-align: top;
  position: sticky;
  top: 0;
} */

.table th > div {
  position: relative;
}

th {
  vertical-align: top;
}

td {
  vertical-align: top;
}

.color-blue {
  color: white !important;
  /* background-color: var(--bs-blue); */
  border-color: var(--bs-blue) !important;
}

.color-teal {
  /* background-color: var(--bs-teal); */
  border-color: var(--bs-teal) !important;
}

.toast.bg-danger,
.toast.bg-success {
  color: white;
}

@media print {
  header {
    display: none;
  }

  nav {
    display: none;
  }

  main {
    position: static;
    width: 100vw;
  }
}
