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

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

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:transparent url(images/content_full.png) no-repeat top right;
 _background-image:url(images/content_full_gif.gif);
 }
 
 * html .dialog .content,
 * html .dialog .t,
 * html .dialog .b,
 * html .dialog .b div { background-image:url(images/content_full_gif.gif) no-repeat top right;
 }

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

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



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

.dialog .b,
.dialog .b div {
 height:15px; /* 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;
 height:512px;
 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;
}


.newdialog {
 position:relative;
 margin-top:0px;
 width:847px; /* based on image dimensions - not quite consistent with drip styles yet */
 height:527px;
 color:#000;
 z-index:15;
 margin-bottom:0.5em; /* spacing under dialog */
 background-color:#ebebeb;
}

.newdialog #content2 { border:0px solid red; height:527px; }

