/*
Theme Name: Reiberhof
Theme URI: http://www.reiberhof.de/
Description: WordPress Theme von www.reiberhof.de in der Version 1.0.
Version: 1.0
Author: Alexander Floeter
*/

/* CSS RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
:focus { outline: 0; }
body { line-height: 1;	color: black; background: white; }
ol, ul { list-style: none; }

/* HTML, BODY & WRAPPER */

body {
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: normal;
	line-height: 1.7;
	color: #333;
	background: url(img/bg_body.jpg) top center repeat-y #8CA3CC; }

strong {
	font-weight: bold; }

#wrapper {
	width: 940px;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px; }
	
	#wrapper div {
		position: relative; }

#head {
	height: 110px;
	z-index: 99; }
	
	#head h1 > a#logo {
		display: block;
		height: 110px;
		width: 254px;
		background: url(img/bg_header_logo_reiberhof_bernbach.png) top left no-repeat;
		text-indent: -9999px;
		position: absolute;
		left: 0;
		top: 0; }
	
	#head #head_foot {
		display: block;
		height: 35px;
		position: absolute;
		bottom: -35px;
		left: 0;
		right: 0;
		z-index: 97; }
	
	#head ul#menu {
		display: block;
		height: 40px;
		width: 600px;
		background: url(img/bg_header_menu.png) top left no-repeat;
		position: absolute;
		right: 0;
		top: 70px;
		z-index: 98; }
		
		#head ul#menu > li {
			display: inline-block;
			float: left;
			position: relative; }
			
			#head ul#menu > li > a {
				display: block;
				width: 100px;
				height: 37px;
				line-height: 37px;
				padding-top: 3px;
				text-align: center;
				color: #FFF;
				text-decoration: none;
				font-weight: bold;
				font-size: 13px;
				letter-spacing: 0.05em; }
				
			#head ul#menu > li:hover > a,
			#head ul#menu > li > ul > li:hover a {
				color: #BBB; }
			
			#head ul#menu > li > ul {
				display: none;
				width: 120px;
				background-color: #333333;
				position: absolute;
				top: 40px;
				left: -10px;
				right: -10px; }
			
			#head ul#menu > li:hover > ul {
				display: block; }
				
				#head ul#menu > li > ul > li {
					font-size: 11px;
					position: relative; }
				
					#head ul#menu > li > ul > li > span.lt_corner {
						display: block;
						position: absolute;
						left: -19px;
						top: 4px;
						height: 20px;
						width: 20px;
						background: url(img/bg_header_menu_submenu_lt_corner.png) right top no-repeat; }
					
					#head ul#menu > li > ul > li > span.rt_corner {
						display: block;
						position: absolute;
						right: -19px;
						top: 4px;
						height: 20px;
						width: 20px;
						background: url(img/bg_header_menu_submenu_rt_corner.png) left top no-repeat; }
					
					#head ul#menu > li > ul > li > span.last_corners {
						display: block;
						position: absolute;
						right: 0;
						left: 0;
						top: 26px;
						height: 10px;
						line-height: 10px;
						background: url(img/bg_header_menu_submenu_li_last.png) center top no-repeat; }
					
					#head ul#menu > li > ul > li > a {
						color: #FFF;
						display: block;
						width: 100%;
						text-decoration: none;
						text-align: center;
						height: 26px;
						line-height: 26px;
						padding: 4px 0 0; }

#main {
	background: url(img/bg_main_foot.png) center bottom no-repeat #FFF;
	position: relative;
	overflow: auto; }
	
	#main #contentbar {
		float: left;
		width: 560px;
		padding: 0 0 35px 40px; }
		
		#main h2.gal a {
			font-family: Georgia, "Times New Roman", Times, serif;
			font-weight: normal;
			font-style: italic;
			color: #F90; }
		
		#main #contentbar div {
			margin: 0 0 30px 0;
			color: #666;
			text-align: justify;
			clear: both; }
		
			#main #contentbar div p {
				padding: 10px 0;
				text-align: justify; }
				
				#main #contentbar div p img {
					float: left;
					padding: 5px 10px 0 0; }
			
			#main #contentbar h2,
			#main #contentbar div h2 {
				font-size: 140%;
				font-weight: bold;
				margin: 0 0 10px 0; }
			
			#main #contentbar div a {
				color: #666;
				text-decoration: underline; }
				
			#main #contentbar div a:hover {
				color: #666;
				text-decoration: none; }
			
			#main #contentbar div .more-link {
				 font-weight: bold; }
	
	#main #sidebar {
		float: right;
		width: 265px;
		background: url(img/bg_main_sidebar.png) left top repeat-y;
		padding: 0 25px 30px 30px;
		margin-bottom: 5px; }
		
		#main #sidebar div {
			margin: 0 0 30px 0;
			color: #666; }
		
			#main #sidebar div h2 {
				font-size: 140%;
				font-weight: bold;
				padding-left: 50px;
				margin: 0 0 10px 0;
				line-height: 1.1; }
				
				#main #sidebar div h2#h2_1 {
					background: url(img/main_sidebar_h2_1.png) top left no-repeat; }
				
				#main #sidebar div h2#h2_2 {
					background: url(img/main_sidebar_h2_2.png) top left no-repeat; }
				
				#main #sidebar div h2#h2_3 {
					background: url(img/main_sidebar_h2_3.png) top left no-repeat; }
					
				#main #sidebar div h2#h2_impressionen {
					background: url(img/main_sidebar_h2_impressionen.png) top left no-repeat; }
				
				#main #sidebar div h2 small {
				font-size: 65%; }
			
			#main #sidebar div p {
				font-size: 85%; }
				
			#main #sidebar div p a {
				color: #666;
				font-weight: bold;
				text-decoration: underline; }
			
			#main #sidebar div p a:hover {
				text-decoration: none; }

	#main #teaser {
		padding: 20px 20px 45px 20px;
		background: url(img/bg_main_orangeteaser.jpg) top center repeat-y;
		position: relative;
		z-index: 2;
		overflow: auto; }
		
		#main #teaser h1 {
			padding: 0 20px;
			font-size: 150%;
			font-weight: bold; }
		
		#main #teaser h1 a {
			color: #000;
			text-decoration: none; }
		
		#main #teaser #teaserpics {
			float: left;
			margin: 25px 0 15px 20px;  }
			
			#main #teaser #teaserpics ul,
			#main #teaser #teaserpics li {
				margin:0;
				padding:0;
				list-style:none; }
			
			#main #teaser #teaserpics li { 
				width:262px;
				height:201px;
				overflow:hidden; }
		
		#main #teaser #teasertext {
			float: right;
			width: 550px;
			padding: 35px 10px 0 0;
			color: #FFF;
			font-size: 120%; }
			
			#main #teaser #teasertext img {
				margin-bottom: 10px; }
			
			#main #teaser #teasertext a {
				color: #FFF;
				text-decoration: underline; }
		
		#main #teaser #teaser_foot {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			height: 35px;
			background: url(img/bg_main_orangeteaser_foot.png) top center no-repeat; }

#contactForm .contactRow {
	padding: 0 0 0 100px;
	margin: 0 0 10px !important;
	position: relative; }

	#contactForm .contactRow label {
		position: absolute;
		left: 0; }
