/*прибиваем подвал к низу*/
html, body, #main {
	height: 100%;
	}
body > #main {
	height: auto; 
	min-height: 100%;
	}
#wrap {
	padding-bottom: 80px;
	}  /* must be same height as the footer */
#footer {
	position: relative;
	margin-top: -65px !important; /* negative value of footer height */
	height: 40px;
	clear:both;
	} 
/* 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 */	
	


