/*=============================================
	Layout formatting
 =============================================*/

/* Prepare divs for grid */
div, dl {
	float: left;
	width: 100%;
}

div:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

.clearfix { display: inline-block; }

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
/* End hide from IE-mac */



/* Setup the page wrapper */
div#wrapper {
	width: 960px;
	margin: 0 auto;
	float: none;
	position: relative;	
}



/* Layout grid: 12 columns divisible by 1, 2, 3, 4 and 6 */
.layout-columns-half, 
.layout-columns-1, .layout-columns-2, .layout-columns-3, .layout-columns-4, 
.layout-columns-5, .layout-columns-6, .layout-columns-7, .layout-columns-8, 
.layout-columns-9, .layout-columns-10, .layout-columns-11, .layout-columns-12 {
	margin: 0;
	padding: 0;
}

.layout-columns-half	{ width: 40px; }
.layout-columns-1 		{ width: 80px; }
.layout-columns-2 		{ width: 160px; }
.layout-columns-3 		{ width: 240px; }
.layout-columns-4 		{ width: 320px; }
.layout-columns-5 		{ width: 400px; }
.layout-columns-6 		{ width: 480px; }
.layout-columns-7 		{ width: 560px; }
.layout-columns-8 		{ width: 640px; }
.layout-columns-9 		{ width: 720px; }
.layout-columns-10 		{ width: 800px; }
.layout-columns-11 		{ width: 880px; }
.layout-columns-12 		{ width: 960px; }



/* Content grid: 12 columns divisible by 1, 2, 3, 4 and 6 */
.columns-half, 
.columns-1, .columns-2, .columns-3, .columns-4, .columns-5, .columns-6, 
.columns-7, .columns-8, .columns-9, .columns-10, .columns-11, .columns-12 {
	margin: 10px 10px 0 10px;
	padding: 0;
}

.columns-half	{ width: 20px; }
.columns-1 		{ width: 60px; }
.columns-2 		{ width: 140px; }
.columns-3 		{ width: 220px; }
.columns-4 		{ width: 300px; }
.columns-5 		{ width: 380px; }
.columns-6 		{ width: 460px; }
.columns-7 		{ width: 540px; }
.columns-8 		{ width: 620px; }
.columns-9 		{ width: 700px; }
.columns-10 	{ width: 780px; }
.columns-11 	{ width: 860px; }
.columns-12 	{ width: 940px; }



/* Content */
.content { 
	margin: 9px 10px;
}

/*
.content p:last-child {
	margin: 0;
	padding: 0;
}
*/

.columns-half	.content	{ width: 0px; }
.columns-1 		.content	{ width: 40px; }
.columns-2 		.content	{ width: 120px; }
.columns-3 		.content	{ width: 200px; }
.columns-4 		.content	{ width: 280px; }
.columns-5 		.content	{ width: 360px; }
.columns-6 		.content	{ width: 440px; }
.columns-7 		.content	{ width: 520px; }
.columns-8 		.content	{ width: 600px; }
.columns-9 		.content	{ width: 680px; }
.columns-10 	.content	{ width: 760px; }
.columns-11 	.content	{ width: 840px; }
.columns-12 	.content	{ width: 920px; }




.left 	{ text-align: left; }
.center { text-align: center; }
.right 	{ text-align: right; }