body {
	font: 79% Georgia, "Times New Roman", Times, serif;
	background: #000 url(img/bg.gif) top left repeat-x;
	margin: 0 auto;
	padding: 0 auto;
	text-align: center;
	color: #000000;
}

#wrapper {
	width: 840px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #000;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 2px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
}

#header {
	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 */
	font-weight: lighter;
}

#header a, #header a:link, #header a:active, #header a:visited {text-decoration:none; color:#3C6984}
#header a:hover {text-decoration:none; color:#FFFFCC}

#nav {
	width: 100%;
	background: #000000 url(img/navBg.gif) bottom left repeat-x;
	margin:0;
	padding: 40px 0 10px 0;
}

#nav ul {
	margin: 0;
	color: #FFFFFF;
	padding: 0	 10px;
}

#nav ul li { display: inline; }

#nav ul li a
{
	color: #FFFFFF;
	text-decoration: none;
	padding: 0.2em 1em;
}

#nav ul li a:hover {
	color: #FFFFCC;
}
#nav ul li a.active {
	color: #B4E9FF;
	font-size:120%;
}

#content {
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	color: #FFFFFF;
}

#footer {
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	color: #305266;
}

#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

a, a:link, a:active {text-decoration:underline; color:#dedede}
a:visited {text-decoration:underline; color:#CCCCCC}
a:hover {text-decoration:underline; color:#FFFFCC;}
