/* Global styles */

*{margin:0; padding:0;}
a img{border:none;}
ul{list-style-type:none;}
a,a:link,a:visited{color:#EF2B33;text-decoration:underline;}
a:hover{text-decoration:none;}
h1{font-size:16pt;padding-bottom:15pt;}
h2{font-size:12pt;padding-bottom:12pt;}
h3{font-size:10.5pt;padding-bottom:10pt;}
h1,h2,h3{color:#464646;}
a h1,a h2,a h3{color:#EF2B33;text-decoration:underline;}

/* Structure */
html{height:100%;}
body{height:100%;font-family:Trebuchet MS;color:#464646;text-align:center;font-size:10pt;background-color:#fff;background:url('images/page_bgr.gif');}
#wrapper{background:#fff;margin:0 auto;
width:expression(
                (document.compatMode && document.compatMode == 'CSS1Compat')?
                (document.documentElement.clientWidth < 1000 ? "1000px" : ( document.documentElement.clientWidth > 1200 ? "1200px": this.width ) ) 
				: ( document.body.clientWidth < 1000 ? "1000px" :( document.body.clientWidth > 1200 ? "1200px" : this.width ) ));

min-width:1000px;max-width:1200px;text-align:left;}
body.index{padding-top:20px;}

#topmenu{height:77px;}
	#header_leftmenu{float:left;font-size:16pt;padding:24px 15px;color:#A90005;}
	#header_rightmenu{float:right;font-size:11pt;padding-right:20px;}
		#header_rightmenu li{float:left; padding:28px 14px 10px;}
		#header_rightmenu li.active{font-size:14pt;}
		#header_rightmenu li a,#header_rightmenu li a:visited,#header_rightmenu li a:link{float:left;color:#0054A6;}
		
#header{overflow:hidden;height:126px;margin:0 10px 0 0;}
	#header_left{float:left;height:121px;width:242px;position:relative;background:url('images/header_left.gif') no-repeat top left;}
		#header_logo{width:181px;height:48px;position:absolute;top:39px;left:28px;}
	#header_middle, #header_middle_index{overflow:hidden;font-size:15px;color:#A90005;position:relative;height:126px;margin-right:199px;background:url('images/header_middle.jpg') no-repeat top left;}
	#header_middle_index{background:url('images/header_middle_idx.gif') no-repeat top left;margin-right:0;}
		#header_middle .tx1{position:absolute;top:50px;left:20px;}
		#header_middle .tx2{position:absolute;top:68px;left:188px;}
		#header_middle .tx3{position:absolute;top:50px;left:317px;}
		#header_middle a,#header_middle a:link,#header_middle a:visited{text-decoration:underline;color:#0054A6;display:block;float:left;}

		#header_middle_index .tx1{position:absolute;top:64px;left:27px;}
		#header_middle_index .tx2{position:absolute;top:42px;left:235px;}
		#header_middle_index .tx3{position:absolute;top:38px;left:451px;}
		#header_middle_index a,#header_middle_index a:link,#header_middle_index a:visited{text-decoration:underline;font-size:110%;color:#0054A6;display:block;float:left;}
		
	#header_right{width:170px;height:121px;float:right;}
		#hr_in, #hr_in2{width:170px;height:121px;background:url('images/header_right.jpg') no-repeat top left;}
		#hr_in2{background:url('images/header_right2.jpg') no-repeat top left;}
			#autoform{padding:15px 0 0 40px;}
			#auto_login, #auto_password{margin-bottom:11px;width:123px;border:none; background-color:#fff;padding:5px 2px;border:#A90005 1px solid;}
			#auto_button{color:#ffffff;font-size:16px;float:right;margin-right:13px;font-weight:bold;background-color:transparent;padding:0;border:0;}
			#autoform label {color:#ffffff;}
		
	#container {width: 100%;overflow:hidden;padding:35px 0;}
	#content, #content_idx {width: 100%;float: left;overflow:hidden;}
		#text, #text_in, #text_idx {margin: 0 209px 0 242px;overflow:hidden;padding:0 36px 0 0;}
		#text_in {margin: 0 0 0 242px;}
		#text_idx {margin: 0 0 0 500px;}

	#content_idx #howmuch{height:90px;padding-right:20px;float:right;padding-left:20px;font-size:15pt;}
	#howmuch a,#howmuch a:link,#howmuch a:visited{color:#0054A6;}
	#bnr_idx{margin-top:44px;}

			* html ul li a {height:1em;} /* убрать двойной отступ в списках ссылок */
		
	#left, #left_idx {float: left;width: 252px;margin-left: -100%;overflow:hidden;font-size:9pt;background:url('images/l_bottom.png') no-repeat bottom left;padding-bottom:50px;}
	#left_idx{width:500px;background:url('images/l_cards.jpg') no-repeat top left;}
		.left_block{padding:0 24px 20px 16px;background:url('images/lb_hline.png') no-repeat bottom left;}
	#left_idx .left_block{background:none;padding-left:140px;}
			.left_block a{clear:both;font-size:10.5pt;padding:0 0 5px 16px;display:block;background:url('images/l_hline.png') no-repeat top left;}
			.left_block a.header{font-size:14pt;padding:0 0 15px 8px;background:none;}
			.left_block p{clear:both;padding:0 0 30px 16px;line-height:11pt;}
			.left_block span{clear:both;float:right;font-size:8pt;color:#7d7d7d;display:inline;}
			.left_block img{clear:both;padding:0 0 6px 16px;display:inline;}
			.left_block li.active a,.left_block li.active a:link,.left_block li.active a:visited{color:#464646;}
			
			#idx_login{height:156px;background:url('images/login_bg_idx.gif') no-repeat top left;}
			#idx_login #auto_login, #idx_login #auto_password{float:left; clear:both;margin:10px 20px;width:177px;}
			#idx_login #auto_login{margin-top:25px;}
			#idx_login #auto_password{clear:none;}
			#idx_login #auto_button{margin:10px 0;float:left; clear:right;}
			#idx_login a, #idx_login a:visited, #idx_login a:link{float:left;color:#0054A6;padding-left:20px;}
			
			#newsblock{padding:20px;}
			#newsblock .grey{color:#A1A1A1;}
			.left_block #newsblock a,.left_block #newsblock a:link, .left_block #newsblock a:visited{color:#0054A6;display:block;font-size:11pt;}
			#newsblock a.allnews{font-size:8pt;}
	
	#right {float: left;width: 209px;margin-left: -209px;overflow:hidden;background:url('images/r_bottom.png') no-repeat bottom left;padding-bottom:65px;}
		.right_block{padding:0 27px 30px 0;clear:both;background:url('images/rb_hline.png') no-repeat bottom left;}
		.right_block img{margin-bottom:7px;}
		.right_block a.header{font-size:14pt;padding:0 0 6px 0;display:block;}
		.right_block ul{padding-bottom:20px;}
		.right_block li{float:left;padding:0 8px 0 0;}
		.year{clear:both;font-size:14pt;height:20px;display:block;}

	.clear,.clearpad{clear:both;}
	.clearpad{padding-bottom:30px;}
	#footer_red{height:28px;margin:0 0 0 10px;background:#A90005 url('images/fr_left.jpg') no-repeat top left;}
		#fr_right{height:28px;position:relative;}
		#copyright{float:right;margin:5px 10px;color:#FFFFFF}

	#footer{height:54px;margin: 0 20px;font-size:8pt;color:#D6D6D6;padding-top:3px;}
		#footer a,#footer a:link,#footer a:visited{color:#D6D6D6;}
			#footer_leftmenu{font-size:9pt;float:right;}
				#footer_leftmenu li{float:left; padding:16px 10px;}
				#footer_leftmenu a,#footer_leftmenu a:link,#footer_leftmenu a:visited{color:#0054A6;}
		
	#content table{border-collapse:collapse;}
	#content table td{padding:6px;}
	
#autoform div a{
color:#0054A6;
font-size:9pt;
}
#autoform div{
clear:both;
color:#A90005;
}
#autoform div span{
padding:2px;
float:left;
}
#autoform div span.name{
padding:8px 2px;
}