#measurer { width: 100%; height: 1px; overflow: hidden; position: absolute; top:0;}
img {border:0}
img.ispng{
	//background-image: none ! important;
	behavior: url('pngfix.htc');
}
table.layout {border-collapse: collapse; font-size: 1em;}
table.layout td, table.layout th {padding:0}
.vis {margin:0; padding:0}
html {height: 100%; width: 100%; }
body {
	position:absolute; 
	min-height: 100%; 
	width: 100%;
	font-family: Helvetica, Arial, Sans-serif;
	background: url('/imgs/top_bg.gif') repeat-x #fff;
	color: #333;
	font-size:0.8em;
	padding:0;
	margin:0;
	line-height: 1.3em;
	min-width: 900px;
}
a {color: #519;}
a:visited {color: #888}
a:hover {color: #a11; text-decoration: none}
small {font-size: 0.87em; line-height: 110%}
big {font-size: 1.1em; line-height: 1.2em;}
input {font-family: helvetica, arial, sans-serif; font-size: 0.87em; }
select {font-family: helvetica, arial, sans-serif; }
h3 {font-size: 1.4em; margin:0; padding:0; line-height: 1.1em}
h4 {font-size: 1em; padding: 0.5em 0 0.1em 0; margin:0}
* html body {
	height: 100%;
	}
#page {
	clear: both;
	margin-bottom: 128px;
	width: 100%;
	width: expression(
		(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 900
		)
		?	'900px'
		:	'100%'
	);

}
#footer {
	height:88px;
	margin-top: -98px;
	position: absolute;
	bottom: 0px;
	background: #519 url('/imgs/footer_bg.gif') repeat-x 0% 0%;
	width: 100%;
	min-width: 900px;
	width: expression(
		(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 900
		)
		?	'900px'
		:	'100%'
	);
}
#header {background: url('/imgs/top_img.jpg') no-repeat; height: 182px;}
#logo {padding-top:46px; position:relative; margin-left: 6%;}

#navigation img {position: absolute; top: 15px}
#navigation .home {left: 6%;}
#navigation .map {left: 10%; margin-left: 15px; }
#navigation .mail {left: 14%; margin-left: 30px;}

#phone {width: 50%; height: 58px; background: url('/imgs/top_phone_bg.gif') repeat-x; position: absolute; right:0; top:0;}
#phone .left_corner {width: 53px; height: 58px; background: url('/imgs/top_phone_left.gif') no-repeat; position: absolute; top: 0; right: 100%;}
#phone .number { padding: 22px 30px 0 0; color: #fff; margin-top: -1em ;}
#phone .number a,#footer_phone a {color: #fff;}
#phone .contacts {width: 10em; position:relative; padding-left: 240px; left: 15%; margin-top: -2.5em; line-height: 1.1em; padding-left: expression('200px'); }
#sotrudniki {position:relative; left: 6%; margin-left: 25px; margin-top: 10px;}
#object_base, #choose_agency {position: absolute; left: 48%; top: 90px; width: 22%; } #choose_agency {left: 70%;}
#object_base h3, #choose_agency h3 {display: inline; line-height: 0.7em}
#object_base img, #choose_agency img {position: relative; vertical-align: middle; bottom: 2px; margin-left: 5px } #choose_agency img {bottom: 10px}
#choose_agency select {width: 150px; font-family: helvetica, arial, sans-serif; font-size: 0.87em;}
#choose_agency input {position: relative; vertical-align: middle;}

#logo1 {position: absolute; right: 1%; top: 70px}
#logo2 {position: absolute; right: 1.2%; top: 125px}

#menu {height: 46px; background: url('/imgs/menu_bg.gif') repeat-x #519; }
#menu ul {float:left; width: 93%;margin:0; padding:0; padding-left: 3%;   background: url('/imgs/menu_left.gif') no-repeat;}
#menu ul li {list-style: none; display:inline; font-size: 1.1em; font-weight: bold; padding-right: 2.5%; line-height: 46px; }
#menu a {color: #fff}
#menu b {color: #eed;}
#search {width: 27%; float: right; margin-left:-200px; padding-right: 30px; height: 23px; padding-top: 23px; text-align: right; background: url('/imgs/menu_right.gif') no-repeat 100% 0;}
#search input { position: relative; vertical-align: top; margin-top: -0.8em;}
#search .text {bottom: 1px;}

.submenu {padding:1em 1em 1.2em 2em; margin:0; margin-bottom: 2em;background: #519;}
.submenu li {color: #dde;padding: 0.3em 0; font-size: 1.1em; line-height: 1.1em;}
.submenu a, .submenu a:visited, .submenu a:hover {color: #fff}
.submenu b {color: #eed;}

.block {margin-bottom: 2em}
ul.main, ol.main {margin:0; padding:0; margin-left: 1.4em; margin-top: 0.7em} ol.main {margin-left: 1.8em}
ul.main li, ol.main li {line-height: 1.1em; padding: 0.3em 0;}
p.main {margin: 0 0 0.6em 0;}

#content {width: 97%; padding: 2.5em 0; margin-left: 3%; }
#footer_logo {float:left; width: 24%; padding-top: 27px;}
#footer_phone {float:left; width: 30%; padding-top: 27px; padding-left: 32px;}
#counters {float:left; width: 30%; padding-top: 12px}
#bestweb {float:left; width: 10%; text-align: center; margin-left:-32px;margin-right: -100%; padding-top: 30px;}

#anthome {float:left; width: 15%; text-align: center; margin-left:-70px; margin-right: -100%; padding-top: 10px; color:white;}
.anthome, a.anthome:hover, a.anthome:visited {color: #fff;}

form {padding:0; margin:0;}

.nb {font-weight: normal;}
.marb5 {margin-bottom: 0.5em}
.clr {clear:both;}
.cvio {color: #519;}
.cwht, a.cwht:hover, a.cwht:visited {color: #fff;}
.cred, a.cred:hover, a.cred:visited {color: #a11;} 

