/*
Colours used:
#000 = black
#360 = dark green
#390 = mid green
#666 = grey (news subheadings)
#fff = white
#c00 = 
#cf6
#cef
#f00 = red
#ddd
#eee
#006
#69e
#030
#cc3
#ff9
#060
#930 = red-brown (news hover)
*/
body, td, input, select, textarea {
  font-size: 10pt;
  font-family: "Verdana", "Geneva", "Arial", Helvetica, sans-serif;
}

body {
  margin-top: 0;
  margin-left: 0;
  margin-right: 8px;
  color:#000;
  background-color:#fff;
}

p {
  font-size: 10pt;
  margin-top: 0;
  margin-bottom: 0.5em;
}

p.teaser {
  margin-top: 0;
}

.note, .note td, textarea.note, .note p, .note a { font-size: 8pt }

h1 {
  font-size: 24pt;
  text-align: center;
  font-weight: normal;
  letter-spacing: 0em;
  margin-bottom: 8px;
}

h2 {
  text-align: left;
  font-weight: normal;
  letter-spacing: 0;
}

h3 {
  font-weight: normal;
  letter-spacing: 0em;
  margin-bottom: 0em
}

.news h2 {
  font-family: "Comic Sans MS", Arial, Helvetica, sans-serif;
  font-size: 14pt;
  margin-top: 0;
  margin-bottom: 0;
}

.calendar_date, .news_category {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 8pt;
  color: #666;
  margin-bottom: 0;
  margin-top: 1em;
}

/* used in /includes/index.php */
table.indexbox {
	float: right;
	border: thin solid gray;
	margin-left: 10px;
}

.indexheading {
  font-weight: bold;
  color: #c30;
  text-align: center;
}

a:link, a:visited, a:active { text-decoration: none }
a:hover { text-decoration : underline; }
a:link {color:#390 }
a:visited {color:#360}
a:hover, a:active {color:#930}

ul, dl, ol {
  margin-top: 0;
}

li:before, dt:before {
  marker-offset: 4px;
}

img {
  border: 0;
}

img.photo {
  border: 1px solid black;
}

table {
  border-collapse: collapse;
  empty-cells: show;
  border-spacing: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

td {
  text-align: left;
  vertical-align: top;
  padding: 0;
}

table.rowborders {
  border: 1px solid gray;
}

/* only needs to be table.rowborders td? */
.rowborders td {
  border-width: 1px 0 1px 0;
  border-style: solid;
  border-color: gray;
  padding: 0 4px;
}

tr {
  color: black;
} /* ??? */

tr.heading {
  background-color: #cf6;
  font-weight: bold;
  text-align: center;
}

/* only used in browsemembers */
tr.subheading {
  background-color: #cef;
  font-weight: bold;
  text-align: left;
}

tr.error {
  background-color: #ddd;
  color: #f00;
  font-weight: bold;
  text-align: center;
}

/* typically span or div */
.error {
  color: red;
  text-align: center;
}

/* used in photoalbum - only needs to be table.cellborders td? */
.cellborders td {
  border: 1px solid gray;
}


/* used in display.php - only needs to be table.noborders td? */
.noborders td {
  border: 0;
}

td.link {
  text-align: center;
}

tr.row0 {
  background-color: #eee;
}

tr.row1 {
  background-color: #fff;
}

/* used in tournamentcalendar, showtournament 
shouldn't use col */
col.detailslhs, .detailslhs td {
  font-weight: bold;
  vertical-align: top;
  text-align: right;
}

/* used in tournamentcalendar, showtournament 
shouldn't use col */
col.detailsrhs, .detailsrhs td {
  padding: 10px 20px;
  vertical-align: top;
  text-align: left;
}

/* used in tournamentcalendar 
shouldn't use col */
col.detailsrhstight, .detailsrhstight td {
  padding: 2px 10px;
  vertical-align: top;
  text-align: left;
}

table.button {
  background-color: #69e;
  border-color: #006;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-top-width: 0;
  border-left-width: 0;
}

table.button a:link {
  color: #006;
}
  
hr {
  border: 0;
  height: 2px;
  background-color: #360; color: #360; 
} /* needs both (one for Firefox/Opera, one for IE) */

td.colsep {
  padding: 4px 8px;
}

li {
  margin-top: 0.5em;
}

input.readonly {
  background-color: #ccc;
}

td.hometitle { text-align: center; }
td.hometitle a {
	font-size:16pt;
  color: yellow;
} /* this is repeated in header.php as IE6 spits the dummy and makes it green */

div.search {
  font-size: 9pt;
}

/******* Login Box ********/

div.loginbox table.loginbox {
  border-width: 3px;
  border-style: groove;
  border-color: #ccc;
}

table.loginbox, table.loginbox input {
  font-size: 7pt;
  padding: 0;
}

table.loginbox td {
  font-size: 7pt;
	color: white;
}

form.loginform {
  margin: 0;
}

table.loginbox td.logintitle {
  background-color: yellow;
  color: #360;
  text-align: center;
}

table.loginbox input.logininput {
  text-align: left;
  background-color: white;
  color: #360;
}

input.loginbtn {
	font-size: 7pt;
  text-align: center;
  background-color: #cc3;
  color: #030;
  border-top-color: #ff9;
  border-left-color: #ff9;
  border-right-color: #060;
  border-bottom-color: #060;
  cursor: pointer;
}

/*********** end Login Box *********/

input.button {
  text-align: center;
  background-color: #cc3;
  color: #030;
  border-top-color: #ff9;
  border-left-color: #ff9;
  border-right-color: #060;
  border-bottom-color: #060;
  cursor: pointer;
}

table.main {
  border-width: 0 2px 2px 0;
  border-style: solid; 
  border-color: #360;
  background-repeat:repeat-y; 
  background-image:url("../images/bg_vert.png");
}

td.maincolleft {
  background-repeat:no-repeat; 
  background-image:url("../images/bg_corner.png");
  background-position:0px 0px;
}

table.menu {
  background-color: #360;
}

td.maincolright {
	background-image:none;
}

td.toprow {
  background-color: #360;
  color: white;
  text-align: left;
  font-size: 8pt;
  padding: 0;
  height: 34px; 
  background-image:url('../images/bg_horiz.png'); 
  background-repeat: repeat-x; 
}

td.mainbody {
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 8px;
}

td.mainbody ul, dl {
  list-style-image: url("../images/greenstar10.gif");
} /*td.mainbody required for IE7 bug, otherwise it thinks the menu should all have stars too */

.birthday_m { color:lightblue; font-weight:bold; }
.birthday_f { color:pink; font-weight:bold; }	

.center { text-align:center; }
.left { text-align:left; }

dd { margin-bottom: 1em; }

/* The following selectors appear to be unused - at least in the main part of the site (perhaps in TT or Rego)

// used in TT
tr.bannertext {
  background-color: #003399;
  color: #ffffff;
}

td.bannertext {
  color: #ffffff;
}

// used in rego

// not used

td.nopadding {
  padding: 0;
}

.news h4 {
  font-family: "Conga Normal", Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 8pt;
  color: #666;
  margin-bottom: 0;
}

.copyright {font-size: 8pt;  text-align : right;  color : #003399;   }

.calendar h2 {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.calendar h3 {
  margin-top: 0.3em;
  margin-bottom: 0;
}

.tourneydetails td, td.tourneydetails {
  padding: 0 20px 0 20px;
}

table.managetable {
  border-width: 0;
  padding: 3px;
  border-spacing: 1px;
}

.managetable td {
  padding: 0 5px;
}

table.lightborder {
  border-width: 2px;
  border-color: #cedce3 #558097 #558097 #cedce3;
}

table.darkborder {
  border-right-width: 0;
  border-bottom-width: 0;
  border-top-width: 0;
  border-color: #558097;
}

tr.summary {
  font-style: italic;
  background-color: #dddddd;
}

.cellbordersnote td {
  border: 1px solid gray;
  font-size: 8pt;
}

.article {
  color: #000066;
  vertical-align: top;
}

td.upcomingevents {
  background-color: #ffffcc;
  font-weight: bold;
  text-align: center;
  color: #cc0000;
}

.mainheadlines { 
  vertical-align: top ;
  background-color: #ffffff;
}

.ltbackgd {
  background-color: #eeeeee;
}

.multilinetable td {
  padding: 5px 1px;
}

td.menuborder {
  background-repeat: repeat-y;
  vertical-align: top;
  padding: 0;
}

td.menubar {
  background-color: #336600;
  vertical-align: top;
  padding: 0;
}

.topbarrow2 {
  background-position: top;
  background-repeat: repeat-x;
  padding: 0;
}

input.readonlycheck {
  background-color: #cccccc;
  color: #cccccc;
}

*/
