/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/
#sidebar { padding-right: 12px; padding-left: 12px; width: 300px; float: right }
.dialog  { margin: 0 auto 0.5em 12px; position: relative; z-index: 1; min-width: 8em; max-width: 760px }
.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div   { background: url("../images/dialogCS800x1600.png") no-repeat right top; _background-image: url(../images/dialogCS800x1600.gif)  }

.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:0px 12px 0px 0px;
}

.dialog .t {
 /* 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;
}

.dialog .b {
 /* bottom */
 position:relative;
 width:100%;
}

.dialog .b,
.dialog .b div {
 height:30px; /* height of bottom cap/shade */
 font-size:1px;
}

.dialog .b {
 background-position:bottom right;
}

.dialog .b div {
 position:relative;
 width:12px; /* bottom corner width */
 margin-left:-12px;
 background-position:bottom left;
}

.dialog .hd,
.dialog .bd,
.dialog .ft {
 position:relative;
}

.dialog .wrapper {
 /* extra content 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. */
}

.dialog p  { margin: 0; padding: 1em 0 0 }

.dialog h4 {
 padding-bottom:0px;
 padding-top:1em;
}
