﻿.round-box div.corner-tr,
.round-box div.corner-tl,
.round-box div.corner-br,
.round-box div.corner-bl 
{
	background-repeat: no-repeat;
}

.round-box div.corner-tr{background-position:right top;}
.round-box div.corner-tl{background-position:left top;}
.round-box div.corner-br{background-position:right bottom;}
.round-box div.corner-bl{background-position:left bottom;}

.round-box .box-content
{
	padding: 10px;
}

/* add layout to all boxes */
.round-box,
.round-box div.border,
.round-box div.corner-tr,
.round-box div.corner-tl,
.round-box div.corner-br,
.round-box div.corner-bl
{
	zoom:1;
}

.round-border-box .border1 
{
	background-position: top;
	background-repeat:repeat-x;
}
.round-border-box .border2 
{
	background-position: bottom;
	background-repeat:repeat-x;
}
.round-border-box .border3
{
	background-position: right;
	background-repeat:repeat-y;
}
.round-border-box .border4
{
	background-position: left;
	background-repeat:repeat-y;
}


/* gray border styles */
.round-box .gray-border-box div.corner-tr{background-image:url("img/roundboxes/gray-border/tr.png");}
.round-box .gray-border-box div.corner-tl{background-image:url("img/roundboxes/gray-border/tl.png");}
.round-box .gray-border-box div.corner-br{background-image:url("img/roundboxes/gray-border/br.png");}
.round-box .gray-border-box div.corner-bl{background-image:url("img/roundboxes/gray-border/bl.png");}
.round-box .gray-border-box .border1 {background-image:url("img/roundboxes/gray-border/t.png");}
.round-box .gray-border-box .border2 {background-image:url("img/roundboxes/gray-border/b.png");}
.round-box .gray-border-box .border3 {background-image:url("img/roundboxes/gray-border/r.png");}
.round-box .gray-border-box .border4 {background-image:url("img/roundboxes/gray-border/l.png");}

.round-box .gray-border-box
{
	margin-bottom:10px;
	background-color:#FFFFFF;
}
.round-box .gray-border-box .box-content
{
	padding:0px;
}


