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

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

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

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

.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 */


#footer {
	color: black;
	padding-top: 5px;
	line-height: 15px;
	font-size: 10px;
	text-align: center;
	width: 940px;
	margin-left: auto;
	margin-right: auto;
}