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

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

#container { 
	width: 940px;
	margin: 0 auto;
	position: relative;
}  /* Same height as the footer */

#footer { 
	position:relative;
	margin-top:-140px;
	height:140px;
	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 */
