 
/* __ DOCUMENT-WIDE _____________________________________________________________________________________________ */

body {
	background-color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 24px;
	color: #224466;
	margin: 0; /* zeroing the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: left; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}

.primary #container {
	width: 95%;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 10px; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
}

h1
{
font: bold 12px Helvetica, Arial, sans-serif;
color: #002288;
margin: 2em 0 0 0;
}

/* __ HEADINGS _____________________________________________________________________________________________ */
 
.primary #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: 1px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	font-size: 12px;
}

/* -- header/title -- */
#pageHeader
{
width: 100%;
height: 40px;
position: relative;
text-align: left;
}
#pageHeader h1  /* top header */
{
color: #000000;
font: bold 24px Helvetica, Arial, sans-serif;
letter-spacing: -1px;
text-align: left;
font-size: 14px;
}
#pageHeader a:link, #pageHeader a:hover, #pageHeader a:visited
{
color: #fff;
background-color: #990000;
text-decoration: none;
}

/* __ SIDE MENU _____________________________________________________________________________________________ */

.primary #sidebar {
	float: left; /* since this element is floated, a width must be given */
	width: 100px; /* 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: #EBEBEB; /* grey background */
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 15px;
	padding-left: 10px;
    border-right: 2px solid #000000; 
}

.primary #sidebar li {
    background:#F8E603;
    margin: 0.5ex;
    padding: 1ex;
    border-right: 3ex solid #FF0000; 
    border-left: 0.5ex solid #FF0000; 
}

.primary #sidebar a {
	text-decoration: none; 
	color:#000000; 
}

/* __ TOP MENU _____________________________________________________________________________________________ */

#selectionbar
{
color: #fff;
height: 46px;
background: #3377cc;
font-size: 90%;
}
#selectionbar ul
{
margin: 0;
padding: 1em 1em 0 0;
}
#selectionbar li
{
display: inline;
list-style: none;
}
#selectionbar a:link, #selectionbar a:visited
{
color: #fff;
display: block;
float: right;
padding: 1px 9px 3px 6px;
margin: 0 6px;
text-decoration: none;
}
#selectionbar a:hover
{
color: #FFEE99;
background-color: transparent;
}
#selectionbar .activelink a
{
background: #002288;
}
#selectionbar .activelink a:hover
{
color: #fff;
background-color: #002288;
cursor: default;
}


/* __ CONTENT _____________________________________________________________________________________________ */

.primary #content {
	width: 90%;
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 0;
	margin-left: 110px;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
}

/* __ TABLES _____________________________________________________________________________________________ */

.primary #td, th {
	padding: 1ex; 
	border: 1px solid black;
	font-size:14px;
	vertical-align:top;
	text-align: left;
}	

#nice  /* Nice tables are minimalistic-looking tables with a text hover function */
{
	background: #fff;
	margin: 45px;
	width: 95%;
	border-collapse: collapse;
	text-align: left; 
}
#nice th
{
	font-size: 14px;
	font-weight: normal;
	color: #039;
	padding: 10px 8px;
	border: none;
}
#nice td
{
	border-bottom: 1px solid #ccc;
	color: #669;
	padding: 6px 8px;
}
#nice tbody tr:hover td
{
	color: #009;
}



/* __ FOOTER _____________________________________________________________________________________________ */

.primary #footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD; 
}
 
.primary #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 */
}

.clearfloat { /* used to create a float for the footer */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
 

