body {padding: 0; margin: 0; min-height: 100%; //height: 100%;}
html {min-height: 100%; //height: 100%; }
img {border: solid 0;}

#all, #footer {position: relative;  min-height: 100%; width: 100%; min-width: 1005px; //padding-bottom: 80px; background: url(../images/left_border.gif)  230px 0 repeat-y;}
*html #all, *html #footer {height: 100%; //overflow: visible; width: expression((documentElement.clientWidth || document.body.clientWidth) < 1005 ? '1005px' : '100%');}
/*#left_border {width: 5px; height: 100%; display: block; position: relative; float:  left: 230px; top: 0px; //margin-bottom: -100%; background: url(../images/left_border.gif) repeat-y;}
*/
#right_border {width: 5px; height: 100%; position: absolute; right: 230px; top: 0px; background: url(../images/left_border.gif) repeat-y;}
*html #right_border {width: 5px; height: 100%; position: relative; float: right; right: 231px; top: 10px; margin-bottom: -10000%;/*kostil' kakojto*/ background: url(../images/left_border.gif) repeat-y;}


#header {width: 100%; height: 163px; position: relative; float: left; background: #68AACE url(../images/header_final.jpg) center -1px no-repeat;}
	#logo {display: block; width: 100px; height: 130px; position: absolute; left: 50%; top: 25px; margin-left: -450px;}
	#services {width: 80px; height: 10px; position: absolute; left: 50%; top: 10px; margin-left: 223px; border-right: solid 1px #DBDBDB;}
	#services a {display: block; position: relative; float: left; margin: 0 5px; background: #000;}
	#services a:hover {background: #2588BD;}
	#header form {display: block; position: absolute; left: 50%; margin-left: 316px; font: bold 12px Verdana;}
	#search_input {width: 110px; font: 11px Verdana; height: 12px;//height: 16px; margin-top: 6px; border: solid 1px #E0E0E0;}
	#search_submit {width: 15px; height: 16px; position: relative; top: 1px; //top: 0; border: solid 0; background: url(../images/search_submit.gif);}

#menu {width: 100%; height: 37px; position: relative; float: left; border-bottom: solid 3px #F0F0F0; background: url(../images/menu_bg.gif) repeat-x;}
	#plushka {width: 69px; height: 20px; position: absolute; left: 50%; margin-left: -435px; top: 0; background: url(../images/plushka.jpg);}
	#menu a {height: 37px; display: block; position: relative; float: left; padding-top: 12px; font: 11px Verdana; color: #000; text-decoration: none;}
	#menu a i, #menu a b {display: none;}
	#menu a:hover, .menu-active {color: #4799C6; text-decoration: none; border-top: solid 2px #fff; top: -2px; background: url(../images/menu_hover.gif) repeat-x;}
	#menu i {display: block; width: 20px; height: 38px; position: relative; float: left; background: url(../images/menu_border.gif) center no-repeat;}
	#menu s {display: block; width: 2px;//width: 4px; height: 18px; position: relative; float: left; margin: 10px -7px 0 7px; background: #016EAB; border: solid 1px #87BBD7; }
	.m_hov i, .menu-active i {display: block !important; width: 8px !important; height: 2px !important; position: absolute !important; left: -8px !important; top: -2px !important; background: url(../images/m_hov_l.gif) !important;}
	.m_hov b, .menu-active b {display: block !important; width: 8px !important; height: 2px !important; position: absolute !important; right: -8px !important; top: -2px !important; background: url(../images/m_hov_r.gif) right !important;}



#left {width: 230px; position: relative; float: left; background: #FBFBFB;}
	.submenu_corner_r_t {width: 5px; height: 5px; position: absolute; right: 0px; top: 0px; margin: 0 !important; padding: 0 !important; border: solid 0 !important; background: url(../images/submenu_corner_r_t.gif);}
	.submenu_corner_r_b {width: 5px; height: 5px; position: absolute; right: 0px; bottom: 0px; margin: 0 !important; padding: 0 !important; border: solid 0 !important; background: url(../images/submenu_corner_r_b.gif);}
	.end_submenu {height: 2px; margin: -2px 0 0 0 !important;//margin: -15px 0 0 0 !important; padding: 0 !important; border: solid 0 !important; background: #DEE3E8;}
	#left ul {width: 230px; position: relative; margin: 0; padding: 0; list-style: none; background: #DEE3E8;}
	#left ul li {margin: 0 4px 0 7px; padding: 8px 4px; border-bottom: dotted 2px #FFF;}
	#left ul li a {padding: 0 0 0 8px; font: .7em Verdana; color: #000; text-decoration: none;}
	#left ul li a:hover {color: #2385BB; text-decoration: underline; background: url(../images/submenu_li_hover.gif) 0 center no-repeat;}
	#left hr {margin: 2px 0 0 0;//margin: -5px 0 0 0; color: #7DB6D5; border: solid 1px #7DB6D5;}
	#left_links {position: relative; top: 2px;//margin-top: -10px !important;}
	#left_links * a {color: #4798C5 !important;}
	#photo_gallery, #month_man {width: 204px; margin: 30px 10px 0 10px; border-bottom: dotted 2px #DDD; font: bold .7em Verdana; color: #4799C6;}
	#month_man {border: solid 0; text-align: center;}
	#photo_gallery img {margin: 10px 0 0 30px;}
	#month_man a {border: solid 1px #DADADA; position: relative; float: left; margin: 10px 30px 0 30px;}
	#month_man a img {border: solid 5px #F7F7F9;}



#right {width: 100%; position: relative; float: right; margin: 0 0 0 -230px; font: .8em Verdana;}
	#content {display: block; height: 100%; position: relative; margin: 0 0 0 235px; border-right: solid 5px #F0F0F0; border-bottom: solid 5px #F0F0F0; font-size: .9em; background: #93C0D9;}
	#content h1 {display: none;}
	.main-path {display: none;}
	#content_img {width: 154px; height: 100%; display: table-cell; position: absolute; float: left; text-align: center; font: .7em Verdana; color: #fff; background: url(../images/content_img_bg.gif) repeat-y;}
	#content img {margin: 20px -150px 0 0; left: 20px; position: relative; float: left;  }
	#content b {position: relative; float: left; clear: both;}
	#p {position: relative; display: block; margin: 0 0 0 154px; padding: 10px 8px 10px 8px; //margin: 0; //padding-left: 154px;}
	#content_top_border {width: 146px; height: 5px; position: absolute; left: 0; top: 0; background: url(../images/content_top_border.gif);}
	#content_bottom_border {width: 146px; height: 5px; position: absolute; left: 0; bottom: 0; background: url(../images/content_bottom_border.gif);}
	#content_corner_r_t {width: 5px; height: 5px; position: absolute; right: 0;//right: -1px; top: 0; background: url(../images/content_corner_r_t.gif);}
	#content_corner_r_b {width: 5px; height: 5px; position: absolute; right: 0;//right: -1px; bottom: 0; background: url(../images/content_corner_r_b.gif);}


#bottom_block {width: 100%; position: relative; float: right;}
	#poll {z-index: 3; width: 230px; position: relative; float: right; margin-left: -230px;}
	#poll form b {position: relative; display: block; font-size: .9em; color: #0172B1; margin: 10px;}
	#poll form label {width: 200px; position: relative; float: left; margin: 8px 14px;}
	#poll_submit {width: 95px; height: 32px; position: relative; float: right; border: solid 0; margin-right: 17px; cursor: pointer; background: url(../images/poll_submit.gif);}
	#poll form label input {position: relative; float: right;}
	#poll a {display: block; color: #4799C6; position: relative; margin: 3px 0 15px 14px;}
	#weather {width: 230px; border-top: dotted 2px #F0F0F0; padding: 12px 0; font: bold .85em Verdana; color: #4799C6;}
	#gosuslugi {width: 230px; border-top: dotted 2px #F0F0F0; padding: 12px 0; font: bold .85em Verdana; color: #4799C6;}
	#money {width: 210px; border-top: dotted 2px  #DDD; margin: 0 10px; padding: 12px 0; font: bold .85em Verdana; color: #4799C6;}
	#weather a img {margin: auto; text-align: center;}
	#weather div, #money div {width: 100%; text-align: center;}



	#gen_events {width: 100%; display: block; position: relative; float: left; //padding: 0 240px 0 240px; margin: 0 0 0 0; border-bottom: solid 5px #F0F0F0;}
		#events_header, #anons_header, #poll_header {display: block; float: left; height: 36px; position: relative; left: 235px;//left: -5px; background: #74B2D3 url(../images/events_header.gif) left top no-repeat;}
		#poll_header {left: 0;}
		#events_header i, #anons_header i, #poll_header i {display: block; width: 61px; height: 37px; position: relative; float: left; top: 0; margin-bottom: -1px; background: url(../images/events_header_r.gif);}
		#anons_header i {background: url(../images/news_header_r.gif);}
		#poll_header i {background: url(../images/poll_header_r.gif);}
		#events_header b, #anons_header b, #poll_header b {position: relative; float: left; margin: 17px 0 0 12px; color: #FFF;}
		#events_content, #anons_content {position: relative; float: left; display: block; margin: 0 235px;//margin: 0;}
	
	#events_line_r {width: 230px; height: 6px; position: absolute; right: 0; bottom: -6px; background: #FFF;}
	#events_line_l {width: 230px; height: 6px; position: absolute; left: 0; bottom: -6px; background: #FFF;}
	#events_border_end {width: 4px; height: 11px; position: absolute; right: 235px; bottom: -8px; background: url(../images/events_border_end.gif) no-repeat;}

	#anons {width: 100%; display: block; position: relative; float: left; //padding: 0 240px 0 240px; margin: 0 0 0 0;}
		.item {margin: 0 10px; padding: 10px 5px; border-bottom: dotted 2px #D2D2D2; display: block;}
		.end_items {width: 100%; height: 2px; position: relative; display: block; margin: -2px -1% 0 0; background: #fff;}
		.item p {margin: 0; padding: 0;}
		.item_a {position: relative; display: block; clear: both; float: right; margin: -0.5em 0 0 0;//margin: -.5em 0 0 -5em; padding: 0 18px 0 0; text-decoration: none; color: #016DAE; background: url(../images/more.gif) right 6px no-repeat;}
		.item_img {width: 97px; height: 97px; position: relative; float: right; overflow: hidden;}
		.item_img div {width: 97px; height: 97px; position: absolute; left: 0; top: 0; background: url(../images/news_img_border.gif) no-repeat;}
		.item br {clear: both; font-size: 0; margin-bottom: -5px;}
		.item b, .item a b {display: block; margin: 3px 0; padding: 0; font: .85em Verdana; color: #0071AF;}
		.item b a {text-decoration: none; color: #0071AF;}
	#line {display: inline; position: relative; height: 3px; border: solid 1px red;}

#footer {width: 100%; height: 75px !important; position: relative; clear: both; margin-top: -80px;//margin-top: -75px; border-top: solid 5px #F0F0F0; font: .65em Verdana; color: #fff; background: #81B8D6;}
	#left_border_end {width: 11px; height: 3px; position: absolute; left: 227px; top: -8px; background: url(../images/left_border_end.gif);}
	#right_border_end {width: 11px; height: 3px; position: absolute; right: 227px; top: -8px; background: url(../images/right_border_end.gif);}
	#footer_r_bg {width: 135px; height: 100%; position: absolute; right: 157px; top: 0; background: url(../images/footer_r_bg.gif) right repeat-y;}
	#footer_corners {width: 18px; height: 5px; position: absolute; right: 223px; top: 0px; background: url(../images/footer_corners.gif);}
	#ts_logo {width: 100px; display: block; position: absolute; right: 60px; top: 8px; text-decoration: none; font: 11px Verdana; color: #FFF;}
	#insis_logo {width: 100px; display: block; position: absolute; right: 55px; top: 43px; text-decoration: none; font: 11px Verdana; color: #FFF;}
	#footer p {margin: 10px; // margin-bottom: -80px; position: absolute; float: left;}
	#footer p b {position: relative; float: left; margin: 8px 0; font: normal 1.1em Verdana;}

