/*  A comment since style sheet actions on the first line do not always work */
/*  Style sheet developed by GLB in January 2003 for use on events where */
/*  NERS are providing the results service */
/*  All colours have been chosen from combinations of */
/*  00h, 33h, 66h, 99h, cch and ffh to produce browser-safe colours */
/*  Date 19 Feb 2003 */
/*  November 2003 Extra class added to remove need for sheet0.css */
/*  January 2006 Button structures changed to use combinations of */
/*  columns. This reduced the need for so many td.menu classes  */
/*  New classes introduced for use with java script to provide */
/*  additional footer information to pages */
/*  August 2007 changed column alignments and introduced control class for */
/*  use on roadpens page */
/*  August 2008 experimental changes to display on handhelds */

  h1,h2,h3,h4,h5,h6,p,li,ul,ol,table,thead,th,td  {  font-family : verdana, univers, arial, helvetica, sans-serif }
  pre              { font-family : monospace }
  h1               { font-size : large }
  h2               { font-size : medium }
  h3               { font-size : x-small ;
                     font-weight : bold }
  h4               { font-size : x-small }
  p                { font-size : x-small }
  li               { font-size : x-small }
  address          { font-size : x-small }
  hr               { width : 760 ;
                     text-align : left }

/*  body           { background-image : url(./event_files/NERS_background.gif) } */
  body             { background-color : #ffffff }

/* for border-width and border-color the parameters control the 'top' */
/* 'right' 'bottom' 'left' edges respectively */

/* Settings for tables generatedby webmake*/
/* this border style controls the outer border of the table */
/* in total the outer border is 2px wide */
/* for the 'top' 'bottom' 'left' edges 1px comes from the outer border */
/* and 1px from the cell border since the data cells do not have a */
/* 'right' border the 'right' outer border is set to 2px */
/* @media controls used to suppress columns for co-driver, car and */
/* entrant on handhelds */

  table.noborder   { width:760px }

  table.tcs,table.notes
		        { background-color : #ffffcc ;
                     border-style : solid ;
                     border-width : 1px 2px 1px 1px ;
                     border-color : #000000 #000000 #000000 #000000 }

/* set up table header definitions */
  th               { font-size : x-small ;
                     background-color : #ccffff ;
                     vertical-align : top ;
                     border-style : solid ;
                     border-width : 1px 0px 1px 1px ;
                     border-color : #000000 #000000 #000000 #000000 }

  th.carno         { text-align : center ;
                     vertical-align : middle }

  th.stageno       { text-align : center ;
                     vertical-align : middle }

  th.pos           { text-align : center ;
                     vertical-align : middle }

  th.oapos         { text-align : center ;
                     vertical-align : middle }

  th.grouppos      { text-align : center ;
                     vertical-align : middle }

  th.classpos      { text-align : center ;
                     vertical-align : middle }

  th.diff          { text-align : center ;
                     vertical-align : middle }

  th.diff_prev     { text-align : center ;
                     vertical-align : middle }

  /*th.diff_first    { text-align : center ;
                     vertical-align : middle }*/

  th.penalty       { text-align : center ;
                     vertical-align : middle }

  th.rpenalty      { text-align : center ;
                     vertical-align : middle }

  th.total         { text-align : center ;
                     vertical-align : middle }

  th.driver        { text-align : center ;
                     vertical-align : middle }

  div#entry_list th.codriver
  		   { text-align : center ;
                     vertical-align : middle;
		     display: table-cell; }

  th.codriver      { display : none }

  th.car           { display : none }
  /*div#stage_times th.car
	           { text-align : center ;
                     vertical-align : middle; 
		     display:table-cell } */
  th.entrant       { display : none }
  div#class_positions th.classpos      
		   { text-align: center;
		     vertical-align:middle;
		     display:table-cell }
  th.classpos      { display : none }
  th.diff_first    { display : none }

  th.crew          { text-align : center ;
                     vertical-align : middle }

  th.class         { text-align : center ;
                     vertical-align : middle }

  /*th.dtown         { text-align : center ;
                     vertical-align : middle }
		     */

  div#entry_list th.dtown
  		   { display: none ; }
  th.ctown         { display: none ; }

  th.reason        { text-align : center ;
                     vertical-align : middle }

  th.control       { text-align : center ;
                     vertical-align : middle }

  th.nat           { text-align : center ;
                     vertical-align : middle }

  th.group         { text-align : center ;
                     vertical-align : middle }

/* set up data cell definitions */

  td               { font-size : x-small ;
                     vertical-align : top ;
                     border-style : solid ;
                     border-width : 0px 0px 1px 1px ;
                     border-color : #000000 #000000 #000000 #000000 }

  td.noborder      { border-style : solid ;
                     border-width : 0px 0px 0px 0px }

  td.carno         { text-align : right }

  td.stageno       { text-align : center }

  td.pos           { text-align : right }

  td.oapos         { text-align : right }

  td.grouppos      { text-align : right }

  td.classpos      { text-align : right }

  td.penalty       { text-align : right }

  td.rpenalty      { text-align : right }

  td.total         { text-align : right }

  td.diff          { text-align : right }

  td.diff_prev     { text-align : right }

  /* td.diff_first    { text-align : right } */

  td.driver        { text-align : left }

  div#entry_list td.codriver        { text-align: left; display: table-cell; }

  td.codriver      { display : none }

  td.car           { display : none }

  /*div#stage_times td.car { display: table-cell }*/

  td.entrant       { display : none }

  td.classpos      { display : none }
  div#class_positions td.classpos      
  		   { display : table-cell }

  td.diff_first    { display : none }

  td.crew          { text-align : left }

  td.class         { text-align : center }

  td.dtown         { display : none }

  td.ctown         { display : none }

  td.reason        { text-align : left }

  td.control       { text-align : center }

  td.nat           { text-align : center }

  td.count         { text-align : center }

  td.group         { text-align : left }

  .sr_penalty_note    { display : none }

  .sr_curr_total_note { display : none }

  .sr_prev_total_note { display : none }


/* The following apply to tables in footer and header files used by NERS */

/* header table */
  table.header     { display : none }

/* footer button table */
  table.footerb    { display : none }

/* footer pda table */
  table.footerp    { background-color : #ffffff ;
                     border-style : none }

/* This class controls the style of the pda table */
  td.foot_pda      { text-align : center ;
                     font-size : x-small ;
                     font-weight : bold ;
                     vertical-align : top ;
                     border-style : solid ;
                     border-width : 1px 1px 1px 1px ;
                     border-color : #ffffff #ffffff #ffffff #ffffff }

/* The following classes are used in the Java Script file to allow */
/* the display of logos/graphics at the end of each page. The first */
/* has no border, the second a 1 pixel black border */

  td.auth          { background-color : #ffffff ;
                     text-align : center ;
                     font-size : x-small ;
                     vertical-align : middle ;
                     border-style : solid ;
                     border-width : 0px 0px 0px 0px ;
                     border-color : #000000 #000000 #000000 #000000 }

  td.auth_border   { background-color : #ffffff ;
                     text-align : center ;
                     font-size : x-small ;
                     vertical-align : middle ;
                     border-style : solid ;
                     border-width : 1px 1px 1px 1px ;
                     border-color : #000000 #000000 #000000 #000000 }

/*
  The following apply to tables in footer and header files used by NERS 
*/
/*  table.menu	{	background-color: #ffffff }*/
  td.menu	{	width: 24%;
			background-color: #9999ff;
			text-align: center;
			font-size: x-small;
			vertical-align: top;
			border-style: solid;
			border-width: 0px 1px 1px 0px;
			border-color: #ffffff #000000 #000000 #ffffff }
  td.pdf_menu   {	width: 33%;
			background-color: #cccccc;
			text-align: center;
			font-size: x-small;
			vertical-align: top;
			border-style: solid;
			border-width: 0px 1px 1px 0px;
			border-color: #cccccc #cccccc #cccccc #cccccc }

