/* Various elements */

body {
	background-color: #414143;
}

/*Flash Gear*/

#horizon {
color: white;
background-color: transparent;
text-align: center;
position: absolute;
top: 50%;
left: 0px;
width: 100%;
height: 1px;
overflow: visible;
visibility: visible;
display: block}

div.container {
background-color: transparent;
text-align: center;
margin-top: -275px;
margin-left: -380px;
position: absolute;
top: 50%;
left: 50%;
width: 760px;
height: 550px;
visibility: visible

}

/* Container */

#container {
	margin: 0 auto;
	width: 841px;
	position: relative;
	left: 0px;
	top: 20px;
	height: 611px;
	background-color: #414143;
}

/* Header */

#header

  {
	margin: 0;
	background-repeat: no-repeat;
	height: 131px;
	position: relative;
	top: 0px;
	width: 841px;
	left: 0px;
	line-height: 0pt;
	background-image: url(images/headerbg.jpg);
	clear: both;
}

/* Footer */

#footer

  {
	margin: 0;
	background-repeat: no-repeat;
	height: 45px;
	position: relative;
	top: 0px;
	width: 841px;
	left: 0px;
	line-height: 0pt;
	background-color: #333333;
}

/* Banner */

#banner

  {
	margin: 0;
	height: 111px;
	position: relative;
	top: auto;
	left: 0px;
	line-height: 0pt;
	float: left;
	width: 841px;
	}

/* Menu */

#menu

  {
	margin: 0;
	height: 20px;
	position: relative;
	top: 0px;
	width: 841px;
	left: 0px;
	line-height: 0pt;
	float: right;
}

/* Main */

#main {
	background-repeat: repeat;
	left: 0px;
	top: 0px;
	width: 841px;
	height: 435px;
	position: relative;
	clear: both;
	overflow: hidden;
	background-image: url(images/mainbg.jpg);
}

#main p {
	margin-left: 1em;
	margin-right: 1em;
	margin-top: 0em;
	margin-bottom: 1em;
	} 
	
	/* Splash */

#splash {
	background-repeat: repeat;
	width: 846px;
	height: 578px;
	margin: 0 auto;
	position: relative;
	left: 0px;
	top: 85px;
	position: relative;
	overflow: hidden;
	background-color: #666666;
}
	

/* Vidframe */

#vidframe {
	background-repeat: repeat;
	left: 400px;
	top: 340px;
	width: 512px;
	height: 295px;
	position: absolute;
	clear: both;
	overflow: auto;
}

#vidframe p {
	margin-left: 1em;
	margin-right: 1em;
	margin-top: 1em;
	margin-bottom: 1em;
	}
	
/* Resultsbar */

#resultsbar {
	background-repeat: repeat;
	left: 18px;
	top: 305px;
	width: 247px;
	height: 289px;
	position: absolute;
	line-height: 0;
}

/* Merch Bar 1 */

#merchbar1 {
	background-repeat: repeat;
	left: 17px;
	top: 35px;
	width: 809px;
	height: 175px;
	position: absolute;
}

/* Merch Bar 2 */

#merchbar2 {
	background-repeat: repeat;
	left: 17px;
	top: 225px;
	width: 809px;
	height: 175px;
	position: absolute;
}

/* Results Window */

#resultswindow {
	background-repeat: repeat;
	left: 8px;
	top: 10px;
	width: 655px;
	height: 416px;
	position: absolute;
	line-height: 0;
	background-color: #808285;
	visibility: visible;
}

/* Results Archive */

#resultsarchive {
	background-repeat: repeat;
	left: 680px;
	top: 10px;
	width: 154px;
	height: 416px;
	position: absolute;
	background-color: #808285;
}

/* Drivers List */

#driverlist

 {
	position: absolute;
	width: 800px;
	height: 410px;
	float: none;
	left: 21px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: 0pt;
	top: 12px;
	background-color: #6E7072;
}

/* Calendar Box */

#calendarbox

 {
	position: absolute;
	width: 781px;
	height: 338px;
	float: none;
	left: 32px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: 0pt;
	top: 44px;
	background-color: #6E7072;
}

/* Sponsor Box */

#sponsorbox

 {
	position: absolute;
	width: 830px;
	height: 394px;
	float: none;
	left: 8px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: normal;
	top: 20px;
	background-color: #6E7072;
	overflow: auto;
}


/* Front News Box */

#frontnewsbox

 {
	position: absolute;
	width: 492px;
	height: 360px;
	float: none;
	left: 27px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: normal;
	top: 33px;
	background-color: #6E6F72;
}

/* Front Results Box */

#frontresultsbox

 {
	position: absolute;
	width: 280px;
	height: 175px;
	float: none;
	left: 536px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: normal;
	top: 33px;
	background-color: #6E6F72;
}

/* Front Gallery Box */

#frontgallbox

 {
	position: absolute;
	width: 280px;
	height: 175px;
	float: none;
	left: 536px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: auto;
	top: 218px;
	background-color: #6E6F72;
}

/* Driver Stats Box */

#driverstatbox

 {
	position: absolute;
	width: 811px;
	height: 360px;
	float: none;
	left: 14px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: auto;
	top: 30px;
	background-color: #6E6F72;
}

/* Photo Gallery Container */

#photogallery

 {
	position: absolute;
	width: 589px;
	height: 423px;
	float: none;
	left: 242px;
	background-repeat: no-repeat;
	line-height: auto;
	top: 5px;
	overflow: hidden;
}

/* Gallery List */

#gallerylist

 {
	position: absolute;
	width: 218px;
	height: 414px;
	float: none;
	left: 8px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: auto;
	top: 8px;
	background-color: #5C5D5E;
}

/* Splashcomp */

#splashcomp

 {
	position: absolute;
	width: 247px;
	height: 245px;
	float: none;
	left: 86px;
	background-repeat: no-repeat;
	text-align: left;
	line-height: 0pt;
	top: 80px;
	z-index: 1;
}

/* Splashpic */

#splashpic {
	background-repeat: repeat;
	left: 36px;
	top: 175px;
	width: 887px;
	height: 469px;
	position: absolute;
	clear: both;
	overflow: auto;
	background-image: url(images/splashpic.jpg);
	z-index: 0;
}
