#measurer { width: 100%; height: 1px; overflow: hidden; position: absolute; top:0;}
html {height: 100%; width: 100%;}
* html body {height: 100%;}
body {
	position: absolute;
	width: 100%;
	font-family: Helvetica, Arial, Sans-serif;
	background: #fff url('/dsg/imgs/bg.jpg') repeat-x;
	color: #333;
	font-size:0.75em;
	padding:0;
	margin:0;
	line-height: 1.5em;
}
 
img {border:0;}
img.ispng{
	//background-image: none ! important;
	behavior: url('pngfix.htc');
}
#page {background: url('/dsg/imgs/topimg.jpg') no-repeat;
	clear: both;
	margin-bottom: 172px;
	width: 100%;
	min-width:1000px;
	max-width: 1400px;
	width: expression(
		(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 1000
		)
		?	'1000px'
		:	(
				document.getElementById('measurer')
				&& document.getElementById('measurer').clientWidth < 1400
			)
			?	'100%'
			:	'1400px'
	);
}
#footer {
	height:172px;
	margin-top: -172px;
	position: absolute;
	bottom: 0px;
	//bottom: -1px;
	width: 100%;
	background: url('/dsg/imgs/footer_bg2.jpg') no-repeat 100% 50px;
}
#footerblock {
	width: 100%;
	height: 172px;
	background: url('/dsg/imgs/footer_bg.jpg') no-repeat 0% -86px;
	min-width:1000px;
	max-width: 1400px;
	width: expression(
		(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 1000
		)
		?	'1000px'
		:	(
				document.getElementById('measurer')
				&& document.getElementById('measurer').clientWidth < 1400
			)
			?	'100%'
			:	'1400px'
	);
}
#corner {
	position: absolute;
	bottom: 172px;
	//bottom: 171px;
	width: 70px;
	height: 86px;
	background: url('/dsg/imgs/footer_bg.jpg') no-repeat 0 0;
}
table {font-size: 1em;}
a { color: #6ac}
a:visited {color: #666;}
a:hover, a.black:hover {color: #c00;}
small {font-size: 0.916em;line-height: 1.4em;}
big {font-size: 1.16em;line-height: 1.5em;}
h1, h2 {font-size: 2em; color: #157; margin: 1.3em 0 0.7em 0; line-height: 1.3em;}
h3, h4 {font-size: 1.5em; color: #157; margin: 1.3em 0 0.7em 0;line-height: 1.3em;}
h5, h6 {font-size: 1.25em; color: #157; margin: 1.3em 0 0.7em 0;line-height: 1.3em;}
h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited, h5 a, h5 a:visited, h6 a, h6 a:visited {color: #157;}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {color: #c00;} 
h2, h4, h6 {font-weight: normal;}
#printversion, #backlink {display: block; font-size: 0.916em; height: 20px; line-height: 18px; width: 10em; color: #fff; position: absolute; top: 1.2em; padding-left: 20px;}
#navigation {position: absolute; left: 116px; top: 1.2em;}
	#navigation a {width: 30px; display: inline-block;}
#printversion {left: 790px; background: url('/dsg/imgs/icon_print.gif') no-repeat;}
#backlink {left: 885px; background: url('/dsg/imgs/icon_back.gif') no-repeat;}
form {padding:0; margin:0;}
ul {padding-left: 2em;}
#logo {margin:0; padding: 65px 40px 50px 40px;}
#menu {list-style:none; font-size: 1.25em; margin:0; padding: 0 40px 50px 116px; line-height: 1.2em; width: 12em;float:left;}
#menu a, #menu a:visited {color: #157;}
#menu a:hover {color: #C00;}
#menu li {padding: 0.35em 0;}
#menu ul {font-size: 0.8em; line-height: 1.3em;list-style: disc;color: #6ac; margin:0; padding: 6px 0 0 1.7em;}
#menu ul li {padding: 0.25em 0;}
#menu ul a, #menu ul a:visited {color: #6ac;}
#menu ul a:hover {color: #c00;}
#content {padding: 110px 6em 2em 29em;}
#news {padding-top: 1em;}
	#news .col {float:left; width: 33%;}
	#news .date { font-size: 0.916em; line-height: 1.3em; color: #999;}
	#news h6 {width: 80%; margin:0.1em 0 0 0;}
	#news p {margin: 0.4em 0 1em 0; font-size: 0.916em; line-height: 1.3em; width: 80%;}
#search {padding: 120px 0 0 50px; float:left;}
	#search .field {width: 110px; font-size: 0.916em; font-family: Helvetica, Arial, Sans-serif;}
	#search .button {position: relative; top: 5px; left: 2px;}
#contacts {padding: 3em 6em 0 29em;}
	#contacts .col {width: 33%; float:left; line-height: 1.3em;}
	#contacts p {width: 80%; margin:0;}
	#bestweb {padding: 70px 0 0 0; width: 80%; text-align:center;
	//padding-top: 50px;
	}
