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;
}

.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;
}

@media (max-width: 768px) {
    .hide-on-narrow {
        display: none;
    }
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background-color: #f5f5f5;
}

td, th {
    vertical-align: middle;
}

.tablecell-centered {
    vertical-align: middle;
    text-align: center;
}

.square {
    display: inline-block;
    width: 2em;
    height: 2em;
    text-align: center;
    padding: 3px 5px;
}

.circle {
    display: inline-block;
    min-width: 2em;
    height: 2em;
    border-radius: 1em;
    text-align: center;
    padding: 3px 5px;
}

.circle-extended {
    display: inline-block;
    min-width: 4em;
    height: 2em;
    border-radius: 1em;
    text-align: center;
    justify-content: center;
    padding: 3px 5px;
}

.green {
    background: #6bbf47;
    color: #fff;
}
.orange {
    background: #ff6a00; /* rgb(255,106,0) */
    color: #fff;
}
.red {
    background: #dc3545; /* rgb(220,53,69) */
    color: #fff;
}
.blue {
    background: #6495ed; /* rgb(100,149,237) */
    color: #fff;
}
.black {
    background: #000;
    color: #fff;
}

.data-complete {
    /*font-size: 1.3em;*/
    color: #50c878;
}

.data-partial {
    font-size: 1.3em;
    color: #ff6a00;
}

.data-empty {
    /*font-size: 1.3em;*/
    color: #dc3545;
}

.almost-hit {
    font-size: 1.3em;
    color: #007822;
}

.table-fixed {
    table-layout: fixed;
    width: 100%;
}

.active {
    font-weight: bold;
}

.edit {
    cursor: pointer;
}