/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:780px; /* based on image dimensions - not quite consistent with drip styles yet */
 color:#000;
 z-index:1;
 margin-left:0px; /* default, width of left corner */
 margin-bottom:5px; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:transparent url(/images/backgroundDialogueGrey.png) no-repeat top right;
 _background-image:url(/images/backgroundDialogueGrey.gif) ;
}

.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:3px 3px 3px 3px;
}



.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:3px; /* top slice width */
 margin-left:-3px;
 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:5px; /* height of bottom cap/shade */
 font-size:1px;
}

.dialog .b {
 background-position:bottom right;
}

.dialog .b div {
 position:relative;
 width:3px; /* bottom corner width */
 margin-left:-3px;
 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 h2,
.dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding: 0.1em 5px 0.1em 5px;
 color: #505050;
 clear: left;

}

.dialog h1 {
 padding-bottom:0px;
}


.dialog .icon
{
	float: left;
	margin: 0px;
}
	


.dialog .content ul
{
	margin: 0px;
	color: #404040;
	padding-right: 15px;
	clear: left;
	padding-left: 0px;
}

.dialog .content li
{
	margin-left: 2em;
	font-size: 85%;
}

.dialog .content p
{
	font-size: 85%;
}



/* "popup" style extended class (eg. <div class="dialog popup"> - more positioning due to width/height requirements */
.dialog.popup {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:780px; /* based on image dimensions - not quite consistent with drip styles yet */
 color:#fff;
 z-index:1;
 margin-left:0px; /* default, width of left corner */
 margin-bottom:1px; /* spacing under dialog */
}

.dialog.popup .content,
.dialog.popup .t,
.dialog.popup .b,
.dialog.popup .b div {
 background:transparent url(/images/popupBox.png) no-repeat top right;
 _background-image:url(/images/popupBox.gif) ;
}

.dialog.popup .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:3px 3px 3px 3px;
}



.dialog.popup .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:3px; /* top slice width */
 margin-left:-3px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.dialog.popup .b {
 /* bottom */
 position:relative;
 width:100%;
}

.dialog.popup .b,
.dialog.popup .b div {
 height:15px; /* height of bottom cap/shade */
 font-size:1px;
}

.dialog.popup .b {
 background-position:bottom right;
}

.dialog.popup .b div {
 position:relative;
 width:3px; /* bottom corner width */
 margin-left:-3px;
 background-position:bottom left;
}

.dialog.popup .hd,
.dialog.popup .bd,
.dialog.popup .ft {
 position:relative;
}

.dialog.popup .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.popup h1,
.dialog.popup h2,
.dialog.popup p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding: 0.1em 5px 0.1em 5px;
 color: #505050;
 clear: left;

}

.dialog.popup h1 {
 padding-bottom:0px;
}


.dialog.popup .icon
{
	float: left;
	margin: 0px;
}
	


.dialog.popup .content ul
{
	margin: 0px;
	color: #404040;
	padding-right: 15px;
	clear: left;
	padding-left: 0px;
}

.dialog.popup .content li
{
	margin-left: 2em;
	font-size: 85%;
}

.dialog.popup .content p
{
	font-size: 85%;
}


.dialog.popup .titleBar
{
	margin-top: 0px;
	padding: 0px;	
	display: block;
	width: 100%;
}

.dialog.popup .titleBar h2
{
	display: block;
	float: left;
	color: #fff;
	clear: none;
	width: 80%;
}
.dialog.popup .titleBar .buttons 
{
	display: block;
	float: right;
	width: 10%;
	margin-top: 0px;
	background-color: Transparent !important;
	border: none;
	text-align: right;
	margin-right: 18px;
	padding-right: 0px;
}

.dialog.popup .titleBar .buttons input
{
	margin: 0px;
	padding: 0px;
	float:right;
}
