/* COMPATIBILITY: For old tournaments only */
body	      { background-color: white; color: black;
		font-family: Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
		font-size: 90%; 
		margin: 0 10px 0 10px;
		/*border-left: 3px solid #69c;*/
	      }
.hac	      { text-align: center; }
.hal	      { text-align: left; }
.har	      { text-align: right; }
.vac	      { vertical-align: center; }
.vat	      { vertical-align: top; }
.hidden       { display: none }

dfn	      { font-weight: bold; font-style: italic }

			/* h1 is unneeded as tabs serve for them */
h2            { margin: 0.5em 0 0.5em 0;
		padding: 0;
		font-size: 120%; font-weight: bold;  }
h2 span	      { font-size: 80% }
h3            { margin: 0.3em 0 0.3em 0;
		padding: 0;
		font-size: 110%; font-weight: bold; }
h4            { margin: 0.3em 0 0.2em 0;
		padding: 0;
		font-size: 100%; font-weight: bold; }
p	      { margin: 0.8em 0 0 0; }
.caption      { margin: 0 0 2px 0; padding: 0;		/* for fotes */
		text-align: center; font-size: 8pt; }
ol	      { margin-top:0.4em; margin-bottom:0; }
ol.Level2     { margin-top:0.2em; margin-bottom:0; counter-reset:level2 }
li.Level2:before { content: counter(level2,decimal) ") "; counter-increment:level2 }
ul	      { margin: 0.4em 0 0 0; padding: 0 0 0 2em; list-style-image:url('theme/bullet1.gif'); }
ul ul	      { margin-top:0; list-style-image:url('theme/bullet2.gif') }
ol ul	      { margin-top:0; list-style-image:url('theme/bullet2.gif') }
ul ul ul      { margin-top:0; list-style-image:url('theme/bullet3.gif') }

dl	      { margin-top: 0.5em; margin-bottom: 0.2em }
dt	      { margin-top: 0.4em; margin-bottom: 0 }
dd	      { font-size: 0.9em; margin-left: 3em; margin-bottom: 0 }
blockquote    { margin-top: 0; margin-bottom: 0.8em;
		margin-left: 20%; margin-right: 1em; font-size: 0.8em }

img	 { border-style:none }
noscript { font-family: Courier; font-size: 6pt }

div#tabs      { overflow: hidden; width: 102%; height: 32px;
		margin: 0 -10px 0 -10px;
		background: url('theme/tabs_bg.png') repeat-x; }
div#tabs ul   { list-style: none; overflow: hidden; width: 100%; 
		margin: 0 0 0 5px; padding:0; }
div#tabs ul li{ float: left; height: 32px; line-height: 32px; /* width: 100px; */
		margin: 0; 
		font-size: 16px; font-weight: normal;
		background: #E5E5E5 url('theme/tabs_right.png') no-repeat right top; }
div#tabs ul li img
	      { vertical-align: -4px; }
div#tabs ul li a { display: block;
		padding: 3px 10px 3px 5px;
		text-align: center; text-decoration: none;
		background: url('theme/tabs_left.png') no-repeat left top; }
/*div#tabs ul a:link, div#tabs ul a:visited { color: #0174e5; }*/
div#tabs ul li a:hover { text-decoration: underline }

div#tabs ul li.selected
	      { background: #E5E5E5 url('theme/tabs_right_selected.png') no-repeat right top; }
div#tabs ul li.selected div
	      {	display:block; line-height:32px; padding: 3px 10px 3px 5px;
		text-align:center;
		background: url('theme/tabs_left_selected.png') no-repeat left top; }

/* E.g. printed version right-aligned */
div#tabs ul li.special
	      { width:150px; line-height:16px;
		margin-left:100px; padding-top:10px;
		background:none;
		text-align:left; font-size:12px; font-weight:normal; }
div#tabs ul li.special a
	      { display:inline; padding:0; background:none; }

div.Rightbar	{ float: right; clear: right;
		  width: 30%; right: 2px; /*244px*/
		  margin: 4px -10px 4px 4px; padding: 4px;
		  background-color: white;
		  border-left: 2px solid silver; 
		  border-bottom: 2px solid silver; }
		  /*border-color: silver;
		  border-left-style: solid; border-top-style: solid;
		  border-right-style: none; border-bottom-style: solid; */
div.Rightbar h2 { margin: -4px -2px 2px -4px; padding: 2px;
		  background-color: #999; color: white;
		  font-size: 90%; text-align: left; }
div.Rightbar h3 { margin: 2px 0 0 0; padding: 0;
		  font-size: 90%; text-align: center; }
div.Rightbar p  { margin: 2px 0 0 0; padding: 0; font-size: 80%; }
div.Rightbar ul { margin: 1px 0 0 25px; padding:0; font-size: 80%; }
div.Rightbar ul li { margin:0; padding:0; } 
div.Rightbar hr	{ color: silver; }
div.Rightbar table { border: 1px solid silver; }
div.Rightbar table td { border: 1px solid silver; font-size:80%; }

.float-right	      { float:right; clear:right; margin: 10px 2px 10px 10px; }
.float-right img      { margin: 2px 0; border: 1px solid black; }
img.float-right       { border: 1px solid black; }
table.float-right     { border-collapse:separate; border-style:none; border-spacing:1px; }
table.float-right td  { border-style:none; margin:0; padding:0; text-align:center; font-size:8pt; }


.PoweredBy    {	padding: 1px;
		color: Olive;
		font-size:12px! important;
		text-align: center; }
.PoweredBy img { vertical-align: -8px; }

#Footer { clear: both;
	  margin: 10px -8px 0 -9px; padding: 3px 0 3px 4px;
 	  border-top: #bbb 1px solid; border-bottom: #bbb 1px solid;
	  color: #999;
          background-color: #dedede;
	  font-size: 12px! important;
	  text-align: right; }
#Footer a { text-decoration: none; color: #999 }
#Footer a:hover { text-decoration: underline }
div#Footer div.copy     { float:left; padding: 8px 10px 0 10px;
			  text-align:center; }
div#Footer div.counters { padding: 0 4px; text-align:right; }

table#Footer  { width:100%;
		margin: 3px -10px 0 -10px; padding 0;
		border-spacing:0; /*border-collapse:separate;*/ }
table#Footer tr { margin:0; padding:0; vertical-align:center; border: 0; }
table#Footer td { margin:0; padding:0 2px 0 2px; border: 0; }
table#Footer td.counters { text-align:right; }


form		{ margin-top:0; margin-bottom:0; font-size:100%; }

form.Google     { padding: 2px 0 2px 0; text-align:center; font-size: 80%; }
form.Google input { font-family:Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
		    font-size:8pt; font-weight:normal; }
form.Google button { font-size: 9pt; }

table		{ margin: 2px 0 0 0; padding: 0;
		  empty-cells: show;
		  border-collapse: collapse; border: 1px solid silver; }

th	      { padding: 2px;
		border-right: 1px solid silver;
		text-align: center; font-size:80%; }
td	      { padding: 2px;
		border-top: 1px solid silver; border-right: 1px solid silver; }
td a          {	text-decoration:none }
td a:hover    { text-decoration:underline }
			/* IE 5.5 cannot draw borders around thead and tbody */
table.datasheet	{ width: 100%; }
table.noborder	{ border-style: none; }
table.noborder td { border-style: none; }

table.zebra	{ clear: left;
		  border-collapse: collapse;
		  border-style: none; }
table.zebra thead { border: 1px solid silver; background-color: #E0E0E0; }
table.zebra th    { border-style: none; }
		  /*border-bottom: 1px solid silver; 
		  border-right: 0 none; border-left: 0 none;
		  background-color: #E0E0E0; }*/
table.zebra tbody { border: 1px solid silver; }
table.zebra td	  { border-style: none; }
table.zebra tfoot td { border-top: 1px solid silver; }
tr.odd		{ background-color: #F5F5F5; vertical-align: top; }
tr.even		{ background-color: #E7E7E7; vertical-align: top; }

				/* Calendar and tournament page - status color */
.tbd		{ color: #F90 }
.ready		{ color: #CC0 }
.running	{ color: Green }
.canceled	{ color: #C33 }
.finished       { color: Gray }
td.tbd		{ color: Black; background-color: #FC0 }
td.ready	{ color: Black; background-color: #FF9 }
td.running	{ color: Black; background-color: #CFC }
td.canceled	{ color: Black; background-color: #FCC }
td.finished     { color: Black; background-color: #CCC }

				/* Timetable */
table.timetable	   { border: 0 none; border-collapse:collapse; empty-cells:show; }
table.timetable	th { border: 1px solid #CCC; padding: 2px; }
table.timetable	td { border: 1px solid #CCC; padding: 2px; text-align: center; }
table.timetable tfoot td
		{ border-top: 1px solid silver; border-bottom: 0 hidden;
		  border-left: 0 hidden; border-right: 0 hidden; }
.suspend	{ color: Maroon }
td.suspend	{ color: Black; background-color: #FCC } /* отложен */
td.retire	{ color: Black; background-color: #CCC } /* отказ */
td.disqual	{ color: Black; background-color: #CCC } /* дисквалификация */
td.default	{ color: Black; background-color: #CCC } /* неявка */
td.walkover	{ color: Black; background-color: #CCC } /* снялся */
p.TimeCellHead  { padding: 0 0 0 0; margin: 0 0 1 0; text-align: justify; font-size: 70% }
span.winner     { font-weight: bold }
span.loser      { font-weight: normal }
span.vs	        { font-size: 6pt }

/** For Tournamen-Portal-PHP demo
 **/
#Loginbar { position: absolute; top: 0; right: 0; z-index: 2;
	    max-width: 30%;
	    margin: 0; padding: 2px;
	    border: 2px outset #ffffe0; /*#fafafa*/
	    /* border-top: 1px solid black; border-right: 2px solid gray;
	    border-bottom: 2px solid gray; border-left: 1px solid black;*/
	    color: black; background-color: #ffffe0;
	    font-size: 70%; text-align: right; }
#Datebar  { position: absolute; top: 0; right: 0; z-index: 3;
	    margin: 0; padding: 2px;
	    border: 3px outset #ffffe0;
	    /*border-top: 1px solid black; border-right: 2px solid gray;
	    border-bottom: 2px solid gray; border-left: 1px solid black;*/
	    color: black; background-color: #ffffe0;
	    font-size: 70%; text-align: right; }
