/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialogc {

 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:760px; /* based on image dimensions - not quite consistent with drip styles yet */

 width: 365px;

 color:#000;
 z-index:1;
 margin-top: 10px;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0em; /* spacing under dialogc */
}

.dialogc .contentc,
.dialogc .tc,
.dialogc .bc,
.dialogc .bc div {
 background:transparent url(images/CalcBox.png) no-repeat top right;
 _background-image:url(images/CalcBoxIE6.png);
}

.dialogc .contentc {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:0px 12px 0px 0px;
 
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 25px; 
	text-align: justify;
}

.dialogc .tc {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:12px; /* top slice width */
 margin-left:-12px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.dialogc .bc {
 /* bottom */
 position:relative;
 width:100%;
}

.dialogc .bc,
.dialogc .bc div {
 height:18px;  /* height of bottom cap/shade */
 font-size:1px;
}

.dialogc .bc {
 background-position:bottom right;
}

.dialogc .bc div {
 position:relative;
 width:12px; /* bottom corner width */
 margin-left:-12px;
 background-position:bottom left;
}

.dialogc .hd,
.dialogc .bd,
.dialogc .ft {
 position:relative;
}

.dialogc .wrapper {
 /* extra contentc protector - preventing vertical overflow (past background) */
 position:static;
 max-height:1000px;
 overflow:auto; /* note that overflow:auto causes a rather annoying redraw "lag" in Firefox 2, and may degrade performance. Might be worth trying without if you aren't worried about height/overflow issues. */
}

.dialogc h1,
.dialogc p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

.dialogc h1 {
 padding-bottom:0px;
}