body {
	background: #d5d5d5 url('http://www.team587.org/images/gradbw.png') repeat-x top;
	padding:0px;
	margin:0px;
}


/* The page related stuff*/

div#pagecontainer {
	max-width: 900px;
	background-color: #327bf0;
	padding:1px;
	position:relative;
	top:-1px;
	margin-bottom: 5px;
	/*margin-top: 0px;*/
	margin-left: auto;
	margin-right: auto;
}

div#banner {
	/*background-color: #ffffff;*/
	background: #272832 url('http://www.team587.org/images/supergrad2.png') repeat-x;
	border-color:#000000;
	border-style: solid;
	border-width: 0px 1px 0px;
	width: 100%;
	float: right;
}

/*Navigation*/

#primarynav {
	background: #272832 url('http://www.team587.org/images/menugrad.png') repeat-x bottom;
	/*background-color: #a5c5f8;*/
	width: 100%;
	float: right;
	border-color:#000000;
	border-style: solid;
	border-width: 0px 1px 0px;
	font-family: arial, sans-serif;
}

#primarynav ul {
	list-style:none;
	background: #272832 url('http://www.team587.org/images/menugrad.png') repeat-x bottom;
	margin: 0px;
	padding: 0px;
	/*width: 5em;*/
	float: left;
}



#primarynav li
{
	/*background-color: #dae2f0;*/
}


#primarynav a {
	display: block;
	margin: 0px;
	padding: 2px 3px;
	border: 1px solid #ffffff;
	/*border-left-width: 1px;
	border-left-color: #000000;
	border-left-style: solid;
	border-right-width: 1px;
	border-right-color: #000000;
	border-right-style: solid;*/
	color: #ffffff;
	/*background-color: #dae2f0;*/
	text-decoration:none;
	font-size: 100%;
}

.primarynavul a {
/*background: #000000;*/
}

#primarynav h2 {
	display: block;
	margin: 0px;
	padding: 2px 3px;
	color: #000000;
	/*border-style: solid;
	border-color: white;
	border-width: 0px 1px 0px;*/
	/*background: #a5c5f8;*/
	text-decoration:none;
	font-size: 100%;
	text-align:center;
}

#primarynav li:hover
{
	background-color: #5a5a5a;
	color: #ffffff;
}

#primarynav h2 a {
	border: none;
}

#primarynav a:hover {
	background-color: #5a5a5a;
	color: #ffffff;
}

#primarynav li {
	position: relative;
	z-index: 1000;
}

#primarynav ul ul{
	position: absolute;

	z-index: 500;
}

#primarynav ul ul ul{
	position: absolute;
	top: 0px;
	left: 100%;
}


div#primarynav ul ul,
div#primarynav ul li:hover ul ul,
div#primarynav ul ul li:hover ul ul {
	display: none;
}

div#primarynav ul li:hover ul,
div#primarynav ul ul li:hover ul,
div#primarynav ul ul ul li:hover ul {
	display: block;
}

/* OLD using new
div#primarynav {
	background-color: #000000;
	margin-top: 3px;
	margin-bottom:3px;
	border: 2px solid white;
	height: 40px;
	color: white;
}

.primarynavul {
	padding: 0px;
	margin: 0px;
	list-style-type:none;
}

.primarynavul li{
	display:inline;
}

.primarynavul li ul li {
	display:inline;
	list-style-type:disc;	
}

.primarynavul ul {
	display:inline
}
*/
ul.home {
	width: 4.75em;
	border-style: solid; 
	border-color: white;
	border-width: 0px 1px 0px 0px;
}


ul.first {
	border-style: solid; 
	border-color: white;
	border-width: 0px 0px 0px 0px;
	width: 5.5em;
}

ul.team {
	border-style: solid; 
	border-color: white;
	border-width: 0px 1px 0px 1px;
	width: 4.5em;
}

ul.sponsors {
	border-style: solid; 
	border-color: white;
	border-width: 0px 0px 0px 0px;
	width: 7em;
}

ul.media {
	border-style: solid; 
	border-color: white;
	border-width: 0px 1px 0px 1px;
	width: 5.5em;
}

ul.resources {
	border-style: solid; 
	border-color: white;
	border-width: 0px 1px 0px 0px;
	width: 7.75em;
}

ul.contact {
	width: 6em;
	border-style: solid; 
	border-color: white;
	border-width: 0px 1px 0px 0px;
}


/*Content Stuff*/


div#content {
	background-color: #f0f0f0;
	width: 97%;
	height: 90%;
	margin: auto;
	font-family: verdana, tahoma, sans-serif;
	font-size: 90%;
}

div#contentcontainer {
	background-color: #f0f0f0;
	border-color:#000000;
	border-style: solid;
	border-width: 1px 1px 1px;
	color: black;
	float: right;
	width: 100%;

}

h1, h2, h3, h4, h5, h6 {
	display:inline;
}