body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    xfont-size: 12px;
}

body.index {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6, p {
    padding: 0;
    margin: 0;
    font-weight: normal;
}

h2, h3, h4, p {
    margin-bottom: 0.5em;
}

a.preview {
    display: block;
    margin-bottom: 2em;
}

a:hover {
    text-decoration: underline;
}

a.preview:hover {
    text-decoration: none;
}

a:hover svg {
    fill: #666666;
}

.preview img {
    max-width: 100%;
}

img.border {
    border: 1px solid #eee;
}

h4 {
    font-weight: bold;
}

nav {
    padding: 1em 1em;
}

section {
    margin: 2em 1em;
}

h1 > small,
h2 > small,
h3 > small,
h4 > small,
h5 > small {
    display: block;
    font-weight: normal;
}

a:hover h4 {
    background-color: #fcfcfc;
    padding: 0.5em;
    margin: -0.5em -0.5em 0em;
}

body.home section {
    font-size: 0.8;
    width: 19em;
    display: inline-block;
    vertical-align: top;
    padding: 0 1em 1em;
    margin: 2em 0 5em -1px;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

body.home h3 {
    border-bottom: 1px solid #999;
    margin-bottom: 1em;
}

span.amp {
    font-family: "Warnock Pro", Baskerville,"Goudy Old Style","Palatino","Book Antiqua",serif;
    font-size: 1.1em;
    line-height: 1;
    font-style: italic;
    font-weight: normal;
}
span.caps {
    font-size:.92em;
}


nav h1 span.amp {
    margin: 0 0.1em;
    font-size: 110%;
    line-height: 0.9;
}

article {
    padding: 0 1em 1em;
    margin: 2em 0 5em 0;
}

footer {
    padding: 1em 0.5em;
    margin: 1em 0.5em 2em;
    xmax-width: 80%;
    border-top: 1px solid #ccc;
}

article h2 {
    margin-bottom: 1em;
}

sup {
    line-height: 0.1;
}

article p,
article h3,
article h4,
article h5,
article h6 {
    max-width: 40em;
    clear: left;
    line-height: 1.4;
}

article p {
    margin-bottom: 1.1em;
}

article p a,
.copy a:hover {
    color: #696969;
    text-decoration: underline;
}

article small.date {
    font-style: italic;
}

article figure {
    margin: 2em 0 3em;
    xmax-width: 100%;
}

article figure img {
    max-width: 100%;
}

article figure figcaption {
    font-size: 0.8em;
}

pre.code {
    float: left;
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    padding: 1em 1.2em 1.2em 1em;
    max-width: 95%;
    overflow-x: auto;
    line-height: 1.3;
    margin: 0.5em 0 1.7em;
    font-size: 1.05em;
}

.impressum {
    margin-top: 2em;
    font-size: 90%;
}

@media only screen and (min-width:900px) {
    body.text .page-wrapper {
        margin-left: 5%;
        margin-top: 1em;
    }

    footer {
        padding: 1em 1em;
        margin: 1em 0 2em;
        max-width: 90%;
    }
    
}