﻿body
{
	color: black;
	font-family: Verdana, Arial, Serif;	/* Verdana */
	font-size: 70%;
	margin: 0; 
	padding: 0;
}

a:link
{
	color: Blue;
	background-color: Transparent;
	text-decoration: none;
}

a:visited
{
	color: Blue;
	background-color: Transparent;
	text-decoration: none;
}

a:active
{
	color: Blue;
	background-color: Transparent;
	text-decoration: none;
}

a:hover
{
	color: White;
	background-color: Blue;
	text-decoration: underline;
}

a.name
{
	color: Black;
	background-color: Transparent;
	text-decoration: none;
}

a.button
{
	background: Blue; 
	border: outset 0.4ex; 
	color: #eeeeee; 
	display: block;
	font-weight: bold; 
	margin: 1px;
	padding: 0.5em; 
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	width: 10em;
}

a.button:visited 
{ 
	background: Blue; 
	color: #eeeeee; 
}

a.button:hover 
{ 
	background: #00008b; 
	border: inset 0.4ex;
	color: #b1b1b1; 
}

h1, h2, h3, h4, h5, h6
{
	margin: 0;
	padding: 0;
}

h1, h2, h3
{
	text-align: center;	
}

h1.title
{
	color: Blue;
	font-size: x-large;
	margin-bottom: 15px;		/* 15px*/
	margin-top: 15px;
	vertical-align: middle;
}

h2.title
{
	color: Blue;
	font-size: large;
	font-weight: bolder;
	margin-bottom: 15px;
	margin-top: 0px;
	vertical-align: middle;
}

h2.subtitle
{
	color: Gray;
	font-size: small;
	margin-top: 5px;
	vertical-align: middle;
}

h3
{
	clear: both;
}

ul
{
	margin: 10px;
}

p, li
{
	margin: auto;
	text-align: justify;
	vertical-align: top;
}

li
{
	max-width: 860px;
	margin-left: 10px;
}

p
{
	margin-bottom: 2ex;
	margin-top: 2ex;
	max-width: 910px; /*910*/
}

img 
{
	border: 0;
}

.panorama img
{
	border-style: hidden;
	width: 100%;	
}

form
{
	margin: 0px;
}

table
{
	margin: 0px;
	padding: 0px;
	background-color: White;
	border-collapse: collapse;
	border-color: Black;
	border-style: solid;				
	border-spacing: 0;
	border-width: 1px;					
	table-layout: fixed;
	vertical-align: middle;
	width: auto;
}

table.format, table.format td
{
	background-color: Transparent;
	border-style: none;
	border-width: 0px;
	vertical-align: top;
}

table.paging
{
	border-style: solid;
	border-width: 1px;
	float: right;
	margin: 10px 0px 25px 0px;
	table-layout: auto;
}

table.top-paging
{
	margin-bottom: 5px;
}

th, thead
{
	background-color: Blue;
	background-image: url('../images/table_top1.png');
	background-position: center;
	color: Yellow;
	font-weight: bold;
}

th.empty
{
	background-color: Transparent;
	background-image: none;
	border-style: hidden;
}

td
{
	background-color: White;
	border-color: Black;
	border-style: solid;
	border-width: 1px;
	margin: 0px;
	padding: 2px;
	vertical-align: middle;
}

td.empty
{
	margin: 0px;
	padding: 0px;
	background-image: none;
	border-style: none;
	height: 0px;
}

td.paging
{
	background-color: Silver;
	border-width: 1px;
	padding: 2px 5px 2px 8px;
}

table.paging .active
{
	font-weight: bold;
}

table.paging .passive
{
	color: Gray;
}

td.header
{
	background-image: url('../images/table_top1_narrow.png');
	background-color: Blue;
	background-position: top;
	background-repeat: repeat-x;
	font-size: large; 
	font-weight: bold;
	color: Yellow;
}

td.header a:link
{
	color: Yellow;
	background-color: Transparent;
	text-decoration: none;
}

td.header a:visited
{
	color: Yellow;
	background-color: Transparent;
	text-decoration: none;
}

td.header a:hover
{
	background-color: Transparent;
	color: yellow;
	text-decoration: underline;
}

td.header a:active
{
	background-color: Transparent;
	color: #ffd700;
	text-decoration: none;
}

td.subheader
{
	background-color: White;
	background-image: url('../images/table_top2.png');
	background-position: center;
	background-repeat: repeat-x;
}

td.subheader a:link
{
	color: #00008b;
}

td.subheader a:hover
{
	color: White;
}

td.footer
{
	background-image: url('../images/table_bottom.png');
	background-color: #8b699d;
	background-position: center;
}

#titleNotUsed
{
	color: Green; /* Blue; */
	font-size: xx-large;
	font-weight: bold;
}

#page
{
	padding: 0px;			/*change to 8px*/
	min-width: 1008px;		
	width: auto !important;	/* for IE before IE7 */
	width: 1200px;			/* for IE before IE7 */
}

#header
{
	background-color: White;
	background-image: url('../images/top_stripe.png');
	background-repeat: repeat-x;
	float: left;
	height: 200px;
	line-height: 3ex;
	margin: 0px;
	padding: 0px;
	text-align: center;
	width: 100%;
}

#header a:hover
{
	background-color: Transparent;
}

#headerleft
{
	background-color: Transparent; 
	float: left;
	margin-left: -100%;
	padding: 0px 2px 0px 4px;
	width: 202px;		
}

#mainlogo
{
	margin: 0px 0px 4px 0px;	
	padding: 8px;
	width: 100%;
}

#mainlogo td
{
	background-image: url('../images/mainlogo.png');
	background-repeat: repeat;
}

#mainlogo img
{
	float: left;
}

#headerright
{
	background-color: Transparent;
	float: left;
	margin-left: -212px;	
	padding: 0px 0px 0px 6px;
	width: 202px;
}

#body
{
	background-color: White; 
	float: left;
	width: 100%;
	/*position: absolute;
	top: 170px;*/
}

.wrapper
{
	float: left;
	width: 100%;
}

#path
{
	background-color: White;
	border: 1px solid #808080;
	/*margin: 0px 132px 4px 132px;	=> load on runtime*/
	margin-bottom: 0px;
	margin-bottom: 4px;
	padding: 4px 10px 4px 10px;
}

#current-races
{
	background-color: Red;
	border: 1px solid #808080;
	/*margin: 0px 132px 4px 132px;	=> load on runtime TODO*/
	margin-bottom: 4px;
	margin-top: 0px;
	padding: 8px;
}

#content
{
	background-color: White;
	border: 1px solid #808080;
	/*margin: 0px 132px 4px 132px;	=> load on runtime*/
	margin-bottom: 0px;
	margin-top: 0px;
	padding: 8px;
}

#overflow
{
	/* The following could help overflowing of the content */
	padding: 1px;
	overflow: auto;
	width: auto;
}

#navigation
{
	background-color: Transparent; 
	float: left;
	margin-left: -100%;
	padding: 0px 2px 0px 4px;
	/*width: 122px;			=> load on runtime*/
}

#extension
{
	background-color: Transparent;
	float: left;
	/*margin-left: -132px;	=> load on runtime*/
	padding: 0px 0px 0px 6px;
	/*width: 122px;			=> load on runtime*/
}

#footer
{
	background-color: White;
	clear: left;
	padding: 15px;
}

#race-calendar
{
	color: Blue;
	float: right;
	position: absolute;
	top: 5px;
	right: 20px;
	*width: 350px;			
}

#race-calendar td
{
	padding: 0px 10px 1px 10px;
	white-space: nowrap;
}

#race-calendar td.date
{
	width: 50px;
}

#news-preview
{
	color: Blue;
	position: absolute;
	top: 10px;
	right: 300px;
	width: 300px;
}

#news-preview ul
{
	padding-left: 0px;
}

#news-preview li
{
	margin-bottom: 5px;
}

.extension
{
	padding: 15px;
}

.float-left
{
	float: left;
	position: relative;
}

.float-right
{
	float: right;
	position: relative;
}

.center
{
	text-align: center;
}

.left
{
	text-align: left;
}

.right
{
	text-align: right;
}

.italic
{
	font-style: italic;
}

.disabled
{
	color: Gray;
	font-style: italic;
}

a:hover.disabled
{
	color: Gray;
	background-color: White;
	text-decoration: none;
}

.resolution
{
	font-size: xx-small;
	text-align: center;
}

.copyright
{
	margin: 10em;
}

.copyright p
{
	max-width: 1400px;
}

.race-preview
{
}

.race-preview span
{
	margin: 5px 10px 5px 10px;
}

.race-preview div
{
	margin: 5px 0 5px 0;
	text-align: center;
}

.race-preview .preview-header
{
	font-weight: bold;
}

.race-preview .preview-race
{
	font-size: large;
	font-weight: bold;
}

.race-preview .preview-date
{
	color: Red;
	font-size: larger;
	font-weight: bold;
	white-space: nowrap;
}

.report-content
{
	text-align: center;
}

.counter
{
	height: 0;
}

.box
{
	margin: 0px 0px 20px 0px;
	overflow: visible;
}

.box .boxheader
{
	background-color: Blue;
	background-image: url('../images/table_top_box.png');
	background-position: center;
	border-top:  1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #808080;
	color: White;
	font-weight: bold;
	padding: 4px 8px 4px 8px;
}

.box .boxbody
{
	background-color: White;
	border: 1px solid #808080;
	padding: 0px 0px 0px 0px;
}

.box .newsitem
{
	font-size: xx-small;
	padding: 3px 4px 2px 4px;
	text-align: left;
}

.box .menuitem
{
	padding: 2px 4px 2px 4px;
}

.box .active
{
	background-color: #d3d3d3;
}

.box .search
{
	overflow: hidden;
	padding: 10px 2px 2px 5px; 
	text-align: center; 
}

.box .paypal
{
	overflow: hidden;
	padding: 10px 0px 10px 0px;	
	text-align: center;
}

.box .text
{
	padding: 5px 5px 5px 5px; 
	text-align: left; 
}

.box .menuitem:hover
{
	background-color: #dcdcdc;
}

.box .menuitem:hover a:hover
{
	color: inherit;
	background-color: Transparent;
	text-decoration: none;
}

.box img
{
	width: 100%;
}

.box a:hover img
{
	background-color: #e6e6fa; 
}

.leaderboard
{
	height: 90px;
	width: 747px; /*728*/
	white-space: nowrap;
}

.centerblock, .leaderboard
{
	margin-left: auto;
	margin-right: auto;
	text-align: center;

	margin-bottom: 2ex;
	margin-top: 2ex;
	padding: 1px;
}

.centerblock .button 
{
	margin-left: auto;
	margin-right: auto;
}

/*#left-ad-source { display: none;}
#right-ad-source { display: none;}
#middle-ad-source { display: none;}*/

#left-ad-source { visibility: hidden;}
#right-ad-source { visibility: hidden;}
#middle-ad-source { visibility: hidden;}


/* CSS3 - remove problems with Safari */
textarea
{
	resize: none;
}

.red
{
	color: #800080;
}

