body {
	background: #fff url(/images/bg_main.gif) center top;
	margin:0px;
	padding:0px;
	font-family:Arial;
	font-size:10pt;	
}
fieldset {
	border:0;
	margin:0;
	padding:0;
}
a:link, a:active, a:visited {
	color:#e8e8e8;
	text-decoration:none;
}
a:hover {
	color:#fff;
	text-decoration:underline;
}
input.textinput, input[type=text] {
	width:180px;
	height:18px;
	margin:2px 0 2px 0;
	line-height:18px;
	background-color:#ededed;
	border:1px dotted #292929;
	color:#ef0000;
	font-weight:bold;
}
input.loginname, input.password, input[type=password] {
	width:130px;
	height:16px;
	line-height:16px;
	background-color:#fff;
	border:1px solid #292929;
	color:#ef0000;
	font-weight:bold;
	margin:1px 0 0 0;
}
.submit {
	width:auto;
	height:18px;
	line-height:14px;
	padding:0;
	font-size:9pt;
	background-color:#fff;
	border:1px solid #292929;
	cursor:pointer;
}
input[type=submit].save {
	width:auto;
	height:20px;
	line-height:14px;
	padding:0;
	font-size:9pt;
	font-weight:bold;
	background-color:#ededed;
	border:1px solid #292929;
	cursor:pointer;
	color:#ef0000;
}
input[name=minq], input[name=secq], input[name=hunq], input[name=minr], input[name=secr], input[name=hunr]{
	width:50px;
	height:18px;
	line-height:14px;
	padding:0;
	font-size:9pt;
	text-align:center;
	color:#000;
	background-color:#fff;
	border:1px solid #292929;
}	
select {
	width:auto;
	height:20px;
	line-height:18px;
	padding:0;
	font-size:9pt;
	color:#fff;
	background-color:#fa1a1a;	
}
#wrap {
	width:800px;
	height:auto;
	position:absolute;
	left:50%;
	border-left:2px solid #333232;
	border-right:2px solid #333232;
	margin-left:-400px;	
	}
	#header {
		width:800px;
		height:151px;
		background-image:url('/images/header.jpg');		
		}
		#logindiv {
			width:190px;
			height:105px;			
			float:right;
			padding:0;
			margin:5px 0 0 0;
		}
		#mainmenu {			
			position:absolute;
			left:29px;
			top:121px;
			display:block;
			list-style:none;
			margin:0;
			padding:0;
			}
			.menuitem a:link, .menuitem a:active, .menuitem a:visited {				
				width:104px;
				height:25px;
				display:block;
				border-left:1px solid #000;
				border-right:1px solid #000;
				background-image:url('/images/menubg.gif');
				padding:5px 0 0 0;
				font-size:10pt;
				font-weight:bold;
				color:#fff;
				text-align:center;
				text-decoration:none;				
			}
			.menuitem a:hover {				
				width:104px;
				height:25px;
				display:block;
				border-left:1px solid #000;
				border-right:1px solid #000;
				background-image:url('/images/menubgon.gif');
				padding:5px 0 0 0;
				font-size:10pt;
				font-weight:bold;
				color:#fff;	
				text-align:center;
				text-decoration:none;
	}
	#content {
		width:800px;
		height:auto;
		float:left;
		padding:15px 0 30px 0;
		background:#fff;	
		background-repeat: no-repeat;		
		background-position: bottom right;		
		}
		#topmainheaderpred {
			width:580px;
			height:15px;
			line-height:15px;
			padding:0 10px 0 10px;
			margin:0;
			font-size:9pt;
			font-weight:bold;
			color:#dcdcdc;
			text-align:right;
			background-color:#6b6b6b;
			float:right;
		}
		#topmainheader {
			width:580px;
			height:15px;
			line-height:15px;
			padding:0 10px 0 10px;
			margin:0;
			font-size:9pt;
			font-weight:bold;
			color:#dcdcdc;
			text-align:right;
			background-color:#6b6b6b;
			float:right;
			}
			.nextevent {
				color:#fff;
				font-size:8pt;
				font-weight:bold;
			}
			.nextsession {
				color:#d9d9d9;
				font-size:9pt;
				font-weight:bold;		
		}
		#mainheaderpred {
			width:580px;
			height:29px;
			padding:0 10px 0 10px;
			margin:0 0 15px 0;
			text-align:right;
			background-color:#333232;
			float:right;
		}	
		#mainheader {
			width:580px;
			height:29px;
			padding:0 10px 0 10px;
			margin:0 0 15px 0;
			text-align:right;
			background-color:#333232;
			float:right;
		}			
		#mainleft {
			width:180px;
			height:auto;
			margin:0;
			padding:0;
			float:left;			
		}
		#mainright {
			width:180px;
			height:auto;
			margin:0;
			padding:0;
			float:right;	
			/*list-style:arrow;*/
		}
		#mainmain {
			/*border: 1px solid #000;*/
			width:410px;
			height:auto;
			float: left;
			vertical-align:top;			
			margin-left: 20px;
		}
		#main {
			width:600px;
			height:auto;
			float:right;
			vertical-align:top;			
			margin:0;
			}
			#newslist {
				width:410px;
				margin:0;
				padding:0;					
				float:left;			
				}
				.newslisttitle {
					width:400px;
					height:23px;
					padding:4px 5px 2px 5px;
					margin:0 0 5px 0;
					background-color:#333232;					
					list-style:none;
					color:#fff;
					font-size:12pt;
					font-weight:bold;
				}
				.newsitem {										
					list-style:none;
					display:block;
					padding:0;
					margin:0;
				}
				.newsitem a:link, .newsitem a:active, .newsitem a:visited {
					width:380px;
					height:20px;					
					display:block;
					color:#333232;
					font-size:8pt;
					line-height:20px;
					border-right:1px solid #000;
				}
				.newsitem a:hover {
					width:380px;
					height:20px;					
					background-color:#d6d6d6;
					display:block;
					color:#333232;
					font-size:8pt;
					line-height:20px;
					border-right:1px solid #000;
				}
				/* Full newsitem */
				.fullnewsitem {
					width:600px;
					background-color:#f2f2f2;
					}
					.newsitemheader {
						font-size:12pt;
						font-weight:bold;
						width:510px;
						padding:10px 80px 10px 10px;
						color:#000374;					
					}
					.newsitemcontent {
						width:510px;
						padding:10px 80px 10px 10px;
						font-style:italic;
					}
					.newsitemsource {
						width:510px;
						padding:10px 80px 10px 10px;
						font-weight:bold;
						font-style:italic;
					}
					.fullnewsitem a:link, .fullnewsitem a:active, .fullnewsitem a:visited {
						color:#000374;
					}
					.fullnewsitem a:hover {					
						color:#4c4fa9;
		}
				
		.best10 {			
			list-style:none;
			float:left;			
			margin:0 0 20px 0;
			padding:0;
			}
			.best10top {
				width:180px;
				height:25px;
				background-color:#333232;
				color:#fff;
				font-weight:bold;
				text-align:center;
				padding:2px 0 2px 0;
				margin:0 0 5px 0;
			}
			.best10 a:link, .best10 a:active, .best10 a:visited {
				width:150px;
				height:18px;
				line-height:18px;
				background-color:#fff;
				border-right:1px solid #000;
				display:block;
				font-size:8pt;
				color:#333232;
				list-style:none;
				margin:0;
				padding:0 3px 0 3px;
			}
			.best10 a:hover {
				width:150px;
				height:18px;
				line-height:18px;
				border-right:1px solid #000;
				display:block;
				font-size:8pt;
				color:#333232;
				background-color:#d6d6d6;
				list-style:none;
				margin:0;
				padding:0 3px 0 3px;
		}
		#lastrace {
			margin:0;
			padding:0;			
			background-color:#2f2f2f;
			border-left:2px solid #000;
			}
			.noresults {
				margin:0;
				padding:0;			
				background-color:#2f2f2f;
				border-left:2px solid #000;
			}			
			#lastrace a:link, #lastrace a:active, #lastrace a:visited{
				width:148px;
				height:18px;
				line-height:18px;
				background-color:#4d4d4d;				
				border-right:1px solid #000;
				display:block;
				font-size:8pt;
				font-weight:bold;
				color:#c7c7c7;
				list-style:none;
				margin:0;
				padding:0 3px 0 3px;
			}			
			#lastrace a:hover {
				width:148px;
				height:18px;
				line-height:18px;
				border-right:1px solid #000;
				display:block;
				font-size:8pt;
				font-weight:bold;
				color:#ebebeb;
				background-color:#676767;
				list-style:none;
				text-decoration:none;
				margin:0;
				padding:0 3px 0 3px;
			}
			.lastraceitem {
				width:137px;
				height:18px;
				line-height:18px;
				background-color:#4d4d4d;
				border-right:1px solid #000;
				display:block;
				font-size:8pt;				
				color:#fff;
				list-style:none;
				margin:0;
				padding:0 3px 0 14px;
			}
			.lastracetop {
				width:175px;
				height:20px;
				border-top:1px solid #ff1517;
				border-bottom:1px solid #ff1517;
				padding:3px 0 0 5px;
				background-color:#636363;
				color:#fff;				
				font-size:10pt;	
				font-weight:bold;

			}
		#teams {			
			width:174px;
			height:auto;			
			list-style:none;
			border-left:1px solid #333232;
			border-right:1px solid #333232;
			border-bottom:1px solid #333232;
			background-color:#c20000;
			color:#fff;			
			visibility:hidden;				
			position:absolute;
			top:151px;
			left:347px;
			margin:0;
			padding:0;
			z-index:2;			
		}		
		#personalmenu {			
			width:174px;
			height:auto;			
			list-style:none;
			border-left:1px solid #333232;
			border-right:1px solid #333232;
			border-bottom:1px solid #333232;
			background-color:#c20000;
			color:#fff;			
			visibility:hidden;				
			position:absolute;
			top:151px;
			left:559px;
			margin:0;
			padding:0;
			z-index:2;			
		}
		#rankingsmenu {			
			width:174px;
			height:auto;			
			list-style:none;
			border-left:1px solid #333232;
			border-right:1px solid #333232;
			border-bottom:1px solid #333232;
			background-color:#c20000;
			color:#fff;
			visibility:hidden;				
			position:absolute;
			top:151px;
			left:453px;
			margin:0;
			padding:0;
			z-index:2;			
		}
		#aboutmenu {			
			width:174px;
			height:auto;			
			list-style:none;
			border-left:1px solid #333232;
			border-right:1px solid #333232;
			border-bottom:1px solid #333232;
			background-color:#c20000;
			color:#fff;
			visibility:hidden;				
			position:absolute;
			top:151px;
			left:134px;
			margin:0;
			padding:0;
			z-index:2;			
		}
		#races {			
			width:174px;
			height:auto;			
			list-style:none;
			border-left:1px solid #333232;
			border-right:1px solid #333232;
			border-bottom:1px solid #333232;
			background-color:#c20000;
			color:#fff;			
			visibility:hidden;				
			position:absolute;
			top:151px;
			left:240px;
			margin:0;
			padding:0;
			z-index:2;			
		}		
		#aboutmenu a:link, #aboutmenu a:active, #aboutmenu a:visited, #races a:link, #races a:active, #races a:visited, #personalmenu a:link, #personalmenu a:active, #personalmenu a:visited, #teams a:link, #teams a:active, #teams a:visited, #rankingsmenu a:link, #rankingsmenu a:active, #rankingsmenu a:visited {
			width:170px;
			height:18px;
			background-color:#fa1a1a;
			display:block;
			line-height:18px;
			color:#fff;				
			font-size:8pt;
			text-decoration:none;
			margin:1px 0 0 0;
			padding:0 2px 0 2px;
		}
		#rankingsmenu a.formula1:link, #rankingsmenu a.formula1:active, #rankingsmenu a.formula1:visited {
			width:170px;
			height:18px;
			background-color:#fa5050;
			display:block;
			line-height:18px;
			color:#fff;				
			font-size:8pt;
			text-decoration:none;
			margin:1px 0 0 0;
			padding:0 2px 0 2px;
		}
		#aboutmenu a:hover, #races a:hover, #personalmenu a:hover, #teams a:hover, #rankingsmenu a:hover, #rankingsmenu a.formula1:hover {
			width:170px;
			height:18px;
			background-color:#d60000;
			display:block;
			line-height:18px;
			color:#fff;				
			font-size:8pt;
			text-decoration:none;
			margin:1px 0 0 0;
			padding:0 2px 0 2px;
		}		
		.tabletop {
			width:auto;
			padding:0 2px 0 2px;
			height:22px;
			background-color:#777;
			border-top:1px solid #fff;
			border-bottom:1px solid #fff;
			color:#fff;
			font-weight:bold;
		}
		.tabletab {				
			margin:0;
			padding:0;			
			background-color:#3d3d3d;
		}			
		.tablist td a:link, .tablist td a:visited, .tablist td a:active {	
			height:20px;
			width:auto;
			background:#777 url('images/tabedge.gif');
			background-repeat: no-repeat;			
			background-position: top right;
			border-left:1px solid #3d3d3d;
			padding:5px 10px 0 10px;
			margin:0;
			display:block;						
			color:#fff;
			font-weight:bold;			
		}
		.tablist td a:hover {	
			height:20px;
			width:auto;
			background:#919191 url('images/tabedge.gif');
			background-repeat: no-repeat;			
			background-position: top right;
			border-left:1px solid #3d3d3d;
			padding:5px 10px 0 10px;			
			display:block;
			color:#fff;
			text-decoration:none;
			font-weight:bold;
		}
		.tablesubtop {
			width:auto;
			padding:0 2px 0 2px;
			height:18px;
			line-height:18px;
			background-color:#a0a0a0;
			border-top:1px solid #fff;
			border-bottom:1px solid #fff;
			color:#fff;
			font-weight:bold;
		}
		.tablesubsubtop {
			width:auto;
			padding:0 2px 0 2px;
			height:18px;
			line-height:18px;
			border-bottom:1px solid #fff;
			background-color:#3d3d3d;			
			color:#fff;
			font-weight:bold;
		}
		.tabletimes {
			width:140px;
			background-color:#a8a8a8;
			font-size:9pt;
			color:#fff;
			padding:0 3px 0 3px;
		}
		.timesides {
			width:auto;
			color:#000;
			background-color:#6c6c6c;
			border-bottom:1px solid #8a8a8a;
			font-weight:bold;
			text-align:center;
			color:#fff;
		}
		.tableleft {
			width:200px;
			background-color:#a8a8a8;
			border-bottom:1px solid #8b8b8b;
			font-size:9pt;
			font-weight:bold;
			text-align:right;
			padding:0 3px 0 3px;
		}
		.tableleft2 {
			width:120px;
			background-color:#a8a8a8;
			border-bottom:1px solid #8b8b8b;
			font-size:9pt;
			font-weight:bold;
			text-align:right;
			padding:0 3px 0 3px;
		}
		.raceleft {
			width:120px;
			background-color:#a8a8a8;
			border-bottom:1px solid #8b8b8b;
			font-size:9pt;
			font-weight:bold;
			text-align:right;
			color:#333;
			padding:0 3px 0 3px;
		}
		.raceright {
			width:190px;
			background-color:#a8a8a8;
			border-bottom:1px solid #8b8b8b;
			font-size:9pt;
			font-weight:bold;
			text-align:left;
			color:#000;
			padding:0 3px 0 3px;
		}
		.tableright {
			width:140px;
			background-color:#fa5050;
			border-bottom:1px solid #c20000;
			font-size:9pt;
			text-align:left;
			padding:0 3px 0 3px;
		}
		.tableright2 {
			width:200px;
			background-color:#fa5050;
			border-bottom:1px solid #c20000;
			font-size:9pt;
			text-align:left;
			padding:0 3px 0 3px;
		}
		.avatar {
			width:auto;			
			float:right;
			border:3px solid #333232;
			margin-right:15px;
			font-size:9pt;
			vertical-align:top;
			text-align:center;
			padding:0;
		}
		.avatardiv {
			width:120px;
			height:70px;
			float:right;
			margin-right:15px;
			background-color:#9b9b9b;
			border:3px solid #333232;
			text-align:center;
			color:#fff;
			font-weight:bold;
			padding-top:50px;
		}
		.profiletable {			
			border:3px solid #333232;
			}			
			.driverpicture, .teampicture {
				width:auto;
				height:auto;
				background-image:url('images/cellbg.gif');
				background-position:top right;
		}
		.rankingstable {
			width:350px;
			border:3px solid #333232;
			}
			.tabletitle {
				width:auto;
				height:25px;
				background-color:#3d3d3d;
				color:#fff;
				padding:3px;
				font-size:12pt;
				font-weight:bold;
			}
			.tablemiddle {
				width:auto;
				height:18px;
				line-height:18px;				
				border-bottom:1px solid #c20000;
				font-size:9pt;
				text-align:center;
				color:#fff;
	}			
	#footer {
		width:790px;
		height:33px;
		float:left;
		background-color:#333232;
		padding:5px;
		color:#c20000;
		font-size:8pt;
		font-weight:bold;		
		}
		#footer a:link, #footer a:active, #footer a:visited {
			color:#fff;
			text-decoration:none;
		}
		#footer a:hover {
			color:#e73434;
			text-decoration:none;
}
	
