/* vietnamese */
@font-face {
    font-family: 'Grenze Gotisch';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/Fh4hPjjqNDz1osh_jX9YfjudpBJBNV5y5wf_k1i5Lz9keIqaQvGN_tie_QE.woff) format('woff');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Grenze Gotisch';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/Fh4hPjjqNDz1osh_jX9YfjudpBJBNV5y5wf_k1i5Lz9keYqaQvGN_tie_QE.woff) format('woff');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Grenze Gotisch';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/Fh4hPjjqNDz1osh_jX9YfjudpBJBNV5y5wf_k1i5Lz9kd4qaQvGN_tie.woff) format('woff');
    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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
    font-family: 'Staatliches';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/HI_OiY8KO6hCsQSoAPmtMYeVvpCfOMPTjMY.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Staatliches';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/HI_OiY8KO6hCsQSoAPmtMYebvpCfOMPT.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
    font-family: 'Vollkorn SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/j8_v6-zQ3rXpceZj9cqnViFzPn6ASb_F3JE.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
    font-family: 'Vollkorn SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/j8_v6-zQ3rXpceZj9cqnViF6Pn6ASb_F3JE.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
    font-family: 'Vollkorn SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/j8_v6-zQ3rXpceZj9cqnViFxPn6ASb_F3JE.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Vollkorn SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/j8_v6-zQ3rXpceZj9cqnViFwPn6ASb_F3JE.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Vollkorn SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/resources/fonts/j8_v6-zQ3rXpceZj9cqnViF-Pn6ASb_F.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

main {
    margin-top: 1em;
    padding-top: .5em;
}

header {
    border-bottom: 1px solid #333;
}

.sticky-top {
    top: 1em;
}

hr {
    margin: 2em 0;
}

em {
    color: #bbb;
}

blockquote {
    background-color: #333;
    padding: 1em;
    border: 1px solid #666;
}

blockquote p {
    margin: 0;
}

blockquote p em {
    color: #eee;
}

blockquote footer {
    margin-top: 1em;
    text-align: right;
    font-style: italic;
    font-size: 0.9em;
    color: #ccc;
}

h1, h2, h3, body {
    color: #eee;
}

h1 {
    font-size: 3em;
}

h2, h3 {
    margin: .75em 0 0 0;
}

h4 {
    margin: 0px;
    color: #aaa;
    font-size: 1.1em;
    font-weight: bold;
}

.font-grenze, h3 {
    font-family: 'Grenze Gotisch';
}

.font-staatliches, h2 {
    font-family: 'Staatliches';
}

.font-vollkorn, h1 {
    font-family: 'Vollkorn SC';
}

.site-title {
    font-size: 2em;
}

a.nav-link:hover {
    color: #fff !important;
}

table {
    width: 100%;
    margin-bottom: 1em;
}

table thead {
    background-color: #40798C;
}

table thead a {
    color: #eee;
}

table thead a:hover {
    color: #fff;
}

table th,
table td {
    padding: .5em 1em;
    border-left: 1px solid #666;
    border-bottom: 1px solid #666;
    text-align: center;
}

table th {
    border-color: #aaa;
}

table th:first-child,
table td:first-child {
    border-left: none;
}

table tr:nth-child(even) {
    background-color: #333;
}

main a, .chapters a {
    color: #e3655b;
}

main a:hover, .chapters a:hover {
    color: #e3655b;
}

main img {
    width: 100%;
}

.sidebar-menu {
    background-color: #333;
    border-radius: .5em;
}

.sidebar-menu, .sidebar-menu ul {
    padding: 0;
}

.sidebar-menu li {
    list-style: none;
}

.sidebar-menu > li a {
    display: block;
    text-decoration: underline;
    border-radius: .5em;
}

.sidebar-menu > li > a {
    padding: .5em 1em;
}

.sidebar-menu > li > ul > li > a {
    padding: .5em 1em;
    color: #e3655b;
    font-size: 0.9em;
}

.sidebar-menu > li a:hover {
    background-color: #666;
    border-radius: .5em;
    color: #eee;
}

.sidebar-menu li.active {
    background-color: #444;
    border-radius: .5em;
}

.sidebar-menu > li > ul > li > a {
    padding: .5em 2em;
}

#quick-builder-form table tr:nth-child(even) {
    background-color: transparent;
}

#quick-builder-form table tr:nth-child(4n),
#quick-builder-form table tr:nth-child(4n-1) {
    background-color: #333;
}

#quick-builder-form table tr.melee td:nth-child(2)::after,
#quick-builder-form table tr.ranged td:nth-child(3)::after,
#quick-builder-form table tr.defence td:nth-child(4)::after {
    content: "⚡️";
}

#quick-builder-form table tr.unit-details td {
    border-bottom: 1px solid #ccc;
    text-align: left;
}

#quick-builder-form table tr th:first-child,
#quick-builder-form table tr.unit-profile td:first-child {
    text-align: left;
}

.footer {
    margin-top: 2em;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-top: 1px solid #333;
}

@media print {

    * {
        background: #fff !important;
    }

    div {
        margin: 0em !important;
        padding: 0em !important;
        max-width: 100% !important;
    }

    p {
        color: #000;
    }

    hr,
    header,
    .sidebar-menu,
    #quick-builder-form fieldset,
    #quick-builder-form table tfoot {
        display: none;
    }

    h1 {
        text-align: center;
    }

    #quick-builder-form table {
        display: block;
        background: #fff;
        width: 100%;
        margin-bottom: 11in;
    }

    #quick-builder-form table tfoot {
        display: none;
    }

    table thead tr th, em {
        color: #111;
    }

    table thead tr th {
        border-bottom: 1px solid #333;
    }

    table tbody td {
        border-bottom: 1px solid #bbb;
        border-left: 1px solid #bbb;
        color: #000;
    }

    table tbody td:first-child {
        border-left: none;
    }

    #quick-builder-form table tr:nth-child(2n) td {
        border-bottom: 1px solid #333 !important;
    }
}