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

.box {
position:relative;
margin:0px auto;
min-width:8em;
max-width:3000px; /* based on image dimensions - not quite consistent with drip styles yet */
color:#000000;
z-index:1;
margin-left:12px; /* default, width of left corner */
margin-bottom:0.5em; /* spacing under box */
}

.box .boxcontent,
.box .t,
.box .b,
.box .b div {
background:transparent url('/_layouts/images/jefferson/corners.png') no-repeat top right;
}

.box .boxcontent {
position:relative;
zoom:1;
_overflow-y:hidden;
padding:10px 30px 10px 20px;
}

.box .t {
/* top+left vertical slice */
position:absolute;
left:0px;
top:0px;
width:12px; /* top slice width */
margin-left:-12px;
height:100%;
_height:3000px; /* arbitrary long height, IE 6 */
background-position:top left;
}

.box .b {
/* bottom */
position:relative;
width:100%;
}

.box .b,
.box .b div {
height:35px; /* height of bottom cap/shade */
font-size:1px;
}

.box .b {
background-position:bottom right;
}

.box .b div {
position:relative;
width:12px; /* bottom corner width */
margin-left:-12px;
background-position:bottom left;
}

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

.box .wrapper {
/* extra content protector - preventing vertical overflow (past background) */
position:static;
max-height:3000px;
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. */
}

.box h1,
.box p {
margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
padding:0.5em 0px 0.5em 0px;
}

.box h1 {
padding-bottom:0px;
}