/*
Theme Name: XH5 (rlae branch)
Theme URI: 
Description: Ein WordPress-Theme mit XHTML5, basierend auf Jeff Starrs Theme H5.
Version: 1.0
Author: erlehmann, Jeff Starr
Author URI: 
Tags: minimalist, template, xhtml5

    basiert auf H5 v1.0
    http://diggingintowordpress.com/

    This theme was lovingly designed and developed by Jeff Starr, 
    who blogs at perishablepress.com and designs at monzilla.biz.

    This theme was modified by erlehmann.

    The CSS, HTML and design is released under GPL:
    http://www.opensource.org/licenses/gpl-3.0.html
*/

/* fonts */

/* == BASICS == */

body {
    background-color: #3465a4;
    color: #eeeeec;
    font-family: Verdana, helvetica, arial, clean, sans-serif;
    font-size: 11px;
    line-height: 1.5;
    margin: 0 auto;
    width: 960px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

nav+section {
    background-color: #eeeeec;
    background-image: url("images/main-bg.png");
    background-position: top left;
    background-repeat: repeat-y;
    clear: none;
    color: #2e3436;
    float: right;
    overflow: hidden;
    padding: 0 20px;
    width: 700px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

/* == LINKS == */

header h1 a:active,
header h1 a:hover,
header h1 a:link,
header h1 a:visited {
        color: inherit;
    }

/* == HEADER == */

body > header {
    background: url("images/logo.png");
    background-repeat: no-repeat;
    height: 200px;
    margin: 1em 0.5em;
    width: 200px;
}

    body > header h1,
    body > header h2 {
        display: none;
        margin: 0;
        padding: 0;
    }

    body > header h1 {
        font-size: 2em;
    }

    body > header h2 {
        font-size: 1.5em;
    }

/* == NAVIGATION == */

nav {
    text-align: center;
    clear: both;
}

body > nav {
    display: none;
}

    body > nav ol,
    body > nav ul {
        text-align: left;
        padding: 0 1em;
    }

        body > nav li {
            display: inline-block;
            font-weight: bold;
            margin-right: 20px;
            padding: 1em;
        }

a[rel=prev] {
    float: left;
}

    a[rel=prev]:before {
        content: "« ";
    }

a[rel=next] {
    float: right;
}

a[rel=next]:after {
        content: " »";
    }

/* == SIDEBAR == */

body > header,
body > aside {
    background-color: #3465a4;
    color: #eeeeec;
    float: left;
    overflow: hidden;
}

body > aside {
    width: 220px;
}

    body > aside ol,
    body > aside ul
    {
        margin: 0;
        padding: 0 1em;
    }

        body > aside ul li {
            list-style: none;
        }

        body > aside ul li.meta {
            opacity: 0.5;
        }

        body > aside > ul > li {
            border-top: 0.25em dashed rgba(255, 255, 255, 0.2);
            padding-top: 1em;
            padding-bottom: 1em;
            width: 200px; /* top border should have same width as logo */
        }

            body > aside ul li ul li {
                list-style: disc outside;
            }

            body > aside ul li.categories ul li ul {
                padding-bottom: 0;
                padding-top: 0;
                display: none;
            }

            body > aside ul li.categories ul li:hover > ul {
                display: block;
            }

body > aside label[for="s"] {
    display: none;
}

/* == FOOTER == */

body > footer {
    color: rgba(255, 255, 255, 0.5);
    padding: 2em;
    text-align: center;
    overflow: hidden;
    width: 100%;
    clear: both;
    }

/* == POSTS == */

article {
    margin: 2em;
}

article + article {
    border-top: 0.25em dashed rgba(0, 0, 0, 0.2);
    padding-top: 1em;
}

article[id*=post-] {
    
}

    article a,
    article + section a,
    article + section + section a,
    article + section + section + nav a {
        background-color: #EEEEEC;
        color: #204a87;
    }

    article a:hover,
    article + section a:hover,
    article + section + section a:hover,
    article + section + section + nav a:hover {
        border-bottom-color: #204a87;
    }

    article > header,
    article > footer,
    article > footer p,
    article > section > img,
    article > section > p,
    article > section ol,
    article > section ul {
        margin: 1em 0;
        min-height: 1.5em;
    }

    article > header ul,
    article > header ul + a {
        margin-bottom: 1em;
    }

    article > header ul {
        display: inline-block;
    }

        article > header ul li {
            display: inline-block;
            margin: 0;
            list-style-type: none;
        }

            article > header ul li a {
            }

    article > header ul + a {
        float: right;
    }

    article section > img,
    article section > p > img,
    article section > p > a > img {
        -moz-box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.4);
        border: 0.25em solid rgba(255, 255, 255, 0.8) !important;
    }

    article section > [title] {
        border-bottom: 0.1em dotted #2e3436;
        cursor: help;
    }

    article section ol,
    article section ul {
        padding-left: 2em;
    }

        article section blockquote ol,
        article section blockquote ul {
            padding-left: 1em;
        }

    article > footer {
        margin-top: 1.5em;
    }

        article > footer .author {
            font-weight: bold;
        }
    
        article > footer .post-edit-link {
            margin: 0 0.25em;
        }
    
        article > footer time {
            float: right;
        }

article + section,
article + section + section,
article + section + section + nav {
    margin: 2em;
    min-height: 1.5em;
}

article+nav {
    font-weight: bold;
}

/* == COMMENTS == */

article[id*=comment-] {
    margin: 2em 1em;
}

    article[id*=comment-] h4 {
        margin: 0;
    }

    .alt {
        border: 1px solid #ddd;
        background: #eee;
    }

form[method=post] input {
    margin: 0.25em 0 1em 0;
    display: block;
}

section#comments form input[type=submit],
section#comments form textarea {
    min-height: 4em;
    width: 100%;
}

form[method=post] label {
    display: block;
}

form[method=post] label[for=comment] {
    display: none;
}

/* == GENERAL CLASSES == */

.right {
    clear: both;
    float: right;
    margin-bottom: 1em;
    margin-left: 1em;
}

.left {
    clear: both;
    float: left;
    margin-bottom: 1em;
    margin-right: 1em;
}

/* == ELEMENTS == */

* {
    margin: 0;
    padding: 0;
}

a {
    border-bottom-style: solid;
    border-bottom-color: transparent;
    border-bottom-width: 0.1em;
    text-decoration: none;
}

a {
    background-color: #3465a4;
    color: #ffffff;
}

a:hover {
    border-bottom-color: #ffffff;
}

article, aside, figure, figcaption, footer, header, section, nav {
    display: block;
}

article {
    counter-reset: edit;
}

blockquote {
    border-left: 0.5em solid rgba(0,0,0,0.2);
    padding-left: 1em;
}

code, kbd {
    display: inline-block;
    font-family: "Consolas", "Monaco", "Courier New", "Courier", monospace;
    padding: 0.1em 0.25em;
    white-space: pre-wrap;
    border-width: 0.1em;
    border-style: solid;
}

code {
    background-color: #eeeeec;
    border-color: #888a85;
    color: #204a87;
}

figcaption {
    text-align: center;
}

footer {
    clear: both;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
}

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
        text-decoration: none;
    }

    h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
        border-bottom: 0.1em solid rgba(0, 0, 0, 0.4);
    }

ins {
    text-decoration: none;
}

ins p:first-child:before {
    content: "Nachtrag (" counter(edit) "): ";
    counter-increment: edit;
    font-weight: bold;
}

ins:first-of-type p:first-child:before {
    content: "Nachtrag: ";
    counter-increment: edit;
}

kbd {
    background-color: #555753;
    border-color: #2e3436;
    color: #8ae234;
}

li {
    margin: 0.5em 0;
}

mark {
    background-color: #fce94f;
    border: 0.25em solid #fce94f;
    border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    -webkit-border-radius: 0.25em;
}

q {
    quotes: "„"   "“" "‚" "‘";
}

/* == ALL YOUR CODE ARE BELONG TO POETRY == */

