/* mac hide \*/
html
{
	padding:0;
	margin:0;
	height:100%;
	font-family : Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	background:black;
	overflow: auto;
}

/* end hide*/
body 
{
	padding:0;
	margin:0;
	height:100%;
	background:black;
}

a
{
	text-decoration: none;
	outline: 0;
	color:#CC6600;
	font-style:italic;
	font-weight:normal;
}

::selection
{
	background: yellow;
	color: black;
}

::-moz-selection  /* Code for Firefox */
{
    background: yellow;
	color: black;
}

.menu a::selection, .navigationtable ::selection, .results th ::selection, .scoring th::selection, .sales th::selection,  .circuits th ::selection,  .shop th ::selection
{
	color: #808080;
}

.menu a::-moz-selection, .navigationtable ::-moz-selection, .results th ::-moz-selection, .scoring th::-moz-selection, .sales th::-moz-selection,  .circuits th ::-moz-selection,  .shop th ::-moz-selection /* Code for Firefox */
{
	color: #808080;
}


a:visited 
{
	color:#999999;
}

a:hover 
{
  	color:#CCCCCC;
}

 
.menu a
{
	font-style:normal;
	font-weight:bold;
}
.menu a:active, .navigation  a:active, .menu a:visited , .navigation  a:visited
{
	color: #CCCCCC;
}

.menu a:link, .navigation  a:link 
{
	color: #FFFFFF;
}

.menu a:hover, .navigation  a:hover {
  	color: #CC6600;
}

h1 
{
	font-weight:normal;
	font-size: 3em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
h2
{
	font-weight:normal;
	font-size: 1.75em;
	margin-top: 1em;
	margin-bottom: 0.5em;
}
.copyright
{
	font-size: 0.5em;
	font-weight: normal;
	color:#cc6600;
}
.version
{
	text-align:right;
	font-size:0.75em;
	padding-top: 1em;
	padding-bottom: 1em;
}
.meteoblue
{
	font-size: 0.75em;
	font-weight: normal;
	text-align: center;
}
.meteoframe
{
	overflow:hidden;
}

.meteo
{
	font-weight:normal;
	font-size:0.8em;
}

.meteoIcon
{
	width: 60px;
}
.rainSPOT
{
	table-layout:fixed;
	background-image:url(../images/meteo/rainSPOT.png);
	background-repeat:no-repeat;
	background-position:center center;
	background-size: cover;
	height: 60px;
	width: 60px;
}

.rainSPOT td
{
	padding:0;
	margin:0;
}

.rain0
{
	opacity:0.5;
	background:#e6ebf0;
}
.rain1
{
	opacity:0.40;
	background:#7070ff;
}
.rain2
{
	opacity:0.45;
	background:#4040ff;
}
.rain3
{
	opacity:0.5;
	background:#0000ff;
}
.rain4
{
	opacity:0.75;
	background:#0000c0;
}
.rain5
{
	opacity:0.85;
	background:#000060;
}
.rain9
{
	opacity:0.3;
	background:#008080;
}

h3
{
	font-weight:normal;
	font-size: 1.25em;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}
p
{
	font-size: 0.875em;
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 1.15em;
}
ul
{
	list-style-type:disc;
	list-style-position:inside;
}
ol
{
	list-style-type:decimal;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
li
{
	font-size: 0.875em;
	margin-left: 2em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	line-height: 1.15em;
}

ol li
{
	margin-top: 1em;
	margin-bottom: 1em;
}

img 
 {
	border: 0;
	max-width: 100%;
	height: auto;
}
.bannerimg
{
	width:830px;
}

table
{
	margin-left:auto;
	margin-right:auto;
	font-size: 1em;
}
th,td
{
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
	padding-right: 10px;
	page-break-inside: avoid;
}
th
{
	color:white;
}

.showMobile, .mobileTable
{
	display: none;
}

.keepLinesTogether
{
	page-break-inside:avoid;
}
.left
{
	text-align: left;
}

.center
{
	text-align: center;
}

.middle
{
	vertical-align: middle;
}

#footercopyright
{
	position: absolute;
	color:#505050;
	right:0;
	padding-right:10px;
	letter-spacing:0.1em;
}
#footertext
{
    text-align:center;
	color: white;
}



.visitorcounter
{
	text-align: center;
	line-height:0.5em;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 1em;
}

.legend
{
	text-align: center;
	font-size: 0.75em;
	font-style: italic;
}

.menu
{
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1.25em;
    padding-top: 0;
	margin:0;
	text-align: center;
	font-weight: bold;
	font-size: 0.875em;
	left: 0;
    width: 160px;
}

#container {
	min-height:100%;/*for mozilla as IE treats height as min-height anyway*/
	margin-left:160px;
	background:black;
	border-left:4px solid #cc6600;
	border-bottom:0px solid #cc6600;
	margin-bottom:-29px;
	color: white;
}
* html #container {
	height:100%;
}

#header 
{
	z-index:2;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height: 120px;
	line-height: 120px;
	background:black;
	border-bottom: 4px solid #cc6600;
	overflow: hidden;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#printheader 
{
	z-index:2;
	position:absolute;
	top:0;
	left:0;
	width:0;
	height: 123px;
	background: white;
	color:black;
	border-bottom: 1px solid gray;
	overflow: hidden;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#navigation 
{
	display:none;
	z-index:3;
	position:absolute;
	top:40px;
	left:0;
	width:140px;
	height: 84px;
	overflow: hidden;
	padding: 0;
}

#fbheaderlink 
{
	display:none;
	z-index:3;
	position:absolute;
	top:48px;
	right:0;
	width:140px;
	height: 84px;
	overflow: hidden;
	padding: 0;
}

#sidebar {
    position: relative;
    width: 160px;
	float:left;
    margin-left: -160px;
    left: -4px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 160px;
	padding-bottom: 10px;
	color: white;
}

* html #sidebar {
	margin-right:-4px
}/* four pixel jog */


#footer
{
	width:100%;
	clear:both;
	height:25px;
	border-top:4px solid #cc6600;
	background:black;
	color: yellow;
	text-align:center;
	position:relative;
	margin-top:-29px;
	overflow: hidden;
	font-size: 0.675em;
	line-height:2em;
	letter-spacing:0.675em;
}

* html #footer {/* only ie gets this style */
	height:29px;/* for ie5 */
	he\ight:29px;/* for ie6 */
}

#clearfooter
{
	clear:both;
    height: 29px;
	overflow: hidden;
} /* make room for footer */

#content {
	float:right;
	width:100%;
	margin:0 0 0 -4px;
	position:relative;
	z-index:1;
	padding-top:134px;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	background-size: 100%;
}

#article
{
	padding:10px;
	max-width:980px;
	margin-left:auto;
	margin-right:auto;
}

.news
{
	font-size:1.0em;
	font-weight:normal;
	font-style:normal;
	margin-top:0.125em;
}

.newstitle
{
	color:#ff1010;
	font-size:1.625em;
	font-weight:normal;
	margin-top:2.5em;
	margin-bottom:0.125em;
}

.campaigntitle
{
	margin-top:40px;
	color:yellow; 
	font-size:1em;
}

.newsimg
{
	width:auto;
	height:162px;
}

.newsvideo
{
	color:#404040;
	font-size:1.25em;
	font-weight:bold;
	margin-top:1em;
	margin-bottom:0.125em;
}

.scoring, .advertisement
{
	font-size:0.75em;
	line-height:1em;
}

.circuits, .results
{
	font-size:0.75em;
	line-height:1.25em;
}

.advertisement
{
	table-layout:fixed;
	width:600px;
}
.scoring
{
	min-width:740px;
}

input[type=submit],input[type=reset]
{
	font-weight:bold;
	padding-top:0.5em;
	padding-bottom:0.5em;
}
input[type=text],input[type=submit],input[type=reset],textarea,select
{
	border-width:1px;
	border-style:solid;
	border-color:gray;
}

input[type=text]:hover,input[type=submit]:hover,input[type=reset]:hover,textarea:hover,select:hover
{
	border-color:#cc6600;
}

input[type=submit]:hover,input[type=reset]:hover
{
	background-color:#eddbdc;
}

.advertisement td
{
	padding-top:1em;
}

.scoring, .circuits, .calendar, .advertisement
{
	font-weight:normal;
}

.results p
{
	font-weight:bold;
}

.calendar ul
{
	padding-bottom:1em;
}

.colPos
{
	text-align: center;
	width:30px;
}
.colDriver
{
	text-align: left;
	width:165px;
}
.colNat
{
	text-align: center;
	width:40px;
}
.colCar
{
	text-align: left;
	width:135px;
}
.colEvent
{
	text-align: center;
	width:65px;
}

.colTotal
{
	text-align: center;
	width:50px;
}

.scoring td, .circuits td
{
	padding-left:1px;
	padding-right:1px;
	color:white;
	text-align:center;
	vertical-align:middle;
}
.circuits td
{
	padding: 5px;
}

.scoring th, .circuits th, .results th, .navigationtable th, .shop th
{
	vertical-align:middle;
}
.scoring th
{
	font-weight:bold;
  	padding-left:1px;
	padding-right:1px;
	padding-bottom:5px;
  	padding-top:5px;
}

.circuits th, .circuits th a , .results th
{
	padding:0;
}

.shop
{
	table-layout:fixed;
	margin-top:20px;
	width:100%;
}
.shop th
{
	width:auto;
  	padding:10px;
}

.shop th div div div
{
	font-weight:normal;
}

.circuits th a div:hover
{
	/* background: #181010; */
}
.circuits th a div
{
	display:table;
	width:100%;
	height:100px;
}
.circuits th a div div
{
	font-weight:bold;
	display:table-cell;
	width:100%;
	vertical-align:middle;
	padding-left:5px;
	padding-right:5px;
}

.circuits td a div, .sales td a div
{
	padding-top:5px;
	padding-bottom:5px;
	color:white;
}

.circuits td a:visited div, .sales td a:visited div
{
	color:#CCCCCC;
}
.circuits td a:hover div, .sales td a:hover div
{
	color:#CC6600;
}

.sales
{
	table-layout:fixed;
	font-size:0.875em;
	width:100%;
}
.sales th
{
	padding-left:0.125em;
	padding-right:0.125em;
	line-height:2em;
}
.sales td
{
	padding-top:0.75em;
	padding-bottom:0.75em;
	vertical-align:middle;
	text-align:center;
}
.sales td img
{
	max-width:100%;
}

.salesColNat,.salesColTxt,.salesColCon
{
	padding-left:0.125em;
	padding-right:0.125em;
	overflow:hidden;
	word-wrap:break-word;
}

.salesColNum
{
	padding-left:0.125em;
	padding-right:0.125em;
	width:2.5em;
}
.salesColNat
{
	width:2.5em;
}
.salesColTxt
{
	width:auto;
}
.salesColImg
{
	width:16em;
	padding:0;
}
.salesColCon
{
	width:13em;
}
.salesColDat
{
	padding-left:0.125em;
	padding-right:0.125em;
	width:5.5em;
}




.results th
{
	padding:0;
	font-weight:normal;
	font-size: 1.5em;
	line-height: 1.5em;
	width:20%;
}
.results th a
{
	font-weight:normal;
	font-size: 1em;
	color:#999999;
}
.results th div,.results th a div
{
	padding:5px;
}

.results th a div:hover
{
	/* background: #181010; */
}

.results th img
{
	vertical-align:middle;
	margin-bottom:0.25em;
}
.results td p
{
	font-size: 1.125em;
	margin-left:1em;
	margin-bottom:0;
}

.results td li
{
	font-size: 1.125em;
	margin-top: 0.25em;
	margin-bottom:0.25em;
	color:#606060; // #a0a0a0
}
.results td ul
{
	margin-bottom: 2em;
}
.eventdate
{
	font-size: 0.875em;
	color:gray;
}
.champion
{
	height:18px;
	width:auto;
}
.flag
{
	width:16px;
	height:auto;
}

.left td, .left th
{
	text-align: left;
}

table th a:active , table th a:visited {
	color: #AAAAAA;
	text-decoration:none;
}

table th a:link  {
	color: #FFFFFF;
	text-decoration:none;
}

table th a:hover {
  	color: #CC6600;
	text-decoration:none;
}

.results td a:visited, .results td a:link
{
	font-weight: normal;
	color:#cccccc;// #404040
}
.results td a:hover
{
	color:#CC6600;
}

.slimborder
{
	border-width: 1px;
	border-style: solid;
	border-color: #CC6600;
}

.slimborder th, .slimborder td
{
	border-width: 1px;
	border-style: solid;
	border-color: #CC6600;
}

.tableborder
{
	border-width: 2px;
	border-style: none;
	border-color: #CC6600;
}

.tableborder  th, .tableborder  td
{
	border-width: 2px;
	border-bottom-style: solid;
	border-color: #CC6600;
}
 .tableborder  td
{
	border-left-width:1px;
	border-right-width:1px;
}

.navigationtable
{
	font-size:1em;
	width:830px;
	max-width:100%;
}
.navigationtable th
{
	padding:0;
	color:#CC6600;
}

.navigationtable th a div:hover
{
	/* background: #181010; */
}

.navigationtable th a div, .navigationtable th div div
{
	display:table;
	width:100%;
	height:3em;
}

.navigationtable th a div div,.navigationtable th div div div
{
	display:table-cell;
	vertical-align: middle;
	text-align:center;
	font-weight:normal;
}

.scoringdeductedtitle
{
	font-size:0.75em;
	color:#FF0000;
	font-style:italic;
	font-weight:bold;
	text-align:center;
}

.scoringdeducted
{
	color:#FF0000;
	font-style:italic;
}

	.contacts td
	{
		padding-top:1.5em;
		padding-bottom:1.5em;
	}

.printonly
{
	display:none;
}


.colCalDate
{
	width: 180px;
	height: 2.5em;
	text-align:right;
	padding-right: 2em;
}


.linkscolumn
{
	width: 45%; float:left;
	margin-left:5%;
}
 
.linkscolumn p
{
 	line-height:1.25em;
}


.cancelled
{
	position:absolute;
	color:black;
	top:65%;
	left:35%;
	z-index: -1000;
	text-align:center;
	font-size:72px;
	text-shadow: -1px -1px 0 red, 1px -1px 0 red, -1px 1px 0 red, 1px 1px 0 red;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;
}
#container:after {
	clear:both;
	display:block;
	height:1%;
	content:" ";
}



@media screen and (max-device-width: 760px), screen and (max-width: 1044px)
{
	.menu a:link,.menu a:active,.menu a:visited
	{
		color:black;
	}
	#sidebar
	{
		display:none;
		width:0;
		height:0;
		color:black;
	}
	#container
	{
		margin-left:0;
		border-left:0;
	}
	#navigation , #fbheaderlink 
	{
		display:inline;
	}
}


@media screen and (min-width: 1440px)
{
	.newsimg
	{
		height:243px;
	}
}

@media screen and (max-width: 880px)
{
	.salesColImg
	{
		width:16em;
	}
}

@media screen and (max-width: 780px)
{
	.menu
	{
		width: 42px;
		font-size: 0;
	}
	#navigation
	{
		width: 42px;
		left: 4px;
	}
	#fbheaderlink
	{
		width: 42px;
		right: 4px;
	}
	#header 
	{
		padding-left: 42px;
		padding-right: 42px;
		right:0;
		width:auto;
	}
	.bannerimg, .circuitmap, .newsimg, .newstitle img
	{
		width:100%;
		height:auto;
	}
	.hideMobile
	{
		display: none;
	}
	.salesColImg
	{
		width:11em;
	}
	.salesColDat
	{
		width:3.5em;
	}
	#galleryTitle
	{
		font-size:0;
		height:0;
	}
	.showMobile
	{
		display: inline;
	}
	.mobileTable
	{
		display: table;
	}
	.results
	{
		table-layout:fixed;
		width:640px;
		max-width:100%;
	}
	.advertisement
	{
		max-width:100%;
	}
	.results th
	{
		width:50%;
	}
	.flag
	{
		width:24px;
	}
	.linkscolumn
	{
		margin-left:20%;
		width: 80%;
	}
}

@media screen and (max-device-width: 760px)
{
	h1 
	{
		font-size: 4em;
	}
	h2
	{
		font-size: 2.5em;
	}
	h3
	{
		font-size: 2em;
	}
	p,li,table,.shop,.sales
	{
		font-size: 1.375em;
	}
	.scoring,.circuits,.results
	{
		font-size: 1em;
		width:100%;
	}
	.contactscontacts
	{
		font-size: 1.75em;
	}
	.sales
	{
		width:100%;
	}
	.salesColImg
	{
		width:11em;
	}
	.salesColDat
	{
		width:3.5em;
	}
	.salesColCon
	{
		width:11em;
	}
	.navigationtable
	{
		width:100%;
	}
	.navigationtable th div div, .navigationtable th a div
	{
		font-size: 1.375em;
		height:3em;
	}
	.showMobile
	{
		display: inline;
	}
	.mobileTable
	{
		display: table;
	}
	.hideMobile
	{
		display: none;
	}
	#galleryTitle
	{
		font-size:0;
		height:0;
	}
	.newstitle
	{
		font-size: 2em;
		font-weight:normal;
	}
	.campaigntitle
	{
		margin-top:0.5em;
	}
	.news
	{
		font-size: 1.375em;
		font-weight:normal;
	}
	.bannerimg, .circuitmap, .newsimg, .newstitle img
	{
		width:100%;
		height:auto;
	}
	.newsvideo
	{
		font-size: 1.5em;
	}
	.menu
	{
		font-size: 1.2em;
	}
	.results
	{
		table-layout:fixed;
		max-width:100%;
	}
	.results th
	{
		font-size: 2.25em;
		line-height: 2.25em;
		width:50%;
	}
	.results td p
	{
		font-size: 2em;
		margin-bottom:0;
	}
	.results td li
	{
		font-size: 2em;
		margin-top: 0.25em;
		margin-bottom:0.25em;
	}
	.results td ul
	{
		margin-bottom: 2em;
	}
	.eventdate
	{
		font-size: 0.875em;
		color:gray;
		white-space:nowrap;
		word-break:keep-all;
	}
	.champion
	{
		height:60%;
	}
	.flag
	{
		width:24px;
	}
	.linkscolumn
	{
		margin-left:0;
		width: 100%;
	}
	.linkscolumn p
	{
		line-height:1.5em;
	}
	.meteoblue
	{
		font-size: 1.0em;
	}
	.meteo
	{
		font-size:1.2em;
	}
	.meteoIcon
	{
		width: 90px;
	}
	.rainSPOT
	{
		height: 90px;
		width: 90px;
	}
}

@media screen and (max-width: 640px)
{
	.shop
	{
		width:100%;
	}
}

@media screen and (max-width: 520px)
{
	#footer
	{
		letter-spacing:0.25em;
	}
}

@media screen and (max-width: 360px)
{
	#footer
	{
		letter-spacing:0.1em;
	}
}


@media print
{
	h1,h2,h3
	{
		page-break-after: avoid;
	}
	.noprint
	 {
		display: none;
		width:0;
	}
	.printonly
	{
		display:inline;
	}
	.scoring
	{
		width:860px;
	}
	.scoring th, .scoring td
	{
		border-width: 0;
		padding:1px;
	}
	.navigationtable th , .results, .results th, .results td, .tableborder
	{
		border-width:1px;
		border-color:#e0e0e0;
		border-style:none;
	}

	.tableborder th, .tableborder td
	{
		border-bottom-style:solid;
	}

	.navigationtable th a, .navigationtable th div
	{
		border-width:0;
		border-style:none;
	}

	.bannerimg
	{
		width:100%;
	}

	.cancelled
	{
		color:transparent;
	}
	
	#container
	{
		margin-left:0;
		border-left:0;
	}
	#printheader 
	{
		width:100%;
	}
	#navigation , #fbheaderlink 
	{
		display:none;
	}
	#article
	{
		min-width:760px;
	}
	#footertext, #footercopyright
	{
		color: gray;
		font-style: normal;
		padding-right:0;
	}
	#footer
	{
		height:28px;
		border-top:1px solid gray;
		background: white;
	}
}