/**
 * BazuMedia race results site style sheet.
 *
 * @package    BazuMedia
 * @subpackage UI
 * @copyright  Copyright 2008 Spenlen Media (http://spenlen.com)
 * @license    This source code file is licensed for the exclusive internal use
 *             of BazuMedia, Inc. and may not be used for any other purpose.
 * @version    $Id$
 */


/**** Global Rules ****/


/* Page Structure */

HTML, BODY, H1, H2, H3, H4, H5, H6, HR, DIV, P, PRE, UL, OL, LI, BLOCKQUOTE, FORM, FIELDSET, LEGEND, TABLE, TR, TH, TD, DL, DT, DD {
  margin: 0;
  padding: 0;
}

HTML, BODY {
  height: 100%;
}

BODY {
  background: #fff;
/*  font: normal normal normal 0.85em/1.3em Verdana, Helvetica, Arial, sans-serif;*/
/*  font: normal normal normal 0.85em/1.3em "Helvetica Narrow", "Arial Narrow", Helvetica, Arial, sans-serif;*/
  font: normal normal normal 0.85em/1.3em Helvetica, Arial, sans-serif;
  color: #333;
}


/* Headings */

H1, H2, H3, H4, H5, H6 {
  margin: 0 0 0.8em 0;
/*  font-family: Verdana, Helvetica, Arial, sans-serif;*/
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif;
  font-weight: bold;
  color: #fff;
}

H1 {
  background: url('../images/bazu_logo.png') center center no-repeat;
  font-size: 1em;
  text-indent: -1000em;
  height: 75px;
  width: 220px;
}

H2 {
  background-position: center center;
  background-repeat: no-repeat;
  font-size: 1em;
  text-indent: -1000em;
  height: 75px;
}

H3 {
  margin: 0;
  padding: 0 10px;
  font-size: 1.2em;
  line-height: 2em;
  color: #633;
}

H4 {
  margin: 1 0 0.3em 0;
  font-size: 1em;
}


/* Tables */

TABLE {
  border-collapse: collapse;
  border-spacing: 0;
  background: none;
}

TR.odd {
  background: #fff;
}
TR.even {
  background: #ccc;
}

TH, TD {
  font-style: normal;
  font-weight: normal;
  text-align: left;
}


/* Paragraphs and Other Block-Level Elements */

P {
  margin-bottom: 1.2em;
  line-height: 1.3em;
}

OL, UL {
  margin: 2em 1em 1em 2em;
  list-style: none;
}
LI {
  margin-bottom: 1em;
}

BR.clear {
  clear: both;
}


/* Anchors (Hyperlinks) */

A, A:link, A:visited {
	color: #076aa7;
	text-decoration: underline;
}
A:active, A:hover {
	color: #000;
	text-decoration: underline;
}

A.smallLink {
  font-size: 0.85em;
}
A.tinyLink {
  font-size: 0.7em;
}


/* Form Elements */

INPUT, TEXTAREA, SELECT {
  margin: 0;
  font: normal normal normal 1em/1.4em Verdana, Helvetica, Arial, sans-serif;
}
INPUT[disabled], TEXTAREA[disabled], SELECT[disabled] {
  color: #b3b3b3;
}

INPUT.cancelButton, BUTTON.cancelButton {
  margin-left: 2em;
}

BUTTON {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  font: normal normal normal 0.9em/1.2em Verdana, Helvetica, Arial, sans-serif;
  cursor: pointer;
}
BUTTON:active {
  position: relative;
  top: 1px;
  left: 1px;
}

SPAN.progressIndicator {
  background: url('../images/progress_indicator.gif') center center no-repeat;
  height: 16px;
  width: 16px;
  display: block;
}
TR.progressIndicator, TD.progressIndicator {
  background-image: url('../images/progress_indicator.gif');
  background-position: 95% 50%;
  background-repeat: no-repeat;
}


/* Images and Other Inline Elements */

IMG {
  border: none;
}



/**** General Classes ****/

.alignLeft {
  text-align: left;
}
.alignCenter {
  text-align: center;
}
.alignRight {
  text-align: right;
}
.alignTop {
  vertical-align: top;
}
.alignBaseline {
  vertical-align: baseline;
}
.alignMiddle {
  vertical-align: middle;
}
.alignBottom {
  vertical-align: bottom;
}

.noWrap {
  white-space: nowrap;
}

.fullWidth {
  width: 100%;
}

.hidden {
  visibility: hidden !important;
}
.removed {
  display: none !important;
}
.collapsed {
  visibility: collapse !important;
}

.errorText {
  color: #900;
  font-style: italic;
}



/**** Site Layout ****/

#pageFrame {
  height: 100%;
  min-height: 575px;
  min-width: 900px;
  position: relative;
}

#pageHeader {
  border-bottom: 2px solid #1a1a1a;
  height: 75px;
  overflow: hidden;
  position: relative;
}

#sponsorBranding {
  background: #666 url('../images/panel_sponsor_background.jpg') top repeat-x;
  height: 100px;
  position: absolute;
  left: 28%;
  bottom: 0;
  right: 28%;
}

#leftPanel {
  border-right: 2px solid #1a1a1a;
  background: #fcfcfc url('../images/panel_background.jpg') top repeat-x;
  position: absolute;
  top: 77px;
  right: 72%;
  bottom: 0;
  left: 0;
  z-index: 10;
}
#leftPanel .slidingPanelContainer {
  position: absolute;
  top: 2.4em;
  right: 10px;
  bottom: 2em;
  left: 10px;
}

#courseMap {
  position: absolute;
  top: 77px;
  right: 28%;
  bottom: 100px;
  left: 28%;
}

#rightPanel {
  border-left: 2px solid #1a1a1a;
  background: #fcfcfc url('../images/panel_background.jpg') top repeat-x;
  position: absolute;
  top: 77px;
  right: 0;
  bottom: 0;
  left: 72%;
  z-index: 10;
}
#rightPanel .slidingPanelContainer {
  position: absolute;
  top: 270px;
  right: 10px;
  bottom: 10px;
  left: 10px;
}

#pageFooter {
  height: 2em;
  position: absolute;
  right: 72%;
  bottom: 0;
  left: 0;
  z-index: 10;
}

#ie6Note {
  display: none;
}

/**** Page Content ****/

/* Sliding Panels */

.slidingPanelContentFrame {
  overflow: hidden;
  position: relative;
}

.slidingPanel H4 {
  margin: 0;
}
.slidingPanel H4 A, .slidingPanel H4 A:visited {
  padding: 5px;
  background: #b39999;
  border-bottom: 1px solid #fcfcfc;
  color: #fff;
  display: block;
  text-decoration: none;
}
.slidingPanel H4 A:hover, .slidingPanel H4 A:active {
  background: #855c5c;
}
.slidingPanel.open H4 A {
  background: #633 url('../images/panel_left_title_background.jpg') top repeat-x;
  border-bottom-color: #633;
}

.slidingPanelContentFrame {
  background: #fcfcfc url('../images/panel_background.jpg') top repeat-x;
  border-right: 1px solid #633;
  border-left: 1px solid #633;
}
.slidingPanel.open .slidingPanelContentFrame {
  border-bottom: 1px solid #633;
}

.slidingPanelContent {
  padding: 10px;
}

#rightPanel H3 {
  color: #336;
}
#rightPanel .slidingPanel H4 A, #rightPanel .slidingPanel H4 A:visited {
  background: #9999b3;
}
#rightPanel .slidingPanel H4 A:hover, #rightPanel .slidingPanel H4 A:active {
  background: #5c5c85;
}
#rightPanel .slidingPanel.open H4 A {
  background: #336 url('../images/panel_right_title_background.jpg') top repeat-x;
  border-bottom-color: #336;
}
#rightPanel .slidingPanelContentFrame {
  border-right-color: #336;
  border-left-color: #336;
}
#rightPanel .slidingPanel.open .slidingPanelContentFrame {
  border-bottom-color: #336;
}


/* Header */

#pageHeader H1 {
  position: absolute;
  top: 0;
  left: 0;
}

#RaceSelectForm {
  position: absolute;
  top: 25px;
  right: 15px;
  display: none;
}

UL.weatherForecast {
  margin: 0;
  height: 70px;
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 10;
}

UL.weatherForecast LI {
  margin: 0;
  padding-top: 55px;
  background-position: top center;
  background-repeat: no-repeat;
  font-size: 0.75em;
  line-height: 1.2em;
  text-align: center;
  color: #999;
  display: block;
  width: 64px;
  float: left;
  position: relative;
}
.weather_cloudy {
  background-image: url('../images/icons/weather_cloudy.png');
}
.weather_cold_snow {
  background-image: url('../images/icons/weather_cold_snow.png');
}
.weather_cold {
  background-image: url('../images/icons/weather_cold.png');
}
.weather_fog {
  background-image: url('../images/icons/weather_fog.png');
}
.weather_hail {
  background-image: url('../images/icons/weather_hail.png');
}
.weather_hot {
  background-image: url('../images/icons/weather_hot.png');
}
.weather_night_clear {
  background-image: url('../images/icons/weather_night_clear.png');
}
.weather_night_cloudy_nomoon {
  background-image: url('../images/icons/weather_night_cloudy_nomoon.png');
}
.weather_night_cloudy {
  background-image: url('../images/icons/weather_night_cloudy.png');
}
.weather_partly_cloudy_hot {
  background-image: url('../images/icons/weather_partly_cloudy_hot.png');
}
.weather_partly_cloudy {
  background-image: url('../images/icons/weather_partly_cloudy.png');
}
.weather_rain_heavy {
  background-image: url('../images/icons/weather_rain_heavy.png');
}
.weather_rain_light {
  background-image: url('../images/icons/weather_rain_light.png');
}
.weather_rain_scattered {
  background-image: url('../images/icons/weather_rain_scattered.png');
}
.weather_rain {
  background-image: url('../images/icons/weather_rain.png');
}
.weather_sleet {
  background-image: url('../images/icons/weather_sleet.png');
}
.weather_snow {
  background-image: url('../images/icons/weather_snow.png');
}
.weather_storm_clouds {
  background-image: url('../images/icons/weather_storm_clouds.png');
}
.weather_sunny {
  background-image: url('../images/icons/weather_sunny.png');
}
.weather_thunderstorms {
  background-image: url('../images/icons/weather_thunderstorms.png');
}
.weather_tornado {
  background-image: url('../images/icons/weather_tornado.png');
}

UL.weatherForecast LI .temperature {
  padding: 2px 4px;
  background: url('../images/highlight_black_darker.png');
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 40px;
  right: 0;
}


/* Sponsor Branding */

#sponsorBranding A {
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: -1000em;
  display: block;
  height: 100px;
}


/* Leaderboard */

H3 A, H3 A:link, H3 A:visited {
  font-size: 0.6em;
  font-weight: normal;
  color: #666;
  text-decoration: none;
}
H3 A:hover, H3 A:active {
  color: #000;
}

#SearchResults {
  background: #fff;
  border: 1px solid #633;
  max-height: 20em;
  overflow: auto;
}
#SearchResults UL {
  margin: 0;
}
#SearchResults LI {
  margin: 0;
  padding: 0.2em 0.4em;
  font-size: 0.8em;
  display: block;
  cursor: pointer;
}
#SearchResults LI.selected {
  background-color: #d1c2c2;
}
#SearchResults .informal {
  margin-left: 0.5em;
  color: #666;
  float: right;
}

#athleteDetails P {
  margin-bottom: 1.1em;
  line-height: 1em;
}
IMG.athletePhoto {
  margin: 0 1em 1em 1em;
  float: right;
}

TABLE.timingResults {
  width: 100%;
}

TABLE.timingResults THEAD TR TH, TABLE.timingResults THEAD TR TD {
  border-bottom: 2px solid #633;
}

TABLE.timingResults TBODY TR TH, TABLE.timingResults TBODY TR TD {
  border-bottom: 1px solid #ccc;
  vertical-align: baseline;
}
TABLE.timingResults TBODY TR:hover {
  background: #f0ebeb;
}

TABLE.timingResults TH, TABLE.timingResults TD {
  padding: 0.2em 0.4em 0.2em 0.2em;
  font-size: 0.9em;
}
TABLE.timingResults TH {
  font-size: 0.8em;
  font-weight: bold;
  color: #4d4d4d;
}

TABLE.timingResults TFOOT TD {
  padding: 0.5em;
  font-size: 0.7em;
}
TABLE.timingResults TFOOT A, TABLE.timingResults TFOOT A:visited {
  color: #999;
  text-decoration: none;
}
TABLE.timingResults TFOOT A:hover, TABLE.timingResults TFOOT A:active {
  color: #333;
}

.timeMilliseconds {
  font-size: 0.8em;
  color: #999;
}


P.resultsDisclaimer {
  margin: 1em 0 0 0;
  font-size: 0.7em;
  font-style: italic;
  color: #b3b3b3;
}


/* Course Map */

#coursemapFrame {
  font-size: 0.85em;
}


/* Video Feed */

#videoFeed {
  padding: 0 10px;
  height: 240px;
}

#videoFeed .videoFeedToggle {
  margin: 0;
  padding: 0;
}

#videoFeed .videoFeedToggle A {
  background-position: top center;
  background-repeat: no-repeat;
  text-indent: -1000em;
  display: block;
  height: 25px;
}
#liveVideo .videoFeedToggle A {
  background-image: url('../images/video_slider_live.png');
}
#recordedVideo .videoFeedToggle A {
  background-image: url('../images/video_slider_recorded.png');
}

#videoFeed OBJECT {
  margin: 0 auto;
}


/* User Ratings */

.ratingQuestion P {
  margin-bottom: 0.7em;
  font-size: 1.2em;
}

.ratingAnswers {
  margin: 0 0 1em 0;
}
.ratingAnswers LI {
  margin-bottom: 0.5em;
}

.ratingResult {
  padding: 10px;
  background-position: top center;
  background-repeat: no-repeat;
  height: 100px;
  font-size: 2em;
  text-align: center;
}


/* Liveblog */

.liveblog {
  margin: 0;
  line-height: 1.1em;
}

.liveblog LI {
  margin: 0 0 0.5em 0;
  font-size: 0.9em;
}

.liveblog LI .datetime {
  font-size: 0.8em;
  color: #999;
}


/* Race Director */

DIV.recordSet TABLE {
  margin: 1em 0;
}

DIV.recordSet THEAD TH {
  padding: 0.3em 1em 0.3em 0.5em;
  background: #633 url('../images/panel_left_title_background.jpg') top repeat-x;
  color: #fff;
}

DIV.recordSet TBODY TD {
  padding: 0.2em 1em 0.2em 0.5em;
}


/* Page Footer */

#pageFooter P {
  margin: 0;
  padding: 8px 10px 0 10px;
  font-size: 0.7em;
  color: #ccc;
}

#pageFooter A, #pageFooter A:link, #pageFooter A:visited, #pageFooter A:hover {
  color: #ccc;
  text-decoration: none;
}


/* Forms */

TABLE.form {
  margin: 10px 20px;
}

TABLE.form TH {
  padding: 0.2em 1em 0.2em 0.5em;
  font-size: 0.9em;
  text-align: right;
  vertical-align: middle;
}

TABLE.form TD {
  padding: 0.2em 0.5em 0.2em 0;
  text-align: left;
}

TABLE.form TD.formButtons {
  padding-top: 1em;
  white-space: nowrap;
}
TABLE.form TD.formButtons DIV {
  position: relative;
}
TABLE.form TD.formButtons DIV .progressIndicator {
  position: absolute;
  top: 0;
  left: 0.5em;
}


P.formButtons {
  padding-top: 1em;
  white-space: nowrap;
}
SPAN.validationErrorText {
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1.5em;
  color: #d40000;
}


/* Select Race Panel */

#selectRace {
  background: #fafafa;
  height: auto;
}

#selectRacePanel {
  margin: 10% auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #ccc;
  text-align: center;
  width: 50%;
}

#selectRacePanel H1 {
  margin: 0 auto;
}

#selectRacePanel LI {
  margin: 1em 0;
}


TR.entryResult {
  font-weight: bold;
  color: red;
}
TR.entryResult TD {
  background: #ffff00;
}


UL.resultsLinks {
  margin: 0 0 1em 0;
  padding: 0.5em 0;
  text-align: center;
}

UL.resultsLinks LI {
  padding: 0.1em 0.7em;
  border-left: 1px solid #ccc;
  display: inline;
}
UL.resultsLinks LI:first-child {
  border-left: none;
}
