html, body {
    height: 100%;
}

body > .container-fluid, body > .container-fluid > .row {
    height: 100%;
}

main {
    display: flex;
    flex-direction: column;
}

main > article {
    flex: 1 0 auto;
}

.auth-box {
    width: 30%;
}

.sidebar, [role="main"] {
    padding-top: 1em;
}

.sidebar-sticky {
    height: calc(100vh - 1em);
}

h1, h2, h3, h4, h4, h5, h6 {
    font-family: 'PT Sans Narrow', sans-serif;
}

h1 {
    border-bottom: 1px solid #007bff;
}

.form-control + .form-control {
    margin-top: 0.5rem;
}

.btn-light {
    border: 1px solid #ced4da;
}

code[data-prime][data-period] {
    border: 1px solid #ced4da;
    border-radius: 2px;
    background-color: #f8f9fa;
    display: inline-block;
    margin-bottom: 2px;
}

code[data-prime][data-period] a {
    padding: 4px;
    display: inline-block;
    line-height: 1;
    color: #333;
}

code[data-prime][data-period] a:hover {
    color: #333;
    text-decoration: none;
}

code[data-prime][data-period] a + a {
    border-left: 1px solid #ced4da;
}

sup.sup {
    font-style: italic;
    color: #a0522d;
}

table.table-mini {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    margin-right: 20px;
    font-size: small;
}

table.table-mini td {
    border: 1px solid #ced4da;
    padding: 2px 4px;
    text-align: center;
}

table.table-mini td.border-right-red {
    border-right-color: #dc3545;
}

table.table-fit-content {
    width: fit-content;
}

table.table-fit-content td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

li {
    margin-bottom: 1rem;
}

.wikitable {
    background-color: #f8f9fa;
    color: #222;
    margin: 0;
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
}

div.row.wikitable {
    border-width: 0 1px 1px 0;
    border-color: #a2a9b1 !important;
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td,
div.row.wikitable > div {
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
    padding: 0.2em 0.4em;
    font-weight: 400;
}
div.row.wikitable > div {
    border-width: 1px 0 0 1px;
}

.footnote {
    margin: 1rem 0 0.5rem;
    border-top: 1px solid #a2a9b1;
    padding: 0.5rem;
    font-size: small;
    list-style: none;
    flex-shrink: 0;
}