/*
   Style Sheet specific to content frame of SAFDA site
*/

body {  
  margin-left: 5%; 
  margin-right: 5%
}

/*
   The properties of the table that surrounds everything on every page
*/
TABLE.content
{
  width: 100%;
  background: #EEEEFF;
  color: #000000;
  border-style: solid;
  border-width: 2px;
  border-color: #660000
}

TABLE.competitions
{
  border-color: white;
  border-type: solid;
  border-collapse: collapse;
  empty-cells: show;
  border-spacing: 0;
  padding: 0;
  border: 0;
}

INPUT.buttons
{ 
  background: #FFFFFF;
  color: #000099;
  border-color: red;
  font-weight: bold;
  font-size: 9;
  border-width: 1px
}

INPUT.buttonsdisabled
{
  background: #999999;
  color: #000022;
  border-color: red;
  font-weight: bold;
  font-size: 9;
  border-width: 1px
}

.badvalue
{ 
  background: #FF3300
}

/* Format for the results tables */
TABLE.results
{ 
  border-style: solid;
  border-color: #660000;
  border-width: 2px
}

/* for the matchup column (eg "teamA def teamB")*/
TD.matchup 
{ 
  width: 300px;
  font-size: smaller
}

/* for stats columns */
TD.stat
{ 
  text-align: center;
  font-size: smaller
}

/* Percentage column */
TD.prcnt
{ 
  font-size: smaller;
  text-align: right
}

/* for team name columns */
TD.team
{ 
  font-size: smaller
}

/*
   News and forum properties
*/
/* Format for news/forum heading cells */
TH.news
{ 
  vertical-align: top;
  background: #000044
}
/* Alternate colour for news/forum cells */
TD.news2
{ 
  vertical-align: top;
  background: #005500;
  padding: 5px
}

/* Format for news/forum text cells */
TD.news
{
  vertical-align: top;
  background: #003300;
  padding: 5px
}

/* Format for count of threads, mesages */
TD.count
{ 
  background: #003300;
  text-align: center
}

/* Format for count of threads, mesages */
TD.count2
{ 
  background: #005500;
  text-align: center
}


/* Format for message info panel */
TD.msginfo
{ 
  background: #330033;
  vertical-align: top;
  font-size: xx-small;
  padding: 5px
}

/* Other format for message info panel */
TD.msginfo2
{ 
  background: #550055;
  vertical-align: top;
  font-size: xx-small;
  padding: 5px
}

/* Format for Latest post cell in thread table */
TD.lastpost
{
  vertical-align: top;
  width: 20%;
  text-align: left;
  background: #330033;
  font-size: xx-small;
  padding: 5px
}

/* Other format for Latest post cell in thread table */
TD.lastpost2
{
  vertical-align: top;
  width: 20%;
  text-align: left;
  background: #550055;
  font-size: xx-small;
  padding: 5px
}

/* Font for message text */
DIV.messagetext
{ 
  font-size: smaller
}

/* By column cell (for news admin area) */
TD.bycol
{ 
  font-size: small;
  background: #330033
}

/* Date column cell (for news admin area) */
TD.newsdate
{ 
  font-size: small;
  background: #000044
}

/*
   Really small text
*/
DIV.microtext
{ 
  font-size: xx-small
}


/* The apperance of the voting box */
TABLE.votingbox
{ 
  width: 100%;
  color: #000000;
  font-size: x-small;
  border-style: solid;
  border-color: #660000;
  background: #FFFFFF;
  vertical-align: middle
}
/* voting box heading */
TH.votingbox
{ 
  color: white;
  background: #660000
}
/* voting box cells */
TD.votingbox 
{
  color: black;
  font-size: x-small;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  background: white
}

.compulsory
{ 
  color: red;
  font-weight: bold;
}

.error
{ 
  color: red;
  font-size: larger;
}

