/* Inter (OFL, see ../fonts/Inter-LICENSE.txt) - bundled, no external font server.
   Relative URLs so they work from the server and from file:// tests. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}


html, body {
    width: 100%;  /* WTF?!?!? */
    height: 100%; /* WTF?!?!? */
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-normal);
    font-family: monospace;
    font-size: 12px;
    color: var(--text);
}

h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; margin-top: 1em; margin-bottom: 1em; }
h5 { font-size: 1em; font-style: italic; text-decoration: underline; margin-top: 1em; margin-bottom: 1em; }
h6 { font-size: 1em; font-style: italic; margin-top: 1em; margin-bottom: 1em; }

pre {
    background-color: var(--bg-code);
    padding: 12px;
}

code {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-code);
}

a {
    color: var(--hyperlink);
}

.caret {
    cursor: pointer;
    user-select: none;
}

.caret::before {
    content: "\25B6";
    color: var(--text);
    display: inline-block;
    margin-right: 6px;
}

.caret-down::before {
    transform: rotate(90deg);
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    #side_nav {padding-top: 15px;}
    #side_nav a {font-size: 18px;}
}

.main {
    height: 100%;
    overflow: auto;
}

/* Admin page CSS */
.main table {
    border: var(--border-heavy);
    background-color: var(--bg-alt);
    width: auto;
    text-align: left;
    border-collapse: collapse;
    margin: 10px 0px;
}

.main td, th {
    border: var(--border);
    padding-left: 1em;
    padding-right: 1em;
}

.main tbody, td {
    height: 2em;
    font-size: 13px;
    color: var(--bg-light);
}

.main tr:nth-child(even) {
    background: var(bg-alt);
}

.main thead {
    background: var(--bg-normal);
    border-bottom: (--border-heavy);
}

.main thead, th {
    height: 30px;
    background: var(--bg-normal);
    font-size: 15px;
    font-weight: bold;
    color: var(--text);
    text-align: center;
    border-left: var(--border);
    padding-left: 2em;
    padding-right: 2em;
}

.main tfoot {
    font-size: 12px;
    font-weight: bold;
    color: var(--text);
    background: var(--bg-alt);
    background: -moz-linear-gradient(top, #404040 0%, #191919 66%, #000000 100%);
    background: -webkit-linear-gradient(top, #404040 0%, #191919 66%, #000000 100%);
    background: linear-gradient(to bottom, #404040 0%, #191919 66%, #000000 100%);
    border-top: var(--border);
}

.main tfoot, td {
    font-size: 12px;
}


