body {padding: 0; margin: 0; height: 100%; font-size: 1.05em;}
html {height: 100%;}
img {border: solid 0;}

#all {position: relative; left: 0; top: 0; min-height: 100%; _height: 100%; width: 100%; min-width: 1000px; background: #666972 url(../images/fon.gif) repeat;}

*html #all, *html #footer {overflow: visible; width: expression((documentElement.clientWidth || document.body.clientWidth) < 1000 ? '1000px' : '100%');}

#dashed_left_line {width: 8px; height: 100%; position: absolute; _position: relative; float: left; top: 0; left: 234px; margin: 0 -242px 0 0; background: url(../images/dashed_left_line.gif) repeat-y;}

#content_shadow {width: 100%; height: 70px; position: absolute; _position: relative; left: 0; top: 0; margin: 400px 0 -470px 0; background: url(../images/content_shadow.png) repeat-x; _background: url(../images/content_shadow.gif) repeat-x;}

#header {width: 100%; height: 400px; position: relative; float: left; top: 0; background: #78A8D9 url(../images/kuzbas_sky.jpg) -270px 0 repeat-x;}

	#kamaz {width: 567px; height: 398px; position: absolute; left: 0; top: 1px; background: url(../images/kamaz.jpg);}

	#kuzbas_logo {position: absolute; left: 80px; top: 60px; font: 1em Tahoma; color: #fff;}

	#menu {height: 45px; position: absolute; right: 0; top: 0; padding: 0 10px; border-left: solid 1px #657dac; background: #657dac url(../images/menu_bg.gif) repeat-x;}

	  #menu b {display: block; position: relative; float: left; padding: 15px 15px 0 15px; background: url(../images/menu_item.gif) center 6px no-repeat;}

	  #menu b a {font: normal .8em Tahoma; text-decoration: none; color: #e5e5e5;}
	  #menu b a:hover {text-decoration: underline;}

	  #menu b i {display: block; width: 1px; height: 9px; position: absolute; right: 0; top: 19px; border-left: dashed 1px #fff; font-size: 0px;}

	  #menu b#patch {width: 3px; height: 45px; left: -2px; padding: 0; background: url(../images/menu_bg.gif) repeat-x; }

	#header_txt {height: 240px; position: relative; top: 150px; margin: 0 100px 30px 560px; font: .8em Tahoma; color: #fff; overflow: hidden;}

	#header_txt h3, #header_txt div.block-header {float: left; margin: 0 0 10px 0; font: bold 1em Tahoma; color: #600; border-bottom: dashed 1px #600;}

	#header_txt_shadow {width: 100%; height: 68px; position: absolute; left: 0; bottom: 0; background: url(../images/header_txt_shadow.png) repeat-x;
	_background: none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='templates/site/images/header_txt_shadow.png', sizingMethod='scale');
	}

	#header_txt_shadow a {position: absolute; right: 10px; bottom: 0; font: bold 1em Tahoma; color: #600; text-decoration: none; /*border-bottom: dashed 1px #600;*/}
	#header_txt_shadow a:hover {color: #ff6e6c; border-color: #ff6e6c;}

	#header_r_end {width: 121px; height: 365px; position: absolute; right: 0px; top: 65px; background: url(../images/header_r_end1.png);
	_background: none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='templates/site/images/header_r_end1.png', sizingMethod='scale');
	}

	#header_l_b_end {width: 34px; height: 23px; position: absolute; left: 476px; bottom: -22px; background: url(../images/header_l_b_end.gif);}

	#kuzbas_coal {position: absolute; right: 85px; top: 60px;}

	#kasko {width: 97px; height: 68px; position: absolute; left: 158px; bottom: -56px; background: url(../images/kasko.gif);}

	#paper {width: 109px; height: 65px; position: absolute; right: 120px; bottom: -64px; background: url(../images/paper.gif);}

#contacts {width: 214px; position: relative; float: left; left: 20px; margin: 20px 0 0 0; font: .8em Tahoma;}

	#contacts h3 {float: left; margin: 0 0 10px 0; font: bold 1em Tahoma; color: #fff; border-bottom: dashed 1px #fff;}

	#contacts b {display: block; margin: 15px 0 15px 0; font: normal 1em Tahoma; color: #fff;}

#passage_map b {padding: 1px 3px; color: #e5e5e5; background: #333; float: left;}

	#passage_map b a {font: normal 1em Tahoma; text-decoration: none; color: #e5e5e5;}
	#passage_map b a:hover {color: #fff;}

#center {_width: 100%; position: relative; top: 20px; margin: 400px 10px 0 290px; //margin: 0 30px 0 290px; font: .8em Tahoma;}
#cont {width: 95%; position: relative; top: 10px; margin: 100px 10px 20px 0px; //margin: 0 10px 0 0px; font: 1.0em Tahoma;}

	#in {width: 100%; position: relative; float: left;}

	#in h3, #in div.block-header {float: left; margin: 0 0 10px 0; font: bold 1em Tahoma; color: #fff; border-bottom: dashed 1px #fff;}


	#in a, #in a:link, #in a:visited, #in a:active {color: #ff6e6c;}
	#in a:hover {color: #bddfff;}

	.news_item {width: 42%; position: relative; float: left; margin: 0 5% 0 0;}

	.news_item h4 {display: block; width: 100%; position: relative; float: left; font: normal .9em Tahoma; margin: 6px 0; color: #ff6e6c;}

	.news_item h4 a, .news_item h4 a:visited {float: left; color: #ff6e6c;}

	.news_item h4 b {display: block; position: relative; float: right; font: normal 1em Tahoma; color: #bddfff;}

	.news_item h4 b i {font: normal 1em Tahoma; color: #fff;}

	#all_news_href {float: right; margin: 15px 90px 0 0; color: #ff6e6c;}

	#center ol {list-style-position: inside;}

	#center ul {list-style: none; list-style-position: outside;}

	#center ul ul {margin-left: 15px;//margin-left: 0;}

	#center ul li {position: relative; padding-left: 18px; background: url(../images/content_ul_li.gif) 3px .5em no-repeat;}


.bottom_margin {width: 100%; height: 60px; position: relative; float: left;}

#footer {width: 100%; min-width: 1000px; height: 49px; position: relative; float: left; margin-top: -49px; background: #092165 url(../images/footer_bg.gif) repeat-x;}

	#triangles {width: 61px; height: 32px; position: absolute; right: 265px; top: 10px; background: url(../images/triangles.gif);}

	#footer p {margin: 20px 0 0 30px; font: .7em Tahoma; color: #bddfff;}

	#footer_right {width: 250px; height: 49px; position: absolute; right: 0; top: 0; background: #78A8D9 url(../images/footer_right_border.gif) top repeat-x;}

	#ts_href {display: block; margin-top: 12px; text-align: center;}

	#ts_href a { font: normal .75em/.75em Arial; color: #fff; text-decoration: none;}

	#ts_href b {font: normal .75em Arial;}

	.counter {
		position: absolute; top: 10px; right: 400px;}
		
		
/* Submenu */

	#menu b {
		position: relative;}

	.submenu {
		display: none; position: absolute; top: 44px; left: 0px; width: 100px;
		list-style:none;
		background: #4d739a; border: 1px #657dac solid;}
		
		.submenu li{
			padding: 6px 10px;
			border-top: dashed 1px #6287b1;}
			
	.bn {
		border: 0 !important;}
