/* workaround for too wide portrait-images */
#content h1 img {width: 489px;}


* {
    margin: 0;
    padding: 0;
}

body {
    font: normal 100.01%  Arial, Helvetica, sans-serif;
    color: #00333C;
    background-color: #FFF;
    overflow-y:scroll;
    text-align:center;
    height: 100%;
        padding: 0 10px;
}

#box1 {
    margin:0 auto;
    width: 880px;
    height: 615px;
    text-align: left;
    margin-top: 7%;
}

#box2 {
    background-color: #FFF;
    position: relative;
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    height: 94px;
    width: 880px;
    background: #00333C url(../images/logo-ernstreber.gif) no-repeat 0 100%;
}

.print {
    visibility: hidden;
    display: none;
}

#header a {
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
    text-decoration: none;
    position: absolute;
    top: 71px;
    right: 40px;
}

#header a:hover {
    color: #FF580F;
}

#nav_container {
    position: absolute;
    top: 102px;
    left: 0;
    width: 320px;
    height: 495px;
    background-color: #E6E6E6;
    background: #E6E6E6 url(../images/bg-mn01.gif) repeat-y 0 0;
}

#mainnav {
    position: absolute;
    top: 60px;
    right: 0;
    text-align: right;
    list-style: none;
}

#mainnav li ul {
    list-style: none;
}

#mainnav li a {
    width: 280px;
    font-size: 0.9em;
    display: block;
    margin-bottom: 10px;
    padding-right: 40px;
    color: #00333C;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.1em;
    cursor: pointer;
}

#mainnav li a:hover, #mainnav li a:active, #mainnav li strong a, #mainnav li em a {
    background: #FF580F url(../images/bg-mn-hov01.gif) repeat-y 100% 0;
    color: #FFF;
    font-style: normal;
}

#mainnav li ul li a {
    padding-right: 40px;
    margin: 1px 0;
    font-style: italic;
    letter-spacing: normal;
}

#mainnav li ul li a:hover, #mainnav li ul li a:active, #mainnav li ul li strong a {
    color: #FF580F;
    background: transparent;
    font-style: italic;
}

#mainnav li ul {
    margin-bottom: 20px;
}

#content_container {
    position: absolute;
    top: 102px;
    left: 320px;
    width: 560px;
    height: 495px;
    background-color: #E6E6E6;
}

#content {
    height: 398px;
    width: 498px;
    margin: 60px 30px 40px 22px;
    padding-right: 10px;
    overflow: auto;
}

#navbg {
    position: absolute;
    top: 317px;
    left: 0;
    height: 160px;
    width: 100px;
    background: transparent url(../images/bg-mn02.gif) no-repeat 0 0;
}

#footer {
    position: absolute;
    top: 602px;
    left: 0;
    background-color: #FFF;
    font-size: 12px;
    line-height: 10px;
    height: 12px;
}

#footer address {
    font-weight: 600;
    font-style: normal;
}

#content h1, #content h2, #content h3 {
    margin: 2em 0 1em 0;
}

#content h1:first-child {
    margin-top: 0;
}

#content h1 {
    font-size: 1em;
}

#content h2 {
    font-size: 0.9em;
}

#content p, #content address, #content ul, #content ol {
    font-size: 0.8em;
}

#content address {
    font-style: normal;
    font-weight: 600;
}

#content address.linkespalte {
    width: 200px;
    float: left;
    padding-right: 10px;
}

#content a {
    color: #00333C;
    text-decoration: underline;
}

#content a:hover {
    color: #FF580F;
    text-decoration: none;
}

#content ul, #content ol {
    padding-left: 2em;
}

#content ul.error {
    list-style: none;
    margin: 1em 0;
}

#content ul.error li {
    padding-left: 2em;
    font-weight: 600;
    background: transparent url(../images/bullet01.gif) no-repeat 10px 50%;
}

#contactform {
    width: 480px;
    font-weight: 600;
    font-style: italic;
    font-size: 100%;
}

#contactform label {
    float: left;
    text-align: right;
    width: 120px;
    padding-right: 12px;
    vertical-align: top;
    font-size: 0.8em;
}

#contactform label .formmessage {
    float: left;
    font-size: 0.75em;
    text-align: right;
    width: 120px;
    padding-right: 12px;
}

#contactform .input_text {
    margin: 3px 0;
    border: 1px solid #FFF;
    width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8em;
    padding: 0 2px;
}

#contactform input[type=submit] {
    background-color: #00333C;
    color: #E6E6E6;
    border: none;
    margin: 3px 0;
    padding: 2px 3px;
    font-size: 0.8em;
    font-weight: 600;
}

#contactform label[for=nachricht].formlabel {
    margin-top: 1.5em;
}

#contactform #nachricht[name=nachricht] {
    width: 320px;
    margin-top: 1.5em;
}

.like_contactform {
    width: 320px;
    padding-left: 132px;
}
#content h1.like_contactform a {
    text-decoration: none;
}
