html { overflow: auto;}
html, body {margin: 0 ;padding: 0;border: 0;width: 100%;height: 100%;}
body {background:#fefef7; font: 14px/120%  Tahoma, Helvetica,Arial, sans-serif;position: relative;min-width: 640px;width: 100%;}
body {margin: 0px;margin-top: 0;margin-bottom: 0;padding: 0px; text-align: left; behavior:url("csshover2.htc"); }
body,td,h1,h2,h3,h4{font-family: Tahoma, sans-serif;font-size: 13px;color:#055a82; line-height:14px;}

.png, .video_one, .video_niz { behavior: url(iepngfix.htc) }

/* элементы */
a {text-decoration:none;color:#055a81;}
a:visited {text-decoration:none;color:#055a81;}
input { border:1px solid #074368; color:#0; }
_select { border:0px solid #074368; color:#0; background:url('view/img/select_bg.gif');width:160px; height:22px;}

/* header */
#header {background: url('img/header_bg1.png') repeat-x; height:200px;position: absolute;top: 0;width: 100%;z-index: 1000;left: 0;}
#search {width:100%; position:absolute; top:5px; right:26px; text-align:right; font-size:13px;}
#map {background: url('img/map.png') no-repeat;height:184px;width:244px;position:absolute;left:40px;top:4px;float:left;z-index:1;}
#header_rt {background: url('img/head_bg.png') no-repeat;height:174px;width:645px;position:absolute;top:0px;float:right;right:23px;z-index:1;}
#bg_lb {background: url('img/header_bgr_lb.png') no-repeat;height:32px;width:73px;position:absolute;left:23px;top:143px;float:left;z-index:1;}
#bg_lk {background: url('img/bg_fon.png') no-repeat;height:85px;width:260px;position:absolute;top:85px;float:right; right:320px;z-index:2;}
#bg_data {background: url('img/data.png') no-repeat;height:50px;width:162px;position:absolute;top:10px;float:right; right:23px;z-index:1;}
#bg_holiday{height:25px;width:300px;position:absolute;top:0px;float:center; left:420px;z-index:1;}
#title {	background: url('img/title.png') no-repeat; z-index:200; width:269px; height:67px; position:absolute;left:130px;top:95px;float:left;}  
#new_day{background: url('img/data.png') no-repeat;height:50px;width:162px;position:absolute;top:6px;float:right; right:23px;z-index:1;}
#big_layer {height:85px;width:150px;position:absolute;top:60px; float:right; right:80px;z-index:1;}

/* content */
#container {padding-left: 225px;padding-right: 225px; *padding-left: 225px; *padding-right: 225px; overflow: hidden;float: left;height: auto !important;height: 100%;min-height: 100%;position: relative;}
* html #container { overflow: visible; }
#left, #right, #content {   float: left;    position: relative;	padding-bottom: 3em !important;}
#left, #right, #content {   padding-bottom: 1000em !important;    margin-bottom: -997em !important;}	
#container:after {	content: 'EasyClear'; 	display: block; 	height: 0; 	clear: both; 	visibility: hidden;}
#container { display: inline-block; }
#container { display: block;}

/*Разделители*/
#razd_lt {width:9px; height:3px; background-image: url('img/razd_l.png'); float: left;margin-left: -100%; }
#razd_c {background: url('img/razd_c.png') repeat-x ; height:3px;width:100%;float: left;}
#razd_rt {background: url('img/razd_r.png'); height:3px; width:9px; float: right; margin-left: -15px;}


/*Левый маленький блок*/
* html #bg_block_left_t {background: url('img/block_t.png') no-repeat;width:176px;height:3px; margin-left:6px; margin-top:10px;}
 html>body #bg_block_left_t {background: url('img/block_t.png') no-repeat;width:176px;height:3px; margin-left:6px;}
#bg_block_left_c {background: url('img/block_c.png') repeat-y;width:176px; margin-left:6px;}
#bg_block_left_b {background: url('img/block_f.png') no-repeat;width:176px;height:7px; margin-left:6px;}

* html #bg_block_left2_t {background: url('img/block_1.png') no-repeat;width:187px;height:8px; position:relative; margin-left:10px; top:12px;}
 html>body #bg_block_left2_t {background: url('img/block_1.png') no-repeat;width:187px;height:8px; position:relative; margin-left:10px;}
#bg_block_left2_c {background: url('img/block_2.png') repeat-y;width:187px; margin-left:10px;}
#bg_block_left2_b {background: url('img/block_3.png') no-repeat;width:187px;height:8px; position:relative; margin-left:10px; bottom:3px;}

/*Правый маленький блок*/
* html #bg_block_right_t {background: url('img/block_t.png') no-repeat;width:176px;height:3px; margin-left:6px; margin-top:10px;}
 html>body #bg_block_right_t {background: url('img/block_t.png') no-repeat;width:176px;height:3px; margin-left:6px;}
#bg_block_right_c {background: url('img/block_c.png') repeat-y;width:176px; margin-left:6px; }
#bg_block_right_b {background: url('img/block_f.png') no-repeat;width:176px;height:7px; margin-left:6px; }

* html #bg_block_right3_t {background: url('img/block_1.png') no-repeat;width:187px;height:8px; position:relative; margin-right:15px; top:12px;}
 html>body #bg_block_right3_t {background: url('img/block_1.png') no-repeat;width:187px;height:8px; position:relative; margin-right:15px;}
#bg_block_right3_c {background: url('img/block_2.png') repeat-y;width:187px; margin-right:15px;}
#bg_block_right3_b {background: url('img/block_3.png') no-repeat;width:187px;height:8px; position:relative; margin-right:15px; bottom:3px;}

#blockline {background: url('img/block_line.png') no-repeat; width:175px;height:13px;float:center; margin-top:5px; margin-left:5px; }
#news_line {background: url('img/news_line.png') repeat-x; width:97%;height:1px;float:center; margin-top:5px; margin-left:5px; }
#razdel_content {background: url('img/razdel.png') repeat-x; width:97%;height:1px;float:center; margin-top:5px; margin-left:5px; }

.block_header_1 { background: url('img/block_title_1.png') no-repeat;width:160px;height:45px; margin-left:6px; padding-top:12px; float:center;}
#text.block_header { color:#fff; font-size:18px; background: url('img/block_title_el.png') no-repeat; width:160px;height:15px; padding-left:15px; margin:6px 0 0 7px} 

.block_header_2 { background: url('img/block_title_2.png') no-repeat;width:160px;height:45px; margin-left:6px; padding-top:12px; float:center;}
#text.block_header { color:#fff; font-size:18px; background: url('img/block_title_el.png') no-repeat; width:160px;height:15px; padding-left:15px; margin:6px 0 0 7px} 

.block_header_3 { background: url('img/block_title_3.png') no-repeat;width:170px;height:50px; margin-left:6px; padding-top:12px; float:center;}
#text.block_header { color:#fff; font-size:18px; background: url('img/block_title_el.png') no-repeat; width:170px;height:15px; padding-left:15px; margin:6px 0 0 7px} 

#right { background: url("img/bgr_right.jpg") repeat-y right;  width: 218px; margin-right: -100%; margin-top:190px; padding-right:7px}

#left { padding-left:20px; background: url('img/bgr_left.jpg') repeat-y left;width: 23px;margin-left: -100%; margin-top:190px; left: -225px;}
* html #left { padding-left:20px; background: url('img/bgr_left.jpg') repeat-y left;width: 23px;margin-left: -100%; margin-top:190px; left: 210px;}

/*
* html #bg_block_t {background: url('img/block_t.png') no-repeat;width:225px;height:3px; position:relative; top:13px; margin-left:10px; margin-top:10px;}
html>body #bg_block_t {background: url('img/block_t.png') no-repeat;width:225px;height:3px; margin-left:10px; margin-top:10px;}
#bg_block_c {background: url('img/block_c.png') repeat-y;width:225px; margin-left:10px;}
#bg_block_b {background: url('img/block_f.png') no-repeat;width:225px;height:7px; margin-left:10px;}
*/

#bg_left {float:left;background: url('img/bgr_left.jpg') repeat-y;width:23px;height:100%;} /* for header and footer */
#bg_right {float:right;background: url('img/bgr_right.jpg') repeat-y;width:23px;height:100%;} /* for header and footer */

/* Основное содержимое */
#content {  width: 100%; margin-top:250px;}
#content  h1 {
	color:#064368;
	font-weight: bold; 
	font-size:18px;
    font-weight:normal;
	font-family: Gergia;
	text-decoration:underline;
	line-height:1.0;
	margin:0 0 .5em 0;
	position:relative;
	width:100%;}

p.razdeli { font-size:18px; font-family:verdana;}

#wrapper{float:left;width:100%; position:relative; height:auto;}

div#wraper{float:left;width:100%}
div#one{float:left;width:60%}
div#two{float:right;width:40%;margin-left:-100%;*margin-left:-100%}
div#three{clear:both;width:100%}

#content.auto {height:auto;}
#content.realty {height:auto;}
#content.oficialy {height:auto;}
#content.galery {height:auto;}
#content.job {height:100%;}
#content.news {height: auto;}
#content.cities {height: 100%;}

.content table td, th {font-size: 13px;background-color: #f0f0f0;}
.column {padding-top: 45px !important;} 

/* footer */

/* footer */
#footer {height: 60px; background: url('http://newstav.ru/view/img/footer_bg.png') repeat-x;  width:100%;clear:left;}
#footer .bg_left {float:left;background: url('http://newstav.ru/view/img/bgr_left.jpg'); width:23px;} /* for header and footer */
#footer .bg_right {float:right;background: url('http://newstav.ru/view/img/bgr_right.jpg');width:23px;} /* for header and footer */
#footer .banners {height:60px;left:40%;float:left;}


/*###################### Меню ######################*/
#main {
display:block;
height:37px;
width:expression((documentElement.clientWidth||document.body.clientWidth)<1000?'1000px':''); min-width:1000px;position:relative;}
/*Верхняя полоска*/
#menu {
	margin-top: 0; 
	margin-bottom: 0;
	display:block;
	float:center;
	height:35px;
	background: url('img/menu_top_bg.jpg') repeat-x;
	position:relative;
	margin-left:23px;
	margin-right:23px;
	top:174px;
        text-align:center;
 } 
  
#menu ul {
	margin:0 0 0 0;
	width:1000px;
	height:35px;
	float:center;
	list-style:none;
	display:block;
        text-align:center;
}
#menu ul li {
	display:block;
	float:left;
	height:35px;
	width:10px;
	white-space:nowrap;
	line-height:22px;
	font-size:13px} 
html>body #menu ul li {width:auto}

/*Нижний текст*/
#menu ul li a {
	font-weight:bold;
	text-decoration:none;
	padding-left:0px; 
	margin-left:0px; 
	color:#025CB1; 
	display:block;
	height:22px; 
	background-position:0 0; 
	background-repeat:no-repeat;
	white-space: nowrap;}
#top_line {width:100%; height:0px; font-size:1px; line-height: 1px;}

/*Нижний текст при наведении*/
#menu ul li a:hover,
#menu ul li.act a {background-position:0 -35px; color:#FF455C}

#menu ul li.act li a:hover,
#menu ul li.act li.act a,
#menu ul li.act li.act li a:hover,
#menu ul li.act li.act li.act a,
#menu a.act3 {color:#FF455C;}

#menu a.act3,
#menu ul li.act li.act li.act a {font-weight:bold;}

#menu ul li.act li a,
#menu ul li.act li.act li a{color:#006A56}

#menu_razd { background:url('http://newstav.ru/test/menu_razd.png') no-repeat center; width:1px; height:33px; margin:1px;  margin-right:1px; margin-left:1px;}
/* До наведения */
#menu ul li a#mn-0{color:#fff; padding-left:3px; text-align:center; margin:5px; width:77px; height:28px;}
#menu ul li a#mn-1{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:95px; height:28px;}
#menu ul li a#mn-2{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:70px; height:28px;}
#menu ul li a#mn-3{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:76px; height:28px;}
#menu ul li a#mn-4{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:95px; height:28px;}
#menu ul li a#mn-5{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:76px; height:28px;}
#menu ul li a#mn-6{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:95px; height:28px;}
#menu ul li a#mn-7{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:76px; height:28px;}
#menu ul li a#mn-8{color:#FFF; padding-left:3px; text-align:center; margin:5px; width:80px; height:28px;}

/* После наведения */
#menu ul li a#mn-0:hover{margin:5px; color:#145177; background:url('img/menu_act1.png') no-repeat center;}
#menu ul li a#mn-1:hover{margin:5px; color:#145177; background:url('img/menu_act2.png') no-repeat center;}
#menu ul li a#mn-2:hover{margin:5px; color:#145177; background:url('img/menu_act3.png') no-repeat center;} 
#menu ul li a#mn-3:hover{margin:5px; color:#145177; background:url('img/menu_act3.png') no-repeat center;}
#menu ul li a#mn-4:hover{margin:5px; color:#145177; background:url('img/menu_act2.png') no-repeat center;}
#menu ul li a#mn-5:hover{margin:5px; color:#145177; background:url('img/menu_act3.png') no-repeat center;}
#menu ul li a#mn-6:hover{margin:5px; color:#145177; background:url('img/menu_act2.png') no-repeat center;}
#menu ul li a#mn-7:hover{margin:5px; color:#145177; background:url('img/menu_act3.png') no-repeat center;} 
#menu ul li a#mn-8:hover{margin:5px; color:#145177; background:url('img/menu_act7.png') no-repeat center;} 

/*Нижняя выпадающая полоска*/
#menu ul li ul {
  position:absolute;
  top:35px;
  *top:0px;
  left:0; 
  padding:0px 23px 0 33px; 
  width:1000px;
  height:35px; 
  border-top:0px solid #FFF;
  display: none;
  z-index:9; }
#menu ul li ul li{height:22px;padding:0;line-height:19px;position:relative}
html>body #menu ul li ul li{line-height:19px;}
#menu ul li ul li a{font-size:12px;margin:0 0 0 10px; padding:0;height:16px; }

/*Нижний выпадающий блок*/
#menu ul li ul li ul{margin-left:0px; top:21px; padding:0; border-top:1px solid #999999; border-bottom:1px solid #CCCCCC; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; background:#93d9f9; height:auto; z-index:10; width:auto; filter:alpha( opacity=90 );-moz-opacity:0.9;}

/*Нижняя выпадающая полоска*/
#menu ul li ul li ul li{ float:none;position:relative; z-index:10; padding-right:10px; height:auto; /*new*/}
#menu ul li ul li ul li a{font-weight:normal}
#menu ul li:hover ul,
#menu ul li.over ul{display:block;}
#menu ul li:hover ul ul,
#menu ul li.over ul ul{display:none}
#menu ul li:hover ul li:hover ul,
#menu ul li.over ul li.over ul{display:block}
#menu ul li.act ul{display:block; z-index:4}
#menu ul li.act ul ul{display:none}

/*Нижняя полоска*/
#sub-menu {
  padding:0px 23px 0px 23px; 
  height:20px;
  background: url('img/menu_bg.png') repeat-x;
  }
*:first-child+html #sub-menu {
  padding:-1000px 23px 0px 23px; 
  height:22px;
  background: url('img/menu_bg.png') repeat-x;
  }
	
/*Регулировка паддинга. Нужно не забывать что сумма паддинга и ширины не должна привышать 1000px*/
#menu ul #code-0 {   padding-left:0px;}
#menu ul #code-1 {   padding-left:2px; width: 998px; }
#menu ul #code-2 {   padding-left:120px; width: 500px; }
#menu ul #code-3 {   padding-left:185px; width: 800px; }
#menu ul #code-4 {   padding-left:2px; width: 998px; }
#menu ul #code-5 {   padding-left:100px; width: 900px; }
#menu ul #code-6 {   padding-left:200px; width:800px; }
#menu ul #code-7 {   padding-left:400px; width: 600px; }
#menu ul #code-8 {   padding-left:150px; width: 850px; }

