*
{
	margin:0;
	padding:0;
}
html, body, #wrap
{
	height: 100%;
}
body > #wrap
{
	height: auto;
	min-height: 100%;
}
#fixed
{
	padding-bottom: 40px; /* footer height 1/3 */
}
#footer
{
	position: relative;
	margin-top: -40px; /* footer height 2/3 */
	height: 40px; /* footer height 3/3 */
	clear:both;
}
.clearfix:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix 
{
	display: inline;
}
* html .clearfix
{	/* hide from IE-mac */
	height: 1%;
}
.clearfix 
{	/* hide from IE-mac */
	display: block;
}
