@charset "utf-8";
/* CSS Document */

.dialog {
 position:relative;
 margin:0px ;
 min-width:8em;
 
 max-width:760px; /* based on image dimensions - NEEDS TO BE LESS THAN ACTUAL IMAGE SIZE (BY CORNER RADIUS? */

 color:#333;
 z-index:1;


/* margin-left:12px;*/ /* default, width of left corner */
 margin-left:40px; /* default, width of left corner */
 margin-bottom:0.5em; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:transparent url(../images/rounded-corners-box.png) no-repeat top right;
 _background-image:url(../images/rounded-corners-box.gif);
}

.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
padding:0 40px 0 0;
}

.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 
 width:40px; 
 margin-left:-40px;
 
 height:100%;
 _height:2700px; /* arbitrary long height, IE 6 (value must match size of rounded-corners-box.gif) */
 background-position:top left;
}

.dialog .b {
 /* bottom */
 position:relative;
 width:100%;
}

.dialog .b,
.dialog .b div {
 height:40px; /* height of bottom cap/shade */
 font-size:1px;
}

.dialog .b {
 background-position:bottom right;
}

.dialog .b div {
 position:relative;
 
 width:40px; /* bottom corner width */
 margin-left:-40px;
 
 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,
#mainContent .dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0px 0px;
 line-height:140%;	
}

.dialog h1,
#sidebar1 .dialog  p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:3px 0px 5px 0px;
 line-height:140%;
}

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

