﻿html, body, input, select, textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
}

html, body {
    background-color: rgb(250,250,250);
}

input, select, textarea {
    color: #000;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tangerine', cursive;
    margin-top: 10px;
    margin-bottom: 30px;
}

h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 3em;
}

    h2.item-type {
        font-size: 2em;
    }

h3 {
    font-size: 2.5em;
}

h4 {
    font-size: 2em;
}

h5 {
    font-size: 1.8em;
}

h6 {
    font-size: 1.6em;
}

.validator {
    color: #F00;
    display: inline-block;
}

    .validator::before {
        content: '* ';
    }

.text-center, .text-centre {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

input, select, textarea {
    width: 100%;
    margin: 0px;
    box-sizing: border-box;
}

    button, input[type="submit"] {
        width: 100%;
        display: block;
        margin-top: 10px;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 1em;
        border: 1px solid #000;
        color: #000;
        background-color: #FFF;
        cursor: pointer;
        padding-top: 2px;
        padding-bottom: 2px;
        transition-property: color, background-color;
        transition-duration: 0.5s;
        transition-timing-function: ease-out;
    }

        button.inline, input[type="submit"].inline {
            margin-top: 0px;
            margin-bottom: 0px;
        }

        button:hover, input[type="submit"]:hover, button:focus, input[type="submit"]:focus {
            background-color: #444;
            color: #FFF;
        }

        button[disabled], input[type="submit"][disabled], button[disabled]:hover, input[type="submit"][disabled]:hover, button[disabled]:focus, input[type="submit"][disabled]:focus {
            cursor: not-allowed;
            color: #888;
        }

.page-selector {
    display: block;
    list-style-type: none;
    padding: 0px;
}

    .page-selector .page-selector__link {
        display: inline-block;
        margin: 2px;
    }

.page-selector__link a {
    display: block;
    padding: 0px;
    padding-left: 7px;
    padding-right: 7px;
    border: 1px solid transparent;
    border-radius: 20px;
    transition: border-color 0.5s ease-out;
    cursor: pointer;
}

    .page-selector__link a, .page-selector__link a:link, .page-selector__link a:visited, .page-selector__link a:hover, .page-selector__link a:active {
        text-decoration: none;
        color: #122138;
    }

        .page-selector__link a:hover {
            border: 1px solid #9acae6;
            text-decoration: none;
        }

.page-selector__link--active a, .page-selector__link--active a:hover {
    border: 1px solid #122138;
    border-radius: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 10px;
}

    table td, table th {
        text-align: left;
    }

    table thead {
        background-color: #000;
        color: #FFF;
    }

    table td, table th {
        border: 1px solid #000;
        padding: 10px;
    }

    table th {
        font-weight: bold;
    }

        table th.date, table td.date {
            width: 130px;
            text-align: right;
        }

a, a:link, a:visited, a:hover, a:active {
    cursor: pointer;
    color: #00F;
    text-decoration: underline;
}

    a:hover, a:focus {
        color: #005;
    }

img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    display: inline-block;
}

.bold, .strong, b, strong {
    font-weight: bold;
}

.em, .i, i, em, q, blockquote {
    font-style: italic;
}

blockquote {
    margin: 15px;
    display: block;
}

div.aside a.name {
    font-weight: bold;
    display: inline-block;
}

    div.aside a.name::after {
        content: ': ';
    }

ul.no-bullets, ol.no-bullets {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

div.paper {
    background-color: #f2d7ac;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    word-break: break-word;
    position: relative;
    display: block;
    height: auto;
    overflow: hidden;
    padding: 35px;
    color: #000;
    margin-bottom: 30px;
}

div.aside {
    background-color: #ccc;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    word-break: break-word;
    position: relative;
    display: block;
    height: auto;
    overflow: hidden;
    padding: 10px;
    color: #000;
    margin-bottom: 30px;
}

    div.aside h3 {
        margin-top: 0px;
        margin-bottom: 10px;
    }

nav {
    padding: 0px;
    margin: 0px;
    text-align: right;
}

    nav li {
        display: inline-block;
        padding: 0px;
        margin: 0px;
    }

    nav a, nav a:link, nav a:visited, nav a:hover, nav a:target {
        display: block;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0px;
        margin-left: 10px;
        margin-bottom: 5px;
        background-color: #444;
        color: #FFF;
        text-decoration: none;
        transition-property: color, background-color;
        transition-duration: 0.5s;
        transition-timing-function: ease-out;
        border: 1px solid #000;
        vertical-align: middle;
        line-height: 1em;
        border-radius: 1em;
    }

        nav a:hover {
            background-color: #FFF;
            color: #000;
        }

div.clear {
    display: block;
    position: relative;
    float: none;
    height: 1px;
    margin: 0px;
    padding: 0px;
    width: 100%;
    clear: both;
}

.aside li {
    margin-bottom: 10px;
}

hr {
    display: block;
    width: 100%;
    margin: 0px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: none;
    border: none;
    border-top: 1px solid #AAA;
    clear: both;
    float: none;
    position: relative;
}

dl {
    clear: both;
    float: none;
    display: block;
}

    dl dt::after {
        content: ':';
    }

    dl dt {
        font-weight: bold;
        padding: 0px;
        margin: 0px;
        display: block;
    }

    dl dd {
        padding: 0px;
        margin: 0px;
        padding-bottom: 20px;
        display: block;
    }

@media screen and (min-width:700px) {
    dl dt {
        float: left;
        display: inline-block;
        width: 210px;
        padding-bottom: 20px;
    }


    dl dd {
        float: left;
        display: inline-block;
        width: calc(100% - 210px);
    }
}

dl.title-entry dt, dl.title-entry dd {
    display: block;
    float: none;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

dl.title-entry dd {
    margin-bottom: 20px;
}

    dl.title-entry dt::after {
        content: '';
    }

.grid-map div, .grid-map a, .grid-map img {
    margin: 0px;
    padding: 0px;
}

.grid-map a, .grid-map img {
    display: block;
}

    .grid-map a[data-tile] {
        cursor: zoom-in;
    }

        .grid-map a[data-tile]:hover {
            border: 3px solid red;
        }

    .grid-map a.tile-back {
        display: inline-block;
        margin-bottom: 10px;
    }

        .grid-map a.tile-back::before {
            content: '< ';
        }
