/* 
  Floaty boxes,  derived from -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:800px; /* based on image dimensions - not quite consistent with drip styles yet */
 color:#fff;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:0.5em; /* spacing under dialog */
}
/* This starts the unique to-each box styling, there's a lot of repetiton*/
/*The top navigaion box */
.dialog.topnav .content,
.dialog.topnav .t,
.dialog.topnav .b,
.dialog.topnav .b div {
 background:transparent url(../images/bg800x1600-red.png) no-repeat top right;
 _background-image:url(../images/dialog2-blue.gif);
}

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

.dialog.topnav .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.topnav .b {
 /* bottom */
 position:relative;
 width:100%;
}

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

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

.dialog.topnav .b div {
 position:relative;
 width:12px; /* bottom corner width */
 margin-left:-12px;
 background-position:bottom left;
 float:left;
}
.dialog.topnav .scroller {
 max-height:400px;
}
/*The main body box */
.dialog.bodybox .content,
.dialog.bodybox .t,
.dialog.bodybox .b,
.dialog.bodybox .b div {
 background:transparent url(../images/bg800x1600-offwhite.png) no-repeat top right;
 _background-image:url(../images/dialog2-blue.gif);
}

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

.dialog.bodybox .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.bodybox .b {
 /* bottom */
 position:relative;
 width:100%;
}

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

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

.dialog.bodybox .b div {
 position:relative;
 width:12px; /* bottom corner width */
 margin-left:-12px;
 background-position:bottom left;
}
.dialog.bodybox .scroller {
 max-height:400px;
}
/*The smaller info box */
.dialog.infobox .content,
.dialog.infobox .t,
.dialog.infobox .b,
.dialog.infobox .b div {
 background:transparent url(../images/bg800x1600-offwhite.png) no-repeat top right;
 _background-image:url(../images/dialog2-blue.gif);
}

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

.dialog.infobox .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.infobox .b {
 /* bottom */
 position:relative;
 width:100%;
}

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

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

.dialog.infobox .b div {
 position:relative;
 width:12px; /* bottom corner width */
 margin-left:-12px;
 background-position:bottom left;
}
/*These styles apply to internal divs that hold content, used if you want (say) a scrollbar*/
.dialog .hd,
.dialog .bd,
.dialog .ft {
 position:relative;
}

.dialog .scroller {
 /* 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;
}

