/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 color:#fff;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0.5em; /* spacing under dialog */
}

.dialog .substance,
.dialog .t,
.dialog .b,
.dialog .b .inner {
 background:transparent url(dialog2-blue-800x1600.png) no-repeat top right;
 _background-image:url(dialog2-blue.gif);
}

.dialog .substance {
 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 .shelter {
 /* extra content protector - preventing vertical overflow (past background) */
 position:static;
}

.dialog h1, h2,
.dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 14px 0.5em 0px;
}

.dialog h1 {
 padding-bottom:0px;
}

/* dialog variants - alternate colours, widths and so on */

.dialog.short .shelter {
 max-height:520px;
}

.dialog.type2 .substance,
.dialog.type2 .t,
.dialog.type2 .b,
.dialog.type2 .b div {
 background-image:url('../images/dialog4-dark-800x1200-alpha-drip.png');
 _background-image:url(../images/dialog3-dark-alpha-drip.gif)
}

.dialog.type3 .substance,
.dialog.type3 .t,
.dialog.type3 .b,
.dialog.type3 .b div {
background-image:url('../images/dialog3-red-800x1200-drip.png');
 _background-image:url('../images/dialog3-red-drip.gif');
}

.dialog.type4 .substance,
.dialog.type4 .t,
.dialog.type4 .b,
.dialog.type4 .b div {
background-image: url('../images/dialog5%20-%20800x1600,yellow.png');
 _background-image:url('../images/dialog3-red-drip.gif');}

.dialog.type2 .hd p,
.dialog.type3 .hd p,
.dialog.type4 .hd p {
font-size: 16px;}

.dialog.type2 blockquote,
.dialog.type3 blockquote {
font-size: 18px;
color: #FFFFFF; 
font-family: "Times New Roman", serif;
clear: both;
margin: 0;

padding-top: 10px;
padding-bottom: 0; 
padding-right: 5px;
position: relative;
zoom:1;}

.dialog.type2 a {color:#4D93F1;}
.dialog.type2 a:hover {color:#8FFCFD;}

.dialog.type2 .bd .greyinsert,
.dialog.type3 .bd .greyinsert,
.dialog.type4 .bd .greyinsert {

border-left:2px solid #999999; border-right:2px solid #C0C0C0; border-top:4px solid #999999; border-bottom:2px solid #EEEEEE; background-color:#FEF6F6; margin: 0 28px 0px 22px; height:75px;  clear:both;}

.greyinsert p {font-size: 16px; color: #313153;

line-height:96%; }

.greyinsert a img  {margin-right: 5px; float:left;  display: block;}

 .dialog.type2 .b,
.dialog.type2 .b div,
 .dialog.type3 .b,
.dialog.type3 .b div
 .dialog.type4 .b,
.dialog.type4 .b div {
 height:40px; 
}

.dialog.type2 .substance,
.dialog.type3 .substance,
.dialog.type3 .substance {
 /* min-height:155px; */ /* compensate overall height for bottom shade */
}



/* "drip" style extended class (eg. <div class="dialog type4 drip"> - more positioning due to width/height requirements */

.dialog.drip .b,
.dialog.drip .b div {
 height:80px;
}

.dialog.drip {
 margin-left:65px;
}

.dialog.drip .t,
.dialog.drip .b div,
.dialog.drip .hd,
.dialog.drip .bd,
.dialog.drip .ft,
.dialog.drip .shelter {
 margin-left:-65px;
 width:65px;
 }

.dialog.drip .shelter {
 width:auto;
}

.dialog .shelter .hd,
.dialog .shelter .bd,
.dialog .shelter .ft {
 margin-left:0px;
}

.dialog.drip .hd,
.dialog.drip .bd,
.dialog.drip .ft {
 zoom:1;
 width:auto;
 padding:0px 2px 0px 12px;
}