/* 
This CSS file was originally based on a wordpress theme by Hakan Aydin. You can find complete information on
the original CSS at http://aydin.net/blog/2006/02/13/wordpress-theme-three-column-black-letterhead/

I did heavy modification on the structure, fonts and colors.

The original CSS was released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*/

/* Begin Structure */

body {
    min-width: 480px;
    }

#page {
    padding-left:  160px;
    padding-right: 160px;
    }

#page .column {
    position: relative;
    float: left;
    padding-bottom: 20010px; 
    margin-bottom: -20010px; 
    }
	
#content {
    padding: 0px 0px;
    width: 100%;
    }

#right_sidebar {
    display: none;
    }

#left_sidebar {
    display: none;
    }

#header {
    padding: 0px;
    margin: 0px auto;
    height: 200px;
    width: 100%;
    }

#footer {
    display: none;
    }

* html #left_sidebar {
    left: 160px;
    }

hr {         /* not sure what this tag does, but without it content and footer are seperated */
 display: none;
 }


/* End Structure */

/* Begin Typography */

body {
    font-size: 62.5%;    /* Resets 1em to 10px */
    font-family: Verdana, Arial, Sans-Serif;
    text-align: center;
    }

#page {
    text-align: left;
    }

#content {
    font-size: 1.2em
    }

#content form {
    text-align: center;
    font-size: 1.3em;
    }

#right_sidebar {
    font-size: 1.5em;
    }

#right_sidebar img {         /* For icons on sidebar */
    border: 2px solid #888888;
    height: auto;
    width: auto;
    float: none;
    }

#left_sidebar {
    font-size: 1.3em;
    }

#left_sidebar ul li {
    font-size: 1.3em;
    text-align: left;
    }

#left_sidebar p.email {
    font-family: Verdana, Arial, Sans-Serif;
    font-size: 0.8em;
    }

#left_sidebar li.email {
    font-size: 1.1em;
    text-align: center;
    }

#left_sidebar li.subscribe {
    font-size: 1.1em;
    text-align: left;
    }

#right_sidebar ul li {
    font-size: 1.0em;
    text-align: left;
    }

#right_sidebar h1 {     /* Race/Indv Summary headers */
    font-family: Verdana, Arial, Sans-Serif;
    font-size: 1.3em;
    text-align: center;
    padding: 0;
    }

#right_sidebar li.big {   /* For emphasized links on right side */
    font-size: larger;
    line-height: 25px;
    }

#footer p {
    text-align: center;
    }

h1, h2, h3 {
    font-family: Garamond, 'Copperplate Gothic Light', Georgia, 'Times New Roman', Serif;
    font-weight: bold;
    }

h1 {                         /* mainly for Title on page header */
    font-size: 2.5em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5em;
    }

#racername h1 {              /* for individual summary page name */
    font-size: 2.8em;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: .15em;
    }

#venuename h1 {              /* for race summary page name */
    font-size: 2.6em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .15em;
    }

#racenote p {              /* for race summary page name */
    font-size: 1.4em;
    width: 75%;
    text-align: center;
    border-width: 2px;
    border-color: #666666;
    border-style: solid;
    }

#legnames {              /* swiw/bike/run/distances in header */
    font-size: 1.2em;
    text-align: center;
    }

h2, h3 {
    font-size: 1.6em;
    }

a, h1, h1 a, h1 a:hover, h1 a:visited {
    text-decoration: none;
    }

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited {
    text-decoration: none;
    }

a:hover {
    text-decoration: underline;
    }

.bat-searchresults {         /* results of database search */
    text-align: center;
    font-size: 1.2em;
    padding-top: 100px;
    }

.bat-disclaimer {            /* text for results disclaimer */
    text-align: left;
    }

.bat-disclaimer h2 {            /* text for results disclaimer */
    font-size: 2.0em;	
    padding-top: 50px;
    padding-bottom: 50px;
    }

.bat-disclaimer p, .bat-disclaimer ul {            /* text for results disclaimer */
    font-size: 1.4em;	
    padding-left: 50px;
    }

.bat-rosterresults {         /* roster results of database search */
    text-align: center;
    font-size: 1.2em;
    padding-top: 50px;
    }

.bat-race-list h2 {
    text-align: center;
    font-size: 2.4em;
    }

.bat-race-list table {
    text-align: center;
    font-size: 1.25em;
}

.bat-race-list {
    text-align: center;
    }

.description {               /* description on page header */
    font-size: 1.4em;
    text-align: center;
    letter-spacing: .6em;
    text-decoration: none;
    }

.searchstats {               /* home page stats on races/results */
    font-size: 1.2em;
    letter-spacing: .3em;
    text-align: center;
    }

.graphhead {
    font-size: 1.6em;
    text-align: center;
    height: 75px;
    margin-top: 25px;
    }

/* End Typography */
/* Begin Colors */

/* Colors used
   #000000  background black
   #111111  sidebar black, slightly lighter
   #666666  gray used ?
   #808080  gray used ?
   #959596  gray used ?
   #b0b0b0  body default text color
   #e4d3a6  sidebar heading color tan
   #ebe9ed  slightly pink color ??
   #fd5a1e  orange color header title/description and sidebar links
   #ffffff  white
*/

body {
    background-color: black;
    color: #b0b0b0;
    }

#page {
    background-color: black;
    border: 1px solid #959596;
    }

#content i {                /* Used in pace display on race summary screen */
    color: #33CC66;
    }

#content a {                /* Used on all links within content */
    color: #CC9966;
    }

#right_sidebar, #left_sidebar {       /* makes sidebars slightly lighter than center */              
    background-color: black;
    }

#left_sidebar li.email {        /* For use in leftsidebar RSS stuff */
    background:url(images/email.gif) no-repeat top left;
    border: 0px;
    color: #b0b0b0;
    }

#left_sidebar p#email {
    color: #666;
    }

#right_sidebar h1 {     /* Race/Indv Summary headers */
    color: #e4d3a6;
    }

#header {
    background-color: black;
    }

#footer {
    background-color: black;
    border: 1px solid #959596;
    }

#venuename h1, #racername h1 {
    color: #d3c295;
    }

h1, h1 a, h1 a:hover, h1 a:visited {
    color: #FD5A1E;
    }

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
    color: #e4d3a6;
    }

a, h2 a:hover, h3 a:hover {
    color: #fd5a1e;
    }

h4, h4 a, h4 a:hover, h4 a:visited {
    color: #cccccc;
    }

a:hover {
    color: #707070;
    }

.description {
    color: #FD5A1E;
    }

.seperator {
    background-color: black;
    }

.blanksep {
    background-color: black;
    padding-bottom: 20px;
    }

.sidesep {
    background-color: black;
    padding-bottom: 20px;
    }

.side_banner {
    background-color: black;
    }

.bat-disclaimer p, ul li {            /* text for results disclaimer */
    color: #999999;
    }

.bat-searchresults {         /* results of database search */
    background-color: black;
    }

/* End Colors */

/* Begin Positioning, margin, padding */

#content form {
    padding-top: 100px;
    }

#left_sidebar li.email {
    padding-bottom: 5px;
    padding-left: 5px;
    }

#right_sidebar h2.img {
    float: right;	
    }

#right_sidebar table {
    height: 0px;
    }

#left_sidebar h2 {     /* Effects appearence of left sidebar headings */
    margin: 5px 0 0;
    padding: 0;
    }

h1 {        /* XXX this should be .title */
    padding-top: 40px;
    margin-top: 0;
    margin-left: 330px;
    }

#racername h1 {
    padding-top: 40px;
    padding-bottom: 15px;
    margin-top: 0px;
    margin-left: 0px;
    }

#venuename h1 {
    padding-top: 40px;
    padding-bottom: 15px;
    margin-top: 0px;
    margin-left: 0px;
    }

#right_sidebar ul, #left_sidebar ul {
    margin: 0;
    padding: 0;
    }

#left_sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    line-height: 25px;
    margin-left: 8px;
    }

#right_sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    line-height: 20px;
    margin-left: 8px;
    }

#right_sidebar ul p, #left_sidebar ul p {
    margin: 5px 0 8px;
    }

#left_sidebar p {
    margin: 25px 0 8px;
    }

.bat-searchresults {         /* results of database search */
    padding-top: 100px;
    }

.bat-searchbutton {         /* main search button */
    margin-left: 50px;
    }

.bat-rosterresults {         /* roster results of database search */
    padding-top: 50px;
    }

.bat-race-list table td {
    padding: 2px;
    }

.bat-race-list table {
    table-layout: auto;
    text-indent: 0em;
    }

.bat-race-list {
    padding-top: 50px;
    }

.description {
    margin-left: 375px;
    }

.searchstats {
    margin-top:  50px;
    }

.seperator {               /* seperator used for sections of results */
    margin: 50px 0px 25px 0px;
    padding: 0px;
    height: 3px;
    border: none;
    }

.side_banner {               /* banner for indv and race sides */
    margin: 40px 0px 0px 0px;
    padding: 0px;
    height: 80px;
    border: none;
    }


/* End Positioning, margin, padding */
/* Begin Specialty Stuff */

/* Google Maps */

#map {
    top: 10px;
    left: 20px;
    width: 97%;
    height: 600px;
    }

#alert {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    display: none;
    }

#alert p {
    width: 150px;
    margin: 0 auto 0 auto;
    padding: 10px;
    background: white;
    border: 1px solid #aaa;
    }

body.loading #alert { display: block; }

#overlay {
    /* REQUIRED */
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    /* REQUIRED */
    }

/* REQUIRED */
#overlay[id] {
    position: fixed;
    }
/* REQUIRED */

/* Begin Ajax Autocomplete */

div.auto_complete {
    width: 100px;
    background: #222222;
    color: #eeeeee;
    text-align: left;
    }

div.auto_complete ul {
    margin:0;
    padding:0;
    width:100%;
    list-style-type:none;
    text-align: left;
    }

div.auto_complete ul li {
    margin:0;
    padding:0px;
    }

div.auto_complete ul li.selected { 
    background-color:#aaaaaa;
    color: #111111;
    width:100%;
    } 

div.auto_complete ul strong.highlight { 
    color: #333333;
    margin:0;
    padding:0;
    }

/* End Ajax Autocomplete */
/* Begin Overlib help */

.overlibText {         /* textfont class defined in overlib.js */
    text-align: left;       /* need to left justify text */
    background-color: #999999;
    color: #222222;
    font-size: 1.3em;
    }

.overlibText p {
    margin-top: 8px;
    margin-bottom: 8px;
    }

/* End Overlib help */

table#raceformtable h4 {
	background-color: black;
	color: #dddddd;
	padding: 0px 0px;
	margin-top: 15px;
	margin-bottom: 0px;
	margin-left: 350px;
	font-family: Verdana, Ariel, Helvetica, sans-serif;
	font-size: 16px;
	text-align: center;
}

form#racebyname {
	background-color: black;
	color: #dddddd;
	padding: 0px 0px;
	margin-top: 35px;
	margin-left: 350px;
	font-family: Verdana, Ariel, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
}

#racebyname select {
	font-family: Verdana, Ariel, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	margin-right: 6px;
}

form#racebytypeyear {
	background-color: black;
	color: #dddddd;
	padding: 0px 0px;
	margin-top: 15px;
	margin-left: 350px;
	font-family: Verdana, Ariel, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
}

#racebytypeyear select {
	font-family: Verdana, Ariel, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	margin-right: 6px;
}

.bat-resources {            /* text for bayarea resources */
    text-align: center;
    }

.bat-resources h2 {  
    text-align: center;
    font-size: 1.8em;	
    padding-top: 30px;
    }

.bat-resources table {  
    text-align: center;
    margin-left: 12%;

    }

.bat-resources li {  
    text-align: left;
    padding-bottom: 8px;
    font-size: 1.3em;	
    }

.bat-resources ul {  
    text-align: center;
    }

.bat-resources tr {  
    text-align: center;
    vertical-align: top;
    }

.bat-resources tr {  
    text-align: center;
    vertical-align: top;
    }

/* End Specialty Stuff */



