﻿
body {
background: #4897f3 url(/i/bg_main.jpg) repeat-x;
font-size: 16px;
font-family: Tahoma;
color:#666;
padding:0px;
margin:0px;
}

:focus { -moz-outline-style: none; }

img, div { behavior: url("/i/iepngfix.htc"); }

a {color: green;}

img {border: none;}

/* ----------container to center the layout---------- */

* {margin:0;padding:0;} 

/* must declare 0 margins on everything, also for main layout components use padding, not 
vertical margins (top and bottom) to add spacing, else those margins get added to total height 
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */

html, body, #wrap {height: 100%;}

body > #wrap {height: auto; min-height: 100%;}

#wrap {
	width: 935px;
	text-align: center;
	margin:0 auto; /*Хак выравнивания по центру*/
	border: 0;
}

#main {padding-bottom: 15px;}  /* must be same height as the footer */

#footer {position: relative;
	margin-top: -165px; /* negative value of footer height */
	height: 165px;
	clear:both;
	width: 100%;
	
	margin:0 auto; /*Хак выравнивания по центру*/
	background: url(/i/bg_footer.jpg) repeat-x;
	} 
	
#footer_content	{width:935px; 
	height:165px;
	margin:0 auto;
}

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



/* ----------banner for logo-------------- */
#header {

padding: 0px;
margin: 35px 0 0 0;
width: 935px;
height: 97px;
}

#mainmenu {
height: 43px;
	background: url(/i/bg_mainmenu.png) no-repeat;
	text-align: center;
	font: italic bold 16px Georgia ;
color: #fff; 
padding: 0 0 0 0;
margin: 30px 0 30px 0;
}

#mainmenu2 {
height: 43px;
	background: url(/i/bg_mainmenu.png) no-repeat;
	text-align: center;
	font: italic bold 16px Georgia ;
color: #fff; 
padding: 0 0 0 0;
margin: 30px 0 15px 0;
}

#mainmenu a {
	color: #fff;
	font: italic bold 16px Georgia ;
}

#mainmenu2 a {
	color: #fff;
	font: italic bold 16px Georgia ;
}

#mainmenu :hover{color: #ffcc33;}

#mainmenu2 :hover{color: #ffcc33;}

#mainmenu p {
	padding-top:10px;
}

#mainmenu2 p {
	padding-top:10px;
}
#mainmenu img {
	vertical-align: middle;
	padding-right: 5px;
}

#mainmenu2 img {
	vertical-align: middle;
	padding-right: 5px;
}
/* ----------left----------------- */
#left {
	float: left;
	width: 200px;

}

#spec {
	background: #fff url(/i/bg_left.gif) repeat-y;
}

#spec img {
	padding-top: 15px;
}

#contentbox{
	float: right;
width: 725px;
background: url(/i/bg_banner.png) no-repeat;
}

#contentbox2{
	
width: 935px;
}

.content_title {
	background: url(/i/bg_title.png) no-repeat;
	height: 35px;
	text-align: left;
	
}

.content_title2 {
	background: url(/i/bg_title2.png) no-repeat;
	height: 35px;
	text-align: left;
	
}



#content {
padding: 20px;
background: #fff;
}

#content p {
	line-height: 16px; font: normal 16px Tahoma;
	text-align: left;
	padding-top: 10px;
	}

	#content_btm {
	background: url(/i/corners_btm.png) no-repeat;
	width: 725px; height: 65px;
	text-align: right;
	}
	
	#content_btm2 {
	background: url(/i/corners_btm2.png) no-repeat;
	width: 935px; height: 65px;
	text-align: right;
	}
	
/* ----------block's----------------- */

#b1 {float: left; width:320px; height:120px; background: url(/i/bg_b1.png) no-repeat; margin-bottom: 10px; }
#b3 {float: left; width:320px; height:120px; background: url(/i/bg_b3.png) no-repeat; margin-bottom: 10px;}
#b5 {float: left; width:320px; height:120px; background: url(/i/bg_b5.png) no-repeat; margin-bottom: 10px;}
#b7 {float: left; width:320px; height:120px; background: url(/i/bg_b7.png) no-repeat; margin-bottom: 10px;}

#b2 {float: right; width:320px; height:120px; background: url(/i/bg_b2.png) no-repeat; margin-bottom: 10px;}
#b4 {float: right; width:320px; height:120px; background: url(/i/bg_b4.png) no-repeat; margin-bottom: 10px;}
#b6 {float: right; width:320px; height:120px; background: url(/i/bg_b6.png) no-repeat; margin-bottom: 10px;}
#b8 {float: right; width:320px; height:120px; background: url(/i/bg_b8.png) no-repeat; margin-bottom: 10px;}

#b1 p {font-weight: bold; font-size: 16px; padding: 30px 0 0 130px;}
#b2 p {font-weight: bold; font-size: 16px;padding: 30px 0 0 130px;}
#b3 p {font-weight: bold; font-size: 16px;padding: 30px 0 0 130px;}
#b4 p {font-weight: bold; font-size: 16px;padding: 30px 0 0 130px;}
#b5 p {font-weight: bold; font-size: 16px;padding: 30px 0 0 130px;}
#b6 p {font-weight: bold; font-size: 16px;padding: 30px 0 0 130px;}
#b7 p {font-weight: bold; font-size: 16px;padding: 30px 0 0 130px;}
#b8 p {font-weight: bold; font-size: 16px;padding: 30px 0 0 130px;}

