@charset "utf-8";
body  {
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	background: #000 url(../images/bodyBackground.jpg) repeat;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
#containerPic {
	background:url(../images/containerPic.jpg) top right no-repeat;
}

#container { 
	width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 0 30px; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	border-left:5px solid #cbd553;
	border-right:5px solid #cbd553;
} 
#header {
	border-bottom:5px solid #FFFFFF;
	background: #DDDDDD url(../images/headerBackground.jpg) no-repeat;
	height:200px; 
	padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	color:#FFFFFF;
}
#header p {
	color:#FFFFFF;
}
#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 200px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #a3ac3f; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 10px 10px 15px 20px;
	margin:10px;
	color:#FFFFFF;
}
#mainContent { 
	margin: 0 0 0 250px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 5px 20px 5px 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
#footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD url(../images/backgroundFooter.jpg) left top repeat-x;
	height:116px;
	color:#FFFFFF;
	text-align:center; 
} 
#footer a {
	color:#FFFFFF;
}
#footer p {
	padding: 40px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}


.mainM {
	position:absolute;
	left:45px;
	background:#FFFFFF;
}
.menuFooterLine {
	height:55px;
	background:#FFFFFF;
}
#nav { 
			width: 760px;
			height: 48px;
			margin: 0;
			padding: 0;
			background: url(../images/menu.png) repeat-x;
			list-style: none;
			overflow: hidden
		}
		
		#nav li { 
			position: absolute;
			overflow: hidden;
			font-size: 1em;	 
		}
		
		#nav li, #nav li * { height: 48px }
		#nav a { display: block }
		#nav em, #nav span { 
			display: block;
			position: absolute;
			top: 0; left: 0;
			z-index: 1;
			background: url(../images/menu.png) no-repeat; 
			cursor: pointer;
		}
		
		#nav span { display: none }
		
		#n-home { left: 0px }
		#n-home, #n-home * { width: 149px }
		#n-home em { background-position: -0px 0 }
		#n-home:hover em, #n-home span, #home #n-home em { background-position: -0px -49px }
		
		#n-gallery, #n-gallery * { width: 159px }
		#n-gallery { left: 149px }
		#n-gallery em { background-position: -149px 0 }
		#n-gallery:hover em, #n-gallery span, #gallery #n-gallery em { background-position: -149px -49px }
		
		#n-about, #n-about * { width: 135px }
		#n-about { left: 308px }
		#n-about em { background-position: -308px 0 }
		#n-about:hover em, #n-about span, #about #n-about em { background-position: -308px -49px }
		
		#n-blog, #n-blog * { width: 116px }
		#n-blog { left: 443px }
		#n-blog em { background-position: -443px 0 }
		#n-blog:hover em, #n-blog span, #blog #n-blog em { background-position: -443px -49px }
		
		#n-contact, #n-contact * { width: 201px }
		#n-contact { left: 559px }
		#n-contact em { background-position: -559px 0 }
		#n-contact:hover em, #n-contact span, #contact #n-contact em { background-position: -559px -49px }
		
		#nav .over { text-indent: -9999em }
		#nav .over em { background-image: none }