/**
 * Только стили макета шаблона
 * стили контентной части находятся в файле 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:100%;
}
#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 .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-f4.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;
} 
/* grid */
.col-2 {
    float: left;
    margin-left: 20px;
    width: 460px;
}

.col-3 {
    float: left;
    margin-left: 20px;
    width: 306px;
}

.col-4 {
    float: left;
    margin-left: 20px;
    width: 220px;
}

.col-1-4 {
    float: left;
    margin-left: 20px;
    width: 234px;
}
.col-3-4 {
    float: left;
    margin-left: 20px;
    width: 700px;
}

.col-2:first-child,
.col-3:first-child,
.col-4:first-child,
.col-1-4:first-child,
.col-3-4:first-child {
    margin-left: 0;
}
/* /grid */

