﻿/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.DialogCC {
 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:10px; /* default, width of left corner */
 margin-bottom:0.5em; /* spacing under dialog */
}

.DialogCC .content,
.DialogCC .t,
.DialogCC .b,
.DialogCC .b div {
 background:transparent url(/images/RoundBGCC.Gif) no-repeat top right;
 _background-image:url(/images/RoundBGCC.Gif);
}

.DialogCC .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:0px 10px 0px 0px;
}

.DialogCC .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:10px; /* top slice width */
 margin-left:-10px;
 height:100%;
 _height:600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.DialogCC .b {
 /* bottom */
 position:relative;
 width:100%;
}

.DialogCC .b,
.DialogCC .b div {
 height:10px; /* height of bottom cap/shade */
 font-size:1px;
}

.DialogCC .b {
 background-position:bottom right;
}

.DialogCC .b div {
 position:relative;
 width:10px; /* bottom corner width */
 margin-left:-10px;
 background-position:bottom left;
}

.DialogCC .hd,
.DialogCC .bd,
.DialogCC .ft {
 position:relative;
}

.DialogCC .wrapper {
 /* extra content protector - preventing vertical overflow (past background) */
 position:static;
 max-height:800px;
 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. */
}

.DialogCC h1,
.DialogCC table,
.DialogCC tr,
.DialogCC td,
.DialogCC p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

.DialogCC h1 {
 padding-bottom:0px;
}


