/* Reset (YUI)*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,em,strong,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
q:before,q:after {content:'';}
abbr,acronym {border:0;}

/**
 * Generelle Schrift und Farbeinstellungen
 *
 * balu: #1f72a6
 * grau: #525252
 * gruen: #B0C92F
 **/
html {
    height: 100%;
    min-height: 690px;
    min-width: 850px;
}
body {
    font-size: 12px;
    color: #525252;
    font-family: Verdana, Arial, sans-serif;
    line-height: 1.4em;
    height: 100%;
    background: #fff;
    min-width: 850px;
}
#body-wrapper {
    height: 100%;
}

h1 {margin-top: -1030px; height: 1000px;}
h2, h3 {
    color: #1f72a6;
    font-weight: bold;
    font-size: 1.1em;
    margin: 6em 0 2em -17px;
    background: transparent url(../img/bg_headline.jpg) 0 0 no-repeat;
    height: 19px;
    display: block;
    padding: 10px 0 0px 20px;
}

h2.double, h3.double {
    padding-top: 0;
    height: 29px;
    line-height: 14.5px;
}
h2.nobg, h3.nobg {
    background: transparent;
    margin-top: 3em;
    padding-left: 17px;
    margin-bottom: 1em;
}
h2#welcome {
    background-image: url(../img/bg_headline_welcome.jpg);
    padding: 154px 0 0px 20px;
    margin-top: 0;
}
h4 {
    color: #1f72a6;
    font-weight: normal;
    font-size: 1em;
    margin: 0.5em 0 1em 0;
    font-style: italic;
}

p {
    margin: 0.25em 0 0.5em 0;
}

p.teaser {
    margin-bottom: 1.5em;
}

a:link, a:hover, a:active, a:visited {color: #1f72a6; text-decoration: underline;}
a:hover {text-decoration: none;}
a:visited {color: #931FA5;}
a.pageancor {line-height: 0; height: 0;font-size: 0;}
a#view-switcher {
    position: absolute;
    top: 5px;
    left: 0;
    padding-left: 15px;
    display: block;
    background: transparent url(../img/mobile_icon.gif) 0 center no-repeat;
}
h4 a:visited {color: #1f72a6;}

ul {
    margin:1em 0 1em -10px;
}
ul li {
    background: transparent url(../img/bg_list.gif) 0 0.45em no-repeat;
    padding-left: 10px;
    margin-bottom: 0.5em;
}
ul.double li {
    background-image: url(../img/bg_list_double.gif);
}

blockquote {
    padding: 0 35px;
    background: transparent url(../img/bg_blockquote.gif) 0 0 no-repeat;
}
blockquote p {
    margin: 0 0 0.5em;
}
blockquote p.signature {
    text-align: right;
    font-style: italic;
}

hr {
    border: none;
    height: 1px;
    background: transparent url(../img/bg_hr.png) 0 0 no-repeat;
    margin: 1.5em 0;
}

strong {
    font-weight: bold;
}

.ancor-block {
    display: none !important;
}

/* Seitenaufteilung */
#sidebar {
    width: 200px;
    height: 100%;
    min-height: 690px;
    float: left;
    background: #fff url(../img/bg_sidebar.png) 0 0 repeat-y;
    position: relative;
}

#content-wrapper {
    width: 420px;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 0 190px;
}

#content {
    width: 395px;
    padding: 15px 0 50px 0;
}

/* Sidebar */
#logo {
    position: absolute;
    top: 10px;
    left: 0;
    display: block;
}

#subtitle {
    background: transparent url(../img/subtitle.png) 100% 0 no-repeat;
    margin-left: -1000px;
    width: 1145px;
    position: absolute;
    top: 80px;
}

#kontakt {
    position: absolute;
    bottom: 20px;
    width: 152px;
    bottom: 10px;
    color: #1f72a6;
    line-height: 24px;
    text-align: right;
    font-weight: bold;
    font-size: 0.9em;
}

#kontakt .top {
    background: transparent url(../img/bg_contact_top.png) 0 0 no-repeat;
    line-height: 0px;
    height: 10px;
}
#kontakt .mid {
    background: transparent url(../img/bg_contact_mid.png) center left repeat-y;
    min-height: 49px;
    padding:5px 30px 5px 0;
}
#kontakt .bot {
    background: transparent url(../img/bg_contact_bot.png) 0 0 no-repeat;
    line-height: 0px;
    height: 10px;
}

/* Slider */
#scrollpane {
    background: transparent url(../img/schienen.jpg) 0 0 repeat-y;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 120px 0 90px 0;
    width: 200px;
    min-height: 480px;
}
#scrollpane #scrollpane-top {
    background: transparent url(../img/pfeile_oben.jpg) 0 0 no-repeat;
    height: 10px;
}
#scrollpane #scrollpane-bot {
    background: transparent url(../img/pfeile_unten.jpg) 0 0 no-repeat;
    height: 10px;
    position: absolute;
    bottom: 0px;
    width: 170px;
}
#slider {
    width: 180px;
    height: 50%;
    position: absolute;
    top: 0px;
}
#slider #slider-top {
    height: 20px;
    background: transparent url(../img/slider-top.png) 0 0 no-repeat;
    position: absolute;
    top: 0;
    width: 170px;
}

#slider #slider-bot {
    height: 20px;
    background: transparent url(../img/slider-bot.png) 0 0 no-repeat;
    position: absolute;
    bottom: 0;
    width: 170px;
}
#slider #slider-hands {
    background:url("../img/hand_icon.gif") no-repeat scroll center center transparent;
    height:100%;
    position:absolute;
    right:19px;
    top:0;
    width:30px;
    cursor: move;
}

#slider #slider-position {
    background: transparent url(../img/menu_pfeil.gif) 0 0 no-repeat;
    width: 12px;
    height: 13px;
    position: absolute;
    top: 21px;
    right: 12px;
}

/* Menue im Slider */
#slider ul {
    background: transparent url(../img/slider-mid.png) 0 0 repeat-y;
    margin: 20px 0;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
}
#slider ul ul {
    background: transparent;
    margin: 0.5em 0 0 0;
    position: static;
}
#slider ul li {
    text-align: right;
    padding:0 80px 0 0;
    background: transparent;
    margin: 0 0 0.5em 0;
}
#slider ul li li {
    padding-right: 80px;
}
#slider ul li a {
    font-weight: bold;
    text-decoration: none;
}
#slider ul li a:visited {
    color: #1f72a6;
}
#slider ul li a:hover {
    text-decoration: underline;
}
#slider ul li ul li a {
    font-weight: normal;
}

/* Testimonials */
#testimonial-wrapper {
    min-height: 80px;
}

#testimonial-more {
    float: right;
    margin:0 3px 1em 0;
    font-size: 0.9em;
    color: #1978AE;
    background: transparent url(../img/bg_list_double.gif) 100% center no-repeat;
    padding-right: 10px;
}

/* Projekte */
#projekte img {
    border: #1f72a6 1px solid;
    float: left;
}
#projekte h4 {
    width: 190px;
    float: right;
    font-style: normal;
    font-weight: bold;
    margin: 0 0 1em 0;
}
#projekte p.right, #projekte ul.right {
    width: 190px;
    float: right;
}

#projekte ul {
    margin: 0;
}

/* Kontaktformular */
h2#for-kontaktformular {
    margin-bottom: 0;
}
#kontaktformular {
    background: #eee url(../img/bg_hr.png) 0 100% no-repeat;
    width: 403px;
    position: relative;
    left: -10px;
}
#kontaktformular-wrapper {
    padding: 20px 10px;
}
#kontaktformular label, #kontaktformular legend {
    display: none;
}
#kontaktformular input[type=text], #kontaktformular textarea {
    display: block;
    width: 370px;
    border: solid 1px #B0C92F;
    margin-bottom: 10px;
    color: #525252;
    font-size: 0.9em;
    padding: 3px 5px;
}
#kontaktformular input[type=text]:focus, #kontaktformular textarea:focus {
    background-color: #F7FFD3;
}
#kontaktformular input[type=text].error, #kontaktformular textarea.error {
    border-color: red;
}
#kontaktformular input[type=submit] {
    text-transform: uppercase;
    color: #B0C92F;
    font-size: 0.7em;
    font-weight: bold;
    border: none;
    background: #2578AE url(../img/bg_submit.png) 0 center no-repeat;
    float: right;
    margin-right: 1px;
    margin-top: 3px;
    padding: 5px 5px 5px 10px;
}
#kontaktformular .error_hint {
    color: red;
    float: left;
    display: none;
}
#kontaktformular .success {
    display: none;
    color: green;
    text-align: center;
    padding-top: 10em;
}

span.kontaktlabel {
    width: 70px;
    float: left;
}
span.kontaktcontent {
    margin-left: 70px;
    display: block;
}

/* Helper */
.hideme {display: none;}
.clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
.clearfix {display: inline-block;}
html[xmlns] .clearfix {display: block;}
* html .clearfix {height: 1%;}
