/* Box Style */
div.outer {
 position:relative;
 margin:0px auto;
 color:#000;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0.5em; /* spacing under dialog */
}

div.outer .inner,
div.outer .top,
div.outer .bottom,
div.outer .bottom div {
 background:transparent url(../images/box.png) no-repeat top right;
}

div.outer .inner {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:3px 12px 3px 0px;
}

div.outer .top {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:12px; /* top slice width 22px*/
 margin-left:-12px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:-5px 0;
}

div.outer .bottom {
 /* bottom */
 position:relative;
 width:100%;
}

div.outer .bottom,
div.outer .bottom div {
 height:30px; /* height of bottom cap/shade */
 font-size:1px;
}

div.outer .bottom {
 background-position:bottom right;
}

div.outer .bottom div {
 position:relative;
 width:12px; /* bottom corner width 22px*/
 margin-left:-12px;
 background-position:-5px bottom;
}

div.outer .title,
div.outer .main,
div.outer .footer {
 position:relative;
}

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

div.outer h1,
div.outer p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

div.outer h1 {
 padding-bottom:0px;
}
