html {
    font-family: sans-serif;
    background-color: white;
    background-image: url('/images/erlenmeyer-flask.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 90% 95%;
    color: black;
}

body {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body > h1 {
    width: 100%;
    font-size: 300%;
    border-bottom: 1px solid #000;
}

body > ul.topnav {
    margin: -25px 0px 20px 0px;
    list-style-type: none;
    float: right;
}

body > ul.subnav {
    margin: -25px 0px 20px 0px;
    list-style-type: none;
    float: right;
}

body > ul.topnav > li,
body > ul.subnav > li {
    display: inline;
    padding: 0px 5px 0px 10px;
    border-left: 1px dotted #000;
    font-size: 80%;
}

body > ul.topnav > li:first-child,
body > ul.subnav > li:first-child {
    border-left: none;
}

body > ul.topnav > li > a {
    font-weight: bold;
    text-decoration: none;
}

body > ul.subnav > li > a {
    text-decoration: none;
}

body > ul.topnav > li > a:hover,
body > ul.subnav > li > a:hover {
    text-decoration: underline;
}

body > ul.topnav > li > a:visited,
body > ul.subnav > li > a:visited {
    color: #00f;
}

body > div#body {
}

div#body > h1 {
    border-bottom: 1px dotted #000;
    margin-top: 60px;
    font-size: 190%;
}

div#body > h1 + h3 {
    margin-top: -15px;
    font-size: 90%;
    font-weight: normal;
    text-align: right;
}

div#body > h2,
div#body > h3,
div#body > h4,
div#body > h5,
div#body > h6 {
    margin-top: 40px;
}

div#body > h1:first-child {
    margin-top: 60px;
}

div#body > div.timestamp {
    margin: -15px 0px 5px 0px;
    font-style: italic;
    font-size: 80%;
}

div#body > p {
}

div#body > table {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0px;
}

div#body table th {
    border-bottom: 2px #000 solid;
    background-color: #ddd;
    margin: 0px;
    padding: 3px 5px 3px 5px;
}

div#body table tr,
div#body table td {
    padding: 5px;
    margin: 0px;
    border-bottom: 1px #ddd dotted;
}

div#body table tr:last-child td {
    border-bottom: 1px #000 solid;
}

div#body > blockquote {
    margin: 20px auto 20px auto;
    padding: 5px 10px 5px 10px;
    width: 80%;
    text-align: justify;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
}

div#body > pre {
    margin: 20px auto 20px auto;
    padding: 5px 10px 5px 10px;
    width: 80%;
    overflow: auto;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
}

body > ul#footer {
    list-style-type: none;
    border-top: 1px solid #000;
    padding-top: 10px;
    margin-top: 40px;
    text-align: center;
}

div#body > img {
    display: block;
    margin: 10px auto 10px auto;
    padding: 5px 10px 5px 10px;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
}

div#body > a.gallery {
    width: 120px;
    height: 120px;
    float: left;
    margin: 10px 10px 40px 10px;
    text-align: center;
}

div#body > a.gallery > img.gallery {
    display: block;
    padding: 10px;
    width: 100px;
    height: 100px;
    border: 1px dotted #000;
    background-color: white;
}

div#body > a.gallery > img.gallery:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

div#body:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

div#body > a {
    font-weight: bold;
    text-decoration: none;
}

div#body > a > img {
    display: block;
    margin: 10px auto 10px auto;
    padding: 5px 10px 5px 10px;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    border-left: none;
    border-right: none;
}

ul#footer > li {
    display: inline;
    border-right: 1px dotted #000;
    margin: 5px 0px 0px 0px;
    padding: 0px 10px 0px 5px;
    font-size: 85%;
}

ul#footer > li:last-child {
    border-right: none;
}

ul#footer > li.disclaimer {
    display: block;
    text-align: justify;
    padding: 0px;
    margin-bottom: 10px;
    margin-left: -40px;
    margin-top: 0px;
    border-right: none;
}

div#comments {
    display: block;
    text-align: justify;
    padding: 0px;
    margin-left: 60px;
    margin-right: 60px;
    margin-top: 40px;
}

div#comments > h1 {
    border-bottom: 1px #000 dotted;
    font-size: 150%;
}

div#comments > h4 {
    margin-top: 30px;
    margin-bottom: -10px;
}

div#comments > p {
    margin-top: 10px;
    margin-bottom: 10px;
}

div#comment-form {
    display: block;
    padding: 0px;
    margin-left: 60px;
    margin-right: 60px;
    margin-top: 40px;
}

div#comment-form > h1 {
    border-bottom: 1px #000 dotted;
    font-size: 150%;
}
