html, body {
	height: 100%;
}

body{
	margin: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #555;
	font-size: 85%;
	text-align: center;
	/* horizontal centering for IE Win quirks */
	background-color: #FAFAFA;
 }
 
 h1,h2,h3,h4{
 	margin-top: 0;
 }
 
 h1, h2, h3{
 	margin-bottom: 0.7em;
 }
  h4, h5, h6{
 	margin-bottom: 0.3em;
 }
 
 h2{
	color: #5580D5;
	font-size: 100%;
 }
 
 h3{
	color: #5580D5;
	font-size: 90%;
 }

 h4{
	color:  #5580D5;
	font-size: 90%;
 }
 
  h5{
	color: #777;
	font-size: 90%;
 }
 
 p, li, .p{
 	margin: 0 0 0.5em 0;
	font-size: 90%;
	font-weight: normal;
	color: #555;
 }
 
 table{
 	border-collapse: collapse;
	width: auto;
 }
 td{
 	vertical-align: top;
	font-size: 90%;
 }
 
 td.r{
 	text-align: right;
 }
 
 a, a:link, a:visited{
 	color: #CC3300;
	text-decoration: none;
 }
 
 a:hover{
 	color: #FF6347;
	text-decoration: underline;
 }
 
 a img{
 	border: none;
 }
 
 .email{
	 cursor: pointer;
 }
 
 .center{
 	text-align: center;
 }
 
 .bold{
 	font-weight: bold;
 }
 .abstand-halb-vor{
 	margin-top: 0.5em;
 } 
 .abstand-1-vor{ 	
 	margin-top: 1em;	
 } 
 .abstand-2-vor{ 	
 	margin-top: 2em;	
 }
 .abstand-3-vor{ 	
 	margin-top: 3em;	
 }
 
 .abstand-0-nach{
 	margin-bottom: 0;
 }
 .abstand-halb-nach{
 	margin-bottom: 0.5em;
 }
 
 .abstand-1-nach{
 	margin-bottom: 1em;
 }
 
 .abstand-2-nach{
 	margin-bottom: 2em;
 } 
 
 .info{
	font-size: 10px; 
 }
 
 .absatz-rechts{
 	text-align: right;
 }
 
 .bild-links{
 	float: left;
	margin: 0 12px 6px 0;
 }
  .bild-rechts{
 	float: right;
	margin: 0 0 6px 12px;
 } 

 .bild-rahmen{
 	border: 1px solid #BBB;
 }
 .float-left{
 	float: left;
 }
 .clear-float{
   clear: both;
 	height: 1px;
	overflow: hidden;
 }
 
 .box { 	
    padding: 12px;
 	border: 1px solid #A3BAE8;
 }
 
 /* dekoration.html */
 
 .vorschaubild-hoch .tr-1 td,
 .vorschaubild-quer .tr-1 td{
	 padding-top: 6px;
 }
 
 .vorschaubild-quer td{
	 padding: 24px 24px 0 0;
 }
 
  .vorschaubild-quer td p{
	  margin: 6px 0 0 0;
	  width: 150px;
  }
  
   .vorschaubild-hoch td{
	 padding: 24px 18px 0 0;
 } 
 
  .vorschaubild-hoch td p{
	  margin: 6px 0 0 0;
	  width: 68px; }
  
 
 /* class td-3 set from jquery */
  .vorschaubild-quer td.td-3{
 	padding-right: 0; 
  }
  .vorschaubild-hoch td.td-6{
 	padding-right: 0; 
  }
  
  
 /* Seitenelemente */

#distance {
	width: 1px;
	height: 50%;
	margin-bottom: -310px; /* half of container's height */
	float: left;
}


 #page{
	position: relative;
	clear: left;
	margin: 0 auto;
	padding: 0;
	width: 760px;
	height: 600px;
	overflow: hidden;
	text-align: left;
	background-color: #FFFFFF;
	/*border: 1px solid #CCC;*/
	border: 1px solid #A3BAE8;
	border-left: 1px solid #CFDBF3;
 }
 
 #head{ 	
 	position: relative;
	top: 0px;
	left: 0px;
	height: 64px;
	background-image: url(bilder/layout/hofgut-habitzheim.gif);
	background-repeat: no-repeat;
	background-position:  bottom right;
	border-bottom: 2px solid #A3BAE8;
 } 
 
 #head h2{
 	position: relative;
	top: 37px;
	left: 12px;
 }
 
 #sign{
 	position: absolute;
	top: 14px;
	left: 620px;
	background-image: url(bilder/layout/wappen-back.gif);
	background-repeat: no-repeat;
 }
 
 #main{
	margin: 30px 0 0 200px;
	height: 490px;
	width: 540px;
	overflow: auto;
	z-index: 3;	
 }
 

#left{
 	position: absolute;
	left: 0px;
	top: 66px;
	width: 164px;
	background-color: #FFF;
	background-image: url(bilder/layout/lback.jpg);
	background-repeat: repeat-x;
}


ul#navlist, ul#navlist ul{
/* to display the list horizontaly */
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0.8em 0 0  0;
	background-color: #F5F5F5;
	/*background-color: #FFF;*/
	border-top: 2px solid #EEE;
}

 #navlist li{
	display: inline;
/* for IE5 and IE6 */
}


#navlist a, #navlist a:link,
#navlist a:visited{
	display: block;
	text-decoration: none;
	color: #3366CC;
	padding: 4px 3px 3px 12px;
	background-color: #F7F7F7;
	border-top: 2px solid #FFF;
	border-bottom: 1px solid #DEDEDE;
	border-right: 1px solid #EEE;
}



ul#navlist ul{
	padding: 0;
	border-top: none;
}
#navlist li li a, #navlist  li li a:link,
#navlist  li li a:visited{
	padding: 3px 3px 3px 24px;
	border-top: none;
}



#navlist a:hover {
	color: #7799DD;
	background-color: #FDFDFD;
}

#navlist a.current, #navlist a.current:link,
#navlist a.current:visited{
	font-weight: bold;
	cursor: default;
	background-color: #FCFCFC;
}
#navlist a.current:hover { 
	color: #3366CC;
	font-weight: bold;
	border-bottom: 1px solid #FFF;
}

#left p.hr{
	margin: 20px 12px -12px 12px;
	padding-top: 9px;
	color: #666666;
	/*border-top: 2px solid #A3BAE8;*/
}

#hofgutinfo{
	margin-top: 27px;
}

/* Bilder Galerie*/

.bild td{
	height: 430px;
	width: 520px;
	text-align: center;
	vertical-align: middle;
}

.bild img{
	border: 3px solid #DDD;
}

.untertitel{
	margin: 14px 0 0 0;
	text-align: center;
	color: #AAA;
}

#imgnavi{
	margin: 20px 0 0 0;
	text-align: center;
}

#imgnavi a{
	padding: 4px;
}

#imgnavi a.current,
#imgnavi a:hover.current{
	color:#CC3300;
	text-decoration: none;
	background-color: #EFEFEF;
	border:1px solid #BBB;
	cursor: default;
}

/* Formular */

form em{
	font-weight: bold;
	font-style: normal;
	color: #CC3300;
}
form ul.error, label.error, p.error{
	color: #C8462F;
	background-color: #FBEAC1;
}
form ul.error{
	line-height: 150%;
	border: 1px solid #DB9900;
}

fieldset{
	clear: both;
	display: block;
	margin: 2em 0 1em 0;
	padding: 1em 0 1em 1em;
	/*width: 34em; */
	background-color: #FAFAFA;
	border: 1px solid #99b1e6;
}
* html fieldset{
	position: relative;
}
legend{
	padding: 0.2em;
	color: #333333;
	background-color: #F5F8E6;
	/* border: 1px solid #A5BA1B;*/
	
}
* html legend{
	position: absolute; 
	top: -0.75em; 
	left: 0.5em; 
}


fieldset label, fieldset input.text, fieldset select { 
	float: left;
	margin-bottom: 0.5em;
	display: block;
	width: 20em; 
}
fieldset input.text, fieldset textarea, fieldset select{
	color: #333333;
	background-color: #FFFFFF;
	border: 1px solid #99b1e6;
}

fieldset label{
	margin-right: 0.5em;
	padding: 0.2em 0 0 0;
	width: 12em; 
	font-size: 90%;
	text-align: right;
}

fieldset label.auto{
	margin: 0 0 0.2em 0;
	padding: 0;
	width: auto;
	text-align: left;
}
fieldset input.auto{
	width: auto;
}
fieldset  input.checkbox{
	float: left;
	width: auto;
	margin: 0;
	padding: 0;
}
html > body fieldset  input.checkbox{
	margin: 0.2em 0 0 0;
}
* html fieldset  input.checkbox{
	margin: -0.1em 0 0 0;
	border: none;
	background-color: #EEF3D6;
}

fieldset input.submit{
	width: auto;
	color: #333333;
	background-color: inherit;
	border: inherit;
}
fieldset .label_right label{
	margin: 0 0 0.5em 0.5em;
	width: auto;
	text-align: left;
}
fieldset textarea{	
	margin-bottom: 0.5em;
	width: 32em; 
}

.big{
	width: 32em;
}
html>body fieldset.big{
	width: 31em;
}
.small{
	width: 3em;
}

form br { 
	clear: left; 
}
#submit{
	clear: both;
}
pre.mailtext{
	padding: 1em; 
	color: #333333;
	background-color: #fee3ad;
	border: 1px solid #D27B11;
}

/* SLIMBOX */

#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}

.lbLoading {
	background: #fff url(bilder/grafik/slimbox-loading.gif) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url(bilder/grafik/slimbox-prevlabel.gif) no-repeat 0 15%;
}

#lbNextLink {
	right: 0;
}

#lbNextLink:hover {
	background: transparent url(bilder/grafik/slimbox-nextlabel.gif) no-repeat 100% 15%;
}

#lbBottom {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	/* width: 66px; */
	width: 94px;
	height: 22px;
	background: transparent url(bilder/grafik/slimbox-closelabel.gif) no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}

