/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:430px; /* based on image dimensions - not quite consistent with drip styles yet */
 color:;
 z-index:1;
 margin-left:8px; /* default, width of left corner */
 margin-bottom:0.5em; /* spacing under dialog */
}

body.editor .dialog {width:180px;}
body.editor .dialog h1 {color:white !important;}
body.editor .dialog h2 {color:white !important;}
body.editor .dialog p {color:black !important;}
body.editor .dialog a {color:black !important;}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:transparent url(../images/sce/dialog-green-400x800.png) no-repeat top right;
 _background-image:url(../images/sce/dialog-green-400x800.gif);
}

.dialog.type2 .content,
.dialog.type2 .t,
.dialog.type2 .b,
.dialog.type2 .b div {
 background:transparent url(../images/sce/dialog-green2-400x800.png) no-repeat top right;
 _background-image:url(../images/sce/dialog-green2-400x800.gif);
}
.dialog.type2 .content { padding:10px 6px 0 7px !important; font-family:georgia,times,serif !important; }
.dialog.type2 .content { font-size:95% !important; color:#666666 !important; }
.dialog.type2 h1, .dialog.type2 h2, .dialog.type2 p { color:#666666 !important;}
.dialog.type2 a.btn-grn {font-size:1.1em !important;}
.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:0px 8px 0px 0px;
}

.dialog.grey .content,.dialog.blue .content {padding:7px 6px 3px 7px}
.dialog.grey .content h3,.dialog.blue .content h3 {color:#002E5E !important; }

.dialog.grey .content,
.dialog.grey .t,
.dialog.grey .b,
.dialog.grey .b div {
 background:transparent url(../images/sce/dialog-grey-400x800.png) no-repeat top right;
 _background-image:url(../images/sce/dialog-grey-400x800.gif);
}

.dialog.blue .content,
.dialog.blue .t,
.dialog.blue .b,
.dialog.blue .b div {
 background:transparent url(../images/sce/dialog-blue-400x800.png) no-repeat top right;
 _background-image:url(../images/sce/dialog-blue-400x800.gif);
}

.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:8px; /* top slice width */
 margin-left:-8px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left !important;
}

.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 !important;
}

.dialog .b div {
 position:relative;
 width:8px; /* bottom corner width */
 margin-left:-8px;
 background-position:bottom left !important;
}

.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 div.hd {padding:13px 5px 0 5px;}
.dialog div.bd, .dialog div.ft {
padding:0 5px 0 7px !important;
}

.dialog h1,.dialog h2,
.dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0;
}
.dialog div.hd h1, .dialog div.hd h2 {
color:white !important;
padding:0;
border-bottom:1px solid white !important;
}

.dialog div.hd h1 {
font-size:2.5em;
border-bottom:0;
font-weight:normal !important;
}
.dialog p {color:black !important; font-size:1.1em !important; line-height:1.2em !important;}
.dialog ul,.dialog ol {margin:1px 5px 2px 15px !important; padding-left:5px; line-height:1.1em !important;}
.dialog li {color:black !important; font-size:1em !important; font-weight:bold; line-height:1.1em !important; padding-bottom:2px;}
.dialog a {color:black !important; }

.dialog p.quote {color:#336666; font-size:1.1em; font-weight:bold;}

