/* FOR CREATING ROUNDED BOXES IN CSS (USING A SINGLE BACKGROUND IMAGE) */
/* based on a concept by Ryan Thrash, from http://www.modxcms.com/simple-rounded-corner-css-boxes.html) */



/* establish the lower-right position                 */
/* (background image is set in /_branding/custom.css) */
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h3 {
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: bottom right;
	background-image: url(/_img/bg/cssbox_contact.jpg);
}
.cssbox {
	position: relative;
	width: 100%;
	width: 99%;
	padding-right: 1px;
	margin: 0;
	clear: both;
} 

/* set the top-right image */
.cssbox_head {
	background-position: top right;
	margin-right: -1px; /* pull the right image over on top of border */
	padding-right: 5px;
}

/* set the top-left image */
.cssbox_head h3 {
	background-position: top left;
	background-color: #000;
	text-align: left;
	font-size: 14px;
	margin: 0;
	border: 0;
	padding: 7px 12px;
	height: auto; height: 1%; /* IE Holly Hack */
}

/* set the lower-left corner image */
.cssbox_body {
	background-position: bottom left;
	margin-right: 10px; /* interior-padding right */
	padding: 10px 0 1px 10px; /* mirror .cssbox_head right/left */
} 

/* set default cssbox header text */
.cssbox_head * {
	font-size: 12px;
	line-height: 12px;
	text-align: center;
}

.cssbox_body h4 {
	line-height: 1.1em;
	margin: 0;
	margin-bottom: 0.6em;
}



/* move table column headers up to overlap cssbox header bg */
.cssbox .cssbox_body table {
	position: relative;
	top: -34px;
}
/* ... unless we don't want them to */
.cssbox .cssbox_body table.inner {
	position: relative;
	top: 0;
}

/* clear backgrounds of nested tables */
.cssbox table.inner {
	background-color: #fff;
}

/* center thumbnail images */
.cssbox_body img.thumb {
	display: block;
	margin: 0 auto;
}



@media print {
	.cssbox {
		border: 2pt solid black;
		width: 98%;
	} 
	.cssbox_head {
		border-bottom: 2pt solid black;
	}
}
