/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
 position:relative;
 margin:0px;
 min-width:8em;
 max-width:1159px; /* based on image dimensions - not quite consistent with drip styles yet */
 color:#fff;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0px; /* spacing under dialog */
}

.dialogred .cont,
.dialogred .t,
.dialogred .b,
.dialogred .b div {
 background:transparent url(images/redbgfull.png) no-repeat top right;
 _background-image:url(images/redbgfull.gif);
}

.dialoggray .cont,
.dialoggray .t,
.dialoggray .b,
.dialoggray .b div {
 background:transparent url(images/graybgfull.png) no-repeat top right;
 _background-image:url(images/graybgfull.gif);
}

.dialogredb .cont,
.dialogredb .t,
.dialogredb .b,
.dialogredb .b div {
 background:transparent url(images/redbgbottom.png) no-repeat top right;
 _background-image:url(images/redbgbottom.gif);
}

.dialoggrayb .cont,
.dialoggrayb .t,
.dialoggrayb .b,
.dialoggrayb .b div {
 background:transparent url(images/graybgbottom.png) no-repeat top right;
 _background-image:url(images/graybgbottom.gif);
}

.dialog80f .cont,
.dialog80f .t,
.dialog80f .b,
.dialog80f .b div {
 background:transparent url(images/808080f.png) no-repeat top right;
 _background-image:url(images/808080f.gif);
}

.dialog90f .cont,
.dialog90f .t,
.dialog90f .b,
.dialog90f .b div {
 background:transparent url(images/909090f.png) no-repeat top right;
 _background-image:url(images/909090f.gif);
}

.dialoga0f .cont,
.dialoga0f .t,
.dialoga0f .b,
.dialoga0f .b div {
 background:transparent url(images/a0a0a0f.png) no-repeat top right;
 _background-image:url(images/a0a0a0f.gif);
}

.dialogb0f .cont,
.dialogb0f .t,
.dialogb0f .b,
.dialogb0f .b div {
 background:transparent url(images/b0b0b0f.png) no-repeat top right;
 _background-image:url(images/b0b0b0f.gif);
}

.dialogc0f .cont,
.dialogc0f .t,
.dialogc0f .b,
.dialogc0f .b div {
 background:transparent url(images/c0c0c0f.png) no-repeat top right;
 _background-image:url(images/c0c0c0f.gif);
}

.dialogc0tf .cont,
.dialogc0tf .t,
.dialogc0tf .b,
.dialogc0tf .b div {
 background:transparent url(images/c0c0c0tf.png) no-repeat top right; color: #444444;
 _background-image:url(images/c0c0c0f.gif);
}

.dialogcctf .cont,
.dialogcctf .t,
.dialogcctf .b,
.dialogcctf .b div {
 background:transparent url(images/cccccctf.png) no-repeat top right; color: #444444;
 _background-image:url(images/c0c0c0f.gif);
}

.dialog .cont {
 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:15px; /* 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;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    zoom: 1; /* may need to make this ie only */
}
