@charset "UTF-8";
/* CSS Document */

/* 
Copyright Po Lin Monastery
All rights reserved
Credits: Site created by pill and pillow
*/


/*for sticky footer*/
html, body, #wrap {height: 100%;} 

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

/*==========Backgrounds==========*/
#main-wrapper{
	border-top:	3px solid #AF9866;
	padding-bottom:50px; /*same height as the footer*/
}

/*========== Footer==========*/
#footer {
	width:980px;
	clear:both;
	padding: 8px 0 0 20px;
	background:url(../assets/div_footer.gif) top left repeat-x;
	margin:0 auto;
	overflow:hidden;
	
}

#footer_btn{
	width:980px;
	clear:both;
	padding: 8px 0 0 5px;
	margin:0 auto;
	overflow:hidden;
}


#footer_right{
	width:224px;
	float:right;
	color:#8B8B8B;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#btn_backtotop{
	display: block;
	width:77px;
	height:17px;
	margin-bottom:12px;
	background-image:url(../assets/btn_backtotop.jpg);
	background-position:0 0;
	float:right;
}

a#btn_backtotop:hover{
	background-position:0 0;
}

/* footer - clear fix - apply to #main*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* Start --- Hides from IE-mac \*/
* html .clearfix { 
	height: 1%;
}
.clearfix {
	display: block
;}
/* End --- End hide from IE-mac */