body{
	margin: 0;
	padding: 0;
	font:84% Arial, san-serif;
	color:#333;
	background:#fff;
}


h1 {font:165% Georgia, serif; color: #000; font-weight: normal; margin:0 0 0.5em 0; }
h2 {font:145% Georgia, serif; color: #000; font-weight: normal; margin:0 0 0.25em 0;}
h3 {font:120% Georgia, serif; color: #000; font-weight: normal; margin:0 0 0.25em 0;}
h4 {font-size: 100%; color: #000; font-weight: normal; margin:0;}

h2 {margin-top:expression(previousSibling ? '1.5em' : '0');}
h3 {margin-top:expression(previousSibling ? '1em' : '0');}
h4 {margin-top:expression(previousSibling ? '0.8em' : '0');}

#content[id] h2 {margin-top:1.5em;}
#content[id] h3 {margin-top:1em;} 
#content[id] h4 {margin-top:0.8em;}

h2:first-child,
h3:first-child,
h4:first-child,
{
	margin-top:0;
}


#content table{
	font-size:100%;
	border-collapse:collapse;
}

p {margin: 0 0 1em 0;}

 
ul{
	list-style:disc;
	line-height:1.5em;
}
li{
	padding-bottom:0.5em;
}

ul.map,
ul.map ul{
	list-style:none;
}

ul.popular_items{
	margin-top:0.5em;
	list-style:none;
	padding-left:0;
	padding-right:0;
	margin-left:0;
	margin-left:0;
}
	ul.popular_items li{
		behavior: expression( 
			!this.before
            ? this.before = this.innerHTML = '&#149;&nbsp;' + this.innerHTML : '' 
		);
		text-indent: -0.60em;
	}
	ul.popular_items li:before { content: '\2022\a0'; }

a {color: #00c;}
a:hover {text-decoration:none;}
a:visited {color: #800080;}

sub{font-size:80%;}
sup{font-size:80%;}

dd{
	padding:1em 0;
}

small, 
.small{
	font-size:85%;
}
.small td{
	font-size:80%;
}

.note{
	color:#f66;
}

.hand{
	cursor: hand; 
	cursor: pointer;
}

.source{
	font:130% Georgia, serif; color: #000; font-weight: normal; margin:0 0 0.5em 0;
}
	.source span{
		font:78% Arial, san-serif;
	}
	
td.source{
	vertical-align:top;
	padding:0 0.5em 0 0;
}

/* бордер для таблиц */
table.border
{
	border-collapse:collapse;
	margin-bottom:1em;
}
table.border td, table.border th
{
	border:1px solid #fc0;
	padding:5px;
}
table.border th
{background:#FFF4CD;color:#000;}

table.csv
{
	border-collapse:collapse;
	margin-bottom:1em;
}

table.csv td, table.csv th
{
	border:1px solid #ccc;
	padding:5px;
}

table.csv th
{background:#FFF4CD;color:#000;}

table.grid
{
	text-align:right;
	border-collapse:collapse;
	margin:2em auto 1em auto;
}
	table.grid td
	{
		white-space:nowrap;
		padding:0 0 0 0.5em;
		font-size:94%;
	}
	table.grid td.f{
		background:#FFF7DB;
	}
	table.grid td.r{
		padding:0 0.5em;
		border-right:1px solid #fc0;
	}

table.tournament{
	border-collapse:collapse;
	margin-bottom:1em;
}
	table.tournament td,
	table.tournament th{
		white-space:nowrap;
		font-size:94%;
		border:1px solid #ccc;
		padding:5px;
		text-align:left;
	}
	table.tournament th{
		background:#FFF4CD;
		color:#000;
	}

table.nowrap td{
	white-space:nowrap;
}
	
p.tournament{
	padding-top:2em;
	text-align:center;
}
	p.tournament i,
	i.tournament
	{
		font-size:85%;
	}
	


.png{
	*background-image: none ! important;
	behavior: url('/_js/pngfix.htc');
}

.flash_container{
	text-align:center;
}


input.text{
	font:92.5% Arial, san-serif;
	margin:2px 0 0 0;
	
}input.text[class]{
	margin:3px 0 0 0;
}

select{
	font:86% Arial, san-serif;
}

.button{
	font:86% Arial, san-serif;
	cursor:pointer;
	cursor:hand;
}
.pale_color{
	color:#999;
}

.unstrict{
	font-size:76%;
	color:#ccc;
}

.filedata{
	color:#777;
}


.date{
	font:90% Georgia, serif; 
	color:#999;
	clear:both;
}
	.date span{
		text-transform:uppercase;
	}
	

/* Картинки к статьям */
table.left{
	margin-right:0.5em;
	clear:left;
}
table.right{
	clear:right;
	margin-left:0.5em;
}

table.image{
	border-collapse:collapse;
	padding:0;
}
	table.image td{
		text-align:center;
		font-size:80%;
		padding-bottom:0.5em;
	}

/* Комментарии */
.comment_item{
	margin:2em auto 3em auto;
	font-size:86%;
}
	.comment_item p{
		position:relative;
		z-index:1;
		margin-top:1.2em;
		margin-bottom:0em;	
	}
	
.author_post{
	padding:1em 1.2em;
	background:#efefff;
}
	.comment_item .empty{
		line-height:1em;
		margin-bottom:-2em;
	}
	.author_post .empty{
		margin-bottom:-2.3em;
	}.author_post[class] .empty{
		margin-bottom:-2em;
	}

a.comment
{
	float:left;
	display:inline;
	margin:-1em 0 0 0;
	font:350% Georgia;
	color:#ccc;
	text-decoration:none;
} a.comment[class] {
	margin:-.3em 0 0 0;
} :root a.comment[class]:not(body){
	
}

a.comment:visited,
a.comment:hover
{
	color:#ccc;
	text-decoration:none;
}
a.comment:hover{color:#999;}

.comment_header{
	position:relative;
	z-index:1;
	padding:0;
	margin-bottom:1em;
	margin-left:3.8em;
} .comment_header[class] {
	margin-left:4em;
}
	.comment_header em{
		font-style:normal;
		color:#ccc;
	}
.comment_text{
	position:relative;
	z-index:1;
	margin-left:4em;
}

/* Айтемы на главных страницах и страницах с результатами поиска */
.pre_item{
	padding-bottom:2.5em;
}

.item_bottom{
	font:100% Georgia, serif; 
	line-height:2.5em;
	clear:both;
}

.item{

}

	.item .date{
		font:100% Georgia, serif; 
		color:#333;
		clear:both;
		margin-bottom:auto;
		display:none;
	}
		.item .date span{
			text-transform:uppercase;
		}
		.item .date small{}
		
	#content .item h2{
		font-size:145%;
		margin-top:0;
	}
		.item h2 a{color:#000;}
		.item h2 a:visited{color:#999;}
	
	.item .category,
	.item .keywords{
		font-size:94%;
		color:#999;
	}
	
	.item .description{
		margin:1em 0 0 0;
		font-size:93%;
	}
	
	.item .description img{
		border:none;
		display:inline;
		float:left;
		margin:0 0.5em 0.3em 0;
	}
	
	.item .author{
		display:block;
		padding-top:0.5em;
		text-align:left;
		font-style:italic;
		font-size:93%;
	}

#pages_links{
	clear:both;
}
	#pages_links div{
		padding-top:.5em;
	}

#stat{
	color:#fff;
	margin-bottom:-1em;
}

#hintbox{
	position:absolute;
	z-index:100;
	width:300px;
	left:-1000px;
	padding:0.7em 1em;
	font-size:80%;
	background:#FFEBDD;
	border:1px solid #fcc;
	opacity:0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 90);
}
.hintspan{
	border-bottom:1px dashed #f60;
}
	.hintspan sup{
		border:1px solid #fc9;
		color:#f60;
		font-weight:bold;
		background:#ffc;
	}

/* экстра линки */
r32,
ul.ec,
.spec0,
.cell .mapathome,
.t23
{
	width:auto;
	position:absolute;
	top:0;
	font-size:50%;
	diplay:inline;
	left:-1000px;
}
.cell .mapathome ul,
.cell .mapathome li{
	margin:-1em 0 0 0;
	padding:0;
}
/* Набор каунтеров */
.counters{
	width:auto;
	position:absolute;
	top:0;
	left:-1000px;
}

/* Облако */
.clouds{
	
}
.clouds b{
	display:block;
	clear:both;
	padding-bottom:1em;
	color:#000;
}
.clouds div{
	padding:0 0 1.3em 1em;
}
.clouds a{
	white-space:nowrap;
	margin-right:7px;
}

/* Копировать код страницы */
.copy_link_to_clipboard{
	margin:3em 0 0 0;
	font-size:100%;
	color:#777;
}
	.copy_link_to_clipboard img{
		cursor:hand;
		cursor:pointer;
	}
	.copy_link_to_clipboard input{
		width:300px;
		color:#777;
		font-size:80%;
	}


.cw0,
.cw0:visited
{
	color:#999;
	font-size:70%;
}
.cw1, .cw2,
.cw2:visited, .cw1:visited 
{
	color:#999;
	font-size:80%;
}
.cw3, .cw4,
.cw3:visited, .cw4:visited  
{
	color:#777;
	font-size:90%;
}

.cw5, .cw6, 
.cw5:visited, .cw6:visited 
{
	color:#555;
	font-size:100%;
}
.cw7, .cw8,
.cw7:visited, .cw8:visited  
{
	color:#333;
	font-size:120%;
}
.cw9, .cw10,
.cw9:visited, .cw10:visited  
{
	color:#111;
	font-size:120%;
}
#adv{
	padding:0 27px 0 0;
	font:25px Impact;
}
#adv a{
	float:right;
	text-align:center;
	color:#777;
	text-decoration:none;
}
#adv span{
	font-size:15px;
}
#adv b{
	font:14px Arial;
	color:#999;
	text-decoration:none;
}
