/** General
 **/
body  { background-color: white; color: black;
	font-family: Arial,Helvetica,Geneva,Sans-Serif,Verdana;
	font-size: 90%;
	margin: 0 10px 0 10px; }
.caption  { margin: 0 0 2px 0; padding: 0;		/* for photos */
	    text-align: center; font-size: 8pt; }
.hac	  { text-align: center; }
.hal	  { text-align: left; }
.har	  { text-align: right; }
.vac	  { vertical-align: middle; }
.vat	  { vertical-align: top; }
.hidden   { display: none; }
.error	  { color: red; }
.success  { color: green; }

a	{ text-decoration: none; }
a:hover	{ text-decoration: underline; }
dfn	{ font-weight: bold; font-style: italic; }
img	{ border-style: none; }
img.icon  { height: 2ex; }				/* entry banner in a list */

dl	{ margin-top: 0.5em; margin-bottom: 0.2em; }
dt	{ margin-top: 0.4em; margin-bottom: 0; }
dd	{ margin-left: 3em; margin-bottom: 0; 
	  font-size: 0.9em; }
form	{ margin-top:0; margin-bottom:0; font-size:100%; }
/*form button   { font-size: 9pt }*/

/* 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.4em 0 0.3em 0; padding: 0;
		font-size: 110%; font-weight: bold; }
h4            { margin: 0.4em 0 0.2em 0; padding: 0;
		font-size: 100%; font-weight: bold; }
body.standings h4 { margin-top: 0.5em; padding: 0.2em;  	/* standings division */
		    background-color: silver; }
h5            { margin: 0.4em 0 0 0; padding: 0;		/* standings group */
		font-size: 100%; font-weight: bold; }

noscript      { font-family: Courier; font-size: 6pt }
p	      { margin: 0.8em 0 0 0; }
body.standings p { margin-top: 0.2em; }
q	      { quotes: "\00ab" "\00bb"; }

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') }

table { margin: 2px 0 0 0; padding: 0;
	empty-cells: show;
	border-collapse: collapse; border: 1px solid silver; }

th    { padding: 0.2em;
	border-right: 1px solid silver;
	text-align: center; font-size:80%; }
td    { padding: 0.2em;
	border-top: 1px solid silver; border-right: 1px solid silver; }
td.dir			/* for federation and tournament names */
      { padding-right: 18px;				/*margin-right: 5px;*/
	background: white url('theme/dir.png') no-repeat right center; }
/*td a     { text-decoration:none }
td a:hover { text-decoration:underline }*/
 /* IE 5.5 BAD: cannot draw borders around thead and tbody */

/* Tournament and match statuses along with footnote colors */
.tbd		{ color: #F90 }		/* for tournament, not match */
.ready		{ color: #990 }		/* yellow */
.canceled	{ color: #933 }
.closed		{ color: red  }
.running	{ color: green }
.finished	{ color: gray }
td.tbd		{ color: black; background-color: #FC0 }
td.ready	{ color: black; background-color: #FF9 }
td.canceled, td.closed
		{ color: black; background-color: #FCC }
td.running 	{ color: black; background-color: #CFC }
td.finished	{ color: black; background-color: #CCC }

/** Tabs for site name and small logo on the very right tab
 **/
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; }

div#Footer    { clear: both;
		margin: 5px -8px 0 -8px; padding: 10px;
		color: #666;
		background: #dedede url('theme/sports.png') repeat;
		font-size: 12px! important; text-align: center; }
div#Footer a, div#footerp
	      { color: #666 }
div#Footer div.copy
	      { float:left; padding:8px 10px 0 10px; text-align:center; }
div#Footer div.counters 		/* Russian footer provides counters */
	      { padding:2px 4px; text-align:right; }
						/* Portal generated only */
div#footerp   { clear: both;
		margin: 5px -8px 0 -8px; padding: 0 10px 0 10px;
		color: #666;
		background: #dedede url('theme/footerp.png') repeat-x;
		font-size: 12px! important; text-align: center; }
div#footerp img	{ vertical-align: -8px; }	/* doesn't work in IE5.5 */

/** MANUALLY PREPARED PAGES ONLY
 **/
/*li.album	{ list-style-image: url('theme/album.png'); }*/
li.excel 	{ list-style-image: url('theme/excel.png'); }
/*li.forum	{ list-style-image: url('theme/forum.png'); }*/
li.html		{ list-style-image: url('theme/html.png'); }
/*li.mp3	{ list-style-image: url('theme/mp3.png'); }*/
li.pdf		{ list-style-image: url('theme/pdf.png'); }
li.text		{ list-style-image: url('theme/text.png'); }
li.video	{ list-style-image: url('theme/video.png'); }
li.word		{ list-style-image: url('theme/word.png'); }

/** TOURNAMENT PORTAL
 **/
.right       { display: block; float: right; }
.printable   { font-size: 12px; }		/* a la li.special */
div#Turlogos { float:right; clear:right; margin:5px 0 5px 5px;
	       text-align:center; }

/* Tabs for tournament sections */
div#tabt { height: 32px; overflow: hidden;  /* don't line through Turlogos */
	   margin: 0 -10px 0 -10px;			/* width: 104%;*/
	   background: url('/theme/tabs_bg.png') repeat-x; }
div#tabt ul
      { list-style: none; overflow: hidden; width: 100%; 
	margin: 0 0 0 15px; padding:0; }
div#tabt 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#tabt ul li img { vertical-align: -4px; } */
div#tabt ul li a
      { display: block;	padding: 3px 10px;
	text-align: center; text-decoration: none;
	background: url('/theme/tabs_left.png') no-repeat left top; }
 /*div#tabt ul a:link, div#tabt ul a:visited { color: #0174e5; }*/
div#tabt ul li a:hover
      { text-decoration: underline }
div#tabt ul li.selected
      { background: #E5E5E5 url('/theme/tabs_right_selected.png')
	no-repeat right top; }
div#tabt ul li.selected div
      {	display:block; line-height:32px; padding: 3px 10px;
	text-align:center;
	background: url('/theme/tabs_left_selected.png') no-repeat left top; }
div#tabt ul li.selected a		/* clickable current tab */
      {	background: url('/theme/tabs_left_selected.png') no-repeat left top; }
div#tabt ul li.special		/* e.g. printed version right-aligned */
      { float:right; line-height:16px;	/*width:150px; margin-left:100px; */
	padding:10px 3px; margin-right: 4%; 
	background:none;
	text-align:right; font-size:12px; font-weight:normal; }
div#tabt ul li.special a
      { display:inline; padding:0; background:none; }

table.noborder		 { border-style: none; }
table.noborder td	 { border-style: none; padding: 2px 5px;}
table.noborder td.inset  { border-style: inset; font-weight: bold; }
table.noborder td.outset { border-style: outset; }
/*table.noborder td.outset a { text-decoration: none; } */

table.datasheet	  	   { width: 100%; }		/* ñïèñîê ó÷àñòíèêîâ */	
table.datasheet td.weighed { background-color: #9F9 } 	/* ó÷àñòíèê âçâåøåí */

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-style: none; }	/*{ border: 1px solid silver; }*/
table.zebra tbody th.hal { font-size: 90%; }	/* leftmost cell (division) closer to h4 */
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 timetable. More classes obtained from status: plan, schcedule */
table.calendar	{ float:right; 
		  border-collapse: separate; border-spacing: 4; 
		  border: 0 none; }
table.calendar td
		{ border-left: 1 solid #666; border-right: 1 solid #666; 
		  border-top: 1 solid #666; border-bottom: 3 dotted #666;
		  margin: 0; }
table.timetable	{ width: 100%; /*clear: rigth;*/
		  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 }	/* more statuses for td.slot, td.time */
td.suspend	{ color: black; background-color: #FCC } /* îòëîæåí */
.announcement	{ color: brown }
td.announcement	{ color: black; background-color: #FF9 } /* îáúÿâëåíèå */
/*td.disqual	{ color: black; background-color: #CCC } * äèñêâàëèôèêàöèÿ */

p.TimeCellHead  { padding: 0 0 0 0; margin: 0 0 1 0; text-align: justify;
		  font-size: 80% }
span.winner     { font-weight: bold; }			/* òàêæå äëß ïðèç¸ðîâ */
span.loser      { font-weight: normal; }
span.vs	        { font-size: 80% }		/* vs èëè ñ÷¸ò ïðè íîðìàëüíîé âûñîòå êëåòî÷êè */
span.score      { color: black }		/* ñ÷¸ò, êîãäà âûñîòà - ôîðìà */

/** ENTRIES: Boxes are just under the tabs bar
 **/
#Loginbar { /*float: right; margin: 32px 0 0 0;*/
            position: absolute; top: 32px; right: 0; z-index: 2; margin: 0;
	    padding: 2px;
	    max-width: 30%;
	    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; }
				/* last login time - for demo with phpBB only */
#Datebar  { position: absolute; top: 32px; 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; }
							/* under Loginbar */
#Fedlogo     { position: absolute; top: 8em; right: 0;  margin: 0; }
#Fedlogo img { margin: 5px 0 5px 5px; border-style: none; }
/*div.right-logo { float:right; margin: 1px 0 1px 10px; }*/

.PoweredBy    {	padding: 1px;
		color: Olive;
		font-size:12px! important;
		text-align: center; }
.PoweredBy img { vertical-align: -8px; }
