/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog-brown {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:760px; /* based on image dimensions - not quite consistent with drip styles yet */
 color:#000;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0px; /* spacing under dialog-brown */
}

.dialog-brown .content,
.dialog-brown .t,
.dialog-brown .b,
.dialog-brown .b div {
 background:transparent url(dialog1-brown-800x1600.png) no-repeat top right;
 _background-image:url(dialog1-white.gif);
}

.dialog-brown .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:5px 18px 0px 0px;
 text-align: left;
 font-family: arial;
 font-weight: bold;
 font-size: 16px;
 color: #513622;
 line-height: 1.2em;
}


.dialog-brown .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-brown .b {
 /* bottom */
 position:relative;
 width:100%;
}

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

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

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

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

.dialog-brown .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-brown h1,
.dialog-brown p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

.dialog-brown h1 {
 padding-bottom:0px;
}
