body {
	margin: 0; padding: 0; height: 100%;
	font-family: Arial, Helvetica, sans-serif; font-size: 12px;
	text-align: justify;
	height: 100%;
}

/* .png-fix for IE 6 */	
* html .iePNG, IMG { filter:expression(fixPNG(this)); } 
 
div#measurer {
	position: absolute;
	width: 100%; height: 1px;
	top: 0;
	line-height: 1px;
}

div#around {
	position: relative;
	min-height: 100%; min-width: 860px; max-width: 1300px;
}

* html div#around {
height: 100%;
width: expression(
	(
		document.getElementById('measurer')
		&& document.getElementById('measurer').clientWidth < 860
	)
	?	'860px'
	:	(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 1300
		)
		?	'100%'
		:	'1300px'
);
}

#logo {
	position: absolute;
	left: 45px;
	top: 25px;
	width: 196px;
	height: 28px;
	z-index: 2;
}

/* Поле заголовка */

#header {
	background: #6699CC url(images/header_tl.gif) no-repeat;
	height: 80px;
	margin: 10px 30px 0px 30px;
	padding: 15px 20px;
	font-family: Verdana, Arial, sans-serif; font-size: 24px; font-weight: lighter; color: #FFFFFF;
}

#header h1 {
 font-weight: lighter;
 font-size: 12px;
 margin: 0px;
 padding-left: 40px;
 padding-top: 30px;
 color: #FFFFFF
}

#br_header {
 position: absolute;
 margin-right: 30px;
 top: 100px; right: 0px;
 background: url(images/header_br.gif) no-repeat;
 width: 10px;
 height: 10px;
}

* html #br_header {right: expression( this.parentNode && this.parentNode.offsetWidth % 2 ? -1 : 0 ); top: 110px;}

/* Рамка под телефоны */

#phones {
	color: #FFFFFF;
	position: absolute;
	left: 40px; top: 10px;
	width: 73%; height: 60px;
	border-style: solid;
	border-width: 1px;
	border-top-color: #333399;
	border-bottom-color: #66CCFF;
	border-left-color: #333399;
	border-right-color: #66CCFF;
	padding: 5px 15px;
}

* html  #phones {top: 20px;}

#tl_phone {
 position: absolute;
 top: -1px; left: -1px;
 background: url(images/phone_tl.gif) no-repeat;
 width: 10px;
 height: 10px;
}

#br_phone {
 position: absolute;
 bottom: -1px; right: -1px;
 background: url(images/phone_br.gif) no-repeat;
 width: 10px;
 height: 10px;
}

* html #br_phone {right: expression( this.parentNode && this.parentNode.offsetWidth % 2 ? -2 : -1 );}
* html #br_phone {bottom: expression( this.parentNode && this.parentNode.offsetHeight % 2 ? -0 : -20 );}

#phones p {
	margin: 0px;
	margin-bottom: 5px;
	padding: 0px;
	text-align: right;
}

#phones td {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
}

/* Основной блок */

#content {
 top: 110px;
 background-color:#FFFFCC;
 margin: 0px 30px;
 padding: 10px 10px 10px 165px;
}

td.bgr {
 color: #330099;
 vertical-align: top;
 border-top-style:solid;
 border-top-color: #993300;
 border-top-width: 1px;
 background: url(images/td_bg.png) repeat-x;
}

* html td.bgr {
 background-image: expression('none');
 filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/td_bg.png', sizingMethod='scale')
}

#content td p {
 color: #CC0000;
 text-align: left;
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size: 18px;
 font-weight: lighter
}

#content td p.text {
 font-family: Arial, Helvetica, sans-serif;
 color: #330099;
 font-size: 12px;
 margin: 0 0 5px 0;
 text-align: justify;
}

#content h1 {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 color: #CC0000;
 font-size: 13px;
 font-weight: lighter;
 text-align: left;
}

/* Главное меню */

#menu {
 position: absolute;
 top: 90px; left: 30px;
 background: #333333;
 width: 70%;
 height: 30px;
 margin: 0px;
 border-bottom: #CCCCCC solid 1px;
 border-top: #CCCCCC solid 1px;
}

* html #menu {top: 100px;}

#tr_menu {
 position: absolute;
 top: -1px; right: 0px;
 background: url(images/menu_tr.gif) top right no-repeat;
 width: 10px;
 height: 10px;
 z-index: 7;
}

* html #tr_menu {right: expression( this.parentNode && this.parentNode.offsetWidth % 2 ? -1 : 0 );}

#tl_menu {
 position: absolute;
 top: -1px; left: 0px;
 background: url(images/menu_tl.gif) no-repeat;
 width: 10px;
 height: 10px;
}

#menu ul {
 margin-top: 5px;
 margin-bottom: 5px;
 margin-left: 200px;
 padding: 0px
}

#menu ul li {
 display: inline;
 padding-left: 30px;
}

#menu ul li a {
 color:#FFFFFF;
 font-weight: lighter;
 text-decoration: none
}

#menu ul li a:hover {
 color:#FFFF00;
 text-decoration: underline
}

/* Левое меню */

#menu_left {
 position: absolute;
 top: 90px;
 left: 10px;
 width: 160px;
 background: #333333;
 border-bottom: #CCCCCC solid 1px;
 border-top: #CCCCCC solid 1px
}

* html #menu_left {top: 100px;}

#br_menu {
 position: absolute;
 bottom: -1px; right: 0px;
 background: url(images/menu_br.gif) no-repeat;
 width: 10px;
 height: 10px;
}

* html #br_menu {right: expression( this.parentNode && this.parentNode.offsetWidth % 2 ? -1 : 0 );}
* html #br_menu {bottom: expression( this.parentNode && this.parentNode.offsetWidth % 2 ? -2 : -7 );}

#in_menu {
 position: absolute;
 top: 30px; left: 160px;
 background: url(images/menu_in.gif) no-repeat;
 width: 20px;
 height: 20px;
}

#menu_left ul {
 margin: 0px;
 padding: 10px 0px 15px 30px;
 text-align: left
}

#menu_left ul li {
 color: #CCCCCC;
 font-weight: lighter;
 text-decoration: none
}

#menu_left ul li a {
 color: #CCCCCC;
 font-weight: lighter;
 text-decoration: none
}

#menu_left ul li a:hover {
 color: #FFFF00;
 text-decoration: underline
}

/* Правое меню */

#menu_right {
 position: absolute;
 right: 10px;
 top: 20px;
 margin: 0px;
 background: #FFFFFF;
 border: #003399 solid 1px;
}

* html #menu_right {
 top: 30px;
}

#menu_right ul {
 margin: 0px;
 margin-left: 20px;
 padding: 10px;
 text-align: left;
}

#menu_right ul li a {
 color: #003399;
 font-weight: lighter;
 text-decoration: none;
}

#menu_right ul li a:hover {
 color: #0066FF;
 text-decoration: underline
}

#tl_menu_r {
 position: absolute;
 top: -1px; left: -1px;
 background: url(images/r_menu_tl.gif) no-repeat;
 width: 10px;
 height: 10px;
}

#br_menu_r {
 position: absolute;
 bottom: -1px; right: -1px;
 background: url(images/r_menu_br.gif) no-repeat;
 width: 10px;
 height: 10px;
}

* html #br_menu_r {right: expression( this.parentNode && this.parentNode.offsetWidth % 2 ? -2 : -1 );}
* html #br_menu_r {bottom: expression( this.parentNode && this.parentNode.offsetHeight % 2 ? -7 : -6 );}

/* Footer */

#footer
{
 color: #FFFFFF;
 font-size: 85%;
 background: #6699CC url(images/footer_br.gif) right bottom no-repeat;
 margin: 0px 30px;
 padding: 10px;
}

/* Под баннеры */

#advert {
	position:absolute;
	left: 40px;
	top: 350px;
	width: 120px;
	text-align:center;
}

/* Поиск */

#searcher {
	position:absolute;
	right: 26px;
	top: 95px;
	width: 195px;
}

* html #searcher {
	top: 103px;
}

#searcher p {
	color: #FFFFFF;
	margin: 0 0 3px 0;
	padding: 0;
	text-align: left;
}
