/* -------------------DIALOG 4----------------------  */


.dialog4 {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:839px; /* based on image dimensions - not quite consistent with drip styles yet */
 z-index:1;
 margin-left:30px; /* default, width of left corner */
 margin-bottom:0em; /* spacing under dialog */

}

.dialog4 .content,
.dialog4 .t,
.dialog4 .b,
.dialog4 .b div {
	background:transparent url(../images/main_bg.jpg) no-repeat top right;
}

.dialog4 .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:8px 0px 0px 0px;
 min-height:330px;
}

.dialog4 .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:20px; /* top slice width */
 margin-left:-20px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

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

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

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

.dialog4 .b div {
 position:relative;
 width:20px; /* bottom corner width */
 margin-left:-20px;
 background-position:bottom left;
}

.dialog4 .hd,
.dialog4 .bd,
.dialog4 .ft {
 position:relative;
}

.dialog4 .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. */
}

.dialog4 p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
}
