html, body, .tooltip, .popover {
  font-family: OpenSans, Helvetica, Arial, sans-serif !important;
}
code, kbd, pre, samp, .text-monospace {
  font-family: "Noto Mono", monospace !important;
}
button, input, optgroup, select, textarea {
  font-family: inherit !important;
}

.h1,h1{font-size:2rem}
.h2,h2{font-size:1.688rem}
.h3,h3{font-size:1.375rem}
.h4,h4{font-size:1rem;font-style:italic;font-weight:bold}
.h5,h5{font-size:1rem;font-weight:bold}
.h6,h6{font-size:1rem;font-style:italic}
.small,small{font-size:0.813rem}

html {
  line-height:1.69;
}
footer.footer {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 9999;
/*   position: sticky; */
/*   bottom: 0px; */
}

div.row#headline {
  background-color: #C13B33;
  color: #fff;
  padding: 0px 15px;
  line-height: 30px;
}
div.row#content {
  padding: 10px 0px;
}

#bb-logo {
  height: 90px;
}
#bb-extra {
  float: right;
  margin-bottom: auto;
}

.badge {
  padding:0.25rem 0.4rem 0.1rem 0.4rem;
}

a.disabled {
    pointer-events: none;
}
th.note {
    line-height: 1.2 !important;
}
td .form-check {
    padding-left: 0;
}

td .form-check-input {
    position: relative;
    margin: 0;
}

tfoot tr td, tfoot tr th {
    font-weight: bold;
    border-bottom-style: double;
}

.nav-link.active {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.nav-item .dropdown-item.active {
    background-color: rgba(0, 0, 0, 0.25) !important;
}

.nav-item .dropdown-item:active {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

form div.form-control.is-invalid {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: calc(1.5em + 0.25em) !important; 
}
form div.form-inline.nowrap {
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}

form div.form-control.is-invalid select, 
form div.form-control.is-invalid input {
    height: calc(1.5em + .75rem);
}

@media (min-width: 992px) {
    div#card {
        max-height: calc(100vh - 150px);
    }
    div#card-body {
        overflow:scroll;
    }
}

.history-item {
    position: relative;
    margin-left: 1.5rem;
    border-left: 1px solid #e5e5e5;
    padding: 1.5rem 0 1.0rem 2.5rem;
}

.history-icon {
    padding: 1em;
    border: 1px solid #e5e5e5;
    border-radius: 50%;

    position: absolute;
    left: -1.5em;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #fff;
}

@media (min-width: 992px) {

    .history-item {
        margin-left: 8rem;
    }

    .history-datetime {
        position: absolute;
        right: 100%;
        width: 10rem;
        text-align: right;
        padding-right: 2.5em;
    }
}

@media print {
    @page {
        size: landscape;
    }
    
    .pb-inside-avoid {
        page-break-inside: avoid;
    }
    
    .table.table-striped tbody tr:nth-of-type(odd) td {
        background-color: rgba(0,0,0,.05) !important;
    }
}

.history-icon > .fa-stack {
    height: 1em;
    width: 1em;
}
.history-icon > .fa-stack > .fa-stack-1x {
    top: -0.5em;
}
.history-icon > .fa-stack > .fa-stack-2x {
    left: -0.25em;
    top: -0.25em;
}
