* {
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    background-color: #ddd;
    margin: 0;
}

body {
    background-color: #fff;
    color: #333;
    font: 14px/26px "Open Sans", Helvetica, calibri, verdana, arial, sans;
    line-height: 1.6em;
    /*left: 50%;
    margin: 0 0 0 -340px;
    position: absolute;*/
    padding: 10px 20px;
    margin: 0 auto;
    max-width: 800px;
}

@media (min-width: 720px) {
    body {
        padding: 30px 60px 30px 160px;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        box-shadow: 0 0 7px #aaa;
    }
}

@media print {
    html {
        background: #fff;
    }
    body {
        border: 0;
        box-shadow: none;
        width: 720px;
        padding: 20px 40px 20px 160px;
    }
}

section {
    margin-top: 16px;
    break-inside: avoid-page;
}

a {
    color: #66c;
    text-decoration: none;
    border-bottom: 1px dotted #ccc;
}

h1 a, h2 a, h3 a {
    border-bottom: 0;
}

a:hover {
    text-decoration: underline;
}

dd strong {
    margin-right: 0.5em;
}

table, td, th, tr {
    border: 0;
    margin: 0;
    padding: 0;
}

table.docutils {
    border: 2px solid #aae;
    margin-left: auto;
    margin-right: auto;
}

table.docutils td, table.docutils th {
    padding: 0 2px;
}

table.docutils td {
}

table.docutils th {
    text-align: left;
    border-bottom: 1px solid #ccc;
}

p {
    margin: 10px 0;
    padding: 0;
    hyphens: auto;
}

dt {
    color: #888;
}

@media (min-width: 720px), print {
    dt {
        margin: 0 0 0 -130px;
        text-align: right;
        width: 120px;
        position: absolute;
    }
}

dd {
    margin: 0 0 1em;
    padding: 0;
}

.literal {
    font: 12px monospace;
    color: #000;
    background-color: #f0f0f0;
    hyphens: none;
}

pre {
    line-height: 16px;
}

ul, ol {
    padding: 0;
}

ol {
    margin: 10px 0 10px 30px;
}

dd ol {
  margin-left: 1em;
}


ul {
    margin: 10px 0;
}

li {
    list-style-position: inside;
}

h1, h2, h3, h4 {
    font-family: 'Rokkitt', serif;
    font-weight: normal;
    margin: .3em 0;
}

header h1 {
    color: #6a6;
    margin-bottom: 10px;
}

header h1 a {
    color: inherit;
}

cite {
    color: #33c;
    font-style: normal;
}

h1 {
    font-size: 36px;
    line-height: 36px;
}

h2 {
    font-size: 28px;
    line-height: 28px;
}

h3 {
    font-size: 18px;
    line-height: 18px;
}

header p {
    margin: 0;
}

h2 {
    border-bottom: 1px solid #e6e6e6;
}

#software ul {
    column-count: 3;
    -moz-column-count: 3;
    -webkit-column-count: 3;
}

#code ul {
    column-count: 4;
    -moz-column-count: 4;
    -webkit-column-count: 4;
}

#code li sup {
  margin-top: -5px;
  position: absolute;
  color: grey;
}

#software, #code {
    font-size: 12px;
}

img.photo {
    border: 1px solid #bbb;
    box-shadow: 0 0 6px rgba(99, 99, 99, 0.3);
    float: right;
    margin: 8px 0 0 8px;
}

@media (min-width: 720px) {
    img.photo {
        margin: 0 0 0 20px;
    }
}

@media print {
    img.photo {
        box-shadow: none;
    }
}
