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

#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 {
    width: 160px;
    margin-right: -160px;
    }

#left_sidebar {
    width: 160px;
    right: 160px;
    margin-left: -100%;
    padding-left: 5px;
    padding-right: 5px;
    }

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

#footer {
    clear: both;
    position: relative;
    }

* 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;
    background: url(images/banner.png) no-repeat top left;
    }

#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;
    background: url(images/sep.jpg) no-repeat center center;
    }

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

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

.side_banner {
    background-color: black;
    background: url(images/sidehdr.png) no-repeat;
    }

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

/* LightWindow */

#lightWindow {
    /* REQUIRED */
    /* Of Note - The height and width of this element are set to 0px */
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    /* REQUIRED */
    }

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

#lightWindow-contents {
    /* REQUIRED */
    display: none;
    position: absolute;
    overflow: hidden;
    /* REQUIRED */

    background-color: #ffffff;     /* Color of main popup window */
    color: #333333;                /* Text color of main popup window */
    /* Of Note - If you specify a padding or border be sure to adjust the 'cushion' option, by default its set to 10 */
    border: 10px solid #ffffff;
    }
	
#lightWindow-loading {
    /* REQUIRED */
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999; 
    /* REQUIRED */
	
    background-color: #f0f0f0;
    padding: 10px;
    }

	#lightWindow-loading-message {
    	font-size: 14px;
		line-height: 32px;
		color: #444444;
		float: left;
		padding: 0 10px 0 0;
	}

	#lightWindow-loading-options {
    	font-size: 12px;
		line-height: 32px;
		color: #444444;
		float: left;
		border-left: 2px solid #cccccc;
		padding: 0 0 0 10px;
	}	

	#lightWindow-loading-options a,
	#lightWindow-loading-options a:link, 
	#lightWindow-loading-options a:visited {
		color: #09F;
		text-decoration: none;
		cursor: pointer;
	}

	#lightWindow-loading-options a:hover,
	#lightWindow-loading-options a:active {
		text-decoration: underline;
	}


	#lightWindow-loading img {
   		float: left;
   		margin: 0 10px 0 0;
	}

#lightWindow-navigation {
	/* REQUIRED */
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 150;
	/* REQUIRED */

	height: 100%;
	width: 100%;
}

	#lightWindow-navigation a,
	#lightWindow-navigation a:link,
	#lightWindow-navigation a:visited,
	#lightWindow-navigation a:hover,
	#lightWindow-navigation a:active { 
		/* REQUIRED */
		outline: none;
		/* REQUIRED */
	}

	#lightWindow-previous, 
	#lightWindow-next {
		width: 49%;
		height: 100%;
		background: transparent url(images/blank.gif) no-repeat; /* Trick IE into showing hover */
		display: block;
	}
	
	#lightWindow-previous { 
		float: left;
		left: 0px;
	}

	#lightWindow-next { 
		float: right;
		right: 0px;
	}

	#lightWindow-previous:hover, 
	#lightWindow-previous:active { 
		background: url(images/prevlabel.gif) left 15% no-repeat; 
	}

	#lightWindow-next:hover, 
	#lightWindow-next:active { 
		background: url(images/nextlabel.gif) right 15% no-repeat; 
	}
	 	
#lightWindow-photo-galleries {
    /* REQUIRED */
    height: 20px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9999; 
    /* REQUIRED */
    }

#lightWindow-photo-tab-container {
    width: 100%;
    height: 20px;
    }

a#lightWindow-photo-galleries-tab,		
a:link#lightWindow-photo-galleries-tab,
a:visited#lightWindow-photo-galleries-tab {
    display: block;
    height: 20px;
    width: 70px;
    float: right;
    -moz-opacity:  0.70;
    opacity: .70;
    filter: alpha(opacity=70);
    line-height: 22px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    padding: 0 0 0 7px;
    font-size: 11px;
    }

a:hover#lightWindow-photo-galleries-tab,
a:active#lightWindow-photo-galleries-tab {
    color: #ffffbe;
    }

.up {
    background: url(images/arrow-up.gif) no-repeat 60px 5px #000000;
    }

.down {
    background: url(images/arrow-down.gif) no-repeat 60px 6px #000000;
    }

#lightWindow-photo-galleries-list {
    background-color: #000000;
    -moz-opacity:  0.70;
    opacity: .70;
    filter: alpha(opacity=70);
    overflow: hidden;
    }

.lightWindow-photo-gallery-listing {
    width: 200px;
    float: left;
    margin: 0 0 10px 0;
    padding: 10px;
    }

.lightWindow-photo-gallery-listing h1 {	
    color: #09F;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    margin: 5px 0 10px 0;
    font-size: 16px;
    }

.lightWindow-photo-gallery-listing li {
    margin: 0 0 5px 0;
    }

.lightWindow-photo-gallery-listing a, 
.lightWindow-photo-gallery-listing a:link, 
.lightWindow-photo-gallery-listing a:visited {
    display: block;
    line-height: 22px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    padding: 0 0 0 10px;
    font-size: 11px;
    }

.lightWindow-photo-gallery-listing a:hover, 
.lightWindow-photo-gallery-listing a:active {
    background: #000000;
    color: #ffffbe;
    border-left: 3px solid #ffffbe;
    padding: 0 0 0 7px;
    }
		
#lightWindow-data {
    /* REQUIRED */
    position: absolute;
    /* REQUIRED */
	
    background-color: #ffffff;
    font-size: 11px;
    font-family: Verdana, Helvetica, sans-serif;
    }

#lightWindow-data-slide {
    /* REQUIRED */
    position: relative;
    /* REQUIRED */
    }

#lightWindow-data-title {
    width: 75%;
    padding: 0 0 0 10px;
    font-weight: bold;
    color: #666666;
    line-height: 1.4em;
    }
	
#lightWindow-data-caption {
    width: 75%;
    padding: 0 0 0 50px;
    color: #333333;
    line-height: 1.4em;
    }
	
#lightWindow-data-author {
    position: absolute;
    width: 100px;
    top: 0px;
    right: 10px;
    text-align: right;
    color: #666666;
    line-height: 1.4em;
    font-style: italic;
    font-size: 9px;
    }
	
#lightWindow-data-image {
    position: absolute;
    font-size: 9px;
    width: 100px;
    top: 15px;
    right: 10px;
    text-align: right;
    color: #666666;
    line-height: 1.4em;
    }
	
#lightWindow-title-bar {
    /* REQUIRED */
    position: absolute;
    top: 0;
    left: 0;
    /* REQUIRED */
    }
	
#lightWindow-title-bar-title {
    /* REQUIRED */
    z-index: 50;
    /* REQUIRED */
    float: left;
    color: #ffffbe;
    font-size: 15px;
    width: 80%;
    line-height: 25px;
    text-align: left;
    }
	
#lightWindow-title-bar-close {
    /* REQUIRED */
    z-index: 50;
    /* REQUIRED */
    float: left;
    width: 20%;
    font-size: 15px;
    text-align: right;
    line-height: 25px;
    }
	
a#lightWindow-title-bar-close-link, 
a:link#lightWindow-title-bar-close-link,
a:visited#lightWindow-title-bar-close-link {
    cursor: pointer;
    color: #ffffbe;
    line-height: 25px;
    padding: 0;
    margin: 0;
    }
	
a:hover#lightWindow-title-bar-close-link, a:active#lightWindow-title-bar-close-link {
    color: #ffffff;
    }

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


