body {
    margin: 0;
    color: #333;
    font-family: 'Nueton', serif;
    text-rendering:optimizeLegibility;
    display: flex;
    flex-direction: column;
}

/* Prevent <sup> and <sub> from messing up line heights */
sup, sub {
   vertical-align: baseline;
   position: relative;
   top: -0.4em;
}
sub { top: 0.4em; }

#site-header {
    padding: 0.70em 1em 0.5em 1em;
    margin: 0;
    font-size: 36px;
    background-color: #333;
    border-color: #F0C808; /* gold */
    border-width: 0 0 0.125em 0;
    border-style: solid;
    flex: 0;
}

#footer {
    background-color: #333;
    border-color: #F0C808; /* gold */
    border-width: 5px 0 0 0;
    border-style: solid;
    color: #aaa;
    letter-spacing: 0.05em;
    margin-top: 3em;
    padding: 2em 0 2em 0;
    text-align: center;
    line-height: 1.65em;
}

#footer-content {
    display: flex;
    flex-wrap: wrap;
}

.footer-section {
    flex: auto;
    width: 30%;
}

#footer h4 {
    border: none;
    margin: 0;
    margin-bottom: 0.25em;
    color: #F0C808; /* gold */
    text-align: center;
    padding-bottom: 0.125em;
}

#footer p {
    letter-spacing: 0.01em;
    margin: 0;
}

#footer a {
    color: #aaa;
}

#footer a:hover {
    color: #F0C808; /* gold */
}

#footer ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

#site-header a {
    color: #FFF;
    border: none;
}

#site-header a:hover {
    color: #F0C808; /* gold */
    border: none;
}

.post-date {
    font-family: 'Nueton', Serif;
    color: #666;
    font-size: 12px;
    letter-spacing: 0.1em;
    border-bottom: 1px dotted #666;
    text-transform: uppercase;
}

.tag, .tag a, .tag a:hover {
    padding: 2px 3px;
    font-family: sans-serif;
    font-weight: bold;
    color: #fff;
    background-color: #AAA;
    font-size: 80%;
    border-radius: 3px;
    letter-spacing: 0.2em;
}

.tag a:hover {
    color: #ebdd9b;
}

.post-meta span {
    margin: 0 2px;
}

.post-meta * {
    color: #666;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.post-meta a {
    border: none;
}

.post-title {
    margin-bottom: 0.4em;
}

.post-title a {
    text-decoration: none;
    border: none;
    display: block;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', Serif;
    font-weight:normal;
    text-transform: uppercase;
    line-height: 1.1em;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #F0C808; /* gold */
}

h2 { font-size: 32px; }
h3 { font-size: 24px; }

.center-column {
    margin: 0 auto 0 auto;
    max-width: 700px;
}

#page {
    padding: 0 1em 0 1em;
    flex: 1;
}

#page p {
    line-height: 1.5em;
}

#pagination {
    width: 100%;
    display: table;
}

.pagination {
    width: 100%;
    display: table-cell;
}

#pagination-prev {
    text-align: left;
}

#pagination-next {
    text-align: right;
}

.post {
    padding: 1em 0em 1em 0em;
}

.post-body {
    font-size: 20px;
}

.pagination a {
    font-family: 'Merriweather', Serif;
}

a, a * {
    color: #333;
    border-bottom: 1px dotted #999;
    text-decoration: none;
}

a:hover, a:hover * {
    color: #F0C808; /* gold */
}

code {
    padding: 2px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #444;
    font-family: 'Inconsolata';
    font-size: 70%;
}

pre {
    padding: 5px;
	overflow: auto;
	overflow-y: hidden;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 4px;
    line-height: 1.5em;
    font-size: 16px;
    tab-size: 4;
}

pre code {
    border: none;
    padding: 0px;
    font-size: 100%;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #ddd;
}

th, td {
    padding: 1rem;
}

td {
    letter-spacing: 1px;
    text-align: center;
}

th {
    text-align: center;
    background-color: #ddd;
    letter-spacing: 2px;
    text-transform: uppercase;
}

tbody tr:nth-child(even){
    background-color: #eee;
}

.footnote-definition p {
    display: inline;
}

.footnote-definition {
    padding-top: 1em;
    border-top: 1px dotted #666;
    font-family: 'Nueton', Serif;
    letter-spacing: 0.1em;
    font-size: 14px;
}
