﻿body, table {
    font-size: 12px;
    font-family: "Tahoma";
    color: #222;
    padding: 20px 40px;
}

h1.header {
    font-family: "Segoe UI Light", "Segoe UI", "Tahoma";
    font-size: 42pt;
    color: #444;
    margin-bottom: 0;
    text-shadow: 0 0 1pt gray;
    font-weight: 700 !important;
}

    h1.header a {
        color: inherit !important;
        text-decoration: none;
        font-style: normal !important;
    }

h1.title {
    font-size: 2.5em;
    margin-top: 0;
}

h1 {
    font-size: 1.75em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1em;
}

.core-subheader {
    font-family: "Segoe UI", "Segoe UI Light", "Tahoma";
    font-size: 23.337pt;
    text-shadow: 0 0 1pt gray;
    color: #888;
    font-weight: 300 !important;
}

small {
    font-size: 80%;
    color: gray;
}


a {
    color: #319;
    text-decoration: none;
    font-weight: bold;
}

    #metro-navi a {
        color: #666;
        /*font-style: normal;*/
    }

    a[href^="https://"] {
        font-style: italic;
    }


hr {
    border: 1px solid #CCC;
    margin-bottom: -1em;
}

main .metro-slide {
    width: 600px;
}

main .metro-slide.unbound-width {
    width: auto;
}

.metro-slide {
    /*text-align: justify;*/
    display: inline-block;
    margin-top: 0;
    vertical-align: top;
    margin-right: 50px;
}



header nav ul, main {
    margin: 0;
    padding-left: 0;
    padding-top: 0;
}

    header nav li {
        display: inline-block;
        margin: 10px 5px;
        font-family: "Segoe UI", "Segoe UI Light", "Tahoma";
        font-size: 23.337pt;
        text-shadow: 0 0 1pt gray;
        color: #888;
        font-weight: 300 !important;
    }

        header nav li:hover:not(.selected) {
            text-shadow: 1px 1px 2pt black;
            color: #444;
        }


        header nav li.selected {
            color: black;
        }

        header nav li a {
            color: inherit;
            text-decoration: inherit;
            font-weight: inherit;
        }
main {
    display: table;
}

    main .metro-row {
        display: table-row;
    }

    main .metro-slide, main nav {
        display: table-cell;
    }

    main nav {
        padding-left: 5em;
        opacity: 0.6;
    }

        main nav ol, main nav ul {
            margin-top: 0;
        }

        main nav .selected {
            font-weight: bold;
            color: orange;
        }

table {
    padding: 0;
    padding-left: 20px;
}

th {
    text-align: left;
}

td {
    vertical-align: top;
}

.sign {
    font-family: monospace;
    white-space: pre;
    width: 10em;
    height: 4.3em;
    text-align: center;
    border: 1px solid gray;
    padding: 0;
    float: right;
    display: inline-block;
    margin: 5px;
}

.red {
    color: red;
}

p + ul, p + ol {
    margin-top: -1em;
}

.metro-slide h3, h4, h5 {
    margin-bottom: -1em;
}

a.footnote-ref {
    margin-left: .25em;
}

    a.footnote-ref sup {
        vertical-align: top;
        color: gray;
        font-size: x-small;
        font-weight: normal;
    }

        a.footnote-ref sup:before {
            content: '['
        }
        a.footnote-ref sup:after {
            content: ']'
        }

div.footnotes {
    font-size: 80%;
}
    div.footnotes a[href^="#"]{
        color: inherit;
        padding-left: 1em;
    }


/*TODO*/
    div.footnotes.orphan {
        list-style-type: upper-roman;
    }

    div.footnotes li {
        margin-left: -1em;
        color: gray;
    }

    div.footnotes p {
        margin: 0;
    }

span.footnote {
    font-size: x-small;
    vertical-align: top;
    color: gray;
    margin-left: 3px;
}

footer {
    margin-top: 20px;
    text-align: center;
    font-size: 60%;
    color: #bbb;
    text-transform: uppercase;
    font-family: "Segoe UI", Calibri;
}

table.episodes {
    border-collapse: collapse;
}

    table.episodes td:nth-child(2) {
        white-space: nowrap;
    }

    table.episodes tr:nth-child(even) {
        background-color: #f4f4f4;
    }

    table.episodes td, th {
        padding: 2px 6px;
    }