/* standard formatting (as well as fallback formatting if no javascript is turned on */
.leftbox, .leftboxrc, 
.rightbox, .rightboxrc, 
.centerbox, .centerboxrc {
	padding:10px 15px;
	border:1px solid #d3d3d3;
	background-color:#ffffff;
	overflow:hidden;
}
/* spacer div... the space between the border and the content */
.leftbox div.space, .leftboxrc div.space,
.rightbox div.space, .rightboxrc div.space,
.centerbox div.space, .centerboxrc div.space {
	margin:20px;
}
/* when rc version is used, the spacer div moves inside the borderconstruct which uses around 15px, so it should always be 15px less than the margin of the uncornered version */
.cbox div.space {
	margin:5px;
}

/* some width declarations for the boxes */
/* fullcolumns n/4 */
.w44c { width:740px; }
.w34c { width:550px; }
.w24c { width:350px; }
.w14c { width:180px; }
/* fullcolumns n/3 */
.w33c { width:740px; }
.w23c { width:480px; }
.w13c { width:240px; }
/* halfcolumns n/2 */
.w22c { width:345px; }
.w12c { width:165px; }




/* positioning of the different boxes*/
.rightbox,.rightboxrc {
	margin:10px 0px 10px 20px;
	float:right;
}
.leftbox,.leftboxrc {
	margin:10px 20px 10px 0px;
	float:left;
}
.centerbox,.centerboxrc {
	margin:10px auto;
	margin-bottom:10px;
	float:none;
}


/* formatting for the generated border construct */
.cboxleft {
	float:left;
	margin:30px 20px 10px 0px;
	padding:0px;
}
.cboxright {
	float:right;
	margin:30px 0px 10px 10px;
	padding:0px;
}
.cboxcenter {
	margin:30px -4px 10px -4px;
	padding:0px;
}

.cbox {
	position:relative;
	margin:0 auto;
	margin-bottom:30px;
	padding:0px;
	display:block;
	top:-20px;
}

.cbox .corner {
	position:absolute;
	height:20px; 
	width:20px; 
}
.cbox .hbar {
	position:absolute;
	height:20px; 
	left:20px;
	right:20px;
}
.cbox .vbar {
	position:absolute;
	width:20px;
	top:20px;
	bottom:-20px;
}
.cbox .inner {
	position:relative;
	top:20px;
	bottom:24px;
	margin:0px;
	margin-left:20px;	
	margin-right:20px;
	padding:0px;
	padding-top:0px;
}

.cbox .tl {
	top:0px;
	left:0px;
}
.cbox .tr {
	top:0px; 
	right:0px; 
}
.cbox .bl {
	bottom:-44px;
	left:0px;
	height:24px; 
}
.cbox .br {
	bottom:-44px;
	right:0px;
	height:24px; 
}
.cbox .top {
	top:0px;
}
.cbox .bottom {
	bottom:-44px;
	height:24px; 
}
.cbox .left {
	left:0px;
}
.cbox .right {
	right:0px;
}
