/**
 * Только стили макета шаблона
 * стили контентной части находятся в файле styles.css
 */

html, body, #wrapper {
	height: 100%;
	margin:0;
	font-family: "Arial", "Helvetica", sans-serif;
	font-size:13px;
}

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

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

#footer {
    position: relative;
    margin-top: -80px; /* negative value of footer height */
    height: 80px;
    clear: both;
	background:#000;
} 

/*Opera Fix*/
body:before { /* thanks to Maleika (Kohoutec)*/
    content: "";
    height:100%;
    float: left;
    width: 0;
    margin-top: -32767px; /* thank you Erik J */
}
.container {
    width: 960px;
    margin:0 auto;
    padding: 0 10px;
}
.clearfix:after {
	content:".";
	clear:both;
	display:block;
	height:0;
	font-size:0;
	visibility:hidden
}
.clearfix {display:inline-block}
/* Хак для IE 6 и 7 спрятанный от IE-mac \*/
* html .clearfix {height:1%}
.clearfix {display:block}

#content a, #main-text a {
	color:#0285b7;
}
#content a:hover, #main-text a:hover {
	text-decoration:none;
}
#header {
	background:#e6f5fb;
	height:100px;
	margin:0;
}
#header .logo {
	display:block;
	margin-top:25px;
	float:left;
}
#header .phones {
	margin: 34px 0 0 50px;
	float:left;
	font-size:11px;
	font-style:italic;
	line-height:10px;
}
#header .phones span {
	font-size:18px;
	font-style:normal;
	background:url(img/phone.png) no-repeat left top;
	padding-left:20px;
	margin-top:-7px;
	display:block;
	float:right;
	line-height:18px;
}
#header .phones span i {
	font-style:normal;
	color:#666;
}
#header .phones span + span {
	margin-right:23px;
	border-right:#e0e0e0 1px solid;
	padding-right:23px;
	margin-left:17px;
} 
#header .callback {
	display:block;
	background:#ea1b37 url(img/callback.png) no-repeat 15px 6px;
	float:right;
	color:#fff;
	text-decoration:none;
	font-weight:bold;
	padding:6px 15px 6px 38px;
	margin-top:30px;
}
#header .callback:hover, #header .callback:active {
	background:#b3041b url(img/callback.png) no-repeat 15px 6px;
}
#header .callback:active {
	margin-top:31px;
}
#content {
	width:700px;
	float:right;
padding-bottom:20px;
}
#sidebar {
	width:230px;
	float:left;
}
#content .main-info {

}
#content .main-info  .block {
	display:block;
	width:198px;
	height:124px;
	border:2px solid;
	float:left;
	margin-right:16px;
	text-align:center;
	text-decoration:none;
	color:#666666;
	padding:10px;
	font-size:12px;
}
#content ul {
margin:0;
padding:0;
margin:14px 0 14px 14px;
}
#content ul li {
list-style:none;
background:url(img/li.gif) no-repeat 0px 5px;
padding-left:14px;
margin-bottom:10px;
}

#content .main-info  .block  h4 {
	color:#000;
	margin-top:44px;
	font-size:14px;
	margin-bottom:6px;
}
#content .main-info  .block.red {
	border-color:#ea1b37;
}
#content .main-info  .block.green {
	border-color:#1bbc9b;
}
#content .main-info  .block.blue {
	margin-right:0;
	border-color:#02abec;
}
#content .main-info  .block.red {
	background:url(img/block1.png) no-repeat 50% 10px;
}
#content .main-info  .block.red:hover {
	background:#dfc3c7 url(img/block1-h.png) no-repeat 50% 10px;
}
#content .main-info  .block.green {
	background:url(img/block2.png) no-repeat 50% 10px;
}
#content .main-info  .block.green:hover {
	background:#9ebeb7 url(img/block2-h.png) no-repeat 50% 10px;
}
#content .main-info  .block.blue {
	background:url(img/block3.png) no-repeat 50% 10px;
}
#content .main-info  .block.blue:hover {
	background:#b9dcea url(img/block3-h.png) no-repeat 50% 10px;
}
#main-text {
	clear:both;
	padding: 20px 0;
	background:#e6f5fb url(img/main-text-bg.png) no-repeat right bottom;
	font-style:italic;
	color:#666666;
}
#main-text h1 {
	width:230px;
	float:left;
	text-transform:uppercase;
	font-size:15px;
	margin:0;
	padding:0;
	margin-right:30px;
	line-height:24px;
	font-style:normal;
	color:#000;
}
#content h1 {
	text-transform:uppercase;
	font-size:18px;
	margin:0;
	padding:0;
	font-style:normal;
	color:#000;
	margin-top:14px;
	margin-bottom:20px;
}
#footer .container {
	background:url(img/logo-f.png) no-repeat left;
	height:80px;
}
#main-filter {
	border-top:#02abec 1px solid;
	margin-bottom:20px;
}
#main-filter h2 {
font-size:16px;
font-weight:normal;
text-align:center;
}
#main-filter .container {
}
#main-filter ul {
	margin:0;
	padding:0;
	margin-top:25px;
}
#main-filter ul li {
	list-style:none;
	display:block;
	float:left;
	height:100px;
	width:182px;
	margin-right:10px;
	text-align:center;
}
#main-filter ul li a {
	display:block;
	width:100%;
	height:40px;
	padding-top:60px;
	color:#000;
	text-decoration:none;
	font-weight:bold;
	font-size:14px;
}
#main-filter ul li:nth-child(1) {
	background:url(img/main-f1.png) no-repeat 50% 0;
}
#main-filter ul li:nth-child(2) {
	background:url(img/main-f2.png) no-repeat 50% 0;
}
#main-filter ul li:nth-child(3) {
	background:url(img/main-f3.png) no-repeat 50% 0;
}
#main-filter ul li:nth-child(4) {
	background:url(img/main-f41.png) no-repeat 50% 0;
}
#main-filter ul li:nth-child(5) {
	background:url(img/main-f5.png) no-repeat 50% 0;
}
#footer .copyright {
	margin-left:200px;
	color:#fff;
	padding-top:23px;
	line-height:18px;
	width:220px;
}
#footer .copyright a {
	color:#fff;
	text-decoration:none;
}
#footer .phones {
	float:right;
	font-size:11px;
	font-style:italic;
	line-height:10px;
	color:#acabab;
	width:480px;
	margin-top:-30px;
}
#footer .phones span {
	font-size:18px;
	font-style:normal;
	background:url(img/phone.png) no-repeat left top;
	padding-left:20px;
	margin-top:-7px;
	display:block;
	float:right;
	line-height:18px;
}
#footer .phones span i {
	font-style:normal;
	color:#666;
}
#footer .phones span + span {
	margin-right:23px;
	border-right:#e0e0e0 1px solid;
	padding-right:23px;
	margin-left:17px;
} 
