#contents h1 {
	font-size:1.75em;
	color:#6699cc;
	letter-spacing:-1px;
	margin-bottom:.25em;
}

#contents h2 {
	font-size:1.15em;
	color:#333399;
	font-style:normal;
	margin:0;
}

#contents ul {
	margin-bottom:1.2em
}

/*ul, ul li {list-style-type:none}*/

.content {
	padding:5px;
	margin-bottom:10px;
}

#usptheader {
	width:100%;
	text-align:center;
}

#usptheader img {
	margin:5px auto !important;
	padding:0
}

#menu, #menu ul, #menu li, #menu a {
	padding:0;
	margin:0;
	text-indent:0;
	
	list-style:none
}

#menu {
	height:3em;
	width:100%;
	
	position:relative;
	border-bottom:1px solid #ddd;
	z-index:1;
}
	
#menu ul {
	position:absolute;
	bottom:0;
	right:2em;
	list-style: none;
}

html>body #menu ul {bottom:0px}

#menu a {
	display:block;
	width:100%;
	height:100%;
	
	font-weight:bold;
	color:#147;
	text-decoration:none;
	text-align:center;
	padding:.25em;
}

#menu a:hover, #menu li#here a {background-color:#fff !important;}
#menu a:hover {text-decoration:underline}

#menu li { /* all list items */
	vertical-align:bottom;
	line-height:1.5em;
		
	position:relative;
	float:left;
	
	height:100%;
	width:9em; /* width needed or else Opera goes nuts */
	
	margin-right:1em;
	z-index:2;
}

/* IE7 & below */
* html #menu li {bottom:-1px;}

#menu li a {
	border-style:solid;
	border-color:#ccc;
	border-width:1px;
	border-bottom-width:0;
	background:#eee;
}

#menu li ul { /* second-level lists */
	border:1px solid #ccc;
	position: absolute;
	height:auto;
	width: 12.5em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	background:#fff;
	z-index:1000;
	
	margin:0;
	padding:0;
	
	overflow:hidden;
}

#menu li:hover ul, #menu li.hover ul {
	left:0;
	bottom:auto;
}

#menu li ul li {
	margin:0;
	padding:0;
	width:100%;
	bottom:0;
}


#menu li ul a, #menu li#here ul a {
	background-color:#fff;
	text-align:left;
	border:0;

	font-weight:normal;
	font-size:.9em;
	color:#333;
}

#menu li ul a:hover, #menu li#here ul a:hover {
	background-color:#def !important;
	text-decoration:none;
}

#menu li hr {
	border:0;
	height:1px;
	background-color:#eee;
	color:#ddd;
	margin:0;
}

#content {margin:10px;}

#content img {margin:15px;z-index:100}

.rightmenu {
	float:right;
	width:100px;
	border:1px solid #ccc;
	margin:5px;
	padding:5px;
	z-index:1000;
	font-size:.75em;
}

.rightmenu h2 {padding:0;margin:0;font-size:1em;color:#000;font-style:normal;}
.rightmenu ul {margin:5px 0 0 0;padding:0 0 0 1em;list-style-position:outside;list-style-type:none;text-indent:0}
.rightmenu li {margin:0 0 3px ;padding:0;text-align:left}

/* Style Sponsors Table */
#sponsors {
	width:100%;
	text-align:center;
}
#sponsors table {
	padding:0;
	margin:0 auto;
	width:90%;
	text-align:left;
}

#sponsors th {
	font-weight:bold;
	font-size:1.15em;
	background-color:#036;
	color:#eee;
	text-align:center;
	padding:.25em;
}

#sponsors td {
	vertical-align:top;
	background-color:#f5f5f5;
	width:50%;
	padding:.5em 1em .5em 1em;
}

#sponsors ul {
	list-style:none;
	list-style-position:outside;
	float:left;
	margin:1%;
	padding:0;
	text-indent:0;
}

#sponsors li {
	text-indent:0;
	margin:.5em 0 0 0;
	padding:0;
}

#individuals ul {
	width:29%;
}

.results {
	background-color:#eee;
	border:2px solid #222;
	border-collapse:collapse;
	width:100%;
}

.results tr td, .results td {
	border:1px solid #bbb;
	padding: .5em .25em .5em .25em;
}

.results tr th {
	color:#eee;
	background-color:#036;
	border-left:1px solid #000;
	border-right:1px solid #000;
	border-bottom:2px solid #000;
	padding: .5em .25em .5em .25em;
}

results tr th a, .results tr th a:visited, .results tr th a:link {
	font-weight:bold;
	color:#eee !important;
	display:block;
	width:100%;
	height:100%;
}

.results td.alt, .results .alt td {
	background-color:#d0d0d0;
}

.results tr sth a:hover {color:#fff}
.student, .teacher, .school {width:33%;}

/** Team Member Bios (for team.cfm) **/
.team {
	margin:0;
	padding:0;
	list-style:none;
	list-style-position:inside;
}

.team ul {list-style-type:none}

.team li {
	background-color:#eee;
	padding:.5em;
	margin:.5em;
	list-style-type:none;
}

.team li.alt {background:#ddd}

.team li img {
	margin:.5em;
	padding:0;
	float:left;
	border:2px solid #036;
}

.team li .details {
	float:left;
	width:40%;
}

.team li h3, .team li h4 {
	margin:.2em;
	padding:0;
	width:100%;
}

.team li h4 {
	margin-left:.4em;
}

.team li .name {
	font-size:1.25em;
}

.team li .bio {
	display:inline;
	float:right;
	width:40%;
	margin-top:.75em;
}

.team li .bio p {
	display:inline;
	margin:0;
	padding:0;}

.team li .clear {clear:both}

/* traveling Team */
h3.travelingteam, h4.travelingteam {
	font-size:.8em;
	color:#a00;
	margin-top:0em;
}

h3.travelingteam {margin-bottom:1em}

.photo {
	margin:5px !important;
	float:left;
	margin-top:0 !important;
	padding:0;
	text-align:center;
}

.photo img{
	margin:0 !important;
	padding:0 !important;
	border:2px solid #036;
}

.travelingteam .photo img, img.travelingteam{
	border-color:#a00;
}

.photo p {
	clear: both;
	text-align:center;
	font-size:.8em;
}

.profile {
	margin:0;
	margin-left: 220px;
}

.profile .photo {width:200px;}

.profile h2 {
	font-size:1.5em;
	margin-top:0;
}

h3.grade, h3.loc, h3.school {margin:0;padding:0;width:100%}
h3.grade span {font-weight:normal}

/* Coaches */
.coaches {
}

.coaches ul {
	list-style:none;
	margin:0 0 0 1em;
	padding:0;
	list-style-position:outside;
}

.coaches li {
	margin:1em 0 0 0;
	padding:0;
	list-style:none;
}

.coaches p, .coaches h2, .coaches h3, .coaches h4 {
	margin:0;
	padding:0;
}

.coaches h2 {border-bottom:1px solid #ddd;margin-bottom:1em}
.coaches h3 {font-size:1.25em}

.coaches .contact {margin:0 0 .25em 0;}
.coaches .photo {width:150px;margin:2em 1em 1em 1em !important;float:right}
.coaches .details {float:left;width:70%;}

.back {
	clear:both;
	display:block;
	width:100%;
}

.error {
	color:#b00;
	font-size:.8em;
	margin:0;
	margin-left:1em;
	padding:.5em;
	line-height:1em;
}

.error ul {
	list-style-type:none;
}

.error p {
	font-size:1em;
	margin:0;
	padding:0;
}