/* GENERIC SETTINGS */

   body, th, td { font-family: Arial; font-size: 80%; }

   th, td { padding: 2px 5px 2px 5px; }

   a { color: black; font-weight: bold; text-decoration: none; }
   a:hover { text-decoration: underline; }

   /* Define style for Stat-mail credit - THIS MUST BE VISIBLE ON THE PAGE */
   table tr.credit td { text-align: right; font-size: 75%; font-style: italic; padding-top: 5px; }


/* RESULTS TABLES */

   /* Define style for main table */
   table.fixres { border: solid black 1px; }

   /* Define style for header cells */
   table.fixres th { border: solid white 1px; background: black; color: white; }

   /* Define default style for normal table cells */
   table.fixres td { border: solid white 1px; text-align: center; }

   /* Define default style for odd and even rows */
   table.fixres tr.odd td { background: #eeeeee; }
   table.fixres tr.even td { background: #dddddd; }

   /* Define style for highlighted team */
   table.fixres tr.highlight td { font-weight: bold; }

   /* Define style for notes appearing below results */
   table.fixres td.note { font-size: 75%; font-style: italic; padding-bottom: 4px; border-top-width: 0px; }


/* LEAGUE TABLES */

   /* Define style for main table */
   table.leaguetab { border: solid black 1px; }

   /* Define style for column header cells */
   table.leaguetab th { border: solid white 1px; background: black; color: white; }

   /* Define default style for normal table cells */
   table.leaguetab td { border: solid white 1px; text-align: right; }

   /* Define style for a particular column in the table */
   table.leaguetab td.team { text-align: left; }

   /* Define default style for odd and even rows */
   table.leaguetab tr.odd td { background: #eeeeee; }
   table.leaguetab tr.even td { background: #dddddd; }

   /* Define styles to show promoted, playoffs and relegated teams in table */
   table.leaguetab tr.promoted td { background: #aaddaa; }
   table.leaguetab tr.playoffs td { background: #aaaadd; }
   table.leaguetab tr.relegated td { background: #ddaaaa; }

   /* Define style for highlighted team */
   table.leaguetab tr.highlight td { font-weight: bold; }


/* FORM TABLES */

   /* Define style for main table */
   table.formtab { border: solid black 1px; }

   /* Define style for column header cells */
   table.formtab th { border: solid white 1px; background: black; color: white; }

   /* Define default style for normal table cells */
   table.formtab td { border: solid white 1px; text-align: right; }

   /* Define style for a particular column in the table */
   table.formtab td.team { text-align: left; }

   /* Define default style for odd and even rows */
   table.formtab tr.odd td { background: #eeeeee; }
   table.formtab tr.even td { background: #dddddd; }

   /* Define style for highlighted team */
   table.formtab tr.highlight td { font-weight: bold; }


/* ATTENDANCE TABLES */

   /* Define style for main table */
   table.attendtab { border: solid black 1px; }

   /* Define default style for normal table cells */
   table.attendtab td { padding: 1px 10px 1px 10px; }

   /* Define default style for odd and even rows */
   table.attendtab tr.odd td { background: #eeeeee; }
   table.attendtab tr.even td { background: #dddddd; }

   /* Define style for team name */
   table.attendtab td.team { text-align: right; }

   /* Define style for graph bar (N.B. You need to define this for both odd/even to override above classes) */
   table.attendtab tr.odd td.bar { background: #666666; color: white; text-align: right; font-size: 75%; }
   table.attendtab tr.even td.bar { background: #666666; color: white; text-align: right; font-size: 75%; }

   /* Define style for highlighted team */
   table.attendtab tr.highlight td.team { font-weight: bold; }
   table.attendtab tr.highlight td.bar { background: black; }
