table,tr,td,th { padding: 0.3em; border-collapse: collapse; border: 1px solid black; }

tr.nonmember { font-style: italic; background: gray; }
tr.nav { text-align: center; }

/*body { background: white; color: black; }*/

table.clangrid td { width: 3em; height: 3em; padding: 0px; text-align: center; }

td.ahead { background: palegreen; }
td.behind { background: tomato; }
td.nogames { background: gray; }
tr.won { background: palegreen; }
tr.lost { background: tomato; }
tr.qualified { background: palegreen; }

a { color: blue; text-decoration: underline; }

table.brawldraw { text-align: center; }
tr.players_top, tr.players_top td { border-bottom: none; }
tr.players_bottom, tr.players_bottom td { border-top: none; }
tr.games, tr.games td { border-top: none; border-bottom: none; }
td.player_won { background: green; }
td.clan_won { background: green; }
td.clan_won a { color: lightgreen; }
td.player_lost { background: tomato; }
td.clan_lost { background: tomato; }
td.clan_lost a { color: darkred; }
td.player_white, td.player_white a { color: white; }
td.player_black, td.player_black a { color: black; }
td.clan_unplayed { background: gray; }
td.clan_unplayed a { }
td.player_unplayed { background: gray; }
