/* style sheet for racebyrace.com */

/* color definitions */
/*
	page_border #F0FFEE -- outer padding
	text #12214E -- most txt fg
	link #172C68 -- all links the same
	text_bg #F8FFF7 -- most text bg
	border #8EB788 -- menu separators too
	light_bg #D9FDD2 -- logo fg and menu bg too
	med_bg #DDF7D9 -- inc dark stripes
	dark_bg #C2E1BD -- including table headings
	black #000000 -- for cheat sheets
*/

/* page body */
body
{
    background-color: #F0FFEE;
    margin: 8px;
    /* run javascript using IE HTML Components
    see http://annevankesteren.nl/test/examples/css/htc/hover.htm
	behavior:url("behavior.htc"); */
}

/* text appearance */
font,
th,
td,
p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-small;
    color: #12214E
}

/* link appearance */
a:link
{
    color: #172C68;
    font-weight: bold;
    text-decoration: none;
}
a:visited
{
    color: #172C68;
    font-weight: bold;
    text-decoration: none;
}
a:active
{
    color: #172C68;
    font-weight: bold;
    text-decoration: none;
}
a:hover
{
    color: #172C68;
    font-weight: bold;
    text-decoration: underline;
}

/* never borders on images */
img
{
    border: none;
}

/* page areas */
/* whole page */
table.page
{
    background-color: #F8FFF7;
    border-collapse: collapse;
    border-top: 1px #8EB788 solid;
    border-left: 1px #8EB788 solid;
    border-right: none;
    border-bottom: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 100%;
}
table.page td
{
    border-top: none;
    border-left: none;
    border-right: 1px #8EB788 solid;
    border-bottom: 1px #8EB788 solid;
    vertical-align: top;
    padding: 0;
    margin: 0;
}

/* ads at top of page */
table.ads
{
    background: url("images/speckle.gif") #8EB788 center;
    border: none;
    width: 100%;
}
table.ads td
{
    border: none;
    margin: 0;
    padding: 10px;
    text-align: center;
}
table.ads iframe.banner
{
    border: none;
    width: 468;
    height: 60;
}
table.ads iframe.half
{
    border: none;
    width: 234;
    height: 60;
}
table.greg
{
    background: url("images/speckle.gif") #8EB788 center;
    border: none;
    width: 100%;
    height: 84px;
}
table.greg td
{
    border: none;
    vertical-align: middle;
}
table.greg td td
{
    padding: 2px;
}
/* scrolling, margins and borders are set in the framed document */
body.ads
{
    background: url("images/speckle.gif") #8EB788 center;
    overflow: hidden;
    border: none;
    margin: 0;
}

/* page title */
table.title
{
    background-image: url("images/Denver20050812-0378b.jpg");
    background-position: 50% 50%;
    background-color: #D9FDD2;
    border: none;
    width: 100%;
}
table.title td
{
    border: none;
    text-align: center;
}
table.title table
{
    border: none;
    margin-left: auto;
    margin-right: auto;
}
table.title h1
{
    position: relative;
    left: 2px;
    top: 2px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: xx-large;
    font-weight: normal;
    text-decoration: none;
    text-transform: capitalize;
    color: #12214E;
    margin-top: 0;
    margin-bottom: 2px;
}
table.title h1 font
{
    position: absolute;
    left: -2px;
    top: -2px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: xx-large;
    font-weight: normal;
    text-decoration: none;
    text-transform: capitalize;
    color: #D9FDD2;
    margin-top: 0;
    margin-bottom: 2px;
}
table.title h2
{
    position: relative;
    left: 2px;
    top: 2px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: x-large;
    color: #12214E;
    cursor: pointer;
    margin-top: 0px;
    margin-bottom: 4px;
}
table.title h2 font
{
    position: absolute;
    left: -2px;
    top: -2px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: x-large;
    color: #D9FDD2;
    margin-top: 0px;
    margin-bottom: 4px;
}
table.title a:hover
{
    text-decoration: none;
}

/* menus */
table.menu
{
    background-color: #D9FDD2;
    border: none;
    border-collapse: collapse;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}
table.menu td
{
    border: none;
    color: #8EB788;
}

/* page subtitle */
table.subtitle
{
    background-color: #C2E1BD;
    border: none;
    border-collapse: collapse;
    width: 100%;
}
table.subtitle td
{
    border: none;
    text-align: center;
}
table.subtitle h3
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    color: #12214E;
    margin-top: 2;
    margin-bottom: 2;
}
table.subtitle h4
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight: normal;
    color: #12214E;
    margin-top: 2;
    margin-bottom: 2;
}
table.subtitle blockquote
{
    margin-top: 2;
    margin-bottom: 2;
}

/* main area of page */
table.main
{
    background: url("images/speckle.gif") #D9FDD2;
    border: none;
    border-collapse: collapse;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;    
}
table.main td
{
    border: none;
    vertical-align: top;
}
table.main td#books
{
    border-left: 1px #8EB788 solid;
    width: 130px;
}

/* a main area for text, e.g. intro to grid pages */
table.text
{
    background-color: #F8FFF7;
    border: none;
    border-collapse: collapse;
    width: 100%;
    padding: 0;
    margin: 0;
}
table.text td
{
    border: none;
    vertical-align: top;
}
table.text p
{
    margin: 5px;
}

/* boxes */
table.boxes
{
    text-align: center;
    height: 100%;
    width: 100%;
}
table.boxes td
{
    padding: 5px;
    vertical-align: top;
    height: 100%;
}
table.box
{
    border-top: #8EB788 solid 1px;
    border-left: #8EB788 solid 1px;
    border-right: none;
    border-bottom: none;
    border-collapse: collapse;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
table.resize
{
    width: auto;
}
table.thumb2
{
    width: 322px;
}
table.thumb2 table td
{
    text-align: center;
}
table.thumb3
{
    width: 242px;
}
table.thumb3 table td
{
    text-align: center;
}
table.thumb3 table td img
{
    width: 240px;
}
table.box th
{
    background-color: #C2E1BD;
    color: #172C68;
    border-top: none;
    border-left: none;
    border-right: #8EB788 solid 1px;
    border-bottom: #8EB788 solid 1px;
    text-align: center;
    text-transform: capitalize;
}
table.box td
{
    border: none;
    padding: 0;
    height: 100%;
    width: 100%;
}
table.box table
{
    border: none;
    border-collapse: collapse;
    width: 100%;
}
table.box table tr
{
    background-color: #F8FFF7;
}
table.box table td
{
    border-top: none;
    border-left: none;
    border-right: #8EB788 solid 1px;
    border-bottom: #8EB788 solid 1px;
    vertical-align: top;
}
table.box table td table
{
    border: none;
    border-collapse: collapse;
}
table.box table table td
{
    border: none;
    width: auto;
}
table.box p
{
    margin: 2px;
}

/* ellision buttons in box headers */
table.box tr th img
{
    width: 16px;
    height: 16px;
    float: right;
    margin-right: 0;
    vertical-align: middle;
    cursor: pointer;
}

/* mini tables for scanner frequencies, etc */
table.box table.freq td
{
    border-top: #8EB788 solid 1px;
    border-left: #8EB788 solid 1px;
    border-right: none;
    border-bottom: none;
    border-collapse: collapse;
}
table.box table.mini
{
    background-color: #F8FFF7;
    border-top: #F8FFF7 solid 1px;
    border-left: #F8FFF7 solid 1px;
    border-right: none;
    border-bottom: none;
    border-collapse: collapse;
}
table.box table.mini th
{
    font-size: xx-small;
    font-weight: bold;
    border-top: none;
    border-left: none;
    border-right: #F8FFF7 solid 1px;
    border-bottom: #F8FFF7 solid 1px;
    text-align: center;
}
table.box table.mini td
{
    font-size: xx-small;
    font-weight: normal;
    border-top: none;
    border-left: none;
    border-right: #F8FFF7 solid 1px;
    border-bottom: #F8FFF7 solid 1px;
}
table.box table.mini td a:link,
table.box table.mini td a:visited,
table.box table.mini td a:hover,
table.box table.mini td a:active
{
    font-weight: normal;
    font-size: xx-small;
}

/* boxes for books and the search box*/
table.books
{
    text-align: center;
    height: 100%;
}
table.books td
{
    padding: 5px;
    vertical-align: top;
}
table.book,
table.search
{
    border-top: #8EB788 solid 1px;
    border-left: #8EB788 solid 1px;
    border-right: none;
    border-bottom: none;
    border-collapse: collapse;
    text-align: center;
    width: auto;
}
table.book tr,
table.search tr
{
    background-color: #F8FFF7;
}
table.book th,
table.search th
{
    border-top: none;
    border-left: none;
    border-right: #8EB788 solid 1px;
    border-bottom: #8EB788 solid 1px;
    background-color: #C2E1BD;
    text-transform: capitalize;
    text-align: center;
    color: #172C68;
    font-size: xx-small;
    width: auto;
}
table.book td,
table.search td
{
    border-top: none;
    border-left: none;
    border-right: #8EB788 solid 1px;
    border-bottom: #8EB788 solid 1px;
    padding: 0;
    font-size: xx-small;
    width: auto;
}
table.book a:link,
table.book a:visited,
table.book a:hover,
table.book a:active
{
    font-weight: normal;
    font-size: xx-small;
}
table.search form
{
    margin: 2px;
}

/* logo area */
table.logos
{
    background-color: #FFFFFF;
    border-top: #8EB788 solid 1px;
    border-left: #8EB788 solid 1px;
    border-right: none;
    border-bottom: none;
    border-collapse: collapse;
    width: 100%;
}
table.logos td
{
    border-top: none;
    border-left: none;
    border-right: #8EB788 solid 1px;
    border-bottom: #8EB788 solid 1px;
    width: 25%;
    height: 88px;
    vertical-align: middle;
}
table.logos p
{
    text-align: center;
}

/* grids for driver listings, etc */
/* nests in main */
table.grid
{
    background-color: #F8FFF7;
    border-collapse: collapse;
    border-top: #F8FFF7 solid 1px;
    border-left: #F8FFF7 solid 1px;
    border-right: none;
    border-bottom: none;
    width: 100%;
}
table.grid th
{
    background-color: #C2E1BD;
    border-top: none;
    border-left: none;
    border-right: #F8FFF7 solid 1px;
    border-bottom: #F8FFF7 solid 1px;
    font-size: x-small;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
table.grid th.team
{
    background-color: #C2E1BD;
    border-top: none;
    border-left: none;
    border-right: #F8FFF7 solid 1px;
    border-bottom: #F8FFF7 solid 1px;
    font-size: x-small;
    font-weight: normal;
    text-align: left;
    vertical-align: top;
    padding: 0;
    width: 10%;
}
table.grid td
{
    border-top: none;
    border-left: none;
    border-right: #F8FFF7 solid 1px;
    border-bottom: #F8FFF7 solid 1px;
    font-size: x-small;
    text-align: default;
    vertical-align: top;
}

/* links not bold for silly season entries */
table.grid td.silly a:link,
table.grid td.silly a:visited,
table.grid td.silly a:hover,
table.grid td.silly a:active
{
    font-weight: normal;
}

/* sub-grids for ellision of silly season lists */
table.grid table
{
    background-color: #F8FFF7;
    border-collapse: collapse;
    border: none;
    vertical-align: top;
    width: 100%;
}
table.grid table td
{
    border: none;
    vertical-align: top;
    width: 100%;
}
table.grid table td.button
{
    border-top: none;
    border-left: none;
    border-right: #F8FFF7 solid 1px;
    border-bottom: none;
    vertical-align: top;
    width: 16px;
}
/* cells in the inner grid need top lines to separate them */
table.grid div table td
{
    border-top: #F8FFF7 solid 1px;
    border-left: none;
    border-right: none;
    border-bottom: none;
    vertical-align: top;
}
/* ellision buttons in box headers */
table.grid tr th img
{
    width: 16px;
    height: 16px;
    float: left;
    margin-right: 0;
    vertical-align: middle;
    cursor: pointer;
}

/* cheat sheet */
table.cheat
{
    background-color: #F8FFF7;
    border: 2px dashed #000000;
    color: #000000;
    margin: 2px;
}
table.cheat table
{
    border-collapse: collapse;
    border-left: .5pt solid #000000;
    border-top: .5pt solid #000000;
    border-right: none;
    border-bottom: none;
}
table.cheat table td
{
    border-left: none;
    border-top: none;
    border-right: .5pt solid #000000;
    border-bottom: .5pt solid #000000;
    padding: 1px;
    margin: 0;
    width: auto;
    font-family: Times New Roman;
    color: #000000;
    font-size: 9pt;
}

/* headline grid */
/* nested in a box */
table.box table.head
{
    background-color: #F8FFF7;
    border-top: #F8FFF7 solid 1px;
    border-left: #F8FFF7 solid 1px;
    border-right: none;
    border-bottom: none;
    border-collapse: collapse;
    width: 100%;
}
table.box table.head th
{
    background-color: #F8FFF7;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: #F8FFF7 solid 1px;
    vertical-align: top;
    width: 24px;
}
table.box table.head td
{
    font-size: x-small;
    border-top: none;
    border-left: none;
    border-right: #F8FFF7 solid 1px;
    border-bottom: #F8FFF7 solid 1px;
    vertical-align: top;
    text-align: left;
    width: auto;
}
table.head a:link,
table.head a:visited,
table.head a:hover,
table.head a:active
{
    font-weight: normal;
    font-size: x-small;
}
table.box table.head img
{
    width: 24px;
    height: 16px;
    cursor: auto;
}

/* striped tables */
/* assign stripe class to any table to be striped and call rowColor() */
table.stripe tr
{
    background-color: #DDF7D9 !important;
}
table.stripe tr.alt
{
    background-color: #D9FDD2 !important;
}

/* mixin classes for grids, etc, where top or middle alignment needed */
table.top th
{
    vertical-align: top !important;
}
table.top td
{
    vertical-align: top !important;
}
table.middle td
{
    vertical-align: middle !important;
}
table tr.middle th
{
    vertical-align: middle !important;	
}

/* explicit text styles */
p.years
{
    font-size: medium;
    text-align: center
}
td.film
{
    background: url("images/speckle.gif") #D9FDD2;
}
td.film p,
p.film
{
    font-size: xx-small;
}
font.cancel
{
    font-size: xx-small;
    color: #FF0000;
}
font.note
{
    font-size: xx-small;
    margin-top: 1;
    margin-bottom: 1;
}

/* copyright area */
td.copyright
{
    background: url("images/speckle.gif") #D9FDD2;
}
td.copyright p
{
    font-size: xx-small;
    text-align: center;
    margin-top: 1;
    margin-bottom: 1;
}