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

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

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

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

.dialog.red .content,
.dialog.red .t,
.dialog.red .b,
.dialog.red .b div {
 background-image:url(dialog-800x1600-red.png);
 _background-image:url(dialog-red.gif);
}

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

.dialog.grey .content,
.dialog.grey .t,
.dialog.grey .b,
.dialog.grey .b div {
 background-image:url(dialog-800x1600-grey.png);
 _background-image:url(dialog-grey.gif);
}

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

.dialog.lightblue .content,
.dialog.lightblue .t,
.dialog.lightblue .b,
.dialog.lightblue .b div {
 background-image:url(dialog-800x1600-light-blue.png);
 _background-image:url(dialog-light-blue.gif);
}

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

.dialog.lightbluenew .content,
.dialog.lightbluenew .t,
.dialog.lightbluenew .b,
.dialog.lightbluenew .b div {
 background-image:url(dialog-800x1600-light-blue-new.png);
 _background-image:url(dialog-light-blue-new.gif);
}


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

.dialog.darkblue .content,
.dialog.darkblue .t,
.dialog.darkblue .b,
.dialog.darkblue .b div {
 background-image:url(dialog-800x1600-darkblue.png);
 _background-image:url(dialog-darkblue.gif);
}

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

.dialog.white .content,
.dialog.white .t,
.dialog.white .b,
.dialog.white .b div {
 background-image:url(dialog-800x1600-white.png);
 _background-image:url(dialog-white.gif);
}

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

.dialog.black .content,
.dialog.black .t,
.dialog.black .b,
.dialog.black .b div {
 background-image:url(dialog-800x1600-black.png);
 _background-image:url(dialog-black.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 h1,
.dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

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