/***** 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 */

/*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;
}

.plainlinks {
 display:none;
}

.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;
}


/* keep the side padding, but enforce no gap between content area and tabs */
.yui-content {
margin-top: 0.75em;
padding-top: 0.25em;
padding-left: 1.0em;
padding-right: 1.0em;
}


/* For Busch Series-Busch North Series Combination Tables */
.BuschNorth { background:#0000CC; color:white; }
.BuschNorth a { color:white; }
.BuschNorth a.new { color:white !important; }

/* For Open Combination Combination Tables */
.OC { background:#996600; color:white; }
.OC a { color:white; }
.OC a.new { color:white; }

/* For MOD-SO MOD Combination Tables */
.Mod { background:#FF3300; color:white; }
.Mod a { color:white; }
.Mod a.new { color:white !important; }

/* For BlackLinks Combination Tables */
.BlackLinks { background:#000000; color:white; }
.BlackLinks a { color:#CCCCCC; }
.BlackLinks a.new { color:#CCCCCC !important; }

/* For MOD-SO MOD Combination Tables */
.Mod2 { background:#FF3300; color:white; display:none; }
.Mod2 a { color:white; }
.Mod2 a.new { color:white !important; }


/* For true CSS2.1 compat browsers */
#mw-dismissable-notice > tbody > tr > td + td {
	display: none;
}

/* For IE */
#mw-dismissable-notice td a {
	display: none;
}

#mw-dismissable-notice td div a {
	display: inline;
}


/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect { font-style: italic; }
.watchlistredir { font-style: italic; }

/* Giving headers and TOC a little extra space */
h2 {margin-top: 20px;}

.toc {margin-top: 20px;}

/* Infobox template style */
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #cccccc;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
     border: 1px solid #aaa;
     background-color: #f9f9f9; margin-top: 1em; padding: 12px;
}
.forumlist td.forum_edited a {
     color: black; text-decoration: none
}
.forumlist td.forum_title a {
     padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
     font-weight: bold; background: url(/images/4/4e/Forum_new.gif)
     center left no-repeat; padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
     font-weight: normal; background: none; padding-left: 20px;
}
.forumlist th.forum_title {
     padding-left: 20px;
}

/* Recent changes byte indicators */
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }

/* Image frame fix */
div.tright, div.tleft {
    border: 1px solid silver;
}
div.thumb {
    margin: 2px;
    margin-left: 6px;
}

div.thumbinner {
    background: inherit;
    border: none;
}
#article div.thumb {
    color:inherit;
}

/* === Babel === */

div.babelbox {
   float: right;
   margin-left: 1em;
   margin-bottom: 0.5em;
   width: 246px;
   border: 1px solid #99B3FF;
   padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
   margin: 2px 4px 2px 4px; /* t, l, b, r */
   width:238px;
   border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
   text-align:center;
   font-size:14pt;
   width:45px;
   height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em
}

.lang-block0 {
   border:1px solid #FFB3B3;
}
td.lang-code0 {
  background-color: #FFB3B3;
  color: black;
}
td.lang-description0 {
  background-color: #FFE0E8;
  color: black;
}

.lang-block1,  .lang-block2, .lang-block3  {
   border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
  background-color: #99B3FF;
  color: black;
}
td.lang-description1,  td.lang-description2, td.lang-description3 {
  background-color: #E0E8FF;
  color: black;
}

.lang-blockN {
   border:1px solid #6EF7A7;
}
td.lang-codeN {
  background-color: #6EF7A7;
  color: black;
}
td.lang-descriptionN {
  background-color: #C5FCDC;
  color: black;
}


/** for daNascat **/
tr.breakline td,
tr.breakline th
{
border-top:1px #CCCCCC solid;
}

tr.skipline td,
tr.skipline th
{
border-top:2px #000000 solid;
}

/** for daNascat **/
tr.whiteline td,
tr.whiteline th
{
border-top:4px #000000 solid;
}

table.smwtable, table.smwtable th{
  background-color:#999999;
}

.exampleClass { background: url('http://images2.wikia.nocookie.net/nascar/images/9/9a/Finalfrontpage.png') }

.Checkers { background: url('http://images4.wikia.nocookie.net/nascar/images/7/7d/Checkerboard2.jpg') }

table.tracktable,
table.facilitytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.tracktable th, .tracktable td,
.tracktable th, .tracktable td {
    border: 1px #aaa solid;
    padding: 0.5em;
}
.tracktable th,
.tracktable th {
    background: #FFFFFF;
    text-align: center;
}
.tracktable caption,
.tracktable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 0em 0em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.5em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}


.collapseButton {         /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* are styled here so they can be customised.              */
    text-align: right;
    width: auto;
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */
    width: 6em;           /* [[Template:Tnavbar]], so they need to be the same width.      */
}


.variableButton {         /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* are styled here so they can be customised.              */
    text-align: right;
    width: auto;
}
.navbox .variableButton { /* In navboxes, the show/hide button balances the vde links from */
    width: 15em;           /* [[Template:Tnavbar]], so they need to be the same width.      */
}

table.pointtable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
    width: 40%
    
}
.pointtable th, .pointtable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.pointtable th, {
    background: #f2f2f2;
    text-align: center;
}
.pointtable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}


table.navbox {            /* navbox container style */
  border:1px solid #aaa;
  width:100%; 
  margin:auto;
  clear:both;
  font-size:88%;
  text-align:center;
  padding:1px;
}
table.navbox + table.navbox {
  margin-top:-1px;        /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
  text-align:center;      /* title and above/below styles */
  padding-left:1em;
  padding-right:1em;
}
.navbox-group {           /* group style */
  white-space:nowrap;
  text-align:right;
  font-weight:bold;
  padding-left:1em;
  padding-right:1em;
}
.navbox, .navbox-subgroup {
  background:#fdfdfd;     /* Background color */
}
.navbox-list {
  border-color:#fdfdfd;   /* Must match background color */
}
.navbox-title, table.navbox th {
  background:#ccccff;     /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
  background:#ddddff;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background:#e6e6ff;     /* Level 3 color */
}
.navbox-even {
  background:#f7f7f7;     /* Even row striping */
}
.navbox-odd {
  background:transparent; /* Odd row striping */
}
 
.collapseButton {         /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* are styled here so they can be customised.              */
    text-align: right;
    width: auto;
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */
    width: 10em;           /* [[Template:Tnavbar]], so they need to be the same width.      */
}

.variableButton {         /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: small;  /* are styled here so they can be customised.              */
    text-align: right;
    width: auto;
}
.navbox .variableButton { /* In navboxes, the show/hide button balances the vde links from */
    width: 20em;           /* [[Template:Tnavbar]], so they need to be the same width.      */
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable2,
table.prettytable2 {
    margin: 1em 1em 1em 0;
    background: #ffffff;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable2 th, .wikitable2 td,
.prettytable2 th, .prettytable2 td {
    border: 1px #aaa solid;
    padding: 0.5em;
}
.wikitable2 th,
.prettytable2 th {
    text-align: center;
}
.wikitable2 caption,
.prettytable2 caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable4,
table.prettytable4 {
    margin: 0em -0.5em .1em .25em;
    background: #ffffff;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable4 th, .wikitable4 td,
.prettytable4 th, .prettytable4 td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable4 th,
.prettytable4 th {
    text-align: center;
}
.wikitable4 caption,
.prettytable4 caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable3,
table.prettytable3 {
    margin: 1em 1em 1em 0;
    background: #ffffff;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable3 th, .wikitable3 td,
.prettytable3 th, .prettytable3 td {
    border: 1px #fff solid;
    padding: 0.5em;
}
.wikitable3 th,
.prettytable3 th {
    background: #ffffff;
    text-align: center;
}
.wikitable3 caption,
.prettytable3 caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
/* === USERBOXES  === */
 
table.userbox { float:left; margin:0.2em; padding:0; border-width:1px; border-style:solid; }
table.userbox td.left, table.userbox td.right { text-align:center; vertical-align:middle; font-size:1.6em; padding:0; }
table.userbox td.main { padding:0 4px; vertical-align:middle; line-height:125%; font-size:0.9em; }

table.userbox { border-color:#aaa; background:#f8f8f8; }
table.userbox td.left, table.userbox td.right { background:#d8d8d8; }