@charset "utf-8";

body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #C8C8C8;
	margin: 0;
	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;
}

#container {
	width: 800px;
	background-color: #CCD3AA;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left;
} 
#header, #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: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

#searchbar {
	background: #FCDF17 url(../images/navbarbackground.jpg) no-repeat;
	margin: 0;
	padding: 0;
	width: 800px;
	height: 28px;
	border-bottom: 1px solid #999999;
}
#search {
	float: right;
	margin: 0 20px 0 0;
	width: 30%;
	text-align: right;
}
#search form {
	margin: 3px 0 0 0;
	padding: 0px;
}
#search #submit {
	font-size: .7em;
}
#search #txtbox {
	background-color: #FEF29E;
}
#navdate {
	float: left;
	width: 150px;
	margin: 5px 0 0 0;
	font-size: .9em;
	padding-left: 20px;
}

/*This is the navbar formating section*/
#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 170px;
	background: #CCD3AA;
	padding: 0;
	margin: 0;
}
#sidebar1 ul {
	margin: 10px 0 0 0;
	padding: 0px 0 0 0;
	list-style-type: none;
	font-size: .9em;
	color: #6C6C6A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.navhead {
	background-color: #666666;
	padding: 6px 0 6px 8px;
	color: #F1D603;
}
#sidebar1 .navhead {
	border-bottom: 1px solid #FFFFFF;
}
#sidebar1 a {
	display: block;
	width: 160px;
	padding: 7px 0 7px 10px;
	border-bottom: 1px solid #FFFFFF;
	text-decoration: none;
}
#sidebar1 a:link {
	color: #303030;
}
#sidebar1 a:hover {
	color: #FFFFFF;
	background-color: #F1D603;
}


/*End of navbar formating*/

#sidebar2 {
	float: right; /* since this element is floated, a width must be given */
	width: 190px; /* 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: #D9DEC0; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 0; 
	margin: 0px -3px 5px 5px;
	font-size: .8em;
}
#sidebar2 h3.navhead {
	font-size: 1.2em;
	border-top: 2px solid #F4F5E9;
	padding: 5px 0 5px 0;
	text-align: center;
	margin: 0px;
}
#sidebar2 p {
	padding: 0 5px 5px 8px;
	font-size: 1em;
	margin: 5px 0 0 0;
	line-height: 1.3em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#sidebar2 form {
	text-align: left;
	padding: 5px 0 5px 8px;
	margin: 0;
	line-height: 1.5em;
}
#sidebar2 #submit2 {
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
}
#mainContent {
	margin: 0px 0px 0px 170px; 
	padding: 15px 10px 3px 8px;
	background-color: #F4F5E9;
	font-size: .9em;
} 
#mainContent h1 {
	margin: 0;
}

#footer { 
	padding: 5px 10px 5px 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#FCDF17;
	border-top: 1px solid #999999;
	text-align: center;
	font-size: .8em;
} 
#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 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.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;
}
