.rounded:before {
  background: transparent url(../css-images/top-right.png) scroll no-repeat top right;
  margin-bottom: -20px;
  height: 30px;
  display: block;
  border: none;
  content: url(../css-images/top-left.png);
  padding: 0;
  line-height: 0.1;
  font-size: 1px;
}

.rounded:after {
  display: block;
  line-height: 0.1;
  font-size: 1px;
  content:  url(../css-images/bottom-left.png);
  margin: 2px 0 0 0;
  height: 30px;
  background: transparent url(../css-images/bottom-right.png) scroll no-repeat bottom right;
  padding: 0;
}  
    
  .rounded * {
    padding-left: 16px;
    padding-right: 16px;
    
    }

  .rounded {
    margin: 1em;
    padding: 0;
  }

blockquote {
   background: #003366;
   color: white;
   margin-right: -1px;
}
.sidebox {
	margin: 0 auto; /* center for now */
	width: 100%; /* ems so it will grow */
	background: url(../css-images/sbbody-r.gif) no-repeat bottom right;
	font-size: 100%;
}
.boxhead {
	background: url(../css-images/sbhead-r.gif) no-repeat top right;
	margin: 0;
	padding: 0;
	text-align: center;
}
.boxhead h2 {
	background: url(../css-images/sbhead-l.gif) no-repeat top left;
	margin: 0;
	padding: 22px 30px 5px;
	color: white; 
	font-weight: bold; 
	font-size: 1.2em; 
	line-height: 1em;
	text-shadow: rgba(0,0,0,.4) 0px 2px 5px; /* Safari-only, but cool */
}
.boxbody {
	background: url(../css-images/sbbody-l.gif) no-repeat bottom left;
	margin: 0;
	padding: 5px 30px 31px;
}
   #wrapper-red {
    text-align: left;
    width: 500px;
	margin: 30px auto;
	border: 1px solid #c00;
	padding: 15px 15px 5px 15px;
	background: url(../css-images/redCurve.gif) 0 0 no-repeat;
   }
   #wrapper-blue {
    text-align: left;
    width: 500px;
	margin: 30px auto;
	border: 1px solid #185dab;
	padding: 15px 15px 5px 15px;
	background: url(../css-images/blueCurve.gif) right 88px no-repeat;
   }
  
   /* RED CURVES */
   .curve { 
	float: left;
	display: block;
	height: 16px;
	clear: left;
   }
   #curve1 { width: 230px; }
   #curve2 { width: 225px; }
   #curve3 { width: 220px; }
   #curve4 { width: 215px; }
   #curve5 { width: 210px; }
   #curve6 { width: 198px; }
   #curve7 { width: 180px; }
   #curve8 { width: 170px; }
   #curve9 { width: 160px; }
   #curve10 { width: 160px; }
   #curve11 { width: 140px; }
   #curve12 { width: 120px; }
   #curve13 { width: 80px; } 
   
   /* BLUE CURVES */
   .curve2 { 
	float: right;
	display: block;
	height: 16px;
	clear: right;
   }
   #curveSpacer { width: 1px; height: 80px; }
   #curve14 { width: 65px; }   
   #curve15 { width: 85px; }
   #curve16 { width: 105px; }
   #curve17 { width: 115px; }
   #curve18 { width: 125px; }
   #curve19 { width: 130px; }
   #curve20 { width: 125px; }
   #curve21 { width: 120px; }
   #curve22 { width: 118px; }
   #curve23 { width: 110px; }
   #curve24 { width: 104px; }
   #curve25 { width: 93px; }
   #curve26 { width: 80px; }
   #curve27 { width: 60px; } 
   #curve28 { width: 40px; }

/* curve height, background image */
.round .t, .round .b, .round .b b, .round .t b{
height:10px;
background-image:url(../CSS-images/round.png);
}

/* inner color, border color, border width */
.round .c{
background:#eeeeee;
border-color:#445566;
border-left-width:1px;
border-right-width:1px;
}
/* surrounding margins (optional) */
.round{
margin-bottom:5px;
}
.round .c{
/* inner content padding */
padding:0 10px 0 10px;
border-top:0;
border-bottom:0;
border-style:solid;
}
.round .t, .round .b, .round .t b, .round .b b{
display:block;
overflow:hidden;
}
.round .t b, .round .b b{
float:right;
width:50%;
}
.round .t .r{
background-position:top right;
}
.round .b .r{
background-position:bottom right;
}
.round .b{
background-position:bottom left;
}
.round .br{
clear:both;
display:block;
overflow:hidden;
height:0px;
}