#cupstage td, #cupstage th { white-space:nowrap; }
#cupstage td.invisible0 { border: 0px; background: #FFF; }
#cupstage td.invisible1 { border: 0px; background: #FFF; }
#cupstage th.invisible0 { border: 0px; background: #BFB; }
#cupstage th.invisible1 { border: 0px; background: #BFB; }
#cupstage th.hilite, #cupstage td.hilite, #cupstage th.hilite0, #cupstage td.hilite0, #cupstage th.hilite1, #cupstage td.hilite1 { border: 0px; background: #F0F8FF; font-weight: bold; }
#cupstage th.hilite { background: #F0F8FF; }
#cupstage td.hilite { background: #F0F8FF; }
#cupstage td.hilite0 { background: #F0F8FF; }
#cupstage td.hilite1 { background: #F0F8FF; }
#cupstage th.hilite0 { background: #BFF; }
#cupstage th.hilite1 { background: #BFF; }
#cupstage th.topbracket,#cupstage th.bottombracket,#cupstage th.rightbracket,#cupstage td.topbracket,#cupstage td.bottombracket,#cupstage td.rightbracket { border: #CCC 2px solid; }
#cupstage th.topbracket,#cupstage th.bottombracket,#cupstage th.rightbracket,#cupstage td.topbracket,#cupstage td.bottombracket,#cupstage td.rightbracket { border-right: #CCC 1px solid; }
#cupstage th.topbracketwin,#cupstage th.bottombracketwin,#cupstage th.rightbracketwin,#cupstage td.topbracketwin,#cupstage td.bottombracketwin,#cupstage td.rightbracketwin  { border: #CCC 2px solid; }
#cupstage th.topbracket,#cupstage th.topbracketwin,#cupstage td.topbracket,#cupstage td.topbracketwin {border-bottom: 0px;}
#cupstage th.bottombracket,#cupstage th.bottombracketwin,#cupstage td.bottombracket,#cupstage td.bottombracketwin { border-top: 0px;}
#cupstage th.rightbracket,#cupstage th.rightbracketwin,#cupstage td.rightbracket,#cupstage td.rightbracketwin { border-top: 0px; border-bottom: 0px; border-left: 0px; }
#cupstage th.topbracket,#cupstage th.bottombracket,#cupstage th.topbracketwin,#cupstage th.bottombracketwin,#cupstage td.topbracket,#cupstage td.bottombracket,#cupstage td.topbracketwin,#cupstage td.bottombracketwin { border-left: 0px; } 
#cupstage td.topline,#cupstage td.bottomline { min-width: 0px; width: 24px; border: 0px; padding: 0 3px;}
#cupstage td.topline { border-top: #CCC 2px solid }
#cupstage td.bottomline { border-bottom: #CCC 2px solid }
#cupstage th.win,#cupstage td.win { background: #CFC;}
#cupstage th.lose,#cupstage td.lose { background: #FCA;}
#cupstage td.gameleft { width: 11px; background: url(/s/stat/img/gameleft.png) right no-repeat; border-top: #CCC 2px solid; border-bottom: #CCC 2px solid;}
#cupstage td.gameright { width: 11px; background: url(/s/stat/img/gameright.png) left no-repeat; }
#cupstage th.teamwin,#cupstage td.teamwin { background: url(/s/stat/img/statteamframewinmid.png) center repeat-x;}
#cupstage th.teamlose,#cupstage td.teamlose { background: url(/s/stat/img/statteamframelosemid.png) center repeat-x;}
#cupstage td.win,#cupstage td.lose,#cupstage th.win,#cupstage th.lose,#cupstage td.teamwin,#cupstage td.teamlose,#cupstage td.teamwinleft,#cupstage td.teamwinright,#cupstage td.teamloseleft,#cupstage td.teamloseright {border: 0px; padding: 0px 1px; text-align: center; }
#cupstage th.draw,#cupstage td.draw { background: #CCC; border: 0px; text-align: center; }
#cupstage td.teamwinleft,#cupstage td.teamwinright,#cupstage td.teamloseleft,#cupstage td.teamloseright{min-width: 9px; padding: 0; margin: 0;}
#cupstage td.teamwinleft {background: url(/s/stat/img/statteamframewinleft.png) right no-repeat;}
#cupstage td.teamwinright {background: url(/s/stat/img/statteamframewinright.png) left no-repeat;}
#cupstage td.teamloseleft {background: url(/s/stat/img/statteamframeloseleft.png) right no-repeat;}
#cupstage td.teamloseright {background: url(/s/stat/img/statteamframeloseright.png) left no-repeat;}
#cupstage td.layercap,#cupstage td.sellayercap {text-align: center; }
#cupstage td.sellayercap {font-weight: bold;}
#cupstage td.roundcap,#cupstage td.roundcapleft,#cupstage td.roundcapright {border: 0px; padding: 3px; font-size: 14px; height:24px;}
#cupstage td.roundcap {text-align: center; background: url(/s/stat/img/roundcapmid.png) center repeat-x;}
#cupstage td.roundcapleft {background: url(/s/stat/img/roundcapleft.png) right no-repeat;}
#cupstage td.roundcapright {background: url(/s/stat/img/roundcapright.png) left no-repeat; width: 96px;}
#cupstage td.scorecap {background: #CCC; text-align: center; }
#cupstage a {color: black;}
#cupstage .wide {width: 200px; text-align: center; }
