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

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

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
	background-repeat: no-repeat;
	}

.dialog .content {
	position:relative;
	_overflow-y:hidden;
	padding:0px 12px 0px 0px;
	background-position:top right;
	min-height: 100px;
	max-height: 1600px;
}

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

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

.dialog .b,
.dialog .b div {
	font-size:1px;
}

.dialog .b div {
	position:relative;
	width:12px; /* bottom corner width */
	margin-left:-12px;
	background-position:bottom left;
	height: 30px;
}

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

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

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

/* dialog variants - alternate colours, widths and so on */

.dialog.short .wrapper {
 max-height:520px;
}

.dialog.black1 .content,
.dialog.black1 .t,
.dialog.black1 .b,
.dialog.black1 .b div {
 background-image:url(nav/images/rc-black-1.png);
}

.dialog.black2 .content,
.dialog.black2 .t,
.dialog.black2 .b,
.dialog.black2 .b div {
 background-image:url(nav/images/rc-black-2.png);
}

.dialog.red1 .content,
.dialog.red1 .t,
.dialog.red1 .b,
.dialog.red1 .b div {
 background-image:url(nav/images/rc-red-1.png);
}

.dialog.red2 .content,
.dialog.red2 .t,
.dialog.red2 .b,
.dialog.red2 .b div {
 background-image:url(nav/images/rc-red-2.png);
}

.dialog.white1 .content,
.dialog.white1 .t,
.dialog.white1 .b,
.dialog.white1 .b div {
 background-image:url(nav/images/rc-white-1.png);
}

.dialog.white2 .content,
.dialog.white2 .t,
.dialog.white2 .b,
.dialog.white2 .b div {
 background-image:url(nav/images/rc-white-2.png);
}

.dialog.blue1 .content,
.dialog.blue1 .t,
.dialog.blue1 .b,
.dialog.blue1 .b div {
 background-image:url(nav/images/rc-blue-1.png);
}

.dialog.blue2 .content,
.dialog.blue2 .t,
.dialog.blue2 .b,
.dialog.blue2 .b div {
 background-image:url(nav/images/rc-blue-2.png);
}

.dialog.yellow1 .content,
.dialog.yellow1 .t,
.dialog.yellow1 .b,
.dialog.yellow1 .b div {
 background-image:url(nav/images/rc-yellow-1.png);
}

.dialog.yellow2 .content,
.dialog.yellow2 .t,
.dialog.yellow2 .b,
.dialog.yellow2 .b div {
 background-image:url(nav/images/rc-yellow-2.png);
}

.dialog .wrapper .hd,
.dialog .wrapper .bd,
.dialog .wrapper .ft {
 margin-left:0px;
}
