/* -------------------------------------------------------------- 
   
   tables.css
   * Sets up a basic table and specified tables for larger data.
  
-------------------------------------------------------------- */


/* Tables
-------------------------------------------------------------- */

table   { margin-bottom: 0em; font-size: 1.1em; }
th      { font-weight: normal; }
td      { vertical-align: top; }
th,td   { padding: 0; } 
tfoot   { font-style: italic; }
caption { background: #ffc; }

/* Use this if you use span-x classes on th/td. */
table .last { padding-right: 0; }

/* Results table */
table#results { width: 270px; margin-bottom: 10px; } 
table#results thead { } 
table#results thead td { border-bottom: 1px #414141 solid; border-right: 1px #414141 solid; color: #a6a6a6; text-transform: uppercase;  padding: 1px 3px 1px 3px; text-align: center; }
table#results tbody { }
table#results tbody td { border-bottom: 1px #414141 solid; border-right: 1px #414141 solid; text-align: center;  padding: 1px 3px 1px 3px; }

table#driver { } 
table#driver td { font-size: 11px; vertical-align: top; }

table#driverstats { margin-bottom: 15px; } 
table#driverstats td { padding: 1px 5px 1px 5px; vertical-align: top; }

table#gallery-list { margin: 0px; } 
table#gallery-list td { padding: 1px 5px 1px 1px; vertical-align: top; }

table#photo-gallery { margin: 0px; } 
table#photo-gallery tbody td { padding: 0px 0px 0px 0px; vertical-align: middle; text-align: center; }

table#sendtofriend { width: 75%; margin: 0px; } 
table#sendtofriend tbody td { padding: 3px; vertical-align: middle; }

table#schedule { margin: 10px 0 0 0; }
table#schedule td {background: #ededed; border-bottom: 1px solid white; border-right: 1px solid white; padding: 4px;}
table#schedule .sched-head td { background: #c5c5c5; font-size: 14px; font-weight: bold;}
table#schedule .alt td {background: #dddddd;}
.sched-date  {width: 160px; font-size: 11px;}
.sched-event {width: 200px; font-size: 13px; color: #666666; font-weight: bold; }
.sched-location {width: 250px; font-size: 11px;}
.sched-trackmap {width: 150px; text-align: center; font-size: 11px;}

table#sponsors { margin: 10px 0 0 0; }
table#sponsors td { font-size: 11px; line-height: 13px; border-top: 1px solid black; padding: 4px 4px 10px 4px; text-align: left; vertical-align: top;}
.sponsor-image { width: 100px; }
.sponsor-desc { width: 660px; }

table#media-news { margin: 10px 0 0 0; }
table#media-news td { text-align: left; vertical-align: top;}
.story-date { width: 40px; }
.story-teaser { width: 530px; }

/* Generic tabular data display */ 
table#data { width: 100%;} 
table#data thead td { font-size: 11px; background: #444; border-bottom: 1px #fff solid; border-right: 1px #fff solid; color: #fff; text-transform: uppercase; font-weight: bold; padding: 3px; text-align: left; } 
table#data tbody tr.a td { font-size: 11px; background: #eee; border-bottom: 1px #fff solid; border-right: 1px #fff solid; text-align: left;  padding: 2px; } 
table#data tbody tr.b td { font-size: 11px; background: #ddd; border-bottom: 1px #fff solid; border-right: 1px #fff solid; text-align: left;  padding: 2px; }
body.nascar table#data thead td { background: #216cb2; } 
body.indycar table#data thead td { background: #ea1728; } 
body.lemans table#data thead td { background: #e7bd00; }
body.v8 table#data thead td { background: #00a5b1; }

/* Wallpaper page */
table.wallpaper {width: 250px; padding: 10px; }
table.wallpaper td.wp-image {
	 border-width: 1px 1px 0 1px; 
	 border-style: solid;
	 border-color: #999999;
	 background-color: #CCCCCC;
}
table.wallpaper td.wp-links {
	border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #999999;
	background-color: #CCCCCC;
	font-size: 10px;
	line-height: 18px;
	color: #000000;
	font-weight: normal;
	text-align: center;
}
table.wallpaper td.wp-links A:link { TEXT-DECORATION: none; color: #000000; }
table.wallpaper td.wp-links A:active { TEXT-DECORATION: none; color: #000000; }
table.wallpaper td.wp-links A:visited { TEXT-DECORATION: none; color: #000000; }
table.wallpaper td.wp-links A:hover { TEXT-DECORATION: underline; COLOR: #999999; }

/* Sponsor ticket/credential request data */
table#requests { margin: 10px 0 0 0; }
table#requests td {background: #ededed; border-bottom: 1px solid white; border-right: 1px solid white; padding: 4px;}
table#requests .request-head td { background: #c5c5c5; font-size: 14px; font-weight: bold;}
table#requests .request-subhead td { background: #dddddd; font-size: 12px; font-weight: bold;}
table#requests .alt td {background: #fff;}
.request-data  {width: 120px; font-size: 11px;}

/* Sponsor partner practices table */
table#partner-practices { margin: 10px 0 0 0; }
table#partner-practices td { font-size: 12px; line-height: 14px; border-top: 1px solid black; padding: 4px 4px 10px 4px; text-align: left; vertical-align: top;}
.sponsor-logo { width: 100px; }
.sponsor-program { width: 480px; }

/* Media site, team penske media guide */ 
table#mg-data { width: 100%;} 
table#mg-data thead td { font-size: 11px; font-weight:bold; background: #ffffff; text-transform: uppercase; font-weight: bold; padding: 4px; text-align: left; } 
table#mg-data tbody tr.a td { font-size: 11px; background: #e5e5e5; border-bottom: 1px #000 solid; border-right: 1px #000 solid; text-align: left;  padding: 3px; } 
table#mg-data tbody tr.a td:first-child {border-right:0px;} 
table#mg-data tbody tr.a td.last { font-size: 11px; background: #e5e5e5; border-bottom: 1px #000 solid; border-right: 0px;} 
table#mg-data tbody tr.b td { font-size: 11px; background: #ffffff; border-bottom: 1px #000 solid; border-right: 1px #000 solid; text-align: left;  padding: 3px; }
table#mg-data tbody tr.b td:first-child {border-right:0px;} 
table#mg-data tbody tr.b td.last { font-size: 11px; background: #ffffff border-bottom: 1px #000 solid; border-right: 0px;} 

body.nascar table#mg-data thead td { border-bottom: 1px #216CB2 solid; border-right: 1px #216CB2 solid; color: #216CB2; }
body.nascar table#mg-data thead td:first-child {border-right:0px; }
body.nascar table#mg-data thead td.last { font-size: 11px; background: #ffffff; border-right: 0px; border-bottom: 1px #216CB2 solid; }
body.indycar table#mg-data thead td { border-bottom: 1px #fb1829 solid; border-right: 1px #fb1829 solid; color: #fb1829; }
body.indycar table#mg-data thead td.last { font-size: 11px; background: #ffffff; border-right: 0px; border-bottom: 1px #fb1829 solid; }
body#news table#mg-data thead td { border-bottom: 1px #fb1829 solid; border-right: 1px #fb1829 solid; color: #fb1829; }
body#news table#mg-data thead td.last { font-size: 11px; background: #ffffff; border-right: 0px; border-bottom: 1px #fb1829 solid; }

/* Media site, non-fancy */ 
table#mg-generic { text-align: left; } 
table#mg-generic tbody tr td { font-size: 11px; font-weight: bold; text-align: left; padding: 3px 6px 3px 3px; } 
