/* 
  notc.css - style sheet for runnotc.org
  last updated 04Feb06				

  site colors: purple (#800080), green (#008000), and gold (#ffd700)
*/

/* general formatting rules */
body {
  font:			76% verdana, helvetica, arial, sans-serif;
  margin-left:		100px;
  margin-right:          20px;
  background:		white url(./images/logo_margin.png) repeat-y;
}

h1 { 
  font-size:		1.5em;
  font-weight:		bold;
  text-align:		center;
}

h2 {
  font-size:        	1.2em;
  font-weight:		bold;
  font-variant:		small-caps;
  text-align:       	center;
  color:            	purple;
  background-color: 	gold;
  border:           	thin outset purple;
  margin-bottom:    	2px;
}

h3 { 
  text-align:		left;
  font-size:		1.1em;
  font-weight:		bold;
  margin-top: 		0;
  margin-bottom: 	0;
}

h3 + p {
  margin-top:		0;
}

h4 {
  text-align:    	left;
  font-size:     	1.0em;
}

table {
  margin:		0.5em auto;
  border:		none;
}

th {
  vertical-align:   	top;
  font-weight:	    	bold;
  color:            	purple;
  background-color: 	white;
  border-bottom:    	thin solid gold;
}

td {
  vertical-align:   	top;
}

hr {
  color:		purple;
}

pre {
  font-family:  	"Courier New",Courier,monospace;
}
pre b {
  font-family:  	"Courier New",Courier,monospace;
  font-weight:		bold;
}

b {
  font-weight:		bold;
}

i {
  font-style: 		italic;
}

p {
  font-size:		1.0em;
  text-align:		left;
}

p.menu {
  text-align:		center;
}

p.affiliates {
  text-align:	 	center;
}

p.winners {
  text-align:		center;
  font-size:		12pt;
}

p.email {
  text-align:		center;
  font-style:		oblique;
  font-size:		0.8em;
}

p.footer {
  text-align:		center;
  font-style:		oblique;
  font-size:		0.8em;
}

p.byline {
  text-align:		left;
  font-size:		0.8em;
  font-style:		oblique;
  margin-top:		2px;
}

p.caption {
  text-align:		center;
  font-size:		1.0em;
  margin-top:		2px;
}

p.waiver {
  text-align:		left;
  font-size:		0.8em;
}

p.board-member {
  text-align:		center;
  font-size:		1.0em;
}

p.race-info {
  margin-top:    	0;
  margin-left:   	1em;
  margin-bottom: 	0.5em;
}

p.race-photos {
  text-align:		center;
  font-size:		0.8em;
  font-style:		oblique;
}

.cancelled, .canceled {
  color:        	gray;
  text-decoration:	line-through;
}

.highlight {
  color:		gold;
  background-color:	purple;
  border:		thin outset green;
}

.urgent {
  color:		white;
  background-color:	red;
}

.contact-info {
  text-align: 		left;
}

table.form th {
  text-align:           right;
  border:               none;
}

/* exceptions */

body.race-results p, body.results-top p {
  text-align:	center;
}

/* --- race results pages --- */
body.results-top, body.race-results, body.race-photos, body.race-info,
body#merchandise-index, body.merchandise-item {
  text-align: center;
}
table.top-finishers { 
  border-spacing: 1em 1px;
}
th.name, td.name {
  text-align:	left;
  width:      	12em;
}
th.race, td.race {
  text-align:	left;
  width:      	16em;
}
th.distance, td.distance {
  text-align:	left;
  width:      	8em;
}
th.age, td.age {
  text-align: 	right;
  width:      	2em;
}
th.date, td.date {
  text-align: 	right;
  min-width:   	4em;
}
th.time, td.time {
  text-align: 	right;
  min-width:   	4em;
}
th.pace, td.pace {
  text-align: 	right;
  width:      	3em;
}
th.place, td.place {
  text-align: 	right;
  width:      	3em;
}
th.points, td.points {
  text-align: 	right;
  width:      	3em;
}
th.score, td.score {
  text-align: 	right;
  width:      	3em;
}
th.prize, td.prize {
  text-align: 	right;
  width:      	3em;
}
th.members, td.members {
  text-align: 	left;
  width:      	30em;
}

/* popup image window */

body.image {
  margin-left:	auto;
  margin-right:	auto;
  background:	white;
}

div.image {
  text-align: 	center;
}

div.image img {
  border: 	thin outset purple;
}

div.image p.byline {
  text-align: 	center;
}

/* --- race history pages --- */
table.race-history {
  border-collapse:	collapse;
  border:		thin solid purple;
}
table.race-history caption {
  border:		thin solid purple;
  font-size:		1.2em;
  font-weight:		bold;
  text-align:		center;
  color:		purple;
  background:		#FFD700;
  margin:		auto;
}
/* unimplemented in IE6 - use table rules="groups" to compensate */
table.race-history thead, table.race-history tbody, 
table.race-history tfoot, table.race-history colgroup {
  border:			thin solid purple;
}
table.race-history tfoot td {
  text-align:		center;
  color:		purple;
  background:		#FFD700;
}
/* unimplemented in IE6 */
table.race-history tbody tr:hover th, table.race-history tbody tr:hover td {
  background:		#FFFFCC;
}
table.race-history th, table.race-history td {
  padding:		0.1em 0.5em 0.1em 0.5em;
  border-bottom:	none;
  vertical-align:	top;
}
th.div, td.div {
  text-align:		right;
}
th.year, td.year {
  text-align:		right;
}
.record {
  font-weight:		bold;
}

/* --- end of style sheet --- */

body.race-entry {
  margin-left:	20px;
  background:	none;
  font-family:  sans-serif;
  font-size:    0.8em;
}

div.course-map {
  text-align:   center;
}

table.race-photos {
  margin: auto;
}

table.race-photos td{
  text-align: center;
}

table.race-photos img {
  border: thin solid purple;
}

/* pace chart tables */
table.pace-chart {
  margin:          auto;
  border-collapse: collapse;
  border:          2px solid purple;
  text-align:      right;
}
table.pace-chart th, table.pace-chart td {
  border:          1px solid purple;
}
table.pace-chart th {
  background-color: gold;
}

/* orphans? */

div.board-members {
  text-align:	center;
  font:	  	normal medium sans-serif;
}

