* html #container {
height:100%;
}

html, body {
margin: 0;
padding: 0;
height: 100%;
background:#68b500;
font-family:"Trebuchet MS",Verdana,Tahoma,Helvetica,sans-serif;
color:#333333;
}

a {
color:#68b500;
text-decoration:none;
}

a:hover {
color:#333;
text-decoration:underline;
}

a img {
border:0;
}

#container {
min-height: 100%;
margin: 0 50px;
width:1000px;
margin:0 auto;
background-image:url(images/hg.jpg);
background-repeat:repeat-y;	
}

#header {
height:112px;
border-bottom:1px solid #dcdcdc;
}

#logo {
margin:35px 50px 0 0;
float:right;
}

#footer, #header, #nav, #navschatten, #boxinhalt, #boxinhalt2 {
width:728px;
margin-left: 136px;
}

#nav {
border-top:1px solid #dcdcdc;
border-bottom:1px solid #ffffff;
margin-top:1px;
height:1.875em;
line-height:1.875em;
background-image:url(images/navhg.gif);
background-repeat:repeat-x;
background-position:bottom;
}

#nav ul {
margin:0;
padding:0;
}

#nav li {
float:left;
list-style:none;
}

#nav li a {
padding-left:20px;
padding-right:20px;
height:2.8em;
display:block;
color:#3d3d3d;
text-decoration:none;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:0.68em;
float:left;
}

#nav li a:hover {
background-image:url(images/navhover.gif);
background-repeat:repeat-x;
background-color:#47750a;
background-position:bottom;
color:#FFFFFF;
}

#navschatten {
height:17px;
background-image:url(images/navschatten.gif);
background-repeat:repeat-x;
margin-bottom:40px;
}

#footer {
height:65px;
background-image:url(images/footer.gif);
background-repeat:no-repeat;
text-align:center;
}

#footer img {
margin-top:25px;
}

#boxinhalt {
background-image:url(images/hgbox.jpg);
background-repeat:no-repeat;
}

#boxinhalt2 {
background-image:url(images/hgbox2.jpg);
background-repeat:no-repeat;
}

#boxleft {
width:345px;
margin-left:125px;
}

#boxleft2 {
width:125px;
margin-left:125px;
}

#boxleft p {
margin:2em 0;
}

#boxleft p, #boxleft li, table {
font-size:0.75em;
line-height:2.2em;
}

#boxleft li {
list-style-type:none;
background-image:url(images/li.gif);
background-repeat:no-repeat;
background-position:top left;
padding-left:15px;
}

#boxright {
float:right;
width:218px;
margin-top:45px;
color:#ff6000;
font:0.8em/2em Georgia, "Times New Roman", Times, serif;
}

#boxright2 {
float:right;
width:218px;
margin-top:38px;
padding:1px;
color:#ff6000;
font:0.8em/2em Georgia, "Times New Roman", Times, serif;
}

#boxright3 {
float:right;
width:350px;
padding:1px;
color:#ff6000;
font:0.8em/2em Georgia, "Times New Roman", Times, serif;
}

#boxright3 img {
float:left;
}

#textgrau {
color:#333333;
}

#boxleft, #boxright, #boxright3, #boxmiddle {
padding-bottom:30px;
}

#boxright p, #boxright2 p {
margin:0 50px 15px 0;
}

#boxright a, #boxright2 a {
color:#ff6000;
text-decoration:none;
}

#boxright a:hover, #boxright2 a:hover {
color:#333333;
text-decoration:underline;
}

#boxheader, #boxfooter {
height:13px;
background-repeat:repeat-x;
background-color:#FFFFFF;
}

#boxheader {
background-image:url(images/boxschatten_oben.gif);
border-bottom:1px solid #dcdcdc;
background-position:bottom;
}

#boxfooter {
background-image:url(images/boxschatten.gif);
border-top:1px solid #dcdcdc;
background-position:top;
clear:both;
}

#ref-kirchspiel a, #ref-aso a, #ref-mo a, #ref-altus a, #ref-ehrl a, #ref-sdwc a, #ref-immo a, #ref-prettl a, #ref-ket a, #ref-arbeitswert a {
display:block;
width:194px;
height:194px;
background-position:top;
float:left;
margin-left:36px;
}

#ref-kirchspiel a { background-image:url(images/ref_kirchspiel.jpg); }
#ref-prettl a { background-image:url(images/ref_prettl.jpg); }
#ref-immo a { background-image:url(images/ref_immo.jpg); }
#ref-aso a { background-image:url(images/ref_aso.jpg); }
#ref-mo a { background-image:url(images/ref_mo.jpg); }
#ref-ehrl a { background-image:url(images/ref_ehrl.jpg); }
#ref-sdwc a { background-image:url(images/ref_sdwc.jpg); }
#ref-altus a { background-image:url(images/ref_altus.jpg); }
#ref-ket a { background-image:url(images/ref_ket.jpg); }
#ref-arbeitswert a { background-image:url(images/ref_arbeitswert.jpg); }

#ref-kirchspiel a:hover,
#ref-aso a:hover,
#ref-mo a:hover,
#ref-altus a:hover,
#ref-ehrl a:hover,
#ref-sdwc a:hover,
#ref-immo a:hover,
#ref-prettl a:hover,
#ref-arbeitswert a:hover,
#ref-ket a:hover {
background-position:bottom; }

#ref2 a img {
margin-left:10px;
margin-right:10px;
float:left;
}

#ref2 a {
display:block;
width:304px;
height:55px;
line-height:55px;
background-position:top;
float:left;
margin-left:30px;
margin-bottom:30px;
background-image:url(images/ref2_hg.gif);
font-size:0.75em;
text-decoration:none;
color:#333333;
}

#ref2 a:hover {
background-position:bottom;
color:#ff6000;
}

h1 {
marggin:1.3em 0;
font:1em/1.3em "Trebuchet MS",Verdana,Tahoma,Helvetica,sans-serif;
font-weight:lighter;
color:#68b500;
}

#headline {
margin-top:45px;
}

#banner {
float:left;
margin-left:45px;
}

#line {
height:39px;
background-image:url(images/line.gif);
background-repeat:repeat-x;
clear:left;
}

#line2 {
height:39px;
background-image:url(images/line.gif);
background-repeat:repeat-x;
clear:left;
margin-top:-30px;
}

#imgleft {
margin-left:-78px;
margin-right:15px;
float:left;
}

#imgleft {
margin-left:-78px;
margin-right:15px;
float:left;
}

#mail {
margin-bottom:-2px;
}

strong {
color:#ff6000;
}

input, textarea {
width:250px;
background-image:url(images/input.gif);
background-repeat:repeat-x;
border:1px solid #CCCCCC;
} 

#secCheck, #submit {
width:75px;
}

#ranke {
float:right;
width:128px;
height:278px;
background-image:url(images/ranke.jpg);
background-repeat:no-repeat;
position:relative;
display:block;
padding:0;
margin:0;
}

body#start li#startmenu a,
body#leistungen li#leistungenmenu a,
body#web li#webmenu a,
body#print li#printmenu a,
body#kontakt li#kontaktmenu a
{
background-image:url(images/navhover.gif);
background-repeat:repeat-x;
background-color:#47750a;
background-position:bottom;
color:#FFFFFF;
}

a#link {
padding-left:27px;
padding-top:6px;
background-image:url(images/weiter.gif);
background-repeat:no-repeat;
background-position:top left;
color:#ff6000;
}

#fehler {
padding-left:27px;
background-image:url(images/achtung.gif);
background-repeat:no-repeat;
background-position:top left;
color:#cc0000;
}

#printimg {
margin:0 43px;
}

#boxright3 img {
margin:0 10px 10px 0;
}

#printlogo {
margin-top:50px;
}

#imghover {position:relative; width:196px; z-index:100;}
#imghover a.p1, #imghover a.p1:visited {display:block; width:196px; height:78px; text-decoration:none; top:0; left:0; border:0;}
#imghover a img {border:0;}
#imghover a.p1:hover {text-decoration:none;}
#imghover a .large {display:block; position:absolute; width:0; height:0; border:0; top:0; left:0;}
#imghover a.p1:hover .large {display:block; position:absolute; top:-63px; left:-470px; width:430px; height:232px; border:10px solid #ececec;}