/* 2008 (c) Mallini Design | www.mallini.ru */

/* ---------------------- */
/*    common   presets    */
/* ---------------------- */

html, body, a, img, table, td, tr {margin: 0; padding: 0; border: 0;}

img {color: #000; font-family: Trebuchet, sans-serif; border:0; //behavior: url("/images/DefTemplate/png.htc");}

a {color:#000;}
a:hover {color:#000; text-decoration:none;}
p { margin-left:2em;}
*{font-family: Tahoma, sans-serif}

body {min-width:950px; font-size:12px; color:#000; font-size:12px; margin:0; background:#000 url(/images/DefTemplate/back.jpg) top center repeat-x}

/* ---------------------- */
/*          main          */
/* ---------------------- */


.container { width:963px; padding-top:5px; margin:0 auto; text-align:left;}
.flash { float:left; width:482px; height:430px;}
.over { position:absolute; width:482px; height:430px; background:url(/images/DefTemplate/slice.png) no-repeat; z-index:111;}
.content { float:right; background:url(/images/DefTemplate/w_bg.jpg) no-repeat; width:481px; height:430px; font-size:12px;}
.frame { margin:10px; overflow: auto; height:410px;

	scrollbar-face-color: #333;
	scrollbar-highlight-color:#FFFFFF;
	scrollbar-shadow-color:#FFFFFF;
	scrollbar-3dlight-color:#000;
	scrollbar-arrow-color:#FFFFFF;
	scrollbar-track-color: #eee;
	scrollbar-darkshadow-color:#000;
}

.copyright { padding-top:5px; color:#fff; font-size:10px; margin-top:5px; display:block; padding-bottom:20px; text-align:right;}
.copyright img { margin-bottom:-2px; opacity: 0.4; filter: alpha(opacity=40);}
.counter { text-align:right; color:#fff; padding-bottom:-2px; white-space:nowrap;}

.copy {color:#fff;text-decoration:none;}
.copy:hover {color:#fff; text-decoration:none;}

.b_a { margin:5px 0;}
.before { float:left; width:150px;}
.after { float:right; width:150px; text-align:right; padding-right:5px;}

.head { padding-top:0px;}
.logo {float:left; height:77px;}
.f_menu {float:right; padding-right:90px;}

.clear { clear:both;}

div#measure {position: absolute; width: 100%; top: 0; height: 1px; line-height: 1px;}
div#layout {position: relative; min-width: 950px; max-width: 1500px; min-height: 100%; margin:0 auto; //height: 100%; text-align:center;}
div#layout {
//width: expression(
	(
		document.getElementById('measure')
		&& document.getElementById('measure').clientWidth < 950
	)
	?	'950px'
	:	(
			document.getElementById('measure')
			&& document.getElementById('measure').clientWidth < 1500
		)
		?	'100%'
		:	'1500px'
);
}
