/* 
  -- Round Corners - Grey Background --
*/

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

.dialog .dialog-content,
.dialog .dialog-t,
.dialog .dialog-b,
.dialog .dialog-b div {
	background:transparent url('images/content-background-grey.png') no-repeat top right;
}

.dialog .dialog-content {
	position:relative;
	zoom:1;
	padding:10px 10px 0px 0px;
}

/* .dialog-content div { */
.dialog-div,
.dialog-t {
	clear:both;
}

.dialog .dialog-t {
	/* top+left vertical slice */
	position:absolute;
	left:0px;
	top:0px;
	width:10px; /* top slice width */
	margin-left:-10px;
	height:100%;
	background-position:top left;
}

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

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

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

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

.dialog .hd,
.dialog .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,
.dialog p {
	margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
	padding:0.5em 0px 0.5em 0px;
}

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



/* 
  -- Round Corners - White Background --
*/

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

.dialog-white .dialog-content-white,
.dialog-white .dialog-t-white,
.dialog-white .dialog-b-white,
.dialog-white .dialog-b-white div {
	background:transparent url('images/content-background-white.png') no-repeat top right;
}

.dialog-white .dialog-content-white {
	position:relative;
	zoom:1;
	padding:10px 10px 0px 0px;
}

/* .dialog-content-white div { */
.dialog-div-white,
.dialog-t-white {
	clear:both;
}

.dialog-white .dialog-t-white {
	/* top+left vertical slice */
	position:absolute;
	left:0px;
	top:0px;
	width:10px; /* top slice width */
	margin-left:-10px;
	height:100%;
	background-position:top left;
}

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

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

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

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

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

.dialog-white .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-white h1,
.dialog-white p {
	margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
	padding:0.5em 0px 0.5em 0px;
}

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