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

.dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:100%; 
 color:#000000;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0.5em; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:url(../images/dialog/left.png) no-repeat top right;
 _background-image:url(../images/dialog/left.gif);
}
.dialog .content {
 position:relative;
 _overflow-y:hidden; /**/
 padding:0px 12px 0px 0px;
}
.dialog.type3 .content,
.dialog.type3 .t,
.dialog.type3 .b,
.dialog.type3 .b div {
 background-image:url(../images/dialog/left.png);
 _background-image:url(../images/dialog/left.gif);
  font-size:85%;
}

.dialog.type4 .content,
.dialog.type4 .t,
.dialog.type4 .b,
.dialog.type4 .b div {
 background-image:url(../images/dialog/middle.png);
 _background-image:url(../images/dialog/middle.gif);

}

.dialog.type5 .content,
.dialog.type5 .t,
.dialog.type5 .b,
.dialog.type5 .b div {
 background-image:url(../images/dialog/middle5000.png);
 _background-image:url(../images/dialog/middle5000.gif);
}
.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:10px; /* height of bottom cap/shade */
}

.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 .hd2{
 padding:0px 20px 0px 20px;
 position:relative;
}
.dialog .bdm {
	background-image:url(../images/layout/whitewatermark.gif);
	background-repeat:no-repeat;
	background-position:center bottom;

}
.dialog .#bdm2 {
width:90%; 
height:90%;
}
#bdm2 img{ 
width:99%; 
height:99%; 
} 

.dialog .wrapper {
 /* extra content protector - preventing vertical overflow (past background) */
 position:static;
 max-height:5000px;
/* 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;
}

