/* MAIN PAGE */

body {
	width: 900px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	background-image: url(../tools/titlebg.png);
	background-attachment: fixed;
	background-position: top;
	background-repeat: no-repeat;
	background-color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	line-height: 1.5;
	color: #444;
	}
	
hr 	{	
	border: none 0; 
	border-top: 1px solid #666666;
	width: 100%;
	height: 1px;
	size: 1;
	margin: 4 auto 4 0;
	text-align: left;
	}

a	{
	text-decoration: none;
	color: #007733;
	}

p 	{
	margin: 8px 8px 8px 4px;
	line-height: 1.5;
	color: #444;
	}

p.su {
	margin-left: 4px;
	margin-top: 0px;
	font-style: italic;
	}

p.pricelist {
	font-size: 0.75em;
	line-height: 1.5;
	}

p.sponsors {
	text-align: center;
	padding-bottom: 14px;
	}
	
p.articletitle {
	font-size: 1.8em;
	font-weight: bold;
	color: #007733;
	margin: 2px 0px 0px 3px;
	}

p.categorytitle {
	font-size: 1.25em;
	font-weight: bold;
	color: #007733;
	margin: 2px 0px 0px 3px;
	}
	
p.subtitle {
	font-size: 1.2em;
	font-weight: bold;
	color: #007733;
	margin: 2px 0px 0px 3px;
	}
	
p.stagesubtitle {
	font-size: 1.2em;
	font-style: italic;
	color: #222;
	margin: 0px 0px 0px 3px;	
	}

p.articlesubtitle {
	font-size: 1.0em;
	font-style: italic;
	color: #222;
	margin: 0px 0px 5px 3px;	
	}

#retop a { 
	position:absolute;
	position:fixed; 
	right:15px; 
	bottom:15px; 
	width:18px; 
	height:99px;
    display:block;
	background:url(/tools/return.png) no-repeat left top;
	text-decoration: none; }

#offer a {
	position:absolute;
	/* left:55px;
	top:55px; */
	margin-top: -160px;
	margin-left: -20px;
	width:113px;
	height:126px;
	display: hidden;
	background:url(/tools/rs-logo.png) no-repeat left top;
	text-decoration: none;
}

#logo7 a {
	position:absolute;
	margin-top: -115px;
	margin-left:40px;
	width:323px;
	height:64px;
	display:block;
	background:url(/thorney-motorsport-logo.png) no-repeat right top;
	text-decoration: none;
}

#incentive {
	width: 600px;
	display: block;
	line-height: 1.5;
	margin: 20px;
	padding: 20px;
	}

.input8 {
	display: table-row;
	}

#logo8 a {
	position:absolute;
	margin-top: -115px;
	margin-left:40px;
	width:323px;
	height:64px;
	display:block;
	background:url(/thorney-motorsport-logo.png) no-repeat right top;
	text-decoration: none;
}

#article {
	padding: 10px;
	width: 660px;
	display: block;
	float: left;
	z-index: -1;}

#stage {
	background:url(/tools/stage-bg.png) no-repeat;
	color: ffffff;
	padding: 4px 0 0 0;
	font-weight: bold;
	height: 25px;
	width: 650px;
	display: block;
	float: left;
	margin: -8px 0px 8px 4px;
	text-align: center;
	font-size: 1.0em;
	font-style: italic;
	}
	
#rightnav {
	padding: 10px;
	width: 179px;
	display: block;
	float: left;
	background-color: #FFFFFF;
	background-image: url(../tools/wrapperbg.png);
	background-repeat: repeat-x;
	border-bottom: 1px solid #666;
	border-left: solid #666 1px;
	}

#date {
	width: 880px;
	color: #FFFFFF;
	font-size: 0.8em;
	text-align: right;
	border-left: 10px;
	border-right: 10px;
	border-bottom: 10px;
	}

#footer {
	width: 880px;
	height: 130px;
	border-top: 1px solid #222;
	border-bottom: 10px solid #222;
	border-left: 10px solid #222;
	border-right: 10px solid #222;
	border-style: solid;
	background-color: #007733;
	background-image: url(../tools/footerbg.png);
	background-repeat: repeat-x;
	}
	
#header {
	padding-bottom: 15px;
	z-index: 4;
	
	}

#sponsors {
	width: 880px;
	height: 42px;
	vertical-align: middle;
	}

#searchbox {
	border: solid 1px #CCCCCC;
	/*padding-bottom: 8px;*/
	margin-bottom: 8px;
	vertical-align: top;
	}

#boxtitle {
	background-color: #E8E8E8;
	background-image: url(../tools/back.png);
	background-repeat: repeat-x;
	vertical-align: middle;
	padding-left: 3px;
	}

tr.newsitem {
	padding-left: 3px;
	}

p.searchboxtext {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.25em;
	font-weight: bold;
	color: #444;
	margin: 0px;
	}
	
p.searchboxcontent {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #666;
	margin-top: 2px;
	margin-bottom: 6px;
	margin-left: 0px;
	}
	
td.searchboxcontent {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #666;
	padding: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
	vertical-align: top;
	}	

#wrapper {
	width: 880px;
	border: solid 10px #222;
	border-bottom: none;
	background-color: #FFFFFF;
	background-image: url(../tools/wrapperbg.png);
	background-repeat: repeat-x;
	}
	
main-header {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	}

img {
	border: none;
	}

img.header {
	text-align: center;
	width: 880px;
	height: 144px;
	border: solid 10px #222;
	}
	
#imgheader {
	text-align: center;
	display: table;
	width: 880px;
	height: 144px;
	z-index: 5;
	border: solid 10px #222;
	
	}

#logo {
	width: 900px;
	display: block;
	top: 35px;
	float: right;
	z-index: 999;
	position: absolute;
	}
	
img.logo {
	border: none;
	right: 20px;
	margin-left: 645px;
	}

img.headerthumb {
	border: none;
	}

img.sponsor {
	border: none;
	padding-right: 8px;
	padding-left: 8px;
	}
	
p.footertext {
	margin-left: 12px;
	margin-right: 18px;
	margin-bottom: 0px;
	margin-top: 12px;
	font-size: 0.8em;
	color: #fff;
	}
	
a.footertext {
	font-size: 0.8em;
	color: #fff;
	}

p.headertime {
	text-align: right;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	margin: 1px 1px 3px 1px;
	color: #CCC;
	}

a.footer {
	color:#333;
	text-decoration:none;
		}

a:hover {
	text-decoration: underline;
		}
		
.input {
	border: 1px solid #666;
	font-size: 0.8em;
	height: 22px;
	margin-right: 5px;
	margin-top: 0px;
	display: block;
	float: right;
	}	
		
.inputtext {
	border: 1px solid #666;
	display: block;
	font-size: 0.8em;
	width: 163px;
	height: 18px;
	background-image: url(../tools/back.png);
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 6px;
	margin-bottom: 6px;
	}

table {
	padding-top: 0px;
	padding-left: 0px;
	border-spacing: 0px;
	margin: 0px 3px 0px 0px;
	}

table.figures {
	display: block;
	float: left;
	border: 1px solid #999;
	margin-top: 6px;
	margin-right: 10px;
	}

table.figures tr th {
	background-color: #999;
	color: #fff;
	background-image: url(../tools/back.png);
	font-weight: bold;
	vertical-align: middle;
	border: 0px;
	line-height: 0.9;
	padding: 4px;
	padding-left: 5px;
	padding-right: 5px;
	}
	
table.figures td {
	border: none;
	text-align: center;
	text-transform: uppercase;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
	}
	
.img-thumb {
	position: relative;
	display: inline-block;
	margin-left: 4px;
	margin-right: 8px;
	margin-top: 5px;
	margin-bottom: 7px;
	border: none;
	float: left;
	height: $file.thumbnailHeight$;
	width: $file.thumbnailWidth$;
	z-index: 2;
}

.img-thumb cite {
	background: #111;
	filter:alpha(opacity=65);
	font-size: 0.875em;
	font-weight: bold;
	opacity:.65;
	color: #fff;
	position: absolute;
	text-align: center;
	bottom: 0;
	border-top: 1px solid #fff;
}
	
/* Drop Down Menu */
.jqueryslidemenu	{
					font: bold 1.0em Arial, Helvetica, sans-serif;
					text-shadow: #333 1px 1px 1px;
					background: #007733;
					background-image: url(../tools/back.png);
					background-repeat: repeat-x;
					width: 900px;
					height: 25px;
					position: absolute;
					margin-left: 0 auto;
					margin-right: 0 auto;
					z-index: 3;
					}

.jqueryslidemenu ul{
					margin: 0;
					padding: 0;
					list-style-type: none;
					background: #222;
					
					}

/*Top level list items*/
.jqueryslidemenu ul li{
					position: relative;
					display: inline;
					float: left;
					margin-left: 5px;
					margin-right: 5px;
					}

/*Top level menu link items style*/
.jqueryslidemenu ul li a{
display: block;
color: white;
padding: 5px 10px 5px 10px;
border-right: 0px solid #778;
color: #007733;
text-decoration: none;
}

* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: white;
}

.jqueryslidemenu ul li a:hover{
	background: #222; /*tab link background during hover state*/
	color: #ffffff;
	background-image: url(../tools/back.png);
	background-repeat: repeat-x;
	font-weight: bold;
	}

	
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 1.0em 'Helvetica';
width: 150px; /*width of sub menus*/
padding: 8px;
margin: 0;
border-bottom: 1px solid #333333;
}

.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}

/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
height: 6px;
width: 8px;
position: absolute;
top: 8px;
right: 5px;
}

.rightarrowclass{
height: 8px;
width: 6px;
position: absolute;
top: 9px;
right: 5px;
}

#shadow-container {
	position: relative;
	left: 3px;
	top: 3px;
	margin-right: 3px;
	margin-bottom: 3px;
}
 
#shadow-container .shadow2,
#shadow-container .shadow3,
#shadow-container .container {
	position: relative;
	left: -1px;
	top: -1px;
}
 
	#shadow-container .shadow1 {
		background: #F1F0F1;
	}
 
	#shadow-container .shadow2 {
		background: #DBDADB;
	}
 
	#shadow-container .shadow3 {
		background: #B8B6B8;
	}
 
	#shadow-container .container {
		background: #ffffff;
		border: 1px solid #999999;
		padding: 10px;
	}

/* LB */
#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto; border: 1px solid #bbbbbb;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 25%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/tools/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/tools/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px;}
/* LB IMGS */
