/* Resetter code */
html, body, div, span, applet, object,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    font-family: arial;
    font-size: 14px;
    line-height: 25px;
    color: #515151;
}

.archive-site-header,
.archive-site-header * {
    box-sizing: border-box;
}

.archive-site-header {
    background: #f3efe4;
    border: 3px solid #171511;
    color: #171511;
    font-family: Arial, Helvetica, sans-serif;
    margin: 10px auto 0;
    max-width: calc(100% - 20px);
    width: 1021px;
}

.archive-site-nav {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(160px, .7fr) minmax(260px, 1.25fr) minmax(500px, 3fr);
}

.archive-masthead {
    border-right: 3px solid #171511;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .075em;
    line-height: 1.15;
    padding: 13px 16px;
    text-transform: uppercase;
}

.archive-masthead strong {
    color: #b02518;
    display: block;
    font-weight: 900;
    margin-top: 10px;
}

.archive-logo {
    align-items: center;
    border-right: 3px solid #171511;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
    padding: 12px 16px;
}

.archive-site-title {
    color: #171511;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: .95;
    text-decoration: none;
    text-transform: uppercase;
}

.archive-theme-toggle {
    background: #171511;
    border: 0;
    color: #f3efe4;
    cursor: pointer;
    font-family: "Courier New", monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    min-height: 40px;
    min-width: 40px;
    padding: 7px 9px;
    text-transform: uppercase;
}

.archive-menu {
    display: grid;
    grid-template-columns: repeat(5, minmax(88px, 1fr));
    list-style: none;
}

.archive-menu li {
    border-right: 1px solid #515151;
    display: flex;
    min-width: 0;
}

.archive-menu li:last-child {
    border-right: 0;
}

.archive-menu a {
    align-items: flex-end;
    color: #171511;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: flex-start;
    letter-spacing: .02em;
    line-height: 1;
    min-height: 100%;
    padding: 16px 11px 12px;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.archive-menu a:hover,
.archive-menu a:focus,
.archive-site-title:hover,
.archive-site-title:focus {
    background: #171511;
    color: #f3efe4;
}

.archive-menu a.active {
    color: #b02518;
}

.archive-theme-toggle:focus,
.archive-menu a:focus,
.archive-site-title:focus {
    outline: 3px solid #075dcc;
    outline-offset: -3px;
}

html[data-theme="dark"] .archive-site-header {
    background: #201d18;
    border-color: #f3efe4;
    color: #f3efe4;
}

html[data-theme="dark"] .archive-masthead,
html[data-theme="dark"] .archive-logo {
    border-color: #f3efe4;
}

html[data-theme="dark"] .archive-site-title,
html[data-theme="dark"] .archive-menu a {
    color: #f3efe4;
}

html[data-theme="dark"] .archive-theme-toggle {
    background: #f3efe4;
    color: #171511;
}

html[data-theme="dark"] .archive-menu a:hover,
html[data-theme="dark"] .archive-menu a:focus,
html[data-theme="dark"] .archive-site-title:hover,
html[data-theme="dark"] .archive-site-title:focus {
    background: #f3efe4;
    color: #171511;
}

html[data-theme="dark"] .archive-menu a.active,
html[data-theme="dark"] .archive-masthead strong {
    color: #ff725c;
}

#content {
    width: 1021px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

#leftcol {
    float: left;
    width: 500px;
    padding-right: 10px;
    border-right: solid 1px #515151;
    min-height: 1500px;
}
#rightcol {
    float: right;
    width: 500px;
    padding-left: 10px;
    min-height: 1500px;
}

h1 {
    font-size: 20px;
    border-bottom: 1px solid #515151;
}

h2 {
    font-size: 14px;
    background-color: #EEE;
    border-bottom: solid 1px #DDD;
    padding-left: 5px;
    font-weight: bold;
    margin-top: 10px;
}

canvas {
    border: 1px solid #515151;
}

#backlinkdiv {
    position: absolute;
    left: 10px;
    top: 10px;
}

@media (max-width: 72rem) {
    .archive-site-nav {
        grid-template-columns: minmax(160px, .7fr) minmax(260px, 1.25fr);
    }

    .archive-menu {
        border-top: 3px solid #171511;
        grid-column: 1 / -1;
    }

    html[data-theme="dark"] .archive-menu {
        border-color: #f3efe4;
    }
}

@media (max-width: 48rem) {
    .archive-site-nav {
        grid-template-columns: 1fr;
    }

    .archive-masthead,
    .archive-logo {
        border-bottom: 1px solid #515151;
        border-right: 0;
    }

    .archive-menu {
        border-top: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-menu li {
        border-bottom: 1px solid #515151;
    }

    .archive-menu li:nth-child(2n) {
        border-right: 0;
    }
}
