/* HTML5 reset (partly from
 * http://html5doctor.com/html-5-reset-stylesheet/
 */
article, aside, details, figcaption, figure, footer, header, hgroup,
        menu, nav, section { 
    display:block;
}

nav ul {
    list-style:none;
}

/* Sematic Elements */
body {
    line-height:1;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgb(235, 235, 240);
    text-rendering: optimizeLegibility;
    font-variant-ligatures: common-ligatures;
}
article {
    font-family: Minion, Helvetica, sans-serif;
    padding: 20px;
    background: rgb(255, 255, 255);
    width: 100%;
    margin-left: auto; 
    margin-right: auto; 
    border: 1px black solid;
    -moz-border-radius:u 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    line-height: 1.4;
    overflow: auto;
}
aside { /* within article, doesn't work? */
    font-family: Minion, Helvetica, sans-serif;
    width: 180px;
    float: right;
}
header {
    font-family: serif;
    font-size: 3.2em;
    text-align: center;
    text-shadow: rgba(51, 51, 51, 0.9) 1px 1px 2px;
}
header a:link { color: black; }
header a:visited { color: black; }
header a:active { color: black; }
nav {
    font-family: Minion, Helvetica, sans-serif;
    text-align: center;
    width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8em;
    /* display: none; */
}
nav table {
    width: 100%;
}
footer {
    font-family: Minion, Helvetica, sans-serif;
    text-align: center;
    font-size: 0.8em;
    width: 100%;
    clear: both;
}

/* Docutils / pygments */
.literal-block {
    padding: 10px;
    background: rgb(235, 235, 240);
    border: 1px black solid;
}
.docutils.literal {
    padding-left: 3px;
    padding-right: 3px;
    background: rgb(235, 235, 240);
}
div.highlight pre {
    padding: 10px;
    background: rgb(235, 235, 240);
    border: 1px black solid;
}

/* monospace size hack */
/* pre, tt, code {
    font-family: monospace, sans-serif;
    font-size: 1em;
} */

/* Blog */
div.blogtitle {
    font-family: Fontin, serif;
    font-size: 1.4em;
    border-bottom: 1px black solid;
}
div.blogtime {
    font-family: Fontin, Minion, Helvetica, sans-serif;
    font-size: 1.0em;
    font-weight: normal;
    font-style: italic;
}
div.blogpost {
    font-family: sans-serif;
    padding-left: 1em;
    padding-right: 1em;
}
div.blogleft {
    width: 780px;
    margin-right: 20px;
}
div.blogside {
    font-family: Minion, Helvetica, sans-serif;
    width: 180px;
    float: right;
}
div.blogsidebit {
    font-size: 0.7em;
    background: rgb(235, 235, 240);
    padding: 5px;
    font-size: 0.9em;
}
div.blogsidebit ul {
    font-size: 0.8em;
    list-style: none;
    display: inline;
    margin: 0;
    padding: 0;
}
div.blogsidebit ul li {
    text-transform: lowercase;
    padding-left: 12px;
    margin-left: 1em;
    text-indent: -1em;
}
div.blogfoot {
    font-size: 0.8em;
    padding-bottom: 2em;
}
div.blogpagination {
    font-size: 0.9em;
    margin-top: 2em;
}
/* Generics */
.figure.align-right {
    float: right;
    margin-left: 10px;
}
.figure.align-right p.caption {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 0.9em;
}
.center {
    text-align: center;
}
.left {
    text-align: left;
}
.multi li {
    width: 30%;
    margin: 15px 0 0 0;
    padding: 0 2% 0 0;
    line-height: 15px;
    float: left;
}
ul.multi {
    width: 100%;
    list-style-type: none;
}
.red {
    color: rgb(255, 0, 0);
}
a {
    text-decoration: none;
}
a:link {
    color: rgb(0, 51, 255);
}
a:visited {
    color: rgb(0, 51, 153);
}
a:active {
    color: rgb(0, 51, 255);
}
a:hover {
    color: rgb(102, 0, 0);
}
h1 {
    text-align: center;
    font-family: Minion, Helvetica, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0.67em 0px;
}   
h2 {
    text-align: center;
    font-family: Minion, Helvetica, sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    margin: 0.5em 0px;
}   
h3 {
    text-align: center;
    font-family: Minion, Helvetica, sans-serif;
    font-size: 1.0em;
    font-weight: bold;
}   
h4 {
    font-family: Minion, Helvetica, sans-serif;
    font-size: 1.0em;
    font-style: italic;
    font-weight: normal;
}
table {
    table-layout: auto;
    border-spacing: 2px;
    empty-cells: show;
    caption-side: top;
    border: none;
    border-collapse: collapse;
}
.centered {
    margin-left: auto;
    margin-right: auto;
}
table caption {
    font-style: italic;
}
th {
    padding: 15px;
    background: rgb(225, 225, 225);
}
td {
    padding-left: 10px;
    padding-right: 10px;
    text-align: right;
}
tr.even {
    background: rgb(255, 255, 255);
}
tr.odd {
    background: rgb(255, 255, 235);
}
td.even {
    background: rgb(255, 255, 255);
}
td.odd {
    background: rgb(255, 255, 235);
}
tr.botline {
    border-bottom: 1px solid rgb(225, 225, 225);
}
br.clear {
    clear: both;
}
.labels {
    border: 1px solid rgb(0, 0, 0);
    background: rgb(255, 255, 255);
    font-size: 10pt;
    text-align: center;
    width: 80px;
    white-space: nowrap;
}
