
/* custom reset, properties, hack's & others */

	html, body { height:100%; background:white; color:black; }

	html, body, ul, ol, li, 
	table, td, th, tbody, thead, tfoot, col, colgroup,
	frame, iframe, input, textarea, object, embed,
	dl, dt, dd, cite, address, var, code, pre,
	h1, h2, h3, h4, h5 { 
		margin:0; 
		padding:0; 
		border-collapse:collapse; 
		font:normal 1em/1.3em sans-serif;
	}
	a { text-decoration:underline; color:#ab3c69;}
	a:hover { text-decoration:none; }
	img { border:0; }
	
	h1, h2, h3, h4, h5 { padding:.3em 0; }
	h1 { font-size:2.3em; font-weight:bold; }
	h2 { font-size:1.8em; font-weight:bold; }
	h3 { font-size:1.5em; color:#FFFFFF;}
	h4 { font-size:1.5em; color:#b0235d; }
	h5 { font-size:1em; }

	big { font-size:1.2em; font-weight:bold; }
	small { font-size:.8em; font-weight:normal; }

	dl { margin:1.5em; }
	dt { font-size:1.1em; font-weight:bold; margin-top:10px; }
	dd { font-style:italic; }
	
	ul, ol { margin:1em 0; }
	li { list-style:disk; margin-left:20px; }
	
	input, textarea { padding:.2em; vertical-align:middle; font-size:.9em; //padding:0; }


/* selectors & pseudo-classes (IE6 don't support, IE7 partly) */

	a[ href^="http" ] {} 			/* for external links */
	input[ type="submit" ] { } 		/* for submit button */

	.counters * { padding:0; margin:5px 0; }
	.counters ol { counter-increment: xxx; font-weight:bold; }
	.counters ol:before { content:"\"Глава " counter(xxx, upper-roman) "\" "; }
	.counters ol li { counter-increment: yyy; display:block; margin-left:50px; font-weight:normal; }
	.counters ol li:before { content:"Часть " counter(xxx) "." counter(yyy) " "; }


	
/* hacks & tricks */
	
	.clearfix { zoom:1; }
	.clearfix:after { display:block; height:0; overflow:hidden; clear:both; content:""; }
	
	/* ie6 png24+alpha support */
	.pnghack { filter:expression('progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+ this.src +')'); width:expression(10000000000); height:expression(10000000000); }

	.pngfix { behavior:url( ./js/pngfix.htc ); }
	.pngfix * { position:relative; }

	.ie6png {
		background: expression( 
			_this = this,
			_this.f ? 0 : (
				this.i = document.createElement('div'),
				(function(){
					with( _this.i.style ) {
						position = 'absolute'; display = 'block'; zIndex = 0;
						left = 0; top = 0;
						width = _this.offsetWidth + 'px'; 
						height = _this.offsetHeight + 'px';
						filter = 'progid'+ String.fromCharCode(58) +'DXImageTransform.Microsoft.AlphaImageLoader(src='+ _this.currentStyle.backgroundImage.replace(/[("")]/g,'').substr(3) +', sizingMethod=crop)';
					}
				})(),
				(this.firstChild ? this.insertBefore( this.i, this.firstChild ) : this.appendChild( this.i ) ),
				this.f = 1
			)
		);
	}
	
	/* simple rounded corners */
	.container { background:url() no-repeat left top; }
	.container .corners { position:relative; display:block; font-style:normal; height:100%; background:inherit; background:expression(this.parentNode.currentStyle.backgroundImage); }
	.container .c2 { background-position: right top !important; left:10px; }
	.container .c3 { background-position: left bottom !important; left:-10px; top:10px; }
	.container .c4 { background-position: right bottom !important; right:-10px; padding:0 10px 10px 0; }
	
	/* pre-loading images */
	.loading * { position:absolute; visibility:hidden; }
	.loading .img1 { background-image:url(); }
	



/* some useful chunks */	
	div.r_block { position:relative; width:100%; height:100%; }
	.multi_min_width { width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 1000? "1000px": "auto"); min-width:1000px; }
	
	
	








