/*-----------------------------------------------------*/
/* The definitive TTT match table stylesheet, Dec 2008 */
/*-----------------------------------------------------*/
.RR_Table, .RR_Table td {
	border:				1px solid #FF0000;
	border-collapse:	collapse;
	}
/* Player information */
.RR_IndexL, .RR_IndexR {
	padding-left:		5px;
	padding-right:		6px;
	text-align:			right;
	}
.RR_NameL, .RR_NameR {
	padding-left:		5px;
	padding-right:		5px;
	}
/*----------------------------*/
/* Match result cells */
.RR_MatchSelf, .RR_MatchMissing, .RR_MatchStarted, 
.RR_MatchWonS, .RR_MatchWonG,    .RR_MatchWonBg, 
.RR_MatchLost, .RR_MatchLostF,   .RR_MatchWonF {
	width:				2.2em;
	padding-left:		0.25em;
	padding-right:		0.25em;
	text-align:			center;
	cursor:				pointer;
	}
.RR_MatchSelf, .RR_MatchMissing {
	cursor:				default;
	}
.RR_MatchSelf a, .RR_MatchMissing a, .RR_MatchStarted a, 
.RR_MatchWonS a, .RR_MatchWonG    a, .RR_MatchWonBg   a, 
.RR_MatchLost a, .RR_MatchLostF   a, .RR_MatchWonF    a {
	display:			block;
	width:				100%;
	text-decoration:	none;
	}
.RR_MatchSelf a:hover, .RR_MatchMissing a:hover, .RR_MatchStarted a:hover, 
.RR_MatchWonS a:hover, .RR_MatchWonG    a:hover, .RR_MatchWonBg   a:hover, 
.RR_MatchLost a:hover, .RR_MatchLostF   a:hover, .RR_MatchWonF    a:hover {
	font-weight:		bold;
	text-decoration:	underline;
	}
/*----------------------------*/
/* Standard colours for results */
.RR_MatchMissing	{ background: #FFFCFC; color: #FF0000; font-weight: bold; }
.RR_MatchSelf		{ background: #E0E0E8; }
.RR_MatchStarted	{ background: #F2FDF2; }
.RR_MatchWonS		{ background: #CCFFCC; }
.RR_MatchWonG		{ background: #FFFFBB; }
.RR_MatchWonBg		{ background: #FFD848; }
.RR_MatchWonF		{ background: #FFE864; }
.RR_MatchLost		{ background: #FFD8D8; }
.RR_MatchLostF		{ background: #FFD0D0; }
.RR_MatchLostF a	{ color: #CC0000; }

.RR_NewResult {
	border:				2px solid #00FF00;
	font-weight:		bold;
	color:				#0000FF;
	}
/*----------------------------*/
.RR_Head { 
	padding-left:		4px;
	padding-right:		4px;
	text-align:			center;
	}
.RR_HeadSection {
	padding-left:		4px;
	padding-right:		4px;
	text-align:			center;
	}
.RR_HeadPlayed,  .RR_HeadPlayedAll, 
.RR_HeadWins,    .RR_HeadLosses,
.RR_HeadSingles, .RR_HeadGammons, .RR_HeadBgs,
.RR_HeadPointsW, .RR_HeadPointsL, .RR_HeadPoints,
.RR_HeadAverage, .RR_HeadWinloss, .RR_HeadSBScore {
	width:				1.9em;
	padding-left:		4px;
	padding-right:		4px;
	text-align:			center;
	}
.RR_HeadAverage {
	width:				2.5em;
	}
/*----------------------------*/
/* Scores and stats */
.RR_ValuePlayed,  .RR_ValuePlayedAll,
.RR_ValueWins,    .RR_ValueLosses,  
.RR_ValueSingles, .RR_ValueGammons, .RR_ValueBgs,
.RR_ValuePointsW, .RR_ValuePointsL, .RR_ValuePoints,
.RR_ValueAverage, .RR_ValueWinloss, .RR_ValueSBScore {
	padding-left:		8px;
	padding-right:		5px;
	text-align:			center;
	white-space:		nowrap;
	}
.RR_ValuePlayed, .RR_ValuePlayedAll {
	background:			#FFFFFF; 
	padding-left:		12px;
	}
.RR_ValuePlayedAll {
	background:			#E0E0E0; 
	}
.RR_ValueWins {
	background:			#FFFFFF;
	}
.RR_ValueLosses {
	background:			#FFD8D8;
	}
.RR_ValueSingles {
	background:			#CCFFCC;
	}
.RR_ValueGammons {
	background:			#FFFFBB;
	}
.RR_ValueBgs {
	background:			#FFD848;
	}
.RR_ValueSBScore {
	background:			#FFFFFF;
	}
.RR_ValuePointsW {
	qwidth:				2.2em;
	padding-right:		0.5em;
	background:			#CCFFCC;
	text-align:			right;
	}
.RR_ValuePointsL {
	qwidth:				2.2em;
	padding-right:		0.5em;
	background:			#FFD8D8;
	text-align:			right;
	}
.RR_ValuePoints {
	padding-right:		0.5em;
	background:			#CCCCFF;
	text-align:			right;
	font-weight:		bold;
	color:				#444499;
	}
.RR_ValueAverage {
	qwidth:				2.4em;
	background:			#FFFFFF; 
	}
.RR_ValueWinloss {
	qwidth:				1.8em;
	padding-right:		0.6em;
	background:			#FFFFFF; 
	text-align:			right;
	}
/*----------------------------------------------------------------------------*/
/* The customisable table colours */
.G1 .RR_Table, .G1 td {
	border-color:		#101070; /* Dark blue */
	}
/* The indices across the top and the names column */
.G1 .RR_Head,  .G1 .RR_IndexR,
.G1 .RR_NameR, .G1 .RR_NameR a {
	background:			#A0D0A0; /* Light green */
	color:				#106010; /* Dark green */
	text-decoration:	none;
	}
/* The headings of the name and stats colums and the indices down the left */
.G1 .RR_HeadIndexL,  .G1 .RR_HeadIndexR,
.G1 .RR_HeadNameL,   .G1 .RR_HeadNameR,
.G1 .RR_IndexL,      .G1 .RR_NameL,       .G1 .RR_NameL a, 
.G1 .RR_HeadPlayed,  .G1 .RR_HeadPlayedAll,
.G1 .RR_HeadWins,    .G1 .RR_HeadLosses,  
.G1 .RR_HeadSingles, .G1 .RR_HeadGammons, .G1 .RR_HeadBgs,
.G1 .RR_HeadPointsW, .G1 .RR_HeadPointsL, .G1 .RR_HeadPoints,
.G1 .RR_HeadAverage, .G1 .RR_HeadWinloss, .G1 .RR_HeadSBScore {
	background:			#008850; /* Dark green */
	color:				#FFE038; /* Yellow */
	color:				#FFE660; /* Lighter yellow */
	text-decoration:	none;
	}
.G1 .RR_NameL a:hover, .RR_NameR a:hover {
	color:				#0050C0; /* Menu divLinks colour - too dark */
	color:				#FFFFFF; /* White */
	text-decoration:	underline;
	}
/*==============================================*/
/* Override non-default border sizes.
   Needs the .G# selector for some reason and 
   must therefore occur for every individual table. :-/
*/
.G1 .RR_Table {
	border-width:			2px;
	}
.G1 .RR_HeadIndexL, .G1 .RR_HeadIndexR, .G1 .RR_IndexL,
.G1 .RR_HeadNameL,  .G1 .RR_HeadNameR, {
	border:					0;
	}
.G1 .RR_HeadNameL,  .G1 .RR_NameL {
	border-width:			0 0 0 2px; /* Left */
	}
.G1 .RR_NameR {
	border-width:			0 2px 0 0; /* Right */
	}
.G1 .RR_IndexR {
	border-width:			0 2px 0 1px; /* Right, Left */
	}
.G1 .RR_Head {
	border-width:			0 0 2px 0; /* Bottom */
	}
.G1 .RR_HeadPlayed,  .G1 .RR_HeadPlayedAll,
.G1 .RR_HeadWins,    .G1 .RR_HeadLosses,
.G1 .RR_HeadSingles, .G1 .RR_HeadGammons, .G1 .RR_HeadBgs,
.G1 .RR_HeadPointsW, .G1 .RR_HeadPointsL, .G1 .RR_HeadPoints,
.G1 .RR_HeadAverage, .G1 .RR_HeadWinloss, .G1 .RR_HeadSBScore {
	border-bottom-width:	2px;
	}
.G1 .RR_HeadSection,
.G1 .RR_HeadPlayed,  .G1 .RR_HeadSingles,  .G1 .RR_HeadPlayedAll,  .G1 .RR_HeadPoints,
.G1 .RR_ValuePlayed, .G1 .RR_ValueSingles, .G1 .RR_ValuePlayedAll, .G1 .RR_ValuePoints {
	border-left-width:		2px;
	}
.G1 .RR_HeadPoints,  .G1 .RR_ValuePoints,
.G1 .RR_HeadWinloss, .G1 .RR_ValueWinloss {
	border-right-width:		2px;
	}
/*----------------------------------------------------------------------------*/
