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

.dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:1200px; /* based on image dimensions - not quite consistent with drip styles yet */
 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/sbbox.gif) no-repeat top right;
 _background-image:url(../images/sbbox.gif);
}

.dialog.navi .content,
.dialog.navi .t,
.dialog.navi .b,
.dialog.navi .b div {
 background-image:url(../images/sbbox-nav.gif);
}

.dialog.black .content,
.dialog.black .t,
.dialog.black .b,
.dialog.black .b div {
 background-image:url(../images/sbbox-black.gif);
}


.dialog.cat .content,
.dialog.cat .t,
.dialog.cat .b,
.dialog.cat .b div,
.dialog.search .content,
.dialog.search .t,
.dialog.search .b,
.dialog.search .b div {
 background-image:url(../images/sbbox-cat.gif);
}

.dialog.rightBoxContainer .content,
.dialog.rightBoxContainer .t,
.dialog.rightBoxContainer .b,
.dialog.rightBoxContainer .b div {
 background-image:url(../images/sbbox-addtl.gif);
}

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

.dialog .content { padding:20px 20px 0px 12px;}
.dialog.navi .content { padding:0;}
.dialog.cat .content { padding:20px 10px 20px 5px;}
.dialog #upcomingProductsContentWrapper.content { padding:0;}

.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:12px; /* top slice width */
 margin-left:-12px;
 height:100%;
 _height:6000px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

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

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