
* {
/*    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; */
    font-family: "Bitstream Vera Sans", "Verdana", "Arial", "Helvetica", sans-serif;
}
body {
    /* counter the very strange body offset coming with fixed header */
    position: relative;
    top: -40px;
    background-color: white;
}

a, a:visited {
    color: #44b;
}

html, body {
    margin: 0;
    padding: 0;
    margin-top: 0;
    padding-top: 0;
}

h1 {
    padding: 0px;
    margin: 0px;
    padding-right: 15px;
    font-size: 4.5em;
    font-weight: normal;
    font-family: "Times New Roman", "Georgia", serif;
    color: #bbb;
    height: 1.1em;
    line-height: 1em;
    text-align: right;
    border-bottom: 2px solid #bbb;
    position: fixed;
    top: 0px;
    background-color: inherit;
    opacity: 0.9;
    z-index: 1000;
}

h1 b {
    height: inherit;
    line-height: inherit;
    font-family: inherit;
    display: block;
    position: absolute;
    top: 0;
    font-weight: normal;
    color: #888;
    border-bottom: 2px solid #bbb;
}



#toc {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 340px;
    color: #444;
    line-height: 1.4em;
}

#toc li {
    padding: 0;
    margin: 0;
}

#toc li.hi {
    background-color: #ddd;
}

#toc li a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: #444;
}


#toc li:hover {
    background-color: #eee;
}

img {
    height: 200px;
    position: fixed;
    top: 120px;
}

section table, section h2, section div {
    position: relative;
    top: 120px;
}

#content {
    position: relative;
    padding: 0;
/*    margin-top: 120px; */
    /*background-color: #eee; */
}

table {
    color: #222;
    width: 100%;
}
th {
    text-align: right;
    font-weight: normal;
    font-style: italic;
    padding: 4px 6px 4px 0px;
    vertical-align: top;
    font-size: 1em;
    color: #444;
    overflow: hidden;
}
td {
    padding: 4px 6px;
}

h2 {
    font-size: 1.5em;
    font-weight: normal;
    color: #888;
    margin-top: 40px;
}

div.bullet {
    height: 0.5em;
    background-color: #999;
    display: block;
    margin-top: 0.7em;
    margin-right: 10px;
    float: left;
}

h3 {
    display: inline;
    font-size: 1em;
    color: #222;
}

td span {
    /* TODO: nicht alle spans sind gleich; bzw sollen gleich aussehen */
/*    font-size: 0.9em; */
}

@media (min-width: 1600px) {
    th {
        width: 200px;
    }
    div.bullet {
        width: 208px;
    }
    h2 {
        margin-left: 220px;
    }
    #content {
        width: 800px;
        margin-left: 200px;
    }
    #toc {
        left: 1010px;
    }
    img {
        left: 1020px;
    }
    h1 {
        width: 800px;
        margin-left: 200px;
    }
    h1 b {
        left: 815px;
    }

}

@media (min-width: 1130px) and (max-width: 1599px) {
    th {
        width: 150px;
    }
    div.bullet {
        width: 156px;
    }
    h2 {
        margin-left: 166px;
    }
    #content {
        width: 730px;
    }
}

@media (min-width: 1430px) and (max-width: 1599px) {

    #content {
        margin-left: 200px;
    }

    img {
        left: 950px;
    }
    #toc {
        left: 940px;
    }
    h1 {
        width: 730px;
        margin-left: 200px;
    }
    h1 b {
        left: 745px;
    }
}

@media (min-width: 1300px) and (max-width: 1429px) {

    #content {
        margin-left: 100px;
    }


    img {
        left: 850px;
    }
    #toc {
        left: 840px;
    }
    h1 {
        width: 730px;
        margin-left: 100px;
    }
    h1 b {
        left: 745px;
    }
}


@media (min-width: 1130px) and (max-width: 1299px) {

    #content {
        margin-left: 30px;
    }


    img {
        left: 780px;
    }
    #toc {
        left: 770px;
    }
    h1 {
        width: 730px;
        margin-left: 30px;
    }
    h1 b {
        left: 745px;
    }
}

@media (min-width: 1130px) {
    body {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (min-width: 880px) and (max-width: 1129px) {
    body {
        font-size: 12px;
        line-height: 18px;
    }
    th {
        width: 120px;
    }
    div.bullet {
        width: 126px;
    }
    h2 {
        margin-left: 136px;
    }



    img {
        top: 90px;
        left: 650px;
        height: 150px;
    }
    #toc {
        left: 640px;
        top: 270px;
    }
    h1 {
        width: 600px;
        margin-left: 30px;
    }
    h1 b {
        left: 615px;
    }

    #content {
        width: 600px;
        margin-left: 30px;
    }
    section table, section h2, section div {
        top: 90px;
    }
}

@media (max-width: 879px) {
    body {
        font-size: 12px;
        line-height: 18px;
        top: 0;
        max-width: 700px;
    }
    h1 {
        font-size: 3.6em;
        box-sizing: border-box;
        position: static;
        top: 0;
        left: 0;
        height: 1.2em;
        padding: 0 0.2em;
        margin: 0px;
        text-align: left;
        margin-top: 15px;
        background-color: transparent;
        border: 0;
        height: auto;
        clear: none;
    }
    h1 b {
        position: static;
        display: inline;
        border: 0;
        clear: none;
    }
    img {
        margin: 0;
        padding: 0;
        clear: none;
        position: static;
        height: 12em;
        margin-right: 10px;
        margin-left: 30px;
        margin-top: 10px;
    }
    #toc {
        padding-left: 20px;
        clear: none;
        position: static;
        margin-top: 20px;
        top: 0;
        max-width: 30em;
    }
    #content {
    }
    section table, section h2, section div {
        top: 0;
    }
    #toc {
        line-height: 1.2em;
        margin-right: 1em;
    }
    #toc li.hi {
        background-color: transparent;
    }
    #toc li.hi:hover {
        background-color: #eee;
    }
    th {
        width: 120px;
    }
    h2 { margin-left: 10px;
    margin-right: 20px; }
}

@media (max-width: 429px) {
    th { width: 60px; }
    h2 { margin-left: 10px; }
}
@media (min-width: 490px) and (max-width: 879px) {
    div.bullet {
        width: 130px;
    }
    h2 { margin-left: 140px; }
}

@media (min-width: 700px) and (max-width: 879px) {
    body {
        margin-left: 50px;
        margin-right 50px;
    }
}
@media (min-width: 490px) and (max-width: 699px) {
    body {
        margin-left: 30px;
        margin-right 30px;
    }
}

@media (min-width: 1130px) and (max-height: 790px) {
    img {
        top: 100px;
        height: 150px;
    }
    #toc {
        top: 270px;
    }
}
@media (min-width: 1130px) and (max-height: 710px) {
    #toc {
        line-height: 1.1em;
    }
}

@media (min-width: 1130px) and (max-height: 650px) {
    body {
        font-size: 14px;
        line-height: 22px;
    }
    img {
        top: 90px;
    }
    #toc {
        top: 250px;
    }

}

@media (min-width: 880px) and (max-width: 1131px) and (max-height: 670px) {
    img {
        top: 70px;
    }
    #toc {
        line-height: 1.1em;
        top: 230px;
    }
}
