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

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

.rcorn .content,
.rcorn .t,
.rcorn .b,
.rcorn .b div {
 background:transparent url(/assets/img/layout/rcorn.png) no-repeat top right;
 _background-image:url(/assets/img/layout/rcorn.gif);
}

.rcorn_2 .content,
.rcorn_2 .t,
.rcorn_2 .b,
.rcorn_2 .b div {
 background:transparent url(/assets/img/layout/rcorn_2.png) no-repeat top right;
 _background-image:url(/assets/img/layout/rcorn_2.gif);
}

.rcorn_3 .content,
.rcorn_3 .t,
.rcorn_3 .b,
.rcorn_3 .b div {
 background:transparent url(/assets/img/layout/rcorn_3.png) no-repeat top right;
 _background-image:url(/assets/img/layout/rcorn_3.gif);
}

.rcorn_4 .content,
.rcorn_4 .t,
.rcorn_4 .b,
.rcorn_4 .b div {
 background:transparent url(/assets/img/layout/rcorn_4.png) no-repeat top right;
 _background-image:url(/assets/img/layout/rcorn_4.gif);
}

.rcorn_alert .content,
.rcorn_alert .t,
.rcorn_alert .b,
.rcorn_alert .b div {
 background:transparent url(/assets/img/layout/rcorn_alert.png) no-repeat top right;
 _background-image:url(/assets/img/layout/rcorn_alert.gif);
}

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

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

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

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

.rcorn .b {
 background-position:bottom right;
}

.rcorn .b div {
 position:relative;
 width:10px; /* bottom corner width */
 margin-left:-10px;
 background-position:bottom left;
}

.rcorn .hd,
.rcorn .bd,
.rcorn .ft {
 position:relative;
}

.rcorn .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. */
}

.rcorn h1,
.rcorn p,
.rcorn table {
 margin:0; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0 0 1em 0;
}
