/*  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 */
  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:medium }
/*  body { background-image: url(./event_files/NERS_background.gif) } */
  body		{	background-color: #cccccc }

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

/* Settings for tables generatedby webmake*/
  table.tcs	{	background-color: #ffffcc;
/* 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 */
 			border-style: solid;
			border-width: 1px 2px 1px 1px;
			border-color: #000000 #000000 #000000 #000000 }

   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:right }

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

/* new classes for use where postion column head is split into 2 rows */
  th.pos1	{	text-align:center;
			border-style: solid;
			border-width: 1px 0px 0px 1px;
			border-color: #000000 #000000 #000000 #000000 }

  th.pos2	{	text-align:center;
			border-style: solid;
			border-width: 0px 0px 1px 1px;
			border-color: #000000 #000000 #000000 #000000 }

  th.diff	{	text-align:center }

/* new classes for use where difference column head is split into 2 rows */
  th.diff1	{	text-align:center;
			border-style: solid;
			border-width: 1px 0px 0px 1px;
			border-color: #000000 #000000 #000000 #000000 }

  th.diff2	{	text-align:center;
			border-style: solid;
			border-width: 0px 0px 1px 1px;
			border-color: #000000 #000000 #000000 #000000 }

  th.penalty	{	text-align:right }

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

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

  th.codriver	{	text-align:left;
			vertical-align: middle }

  th.car	{	text-align:left;
			vertical-align: middle }

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

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

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

  th.town	{	text-align:left }

  th.entrant	{	text-align:left }

  th.reason	{	text-align:left }

  th.nat	{	text-align:left }

  th.group	{	text-align:left }

  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:right }

  td.pos	{	text-align:right }

  td.penalty	{	text-align:right }

  td.total	{	text-align:right }

  td.driver	{	text-align:left }

  td.codriver	{	text-align:left }

  td.car	{	text-align:left }

  td.crew	{	text-align:left }

  td.class	{	text-align:right }

  td.town	{	text-align:left }

  td.entrant	{	text-align:left }

  td.reason	{	text-align:left }

  td.nat	{	text-align:left }

  td.group	{	text-align:left }

/*
  The following apply to tables in footer and header files used by NERS */
/*  table.menu	{	background-color: #ffffff }*/
  td.menu	{	width: 33%;
			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 }
