body,html{
margin:0;
padding:0;
background: url(images/pattern_5.jpg) repeat-x repeat-y;
}
#inside{background:url(images/pattern_5.jpg);}
        a img{border:none;}
	h4{
		margin:0;
		padding:0;
		text-size:14px;
		font-weight:bold;
		}
		
	 h2{
		text-weight:bold;
		text-size:24px;
		text-align:center;
		margin-bottom:0px;
                margin-top:0px;
		}
	h1{
	text-align:center;
	margin:0 0 20px 0;
	}
		
.container{
	margin:0 auto;
	width:1000px;
	font-family: Georgia, serif;
background: url(images/pattern_2.jpg) repeat-x repeat-y;
	}

.header{
	width:946px;
	height:181px;
	margin: 10px auto 0;
}

		.logo_header{
			width:673px;
			height:143px;
			padding: 20px  0 0 80px;
			margin: 0;
		}	
		
.menu_top{
	width:100%;
	height: 73px;
	font-size:18px;
	position:relative;
	left:-10px;
}

		.menu_horizontal{
			overflow:hidden;
		}
		
		.menu_horizontal li{
			float:left;
			list-style:none;
			padding: 0 7px;
			text-transform:lowercase;
			
		}
		
		.menu_horizontal a{
			color: black;
			text-decoration: none;
			font-weight: bold;
			display:block;
		}
		
		.menu_horizontal a:hover 
		{
			text-decoration: underline; 
		}
		
.middle_page{
	width:1000px;
}

	.middle_left{
		float:left;
		width: 135px;
		
		margin-left:29px;
		margin-right:0;
		_margin-left:15px;
	}
	
		.price p{
		text-size: 14px;
		}
		
		.download_xls{
		width:40px;	
		float:right;
		position:relative;
		top: -40px;
		left:-5px;
		}
		
		.articles{
			margin: 80px 0 0 0;
		}
		
		.articles li{
		list-style:none;
		}
		
				
	.middle_center{
		float:left;
		
		width:606px;
		margin:0 0 0 8px;
	}
	
		.middle_center p img{margin:0 3px;}
		
		.third_line{
			overflow:hidden;
			margin:0;
			padding:0;
		}
		
		.third_line li{
			float:left;
			list-style:none;
			padding: 10px 7px 0px 0;
		}
		
                .map{
                width:500px;
                }	

.middle_right{
	float: right;
	
	width:188px;
	margin-right: 32px;
	}
	
		.news{
		width: 188px;
		height:265px;
		}
		
		.news p{
		padding:0;
		margin:0;
		width:188px;
		}
	
		.vacancy{
		width:188px;
		height:130px;
		}
		
		.clear{
			clear:both;
		}
		
		.photogallery{
		width: 940px;
		height: 155px;
		margin:0 auto;	
		padding-bottom:30px;
		}
		
		.left_arrow{
		height:155px;
		width:71px;
		background: url(images/left_ara_white.png) no-repeat;
		float:left;
		}
		
		.right_arrow{
		height:155px;
		width:71px;
		background: url(images/right_ara_white.png) no-repeat;
		float:right;
		position:relative;
		top: -152px;
		}
		
		div.middle-photo {
	/* Set it so we could calculate the offsetLeft */
	position: relative;
	left:25px;
	height: 155px;
	width: 750px;
	overflow: auto;
}
ul.middle-photo {
	display: block;
	height: 155px;
	/* max width here, for users without javascript */	
	width: 2500px;
	/* removing default styling */
	margin: 0;
	background: url('navigation.png');		
	list-style: none;
}
.middle-photo li {
	display: block;
	float: left;	
	padding: 0 4px;
}
.middle-photo a {
	display: block;
	text-decoration: none;
}
.middle-photo span {
	display: none;
	margin-top: 3px;	
	text-align: center;
	font-size: 12px;	
	color: #fff;
}
.middle-photo a:hover span {
	display: block;
}
.middle-photo img {
	border: 3px #fff solid;	
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}
.middle-photo a:hover img {
	filter:alpha(opacity=50);	
	opacity: 0.5;
}


.footer{height:48px;line-height:38px;list-style:none;margin-top:20px;position:relative;width:940px;}
.footer li{float:left;}
.footer li.counter{height:33px;margin: 0 5px 0 30px;width:88px;}
.footer li.second_counter{height:33px;line-height:1px;margin: 0 270px 0 0;width:88px;}
.footer .second_counter img{margin:-4px 0 5px;}
.footer img.webfab{margin:11px 0 0 10px;position:absolute;}
.footer li.last_footer{margin:0;}


	.middle_center p{width: 600px; padding: 0; margin-top:0px;}
	.middle_center h2{ margin:0}
		
.price_choice{
		list-style:none;
		font-size:12px;
	}
	
	.price_choice li{
		float:left;
		padding: 0 5px;
	}
	
	.last{
		margin: 0 0 0 200px;
	}


	ul.photomatrix {
		list-style:none;
		overflow:hidden;
		padding:0;
		width:580px;
		margin:0 auto;
	}
	
		.photomatrix li{
			float:left;
			width:131px;
			height:150px;
			padding:5px 5px;
		}

.photomatrix h4{
			text-align:center;
			margin: 0 0 0 -10px;
		}

.middle_center ul.matrix {
		list-style:none;
		overflow:hidden;
		padding:0;
		width:580px;
		margin:0;
	}
	
		.middle_center .matrix li{
			float:left;
			width:131px;
			height:100px;
			padding:5px 5px;
		}

                .middle_center .matrix p{
                  background:white;
                  width:100%;
                  height:20px;
                  font-size:10px;
                  margin:0;
                  text-align:center;
                  display:block;
                  padding:0;
                }
ul.matrix_pamyat{float:left;list-style:none;margin:0;padding:0;}
ul.matrix_pamyat li{float:left;height:170px;width:131px;}
ul.matrix_pamyat li p{font-size:11px;font-weight:bold;text-align:center;width:131px;}
ul.matrix_pamyat .double{width:270px;}
ul.matrix_pamyat .double p{width:270px;}

form ul{list-style:none;}
form ul li{margin:0 0 10px 0;width:250px;}
form ul li label{float:right;}
form ul li input.input_text{border:1px solid #ccc;}
form ul li input.button{border:1px solid #ccc;}
a.button10{background: url(images/button_10.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button11{background: url(images/button_11.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button12{background: url(images/button_12.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button10:hover{background-position:0 0;}
a.button11:hover{background-position:0 0;}
a.button12:hover{background-position:0 0;}
.first_line{margin:0;overflow:hidden;padding:0;}		
.first_line li{float:left;list-style:none;padding: 0 7px 0px 0;}
.not_first_line{margin:0;overflow:hidden;padding:0}		
.not_first_line li{margin:0 auto;list-style:none;padding: 0 7px 0px 0;width:195px}
a.button13{background: url(images/button_13.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button13:hover{background-position:0 0;}
a.button14{background: url(images/button_14.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button14:hover{background-position:0 0;}
a.button15{background: url(images/button_15.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button15:hover{background-position:0 0;}
a.button16{background: url(images/button_16.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button16:hover{background-position:0 0;}
a.button17{background: url(images/button_17.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button17:hover{background-position:0 0;}
a.button18{background: url(images/button_18.png) no-repeat 0 -141px;display:block;height:138px;width:195px;}
a.button18:hover{background-position:0 0;}
a.button6{
			background: url(images/button_6.png) no-repeat 0 -141px;
			width: 195px;
			height:138px;
			display:block;
		}
		
		a.button6:hover {
		background-position:0 0;
		height: 138px;
		width:195px;
		}
		
			a.button7{
			background: url(images/button_7.png) no-repeat 0 -141px;
			width: 195px;
			height:138px;
			display:block;
		}
		
		a.button7:hover {
		background-position:0 0;
		height: 138px;
		width:195px;
		}
		
			a.button8{
			background: url(images/button_8.png) no-repeat 0 -141px;
			width: 195px;
			height:138px;
			display:block;
		}
		
		a.button8:hover {
		background-position:0 0;
		height: 138px;
		width:195px;
		}
		
			a.button9{
			background: url(images/button_9.png) no-repeat 0 -141px;
			width: 195px;
			height:138px;
			display:block;
		}
		
		a.button9:hover {
		background-position:0 0;
		height: 138px;
		width:195px;
		}
ul.first_line{
			overflow:hidden;
			margin:0;
			padding:0;
		}
		
		ul.first_line li{
			float:left;
			list-style:none;
			padding: 0 7px 0px 0;
		}
li.blank{height:138px;
width:195px;}
