/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
 */
/* Mockingbird Theme by Nevan Scott nevanscott.com */
/* Modified by Jody Frankowski */
/* Modified by ix5 */
/* Modified by Ferdinand Keil */

/* Colour palette: http://www.colourlovers.com/palette/4480781/Capricious */

html, body, div, span, applet, object, iframe,
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,
b, u, i, center,
dl, dt, dd, 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;
}
em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    background-color: #FFF;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    font-family: 'Open Sans', Georgia, serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #444;
}

header, #wrapper {
    width: 910px;
    margin: auto;
}

a {
    text-decoration: underline;
    color: #F69D01;
}

.header_box a {
    color: #F2335C;
}

ul {
    list-style: outside disc;
}

ol {
    list-style: outside decimal;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
h1, h2, h3 {
    font-size: 1.5em;
    line-height: 1em;
    margin: 1em 0;
}

img, p, .post > .highlight, .highlighttable, h4, h5, h6 {
    margin-top: 1.2em;
}

blockquote {
    margin: 1.5em 1.5em 1.5em .75em;
    padding: 0em 0 0 0.75em;
    position: relative;
    line-height: 1.75em;
}
blockquote:before, blockquote:after {
    position: absolute;
    font-style: italic;
    font-family: "Libre Baskerville", Palatino, "Palatino Linotype", Palladio, "URW Palladio", serif;
    color: #EEE;
    font-size: 7em;
    z-index: -1;
}
blockquote::before {
    content: '\201C';
    top: 0.25em;
    left: -0.15em;
}
blockquote:after {
    content: '\201D';
    bottom: -0.45em;
    right: 0.15em;
}

.date {
    color: #CCC;
    float: left;
    clear: both;
    width: 130px;
    font-size: 1.5em;
    line-height: 1em;
    margin: 0 20px 1em 0;
    font-family: 'Oswald';
}

.info {
    margin-top: 1.3em;
    font-family: sans-serif;
    text-align: right;
    color: #BBB;
}
.info a {
    color: inherit;
}
.info a.tags {
    background: #CCC;
    color: #FFF;
    display: inline-block;
    padding: 0 .3em;
    border: 1px transparent solid;
    border-radius: 5px;
    margin: 0 0 0.3em 0;
}
.info a.tags.selected {
    border: 1px #999 solid;
}

.post {
    margin: 0 0 4.5em 150px;
}
.post.archives {
    margin-bottom: 1.5em;
    margin-left: 160px;
}
.post p {
    text-align: justify;
}

.page {
    margin: 0 90px;
}

.highlight {
    border-radius: 3px;
}
.code > .highlight {
    border-radius: 0px 3px 3px 0px;
}
td.code {
    width: 100%;
    max-width: 100px;
}

img {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.15);
    border-radius: 0.3em;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*sub and sup stolen from Twitter bootstrap.*/
sub, sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

.post pre, .page pre {
    padding: .8em;
    font-size: 12px;
    font-family: Monospace;
    line-height: 1.1em;
    overflow: auto;
}

form.inline_edit {
    clear: both;
    margin: 4.5em 0;
    background-color: #DDD;
    color: #000;
    padding: 20px;
    border-radius: 5px;
}
.inline_edit .sub {
    color: #888;
    white-space: nowrap;
}
.inline_edit label {
    float: left;
    clear: both;
    width: 140px;
    margin-right: 20px;
}
.inline_edit .buttons {
    display: block;
    text-align: right;
}

nav ul {
    float: right;
    list-style: none;
    margin: 0 0 0 3em;
    padding: 0;
}
nav li {
    float: left;
}
nav a {
    display: block;
    padding: 2em 10px 10px 10px;
}
a:hover {
    text-decoration: none;
}
h2.title {
    font-family: 'Oswald';
}
h2.title a {
    text-decoration: none;
}

div.header_box h1 a {
    text-decoration: none;
}

div.header_box h1 {
    font-family: 'Oswald';
    font-size: 500%;
}

.electronic-notes {
    font-family: 'Gloria Hallelujah';
    font-size: 70%;
}

p.electronic-notes {
    position: relative;
    top: -1em;
    line-height: 0px;
    z-index: -1;
}
nav a:hover {
    background-color: #CCC;
    color: #FFF;
    text-decoration: none;
}
nav li.selected a {
    background-color: #000;
    color: #FFF;
}

header .header_box {
    padding-top: 4.5em;
}
header h1 {
    font-size: 1.5em;
    line-height: 1em;
    margin: 0;
}
header h2 {
    font-size: 1em;
    margin: .3em 0;
    color: #DDD;
}

#content {
    margin-top: 3em;
}

.pages {
    font-family: sans-serif;
    line-height: 2.5em;
    margin: 4.5em 0 3em;
    background-color: #F9F9F9;
    color: #444;
    border-radius: 5px;
}
.pages a.next_page {
    float: right;
    width: 140px;
    text-align: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #EEE;
}
.pages a.prev_page {
    float: left;
    width: 140px;
    text-align: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #EEE;
}
.pages a {
    color: inherit;
    border: none;
}
.pages a:hover {
    background-color: #DDD;
}
.pages span {
    display: block;
    margin: 0 160px;
    text-align: center;
}

code {
    background-color: #E9F0E0;
    box-sizing: border-box;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 12.6px;
    line-height: 18px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    white-space: nowrap;
}

footer {
    font-family: sans-serif;
    line-height: 2.5em;
    text-align: center;
    color: #BBB;
    margin: 3em 0;
    border: 0px solid #EEE;
    border-radius: 5px;
}
footer p { margin: 0; }

.right { float: right; }

.clear { clear: both; }

div.figure .caption {
    text-align: center;
    font-size: 90%;
    font-weight: bold;
}

th.head {
    font-weight: bold;
}

img.img-gallery {
    display: inline-block;
    margin-left: 2em;
}

img.pdf-preview {
    display: inline;
    margin-left: 2em;
    vertical-align: middle;
}

.docutils.literal {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9em;
}

.footnote-reference {
    vertical-align: super;
    font-size: 80%
}

/* see: https://stackoverflow.com/a/8539107 */
table.docutils.footnote {
    margin-top: 2em;
    border: none;
    border-top: 1pt black solid;
}
table.docutils.footnote ~ table.docutils.footnote {
    margin: 0;
    border: none;
}

table.docutils.footnote:target>tbody>tr>td.label>a {
    color: black;
}

a.fn-backref {
    vertical-align: super;
    font-size: 80%;
    font-weight: bold;
    margin-right: 1em;
    text-decoration: none;
}

table.docutils {
    margin-top: 1.5em;
}

table.docutils, td, th {
    border: 1pt solid black;
    padding: 1pt 6pt 1pt 6pt;
}

table.docutils th {
    text-align: left;
}

table.docutils thead {
    background-color: #CCC;
}

table.docutils.footnote td, th {
    border: none;
}

cite {
    font-family: monospace;
    font-size: smaller;
}
