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



.rounded_corners_dialog {
 position:relative;
 margin:0px auto;
 min-width:8em;
 
 max-width:760px; /* based on image dimensions - NEEDS TO BE LESS THAN ACTUAL IMAGE SIZE (BY CORNER RADIUS? */

 color:#333;
 z-index:1;


/* margin-left:12px;*/ /* default, width of left corner */
 margin-left:35px; /* default, width of left corner */

 margin-bottom:0.5em; /* spacing under dialog */

color: #a13a1b;

}

.rounded_corners_dialog .rounded_corners_content,
.rounded_corners_dialog .rounded_corners_top_left
,
.rounded_corners_dialog .rounded_corners_bottom,
.rounded_corners_dialog .rounded_corners_bottom div {
/* background:transparent url(dialog2-blue-800x1600.png) no-repeat top right;*/
 background:transparent url(../images/Rounded-Corners.png) no-repeat top right;
 _background-image:url(../images/dialog2-blue.gif);
}

.rounded_corners_dialog .rounded_corners_content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
/* padding:0px 12px 0px 0px;*/
padding:15px 35px 0 0;
}

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

.rounded_corners_dialog .rounded_corners_bottom {
 /* bottom */
 position:relative;
 width:100%;
}

.rounded_corners_dialog .rounded_corners_bottom,
.rounded_corners_dialog .rounded_corners_bottom div {
 height:40px; /* height of bottom cap/shade */
 font-size:1px;
}

.rounded_corners_dialog .rounded_corners_bottom {
 background-position:bottom right;
}

.rounded_corners_dialog .rounded_corners_bottom div {
 position:relative;
 
/* width:12px; *//* bottom corner width */
/* margin-left:-12px;*/
 width:40px; /* bottom corner width */
 margin-left:-40px;
 
 background-position:bottom left;
}

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

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

.rounded_corners_dialog h1,
.rounded_corners_dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

.rounded_corners_dialog h1 {
 	font-size:26px;
	line-height:125%;
	padding-bottom:0px;
}