* {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
body {
	background: url(../images/page-bg.png);
	font-size: 80%;
}
h1, h2 {
	margin: 0 0 10px 0;
	border-bottom: 1px solid #C70000;
	padding: 0 0 7px 0;
	font-size: 24px;
}
h2 {
	font-size: 18px;
	margin-top: 10px;
}
a { 
	color: #C70000;
}
img {
	border: 0;
}
#header, #page-wrapper, #footer, #nav {
	width: 980px;
	margin: 0 auto;
	clear: both;
}
#page-wrapper {
	background: url(../images/body-bg.png) repeat-y top center;
	min-height: 400px;
	padding: 12px 0 20px 0;
}
#footer {
	font-size: 85%;
	background: url(../images/footer-bg.png) no-repeat top center;
	height: 36px;
	text-align: center;
	padding-top: 20px;
}
#footer ul {
	list-style: none;
	margin: -15px 0 5px 0;
}
#footer ul li {
	display: inline-block;
	margin: 0 5px;
}
#footer ul li a:hover,
#footer ul li a.on {
	color: #000 !important;
	text-decoration: none !important;
}
#left-panel {
	margin: 0 0 0 28px;
	float: left;
	width: 175px;
}
#fixcal {
	float: right;
	margin: 0 0 10px 10px;
}
.placed {
	float: right;
	padding: 0 0 7px 7px;
	background-color: #FFF;
	position: relative;
	z-index: 5;
}
.link-row {
	clear: both;
	padding: 3px 0;
}
.link-title {
	width: 225px;
	float: left;
}
.link-desc {
	float: left;
}
.race-row {
	padding-bottom: 5px;
	border-bottom: 1px dashed #999;
	margin-bottom: 10px
}
.race-day {
	float: left;
	padding-right: 5px;
}
.race-info {
	margin-left: 125px;
}

/* Left panel boxes */
.box {
	float: left;
	width: 100%;
	background-color: #CCC;
	margin-bottom: 10px;
}
.box-top {
	background: url(../images/box-top-edge.png) repeat-x top;
	height: 18px;
}
.box-bottom {
	clear: both;
	background: url(../images/box-bottom-edge.png) repeat-x bottom;
	height: 18px;
}
.box-body {
	clear: both;
	border: solid #000;
	border-width: 0 2px;
}
.box-top-left, .box-bot-left {
	float: left;
	width: 18px;
	height: 18px;
	background: url(../images/box-top-left.png) no-repeat left;
}
.box-bot-left {
	background-image: url(../images/box-bottom-left.png);
}
.box-top-right, .box-bot-right {
	float: right;
	width: 18px;
	height: 18px;
	background: url(../images/box-top-right.png) no-repeat right;
}
.box-bot-right {
	background-image: url(../images/box-bottom-right.png);
}
.box-head {
	height: 22px;
	color: #FFF;
	padding-top: 4px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	background: url(../images/nav-bg-hover.png) repeat-x;
}
#main-content {
	width: 740px;
	float: left;
	margin-left: 12px;
}
.body-table {
	width: 100%;
}
.body-table th, .body-table td {
	text-align: left;
	padding: 5px;
	vertical-align: top;
}
.body-table td {
	border-bottom: 1px dashed #999;
}
.body-table p {
	margin: 0 0 10px 0;
}
.left {
	float: left;
}
.right {
	float: right;
}
img.left {
	margin-right: 10px;
}
img.right {
	margin-left: 10px;
}
#main-content li {
	margin-bottom: 8px;
}
.para-title {
	color: #888;
	font-size: 130%;
	font-weight: bold;
	margin-bottom: 5px;
}
.box ul {
	margin-bottom: 0;
}
.box a {
	display: block;
	margin-left: 10px;
	text-decoration: none;
}

/* Scroller Box */
#scroller-container {
	position: relative;
	width: 172px;
	height: 24px;
	overflow: hidden;
}
#scroller {
	white-space: nowrap;
}
#scroller p {
 	padding: 0;
}

/* Menu Styles */
#jsddm li ul {	
	margin: 0;
	padding: 0;
	position: absolute;
	visibility: hidden;
	border: 1px solid #999;
	z-index: 10;
}		
#jsddm li ul li {
	float: none;
	display: inline;
}
#jsddm li ul li a	{	
	width: auto;
	background: #333;
	color: #FFF;
	height: 22px;
	padding: 5px 15px 0 10px;
	text-align: left;
}
#jsddm li ul li a:hover {
	background: #C70000;
	border: solid #FFF;
	border-width: 1px 0;
	height: 20px;
	padding: 4px 15px 1px 10px;
}
#nav {
	width: 965px;
	font-size: 100%;
	height: 39px;
	background: url(../images/navigation-bg.png) no-repeat top center;
	text-align: right;
	color: #FFF;
	padding-right: 15px;
}
#nav ul {
	list-style: none;
	margin: 0;
}
#nav ul li {
	float: right;
	margin: 0;
}
#nav ul li a {
	display: block;
	text-transform: uppercase;
	color: #FFF;	
	text-decoration: none;
	padding: 10px 15px 0 15px;
	height: 29px;
}
#nav ul li a:hover,
#nav ul li a.on {
	background: url(../images/nav-bg-hover.png) repeat-x;
}
#nav ul li a.on {
	border: solid #FFF;
	border-width: 0 1px;
}
.top-border {
	border-top: 1px dashed #000;
	margin-top: 10px;
	padding-top: 10px;
	text-align: right;
}
.flag {
	width: 130px;
	text-align: center;
	float: left;
	padding-bottom: 10px;
}
.flag-desc {
	margin-left: 130px;
	padding-bottom: 10px;
}
.row {
	clear: both;
}

/* Admin styles */
.admin {
	width: 800px;
	margin: 0 auto;
}
.admin th {
	background-color: #C70000;
	color: #FFF;
	font-weight: bold;
	text-align: left;
}
.ckeditor {
	background: none;
}
.grade-table {
	width: 100%;
}
.grade-table th {
	background-color: #C70000;
	color: #FFF;
	font-weight: bold;
	border-bottom: 2px solid #000;
	text-align: left;
	padding: 0 3px 0 3px;
}
.grade-table td {
	border-bottom: 1px solid #CCC;
	padding: 0 6px 0 3px;
}
