body  { background: white url('theme/bg_navi.png') repeat-y top left;
	color: black; 
	font-family: Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
       	margin: 0 5px 0 150px; }
h1    { overflow: hidden; height:50px; 
	margin: 0 -4px 0 -10px; padding: 0 180px 0 5px;	/* right for Google */
	color: white;
	background: transparent url('theme/bg_h1.png') no-repeat top right;
	font-size: 130%; font-weight: bold; }
		/*background-color: #930;*/
		/* border-bottom: 1px solid #ccc;background-image: url('/theme/bgheading1.png'); background-repeat: repeat; */
h1 a  { color: white }
h2    { font-size: 120%; font-weight: bold; 
	border-bottom: 1px solid #bbb;
	margin: 1.5em -4px 0.5em -9px;
	padding-left: 4px;
        background-color: #9C9; color: White; }
h2.top { height:51px;
	margin: 0 -4px 0 -10px;
	padding-left: 5px; padding-right: 5px;	/* no Google! */
	background: url('theme/bg_h1.png') no-repeat top right;
	color:white;
	font-size:120%; }
h2.shorter{ height: auto; background-color: #9C9; background-image: none; }
h2 a	  { color:white }

h3    { font-size:110%; font-weight:bold;
	margin-top:1em; margin-bottom:0.5em;
	padding:0.1em; }
h4    { font-size:100%; font-weight:bold; 
	margin-top:1em; margin-bottom:0.3em }

p    	{ margin-top:0.8em; margin-bottom:0; }

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	      { list-style-image: url('theme/bullet2.gif') }
ol ul	      { margin-top:0; list-style-image: url('theme/bullet2.gif') }
ul ul ul      { list-style-image: url('theme/bullet3.gif') }

ul.enum	      { list-style-type:none; list-style-image:none; }
ol.main       { margin-left:2em; padding:0; }
ol.main li    { margin:0.5em 0 0.5em 0; }

/*li.album{ list-style-image: url('theme/album.png'); }*/
li.forum{ list-style-image: url('theme/forum.png'); }
/*li.mp3	{ list-style-image: url('theme/mp3.png'); }*/
li.pdf	{ list-style-image: url('theme/pdf.png'); }
/*li.video{ list-style-image: url('theme/video.png'); }*/
li.word	{ list-style-image: url('theme/word.png'); }

dl	      { margin: 0.5em 0 0.2em 0; }
dt	      { margin: 0.4em 0 0 0; }		/* IE requires closing tag and work like blockquote */
dd	      { margin: 0 0 0 3em; font-size: 0.9em; }
dd ul	      { margin:0; }

blockquote    { margin-top: 0; margin-bottom: 0.8em;
		margin-left: 20%; margin-right: 1em; font-size: 0.8em }

table	      { /*border-collapse:collapse; border: 2px solid silver;*/
		padding:0; margin: 2px 0 0 0; font-size:1em; }
th	      { padding:2px; font-size:80%; }			/*border-right: 1px solid silver;*/
td	      { padding:2px; } /*border-top: 1px solid silver; border-right: 1px solid silver;*/
td a          {	text-decoration:none }
td a:hover    { text-decoration:underline }
.odd	      { background-color:#F5F5F5; vertical-align:top; }
tr.even	      { background-color:#E7E7E7; vertical-align:top; }

table.noborder     { border-style:none; }
table.noborder td  { border-style:none; padding: 0 4px 0 4px; }

form	      { margin-top:0; margin-bottom:0; }
form button   { font-size: 9pt; }
input[type="submit"] { font-size: 9pt }
input[type="reset"]  { font-size: 9pt }
input.bot_hook  { display: none; }	/* used on capture pages */

dfn.Titled	{ border-bottom: thin dotted teal }
img		{ border-style:none }
img.picture     { border: 1px solid black; }

#Logo		{ position:absolute; left:0; top:0; width:140px; height:50px;
		  border-style:none; }
#Logo img	{ position:absolute; left:50px; top:0; width:90px; height:50px;
		  border-style:none; }
#Logo * img	{ position:absolute; left: 50px; top:0; width:90px; height:50px;
		  border-style:none; }
#Logo a		{ display:block; margin:0; width:140px; height:50px }
#Logo a:hover	{ color:white; background-color:#999; } 
#LogoBall img	{ position:absolute; left:90px; top:5px; border-style:none }
#LogoSmallBall img { position:absolute; left:80px; top:29px; border-style:none }

/*.Google	       { position: absolute; top: 8px; right: 2px; margin:0; padding:0; border:0; }
.Google	tr     { vertical-align: middle; border:0; }
.Google	td     { margin:0; padding:0; border:0; }
.Google input  { font-size: 8pt; padding:0; border: 1px solid #666; }
.Google button { margin:0; padding:0; }*/

.Current   { color: white; font-weight: bold; }
.hidden    { display: none; }
.clear	   { clear: both; min-height: 0px; height: auto; }
.hideclear { clear: both; content: '.'; height: 0px; font-size: 0; }
.error	   { color: red; }
.success   { color: green; }

/* Left column - navigation */
div#navSidebar { position:absolute; left:0; top:50px; width:140px; border-top: 1px solid #ccc }
h2.navSidebar
      { height:auto; background-image:none;
	border-top: medium none; border-bottom: 1px solid #ccc; border-right: medium none;
	margin:0; padding: 3px 0 3px 0.5em;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size:8pt; font-weight:normal; text-align:left }
a.navSidebar2 
      { display: block;
	margin:0; padding: 3px 0 3px 0.5em;
        border-top: none; border-bottom: 1px solid #ccc; border-right: none;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size:8pt; font-weight:normal; text-decoration:none; } 
h3.navSidebar
      { margin:0; padding: 3px 0 3px 1.5em;
	border-top: medium none; border-bottom: 1px solid #ccc; border-right: medium none;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size:8pt; font-weight:normal; text-align:left; background-image:none } 
a.navSidebar3 
      { display: block; 
        margin:0; padding: 3px 0 3px 1.5em;
	border-top: none; border-bottom: 1px solid #ccc; border-right: none;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size: 8pt; font-weight: normal; text-decoration: none } 
h4.navSidebar
      { margin:0; padding: 3px 0 3px 2em;
	border-top: medium none; border-bottom: 1px solid #ccc; border-right: medium none;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size:8pt; font-weight:normal; text-align:left; background-image:none } 
a.navSidebar4
      { display: block;
	border-top: none; border-bottom: 1px solid #ccc; border-right: none;
	margin:0; padding: 3px 0 3px 2em;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size:8pt; font-weight:normal; text-decoration:none } 
h5.navSidebar
      { margin:0; padding: 3px 0 3px 2.5em;
	border-top: medium none; border-bottom: 1px solid #ccc; border-right: medium none;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size:8pt; font-weight:normal; text-align:left; background-image:none } 
a.navSidebar5
      { display: block; 
	border-top: none; border-bottom: 1px solid #ccc; border-right: none;
	margin:0; padding: 3px 0 3px 2.5em;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size: 8pt; font-weight: normal; text-decoration: none } 
h6.navSidebar								/* for photos */
      { margin:0; padding: 3px 0 3px 3em;
	border-top: medium none; border-bottom: 1px solid #ccc; border-right: medium none;
	font-family: Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	font-size:8pt; font-weight:normal; text-align:left; background-image:none } 

#navSidebar div a:hover { color: White; background-color: #999; }
#navSidebarCurrent	{ color: White; font-weight: bold }

#navSideBar p  { text-align: center; font-size: 8pt; }

/* Adv bar within navigation */
.adBar   { margin: 20px 1px 0 1px; text-align:center;
	   font-family:Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	   font-size:8pt; font-weight:normal; }
.adBar a { text-decoration: none; }
.adBar a:hover { text-decoration: underline; }

/* Aux note bar below navigation or counters above the footer */
.SideBar { position:absolute; left:1px; width:139px; text-align:center; 
	   font-family:Tahoma,Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
	   font-size: 8pt; font-weight: normal }
.counter { color: black;
	   font-size: 10pt; }
		/* Counters within SideBar */
div.counters  { margin-top: 30px;
		text-align: center; font-size: 8pt; }
               /* { position: absolute; left: 1px; width: 139px; margin-top: -15px;
.counters     { margin-top: -15px;
		text-align: center; font-size: 8pt; }
div.counters  { margin-top:-108px; } */


/* Middle column */

/* Tabs - width is up to 200 px */
		/* #9C9 */
.green_tab	{ min-height: 20px; height: 20px; border-bottom: 1px solid #9c9; margin-bottom:1px; }
.green_tab ul   { margin: 4px 4px 0 0; padding: 0; }
.green_tab li   { float: right; list-style: none;
		  padding-right: 5px;
		  background: url('theme/green_tab_right.png') no-repeat top right; }
.green_tab span { display: block;
		  padding: 3px 15px 3px 20px;
		  background: url('theme/green_tab_left.png') no-repeat top left;
		  color: white;
		  font-weight: bold; font-size: 12px; }
		/* #930 */
.keramzit_tab	{ min-height: 20px; height: 20px; border-bottom: 1px solid #930; margin-bottom:1px;}
.keramzit_tab ul{ margin: 4px 4px 0 0; padding: 0; }
.keramzit_tab li{ float:right; list-style:none;
		  padding-right: 5px;
		  background: url('theme/keramzit_tab_right.png') no-repeat top right; }
.keramzit_tab span { display: block;
		     padding: 3px 15px 3px 20px;
		     background: url('theme/keramzit_tab_left.png') no-repeat top left;
		     color: white;
		     font-weight: bold; font-size: 12px; }

.platinum_tab	{ min-height: 20px; height: 20px; border-bottom: 1px solid #cc0; margin-bottom:1px; }
.platinum_tab ul{ margin: 4px 4px 0 0; padding:0; }
.platinum_tab li{ float:right; list-style:none; padding-right:5px;
		  background: url('theme/platinum_tab_right.png') no-repeat top right; }
.platinum_tab span { display: block;
		     padding: 3px 15px 3px 20px;
		     background: url('theme/platinum_tab_left.png') no-repeat top left;
		     color: white;
		     font-weight: bold; font-size: 12px; }

table.main      { width:100%; border-collpse:separate; border-style:none; border-spacing:1px;
		  margin:0;
		  font-size:1em; }
td.Middlecol	{ width:66%; padding: 0 6px 0 0; 
		  border-top:0; border-right: 1px solid #ccc; border-bottom:0; border-left:0; }
td.Rightcol	{ width:30%; padding: 0 0 0 8px; border:0; }

/* News block */
div.news	{ clear: both;
		  margin: 4px 4px 8px 0; padding: 0 0 4px 0; border-bottom: 1px solid #9c9; }
div.news h3	{ margin: 0 0 2px 0; font-size: 100%; }
div.news h4	{ margin: 1px 0 0 0; padding: 0; font-size: 80%; }
div.news .date  { float:right; margin-left: 20px;
		  font-size: 90%; font-weight: normal; }
div.news p	{ margin: 2px 0 0 0; }
/*div.news ul	{ margin: 0 0 0 10px; }*/
div.news ul.sexages	{ padding:0 0 0 1em; list-style-type:none; list-style-image:none; }
div.news ul.sexages li	{ margin:0; padding-left: 45px; text-indent:-45px; }
span.sexage	{ font-size: 14px; }
/*span.sexage:after { content: '  '; }*/

/*h3.news       { margin-top: 0.8em; border-top: 1px solid #ccc; font-size: smaller; }
h4.news       { margin-bottom: 0; padding-top: 0; padding-bottom: 0 }*/

/* Announce block */
div.announce	{ clear: both;  margin: 4px 4px 8px 0; padding: 0 0 4px 0; }
div.announce h3	{ margin: 0 0 2px 0; text-align: center; font-size: 100%; }
div.announce p	{ margin: 2px 0 0 0; text-align: center; }
div.announce hr { border-top: 1px solid #cc0; border-right: 0; border-bottom: 0; border-left: 0;
		  color: #cc0; height: 1px; }

/* Text and pictures on the right */
div.Rightbar	{ float:right;
                  /*position: absolute; left: 70%; top: 51px; height: 300px;*/
		  width: 30%;
		  margin: 0 -5px 0 0;
		  padding:4px; 
		  border-left: 4px solid #9c9; 
		  border-top: none;
		  border-right: none;
		  border-bottom: 4px solid #9c9;
		  background-color: white;
		  font-size: 70%; }
div.Rightbar h3 { margin: 2px 0 0 0; padding: 0; }
div.Rightbar ul { margin: 1px 0 0 25px; padding:0; }
div.Rightbar ul li { margin:0; padding:0; } 

.Rightcol p	{ margin: 2px 0 4px 0; }

p.caption	{ margin: 2px 2px 0 10px; text-align:center; font-size: 8pt; }
.float-right, .right
		{ float:right; clear:right;
		  margin: 10px 2px 10px 10px; 
		  font-size: 8pt;
		  background-color:white; color:#030; } /* text-align: right; */
/*.float-right p     { margin: 0 0 10px 0; text-align: center; }*/
.float-right img     { border: 1px solid black; }
img.float-right	     { border: 1px solid black; }
table.float-right    { border-collapse:separate; border-spacing:1px; border-style:none; }
table.float-right td { margin:0; padding:0; text-align:center; font-size:8pt; border-style:none; }
div.news .float-right{ margin: 2px 0 0 10px; text-align:center; } /* zero margin within news block */


/* Photo album index page and picture page */
table.album	  { margin: 2px 0 0 0; padding:0; border-collapse:collapse; border-style:none;
		    font-size: 8pt; }
table.album td	  { margin:0; padding:10px; border-style:none; vertical-align:top; text-align:center; }
table.album img   { border: 1px solid black; }
table.picture	  { padding: 0; margin: 2px 0 0 0; border-collapse:collapse; border-style:none; 
		    font-size: 8pt; }
table.picture td  { margin:0; padding:2px; border-style:none; text-align:center; white-space:nowrap; }
table.picture img { border-style:none; }
div.picture 	  { padding:3px; text-align:center; font-weight:bold; }
div.picture img   { border: 1px solid black; }

#Footer       { clear: both; border-top: #bbb 1px solid;
		/*background-image: url('/theme/bgheading.gif'); background-repeat: repeat-x;*/
 	      	/*position: fixed; height: 20px; left: 141px; top:auto; right: 0; bottom: 0;*/
		margin: 3px -4px 0 -9px;
		padding: 3px 0 3px 4px; 
		background-color: #9c9;
		/*background: #9c9 url('/theme/green_bottom_right.png') no-repeat bottom right;*/
		font-size: 12px! important; text-align:center;
		color:Olive; }
#Footer a       { text-decoration: none; color: Olive }
#Footer a:hover { text-decoration: underline }

/* Ads bar below footer */
div.adBottom    { /*display: none; */
		margin: 0 -4px 0 -9px;
		padding: 3px 0 3px 4px;
		border-top: 1px solid #bbb;
		color: black; 
		/*background-color: #9C9;*/
		background: #9c9 url('theme/green_bottom_right.png')  no-repeat bottom right;
		font-size: 12px! important; text-align:center; }
/*.adBottom p     { margin: 2px 0 0 0; font-size: 100%; color: black;}*/
div.adBottom a	{ text-decoration:none; }
div.adBottom a:hover { text-decoration:underline; }

/* Архив форума */
.disabled	{ color: #CCC }
.navBar		{ font-size:80% }
.navBar a	{ text-decoration: none }
.navBar a:hover { text-decoration: underline }

object.comment  { padding: 0 0 0 0; margin: 0 0 0 0; height: 48px }
iframe.comment  { width: 100%; height: 48px }

iframe.inframe  { width:100%; margin:0; padding:0; border:0; }


/* Separate news files (portal master news) */
body.inframe	{ background:none; margin: 0 2px 0 2px; }
body.inframe p	{ margin:0 }

table.top10	    { padding:0; margin: 2px 0 0 0; width:100%;
		      border-collapse:collapse; border: 2px solid silver;
		      font-size:8pt; }
/*table.top10 caption { padding:0; background-color:#CCC; }*/
table.top10 th	    { padding: 0 2px 0 2px; margin:0; border-right: 1px solid silver; 
		      background-color:#CCC; text-align:center; }
table.top10 td	    { padding: 0 2px 0 2px; margin:0; 
		      border-top: 1px solid silver; border-right: 1px solid silver; }
table.top10 td.eq   { text-align:right; }
table.top10 td.up   { text-align:right; }
table.top10 td.down { text-align:right; }

/* Datasheets: tournament list, ranking */
table.datasheet { width:100%; border-collapse:collapse; border: 2px solid silver; }
table.datasheet th { border-right: 1px solid silver; }
table.datasheet td { border-top: 1px solid silver; border-right: 1px solid silver; }
table.datasheet td.dead { border: 3px solid black; } /*margin:3px;*/

/* Biography, Activity and Head-to-head */
body.profile  { background-image: none; background-color: white; color: black; 
		font-family: Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular,Sans-Serif;
		font-size: 80%; 
		margin: 0 0 2px 0; }

div#tabs      { overflow:hidden; width:100%; height:30px;
		background: url('theme/tabs_bg.png') repeat-x; }
div#tabs ul   { list-style:none; overflow:hidden; width:100%; 
		margin: 0 0 0 15px; padding:0; }
div#tabs ul li{ float:left; height:30px; line-height:30px; /* width: 100px; */
		margin:0;
		font-size:14px; font-weight:normal;
		background: #E5E5E5 url('theme/tabs_right.png') no-repeat right top; }
div#tabs ul a { display:block;	padding: 3px 10px;
		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 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 span
	      {	display:block; line-height:30px; padding: 3px 10px;
		text-align:center;
		background: url('theme/tabs_left_selected.png') no-repeat left top; }

div#tabs ul li.special				/* e.g. Printed version */
	      { 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; }

body.profile h2 { height: auto; margin: 2px 0 0 0; padding: 0 2px 2px 2px;
		  border-bottom: 1px solid #CCC;
		  color: Black; background-color: White;
		  font-weight: normal; }
body.profile h3 { height:auto; margin: 10px 2px 0 1px; padding:0;
		  color:black; background-color:white; }
body.profile p  { margin: 3px 3px 2px 3px; padding:0; }

body.profile table
		{ padding:0; margin:0; width:100%;
		  border-collapse:collapse; border-style:none; border-bottom: 1px solid #CCC; }
body.profile th { padding: 2px 4px 2px 4px; background-color:#CCC; border-style:none;
		  text-align:left; }
body.profile tfoot th
		{ text-align:right; font-size:100%; }
body.profile tfoot td
		{ background-color:#CCC; }
body.profile td	{ margin:0; padding: 2px 4px 2px 4px; border-style:none; }
body.profile td.subtotal
		{ text-align:right; }

body.profile .float-right
		{ float:right; clear:right; margin:10px; 
		  background-color: white; color: #030;
		  font-size: 8pt; text-align:right; }
body.profile div#Footer
	{ margin-top: 0; border: 0 none; 
	  background-color: white; }
body.profile div.adBottom
	{ border: 0 none;
	  background-color: white; }

/* Calendar and tournament page - status color */
.annulled	{ color: #C33 }
.canceled	{ color: #C33 }		/* TODO: remove */
.ready		{ color: #660 }
.closed		{ color: #F90 }
.running	{ color: green }
.tbd		{ color: maroon }
td.annulled	{ color: Black; background-color:#F33 }
td.canceled	{ color: Black; background-color:#F33 }
td.ready	{ color: Black; background-color:#FF9 }
td.closed	{ color: Black; background-color:#FC0 }
td.running	{ color: Black; background-color:#CFC }
td.finished     { color: Black; background-color:#CCC }
td.tbd		{ color: Black; background-color:#FC0 }

/* Timetable */
tbody.timetable	{ text-align:center }
td.suspend	{ color:Black; background-color:#FCC; }
p.TimeCellHead  { padding:0; margin: 0 0 1px 0; text-align:justify; font-size:70%; }
span.vs	        { font-size:6pt }
noscript	{ font-family:Courier; font-size:6pt }

.PoweredBy	{ margin-top:0;
		  color:Olive; 
		  font-size:70%; text-align:center; }
.PoweredBy img	{ vertical-align: -7px; }
/*table.ranking tfoot td { font-size:70%; color:Olive; }*/

/* a[href]      { text-decoration: underline } */
/* a:link       { color: teal }   */
/* a:visited    { color: maroon } */
/* a:focus      { weight: bold }  */
/* a:hover      { color: purple } */

/** Forum interaction **/
#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; }
