/* Defaults */

* {
  margin: 0;
  padding: 0;
  }


h1, h2 {
  margin: 0;
  }


 
h2 { padding: 10px 0px 0px 0px; }

h3, h4, h5, h6 {
  margin: 0;
  padding: 10px 0px 0px 0px;
  }

#searchbox { 
align:right;
vertical-align:center;
line-height:44px;
}
p {
  margin: 0 0 0 0;
  padding: 8px;
  }

table {
  margin: 0 0 0 0;
  padding: 8px;
  }

hr {
  color: #333;

  }

pre {
  height: auto; 
  /*overflow-x:scroll;*/
  color: #3366cc;
  font-style: italic;
  }

fieldset {
  margin: 0;
  padding: 0; 
  border: 0;
  }

dd {
  padding-left: 15px;
  }


p {
  font-size: 9pt;

  }

a {
  color: #006;
  text-decoration: none;

  }

a new {
  color: #990000;
  text-decoration: none;

  }

a:hover {
  color: #222;
  text-decoration: underline;
  }

a img {
  border: none;  
  }

blockquote {
  background: #070707;
  border: 1px solid #060606;
  padding: 5px 15px;
  margin: 10px 10px 5px 15px;
  font-style: italic;
  color: #fff;
  }

code {
  color: #3366cc;
  font-style: italic;
  }

strong {
  font-size: 110%;
  }

body {
  text-align: center;
color: black;
  margin: 0;
 align:center;
  padding: 0 5px 15px 5px;
  font-family: trebuchet ms, arial, helvetica, sans-serif;
 background: #AAAAAA scroll;
background-attachment:fixed;
  }

/* emulate center */
.center {
	width: 100%;
	text-align: center;
}
*.center * {
	margin-left: auto;
	margin-right: auto;
}


/* Header and wrapper */
#wrapper {
  margin: 0 auto;
  width: 90%;
  text-align: left;
  border: 3px solid #600;
 min-width: 1000px;
  padding: 0;
  }
#alignleft { align: left;}
#alignright { align: right;  }
#logo-block {
 padding:0;
 background: #000 url(third%20turn%20banner.jpg) center center;
 height:150px;
 min-width: 1000px;
 wdith: 100%;
}

.racelisting {

background: #000 url(checkered-flag-background.png) center center !important;

}

#top-nav {
  background: #330000;
  text-align: center;
 width: 100%;
  margin: 10px 0 0px 0;
line-height:50px;
  padding: 0;
  align:center;
 min-width: 1000px;
display: block;
  
  }

#top-nav a {
  color: white;
  }

#top-nav-2 {
  background: #330000;
  text-align: center;
 width: 100%;
align:center;
 min-width: 1000px;
  margin: 0px 0 0px 0;
  padding: 0;
  line-height: 50px;
  
  
}
#top-nav-2 a {
  color: white;
  }
#top-nav ul {
  list-style: none;
 display: block;
padding: 0 25px 0 25px;
  padding: 0;
  margin: 0;
  }
#top-nav li {
  display: inline; 
 padding: 10px 10px 0 10px;
  }
#top-nav li a {
  color: #fff;
  font-size: 9pt;
 
  text-transform: lowercase;
  }
#top-nav li a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  }
#top-nav img { padding: 10px 0 10px 0; }

#topright ul {
  list-style: none;
  padding: 0 25px 0 25px;
  margin: 0;
  }
#topright li {
  display: inline;
  }
#topright li a {
  color: #fff;
  font-size: 9pt;
  padding: 0 0 0 25px;
  text-transform: lowercase;
  }
#topright li a:hover {
  color: #000;
  text-decoration: none;
  }

#logo a {
  color: white;
}
#header h1 {
  padding: 0;
  margin: 0;
  }
#header h1 a {
  color: #fff;
  font-size: 17pt;
  text-decoration: none;
  }
#header h1 a:hover {
  color: #eee;
  text-decoration: none;
  }
#header span {
  padding: 0;
  color: #111;
  font-size: 11pt;
  }


/* Menu */

#catnav-search {
  margin: 20px 0 20px 0;
  padding: 0;
  clear: both;
 background:#000;
  height: 44px;
  width: 100%;
  }

#catnav {
  margin: 0px 0 0px 0;
  padding: 0;
background: #660000;
  height: 44px;
  width: 100%;
  }
#subnav.a {
  color:white;
  }

#localnotice { padding: 5px 0px 5px 0px; }
#sitenotice { padding: 5px 0px 5px 0px; }
.sitenotice { padding: 5px 0px 5px 0px; }
div#siteNotice.mw-topbox { padding: 8px 0px 8px 0px; }
#catnav.a:selected { color: #CCCCCC; }
#catnav.a.selected { color: #CCCCCC; }
#catnav.a selected { color: #cccccc; }
#nav.a:selected { color: #CCCCCC; }
#nav.a.selected { color: #CCCCCC; }
#nav.a selected { color: #cccccc; }
#subnav.a#s
#nav {
  list-style: none;
  margin: 0;
 background:#000;
  padding: 0;
  }
#nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  }
#nav li {
  float: left;
  display: inline;
  margin: 0;
  padding: 0;
  }

#nav a {
  display: block;
  line-height: 44px;
  margin: 0;
  padding: 0 20px 0 15px;
  font-size: 10pt;
  color: #fff;
  letter-spacing: -1px;
  }
#nav li a:hover {
  color: #6598b8;
  text-decoration: none;
  display: block;
  }
#nav li ul {
  list-style: none;
  position: absolute;
  width: 150px;
  left: -999em;
  }
#nav li:hover ul, #nav li.sfhover ul {
  left: auto;
  }
#nav li li {
  float: left;
  margin: 0;
  padding: 0;
  width: 150px;
  }
#nav li li a {
  width: 150px;
  height: 24px;
  line-height: 24px;
  color: #fff;
  border-top: 1px solid #131f27;
  background: #040404;
  margin: 0;
  padding: 5px 20px 5px 15px;
  }
#nav li li a:hover {
  border-top: 1px solid #131f27;
  background: #000;
  padding: 5px 20px 5px 15px;
  }
#nav li:hover, #nav li.sfhover { /* prevents IE7 drop-down menu bug (focus on a page element prevents nested menus from disappearing) */
  position: static;
  }
#nav li a:selected {
  color: #CCCCCC;
  text-decoration: none;
  display: block;
  }
#nav li a.selected {
  color: #CCCCCC;
  text-decoration: none;
  display: block;
  }
#nav li a#selected {
  color: #CCCCCC;
  text-decoration: none;
  display: block;
  }
#toprss {
  float: right;
  margin: 10px 15px 0 0;
  display: inline;
  width: 65px;
  line-height: 41px;
  }


/* Top Content */
#main {
  clear: both;
  width: 100%;
  }
#contentwrapper {
  float:left;
  width: 100%;
  background: white;
  }

.topPost {
width: 100%;
 right: 10px;
  font-size: 9pt;
  }

#contentwrapper2 {
  float:left;

  padding: 0;
  }
#contentwrapper .pageTitle, #contentwrapper2 .pageTitle {
  margin: 0px 0px 0px 10px;
  font-size: 14pt;
  letter-spacing: -1px;
  font-weight: normal;
 // background: url(images/bg-trans.png) repeat;
  padding: 0 0 0 5;
  }
.topPost h2.topTitle a {
  font-size: 15pt;
  font-weight: normal;
  color: #fff;
  letter-spacing: -2px;
  }
.topPost h2.topTitle a:hover {
  text-decoration: none;
  color: #abd1ea;
  }
.topPost p.topMeta {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  font-size: 9pt;
  color: #000;  
  }
.topPost p.topMeta a {
  color: #006;
  }
.topPost p.topMeta a:hover {
  color: #ccc;
  }
.topPost div.topContent {
  font-size: 9pt;
  background: #FFF;
  color: #000;
  margin: 0px 0px 0px 0px;
 padding: 0 10px 30px 10px;
  text-align:left;
width: 98%;
  }

.topPost div.topContent a {
  color: #006;
  }

.topPost div.topContent a:new {
    color: #990000;
  }
.topPost div.topContent a.new {
  color: #990000;
  }
.topPost div.topContent a:hover {
  text-decoration: underline;
  color: #ff9933;
  }

.topPost div.topContent ul, .topPost div.topContent ol {
  padding: 0 0 0 30px;
  text-align: left;
  }
.topPost div.topContent ul li, .topPost div.topContent ol li {
  color: black;
  }
.topPost span.topComments, .topPost span.topMore, .topPost span.topTags {
  font-size: 9pt;
  font-style: italic;
  background: url(images/bg-trans.png) repeat;
  padding: 8px 10px;
  margin-right: 5px;
  line-height: 27pt;
  color: #fff;
  border: 1px solid #111;
  }
.topPost span.linkpages {
  font-size: 9pt;
  font-style: italic;
  color: #fff;
  margin-bottom: 10px; display:block;
  }
.topPost span.linkpages a:hover {
  color: #ddd;
  }
.topPost span.topComments:hover, .topPost span.topMore:hover, .topPost span.topTags:hover {
  background: #040404;
  }
.topPost span.topComments a {
  color: #fff;
  background: url(images/comments.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topMore a {
  color: #fff;
  background: url(images/more.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topTags em {
  background: url(images/tags.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  color: #0a0a0a;
  }
.topPost span.topTags a {
  color: #fff;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topComments a:hover, .topPost span.topMore a:hover, .topPost span.topTags a:hover {
  color: #fff;
  text-decoration: underline;
  }

#nextprevious {
  margin: 10px 0 5px 0;
  }
#nextprevious a {
  color: #83adc8;
  text-transform: lowercase;
  text-decoration: underline;
  }
#nextprevious a:hover {
  color: #fff;
  }


/* Comments */

#comment {
  margin-bottom: 10px;
  margin-top: 15px;
  background: #040404;
  width: 530px; /* fixes bug in IE7 where putting focus on the text makes it disappear behind the background. yeah, weird. they call it a dimensional bug. */
  border: 1px solid #090909;
  padding: 0px 15px 10px 15px;
  color: #fff;
  }
#comment h3 {
  font-size: 10pt;
  font-weight: normal;
  color: #fff;
  margin: 15px 0;
  padding: 0;
  }
#comment p a {
  color: #6598b8;
  }
#comment p a:hover {
  color: #fff;
  }
#comment p {
  padding:0;
  margin: 7px 0;
  }
ul.commentlist, ul.trackback  {
  list-style-type: none;
  margin: 10px 0;
  font-size: 9pt;
  }
.commentlist li, .trackback li {
  margin: 10px 0 15px 0;
  padding: 10px;
  background: #080808;
  border: 1px solid #040404;
  list-style-type: none;
  }
.commentlist li.alt {
  background: #000;
  border: 1px solid #020202;
  border: none;
  margin-top:10px;
  }
.commentlist li.cleared {
  background: transparent;
  border: none;
  }
.commentlist a:hover {
  color: #eee;
  }
.commentlist a.gravatar {
  float: left;
  margin: 0 15px 10px 0;
  width: 60px;
  }
.commentlist .commentbody {
  margin: 0;
  padding: 0;
  }
.commentlist .body p a {
  text-decoration: underline;
  }
.commentlist cite {
  font-size: 10pt;
  font-style: normal;
  color: #ddd;
  }
.commentlist small.commentmetadata a {
  color: #666;
  }
.commentlist p {
  color: #dedede;
  }
#respond {
  clear: both;
  margin-top: 15px;
  }
textarea#comment {
  width: 450px;
  background: #fff;
  color: #111;
  padding: 10px;
  }
#comment #submit {
  margin: 0;
  }
#extrastuff a {color:#222; font-size:0.8em;}
#extrastuff a:hover {color:#6598b8; text-decoration:none;}
#extrastuff #rssleft {float:left; width:250px;}
#extrastuff #trackright {float:right; width:180px; text-align:right;}


/* Welcome section */

#main #welcome {
  margin: 0 0 0px 0;
  padding: 0 0 0px 0;
  background: url(images/bg-trans.png) repeat;
  }
#main #welcome h2 {
  font-size: 14pt;
  font-weight: normal;

  color: #fff;
  letter-spacing: -2px;
  margin: 0 10px;
  padding: 10px 0 3px 0;
  }
#main #welcome p {
  font-size: 9pt;
  color: #eee;  
  margin: 0 10px;
  padding: 6px 0;
  }
#main #welcome a {
  text-decoration: underline;
  color: #ff9933;
  }
#main #welcome a:hover {
  color: #6598b8;
  }
#main #welcome form {
  margin: -5px 0 0 0;
  background: transparent; /* required for IE */
  }
#main #welcome #feedbox {
  border: 1px solid #ccc;
  padding: 2px 1px;
  width: 180px;
  }
.submitbutton {
  margin: -5px 0 0 5px;
  background: #010101;
  color: #fff;
  font-size: 8pt;
  padding: 3px 6px;
  vertical-align: middle;
  border: 1px solid #111;
  }
.submitbutton:hover {
  cursor: pointer;
  background: #050505;
  }


/* Sidebars */
#sidebars {
  margin: 15px 0 0 0;
  float: right;
  width: 340px;
  color: #eee;
  }
#sidebars .sidebarbox {
  background: url(images/bg-trans.png) repeat;
  padding: 8px 15px;
  }

#sidebar_full {
  padding: 0;
  margin: 0;
  }

#sidebar_left {
  float: left;
  width: 160px;
  }

#sidebar_right {
  float: right;
  width: 160px;
  }

#sidebars h2 {
  margin: 0;
  padding: 0 0 8px 0;
  font-weight: normal;
  font-size: 11pt;
  color: #fff;
  letter-spacing: -1px;
  }

#sidebars table {
  width: 130px;
  }

#sidebars ul {
  margin: 0;
  padding: 0 0 5px 0;
  }

#sidebars li {
  margin-bottom: 0px;
  list-style: none;
  font-size: 9pt;
  }

#sidebars li ul {
  padding: 0;
  }

#sidebars ul ul li {
  margin: 0;
  padding: 2px 2px 2px 16px;
  color: #eee;
  background: url(images/bullet.gif) left 8px no-repeat;
  line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  }

#sidebars a {
  display: inline;
  color: #eee;
  }
#sidebars a:hover {
  color: #6598b8;
  text-decoration: underline;
  }

#sidebars p {
  padding: 2px 0;
  font-size: 9pt;
  color: #eee;
  }

#tag_cloud a {
  display: inline;
  }

#sidebars ul.children li {border-bottom:none;}
#sidebars ul.children {margin-bottom:0;}



/* Before footer */

#morefoot {
  background: #660000;
  padding: 15px;
  color: #dfdfdf;
  margin: 0 0 0px 0;
  }
#morefoot p {
  margin: 5px 0;
  padding: 5px 0;
  }
#morefoot ul {
  list-style-type: none;
  margin-top: 5px;
  }
#morefoot ul li, #morefoot p {
  font-size: 9pt;
  }
#morefoot a {
  text-decoration: none;
  color: #ddd;
  }
#morefoot a:hover {
  text-decoration: underline;
  color: #6598b8;
  }
#morefoot h3 {
  font-size: 12pt;
  font-weight: normal;
  color: #dfdfdf;
  letter-spacing: -1px;
  border-bottom: 1px dotted #444;
  margin: 0;
  padding: 0 0 2px 0;
  }
#morefoot #searchbox {
  padding: 1px;
  width: 180px;
  }
#morefoot .col1 {
  float: left;
  width: 320px;
margin: 5px 0 0 0;
  }
#morefoot .col2 {
  margin: 0 25px;
margin: 5px 0 0 0;
  }
#morefoot .col3 {
  margin: 0 25px;
margin: 5px 0 0 0;
  }
#morefoot .col2, #morefoot .col3, #morefoot .col4 {
  float: left;
  width: 200px;
margin: 5px 0 0 0;
  }
#morefoot li {
  padding-left: 20px;
  margin-bottom: 5px;
  background: url(images/more.gif) left 2px no-repeat;
  line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  }


/* footer*/
#footer {
  clear: both;
  background: #000;
  border: 1px solid #070707;
  padding: 15px 15px 10px 15px;
  }
#footer p {
  font-size: 9pt;
  color: #bbb;
  padding: 0;
  }
#footer a {
  color: #bbb;
  text-decoration: underline;
  }
#footer a:hover {
  color: #fff;
  }
#footerleft {
  float: left;
  width: 500px;
  }
#footerright {
  float: right;
  width: 300px;
  text-align: right;
  }



/* Misc */

.highlight {
  color: #222;
  font-weight: bold;
  }

.cleared {
  margin: 0;
  padding: 0;
  clear: both;
  }

.alignleft {
  float: left;
  margin: 5px 10px 5px 0;
  }
.alignright {
  float: right;
  margin: 5px 0 5px 10px;
  }
.aligncenter,
div.aligncenter {
  margin: 10px auto;
  text-align: center;
  display: block;
  }

img.alignleft {
  float: left;
  margin: 5px 10px 5px 0;
  }
img.alignright {
  float: right;
  margin: 5px 0 5px 10px;
  }
img.aligncenter {
  margin: 10px auto;
  text-align: center;
  display: block;
  }

.editsection {
  font-size: 9pt;
}

.printfooter {
  display: none;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;

  padding-top: 4px;

  /* optional rounded corners for browsers that support it */

  -moz-border-radius: 3px;

  -khtml-border-radius: 3px;

  -webkit-border-radius: 3px;
  border-radius: 3px;
  }

.wp-caption img {
  margin: 0;
  padding: 0;
  border: none;
  }

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
  color: #111;
  }

#pagehistory li.selected {
	background-color: #000000;
	background-color: transparent;
	background-image: url(images/bg-trans.png);
}

/* js pref toc */
.mainLegend {
	display: none;
}

#preftoc {
	margin: 0;
       background:white;
	padding: 0;
	width: 100%;
	clear: both;
}
#preftoc li {
	margin: 1px -2px 1px 2px;
	float: left;
	padding: 2px 0 3px 0;
	border: 1px solid #000;
	border-right-color: #716f64;
	border-bottom: 0;
	position: relative;
	white-space: nowrap;
	list-style-type: none;
	list-style-image: none;
	z-index: 3;
}
#preftoc li.selected {
	font-weight: bold;
	border: 1px solid #aaa;
	border-bottom: none;
	cursor: default;
	top: 1px;
	padding-top: 2px;
	margin-right: -3px;
}
#preftoc > li.selected {
	top: 2px;
}
#preftoc a,
#preftoc a:active {
	display: block;
	padding: 0 .7em;
	position: relative;
	text-decoration: none;
}
#preftoc li.selected a {
	cursor: default;
	text-decoration: none;
}
#prefcontrol {

	clear: both;
}
#preferences {
	margin: 1;
	border: 1px solid #000;
	clear: both;
	padding: 1.5em;
}
.prefsection fieldset {
	border: 1px solid #aaa;
	float: left;
	margin-right: 2em;
}
.prefsection {
	border: none;
	padding: 0;
	margin: 0;
}

.prefsection legend {
	font-weight: bold;   
}


/* images */
div.floatright, table.floatright {
	clear: right;
	float: right;
	position: relative;
	margin: 0 0 .5em .5em;
	border: 0;
/*
	border: .5em solid white;
	border-width: .5em 0 .8em 1.4em;
*/
}
div.floatright p { font-style: italic; }
div.floatleft, table.floatleft {
	float: left;
	clear: left;
	position: relative;
	margin: 0 .5em .5em 0;
	border: 0;
/*
	margin: .3em .5em .5em 0;
	border: .5em solid white;
	border-width: .5em 1.4em .8em 0;
*/
}
div.floatleft p { font-style: italic; }
/* thumbnails */
div.thumb {
	margin-bottom: .5em;
	width: auto;
}
div.thumbinner {
	padding: 5px !important;
	background: url(images/bg-trans.png) repeat;
	font-size: 94%;
	text-align: center;
	overflow: hidden;
}
/*
html .thumbimage {
	border: 1px solid #000;
}
*/
html .thumbcaption {
	border: none;
	text-align: left;
	line-height: 1.4em;
	padding: 3px !important;
	font-size: 94%;
}
div.tright {
	clear: right;
	float: right;
	border-width: .5em 0 .8em 1.4em;
}
div.tleft {
	float: left;
	clear: left;
	margin-right: .5em;
	border-width: .5em 1.4em .8em 0;
}

/***** CSS placed here will be applied to all skins on the entire site. *****/

div#link_box_dynamic { display:none; }

#dynamic-links-new-page-li { display:none; }

/* TabView extension */

#t-smwbrowselink { display:none; }
.t-smwbrowselink { display:none; }

/*set the base backcolor of the 'off' tabs */
.yui-navset .yui-nav li
{
  background-color: #F1F2ED;
  padding-left: 10px;
  padding-right: 10px;
  font-size: larger;
  font-variant: small-caps;
}

.tabbertab {
 background: #FFFFFF !important;
}

.tabberlive {
 margin-top:0em !important
}

.tabberlive .tabbertab {
 padding:5px;
 border:0px;
 border-top:0;
}

ul.tabbernav
{
 margin:0;
 padding: 0px 0;
 border-bottom: 1px solid #778;
 background: #000;
 font: bold 12px Verdana, sans-serif;
}

ul.tabbernav li a
{
 padding: 0px 0.5em;
 margin-left: 3px;
 border: 1px solid #778;
 border-bottom: none;
 background: #DDE;
 text-decoration: none;
}


.tabberlive .tabbertab {
 padding:0px;
 border:1px solid #aaa;
 border-top:0;

}


.yui-navset .yui-nav li.selected
 { 
    background-color: #F1F2ED;
    font-size: larger;
   font-variant: small-caps;

}

.yui-navset a .yui-nav li.selected a
 { 
    color: #FFFFFF !important; 
}

/*set the background color of the content and the 'on' tab the same*/
.yui-content
{
  background-color: #F1F2ED;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-left-color: #000000;
  border-right-color: #FFFFFF;
  border-bottom-color: #FFFFFF;   
  border-top-color: #000000;
}

#editingTips { top: 20px !important; }

/** style the 'on' tab **/
.yui-navset .yui-nav .selected {
border-style: solid;
border-width: 1px 1px 1px 1px ;
border-top-color: #000000;
border-left-color: #000000;
border-right-color: #000000;
border-bottom-color: #000000;
}



/* @end */

#MainArticle .toggleContainer {
	float: right;
	margin-top: -30px;
	margin-right: 5px;
}

#MainArticle #hub-blogs .toggleContainer {
	margin-top: -20px;
}

#MainArticle #wikia-global-hot-spots .toggleContainer {
	margin-top: -16px;
}

#MainArticle #hub-top-contributors .toggleContainer {
	margin-top: -8px;
}


#p-googleadsense .pBody {
    padding-top: 5px;
    text-align:  center;
}


/* wikitable/prettytable class for skinning normal tables */
table.racetable,
table.racetable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
    text-size:85%;
    font-size:85%;
    text-align:center;

}
.racetable th, .racetable td,
.racetable th, .racetable td {
     border: 1px #aaa solid;
    padding: 0.1em;
}
.racetable th,
.racetable th {
   text-align: center;
}

.editsection { display:none; }

table {
  margin: 0 0 0 0;
  padding: 0px 8px 0px 8px;
  }

	div#simpleSearch input#searchInput {
		top: 0;
		left: 0;
		width: 90%;
		margin: 0;
		padding: 0;
		padding-left: 0.2em;
		padding-top: 0.2em;
		padding-bottom: 0.2em;
		outline: none;
		border: none;
	
		font-size: 13px;
		direction: ltr;
	}
#searchbox { float: right;}
#searchInput { width: 250px; }

