body {
    margin: 0;
    padding: 0;
    background-color: #006;
}

#main {
    width: 1024px;
    height: 800px;
    position: absolute;
    left: 50%;
    margin-left: -512px;
}

#main_header {
    height: 93px;
    width: 100%;
    background-color: #00a;
}

#header_left {
    width: 230px;
    height: 93px;
    float: left;
}

#header_right {
    width: 794px;
    height: 93px;
    float: left;
    background-image: url(img/header.png);
    position: relative;
}

#menu_top {
    position: absolute;
    bottom: 0;
}

#menu_top ul {
    list-style: none;
    text-align: center;
}

#menu_top li {
    margin-right: 8px;
    padding: 5px;
    background-color: #f2e7d3;
    border: 1px solid #000;
    float: left;
}

#menu_top li.active {
    margin-top: 1px;
    background-color: #fff;
    border-bottom: #fff;
}

#menu_top li a {
    color: #000;
    text-decoration: none;
    font-size: 10px;
    font-family: Arial, Sans-Serif;
    font-weight: bold;
}

#main_center {
    width: 1024px;
    min-height: 688px;
    background-color: #fff;
    overflow: hidden;
}

#center_left {
    width: 220px;
    overflow-y: scroll;
    height: 688px;
    background-color: #f2e7d3;
    float: left;
    padding-left: 10px;
    color: #313881;
    font-size: 10pt;
    font-family: Arial, Sans-Serif;
    font-weight: bold;
}

#center_left ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-left: 5px;
}

#center_left ul li {
    background-image: url(img/pfeil.gif);
    background-repeat: no-repeat;
    background-position: 0 5px;
    padding-left: 14px;
    margin-bottom: 5px;
}

#center_left ul a {
    color: #313881;
    font-size: 10pt;
    font-family: Arial, Sans-Serif;
    font-weight: bold;
    text-decoration: none;
}

#center_left ul.sub li {
    background-image: url(img/subpfeil.gif);
    background-repeat: no-repeat;
    background-position: 0 5px;
    padding-left: 14px;
    margin-bottom: 4px;
}

#center_left ul.sub a {
    color: #313881;
    font-size: 8pt;
    font-family: Arial, Sans-Serif;
    font-weight: bold;
    text-decoration: none;
}

#center_right {
    width: 772px;
    height: 688px;
    overflow-y: scroll;
    background-color: #fff;
    color: #313881;
    padding: 10px;
    font-family: Arial, Sans-Serif;
    font-size: 8pt;
}

/* Same offset the old markup got from wrapping the gallery in a bare <ul>. */
#center_right .gallery {
    margin: 1em 0;
    padding-left: 40px;
}

#center_right a {
    font-family: Arial, Sans-Serif;
    text-decoration: none;
    font-weight: bold;
    font-size: 8pt;
    color: #313881;
}

#center_right table {
    color: #313881;
    font-size: 8pt;
}

#center_right h1 {
    width: 690px;
    padding: 5px;
    font-weight: bold;
    font-size: 12pt;
    font-family: Arial, Sans-Serif;
    text-align: left;
    margin: 0;
    background-color: #f2e7d3;
}

/* Touch devices (phones/tablets): previously detected server-side with Mobile_Detect. */
@media (hover: none) and (pointer: coarse) {
    #main {
        position: static;
        left: auto;
        margin-left: 0;
    }

    #center_left {
        overflow-y: visible;
        height: auto;
        min-height: 688px;
    }
}
