﻿/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.roundTall, roundTallW {
 position:relative;
 margin:0px auto;
 min-width:8em;
 max-width:760px; /* 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 */
}

.roundTall .content, .roundTall .t, .roundTall .b, .roundTall .b div {
 background:transparent url(/images/backgrounds/roundbg_lg_tall.png) no-repeat top right;
 _background-image:url(/images/backgrounds/roundbg_lg_tall.gif);
}

.roundTallW .content, .roundTallW .t, .roundTallW .b, .roundTallW .b div {
 background:transparent url(/images/backgrounds/roundbg_w_tall.png) no-repeat top right;
 _background-image:url(/images/backgrounds/roundbg_w_tall.gif);
}

.roundTall .content, .roundTallW .content {
 position:relative;
 _overflow-y:hidden;
 padding:0px 16px 0px 0px;
}

.roundTall .t, .roundTallW .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:16px; /* top slice width */
 margin-left:-16px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.roundTall .b, .roundTallW .b {
 /* bottom */
 position:relative;
 width:100%;
}

.roundTall .b, .roundTall .b div, .roundTallW .b, .roundTallW .b div {
 height:16px; /* height of bottom cap/shade */
 font-size:1px;
}

.roundTall .b, .roundTallW .b {
 background-position:bottom right;
}

.roundTall .b div, .roundTallW .b div {
 position:relative;
 width:16px; /* bottom corner width */
 margin-left:-16px;
 background-position:bottom left;
}

.roundTall .hd, .roundTall .bd, .roundTall .ft, .roundTallW .hd, .roundTallW .bd, .roundTallW .ft { position:relative; }

.roundTall .wrapper, .roundTallW .wrapper {
 /* extra content protector - preventing vertical overflow (past background) */
 position:static;
 max-height:1500px; 
 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. */
}

.roundTall h1, .roundTall p, .roundTallW h1, .roundTallW p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

.roundTall h1, .roundTallW h1 { padding-bottom:0px; }
.roundTall .bd, .roundTallW .bd { padding:5px; }