/* assume intended width is 350px with 15px image gap on either side and 25px in-image padding*/
.measure { width: 350px; background: blue; margin: 20px auto 0; } /* max image width inc outside gap = measure2 + outside gap */
.measure2 { width: 320px; background: red; margin: 0 auto 0; }    /* Interior Image = max interior width excluding drop shadows/glows */
.measure3 { width: 270px; background: green; margin: 0 auto 0; }  /* Interior padding = max interior width */
.measure, .measure2, .measure3 {
    font-size: 62.5%;
    text-align: center;
    padding: 1px 0 2px;
    color: #fff;
}

/* set the image to use and establish the lower-right position */
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2 {
    background: transparent url(/images/bg0.png) no-repeat bottom right;
    margin: 0;
    padding: 0; 
}
.cssbox1, .cssbox_body1, .cssbox_head1, .cssbox_head1 h2 {
    background: transparent url(/images/bg.png) no-repeat bottom right;
    margin: 0;
    padding: 0; 
}
.cssbox2, .cssbox_body2, .cssbox_head2, .cssbox_head2 h2 {
    background: transparent url(/images/bg1.png) no-repeat bottom right;
    margin: 0;
    padding: 0; 
}
.cssbox3, .cssbox_body3, .cssbox_head3, .cssbox_head3 h2 {
    background: transparent url(/images/bg2.png) no-repeat bottom right;
    margin: 0;
    padding: 0; 
}
.cssbox, .cssbox1, .cssbox2, .cssbox3 {
    width: 165px !important;   /* intended total box width - padding-right(next) */
    width: 150px;              /* IE Win = width - padding */
    padding-right: 15px;       /* the gap on the right edge of the image (not content padding) */
    margin: 10px auto;         /* use to position the box */
}

/* set the top-right image */
.cssbox_head, .cssbox_head1, .cssbox_head2, .cssbox_head3 {
    background-position: top right;
    margin-right: -15px;       /* pull the right image over on top of border */
    padding-right: 20px;       /* right-image-gap + right-inside padding */
}

/* set the top-left image */
.cssbox_head h2, .cssbox_head1 h2, .cssbox_head2 h2, .cssbox_head3 h2 {
    background-position: top left;
    margin: 0;                 /* reset */
    border: 0;                 /* reset */
    padding: 20px 0 5px 20px; /* padding-left = image gap + interior padding ... no padding-right */
    height: auto !important; 
    height: 1%;                /* IE Holly Hack */
}

/* set the lower-left corner image */
.cssbox_body, .cssbox_body1, .cssbox_body2, .cssbox_body3 {
    background-position: bottom left;
    margin-right: 15px;        /* interior-padding right */
    padding: 5px 0 15px 20px; /* mirror .cssbox_head right/left */
}


/* Misc Text formatting */
.cssbox_head h2, .cssbox_head1 h2, .cssbox_head2 h2, .cssbox_head3 h2 {
    color: #666666;
	font:bold 14px Arial,Helvetica,sans-serif; 
	text-decoration: none;
    font-weight: bold;
    //font-size: 14px;      /* this is tricky if box width is in ems */
    text-align: center; 
    text-shadow: rgb(0,0,0) 0px 2px 5px; /* Safari-only, but I'm doing it just 'cause I can */
}

.cssbox_body p, .cssbox_body1 p, .cssbox_body2 p, .cssbox_body3 p {
    margin: 0 0 10 0px;
    font:normal 12px Arial,Helvetica,sans-serif; 
}

.cssbox_body a, .css_body a:hover, .cssbox_body1 a, .css_body1 a:hover, .cssbox_body2 a, .css_body2 a:hover, .cssbox_body3 a, .css_body3 a:hover {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
	color: #F71B13; 
	text-align: left; 
	font:normal 12px Arial,Helvetica,sans-serif; 
    text-decoration: underline;
}

code { 
    white-space: pre; 
}