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

.dialog {
	position:relative;
	margin:0px auto;
	min-width:8em;
	max-width:760px; /* based on image dimensions - not quite consistent with drip styles yet */
	color:#46473E;
	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:transparent url(../images/mess/rc_red.gif) no-repeat top right; /* pentru browsere omenesti, imaginea poate fi .png */
 _background-image:url(../images/mess/rc_red.gif);
}

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

.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:30px; /* height of bottom cap/shade */
	font-size:1px;
}

.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 .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;
}

.dialog .bd a { color:#46473E; text-decoration:none }
.dialog .bd a:hover { text-decoration:underline }

/* dialog variants - not needed for first blue (non-drip) style */

.dialog.blue .content,
.dialog.blue .t,
.dialog.blue .b,
.dialog.blue .b div {
 background-image:url(../images/mess/blue.gif); /* pentru browsere omenesti, imaginea poate fi .png */
 _background-image:url(../images/mess/blue.gif);
}

.dialog.green .content,
.dialog.green .t,
.dialog.green .b,
.dialog.green .b div {
 background-image:url(../images/mess/green.gif); /* pentru browsere omenesti, imaginea poate fi .png */
 _background-image:url(../images/mess/green.gif);
}

.dialog.grey .content,
.dialog.grey .t,
.dialog.grey .b,
.dialog.grey .b div {
 background-image:url(../images/mess/grey.gif); /* pentru browsere omenesti, imaginea poate fi .png */
 _background-image:url(../images/mess/grey.gif);
}

/* "drip" variant */

.dialog.drip .b, .dialog.drip .b div { height:5px; }
.dialog.green.drip .b, .dialog.green.drip .b div { height:20px; }
.dialog.grey.drip .b, .dialog.grey.drip .b div { height:20px; }


.dialog.drip { margin-left:65px; }
.dialog.drip .t, .dialog.drip .b div, .dialog.drip .hd, .dialog.drip .bd, .dialog.drip .ft, .dialog.drip .wrapper { margin-left:-65px; width:65px; }
.dialog.drip .wrapper { width:auto; }
.dialog .wrapper .hd, .dialog .wrapper .bd, .dialog .wrapper .ft { margin-left:0px; }
.dialog.drip .hd, .dialog.drip .bd, .dialog.drip .ft { zoom:1; width:auto; padding:0px 2px 0px 12px; }