/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
	position:relative;
	margin:0px auto;
	min-width:8em;
	max-width:952px; /* based on image dimensions */
	color:#fff;
	z-index:1;
	margin-left:12px; /* default, width of left corner */
	margin-bottom:0.5em; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
	background:transparent url(../images/backgrounds/contentBG.jpg) no-repeat top right;
}

.dialog .content {
	position:relative;
	padding:0 12px 0 0;
}

/* top+left vertical slice */
.dialog .t {
	position:absolute;
	left:0px;
	top:0px;
	width:12px; /* top slice width */
	margin-left:-12px;
	height:100%;
	background-position:top left;
}

/* bottom */
.dialog .b {
	position:relative;
	width:100%;
}

.dialog .b,
.dialog .b div {
	height:30px; /* height of bottom cap/shade */
	font-size:1px;
}

.dialog .b {
	background-position:bottom right;
}

.dialog .b div {
	position:relative;
	width:12px; /* bottom corner width */
	margin-left:-12px;
	background-position:bottom left;
}

.dialog .hd,
.dialog .bd,
.dialog .ft {
	position:relative;
	margin: 0 15px;
}

.dialog .hd {
	margin-left: 5px;
}

.dialog .wrapper {
	/* extra content protector - preventing vertical overflow (past background) */
	position:static;
	max-height:8000px;
	overflow:hidden; /* 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. */
	width: 100%;
}

.dialog h1,
.dialog p {
	margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
}

.dialog h1 {
	padding-bottom:0px;
}

/******************* Country Selector Content Box *********************/
#countrySelector .content,
#countrySelector .t,
#countrySelector .b,
#countrySelector .b div {
	background:transparent url(../cs_images/backgrounds/countrySelectorBoxBG.gif) no-repeat top right;
}
#countrySelector .hd {
	min-height: 60px;
	height:auto !important;
	height:60px;
}
#countrySelector .b,
#countrySelector .b div {
	min-height: 160px;
	height:auto !important;
	height:160px;
}
#countrySelector .t{ 
	background-position:top left;
}
#countrySelector .b { 
	background-position:bottom right;
}
#countrySelector .b div { 
	background-position:bottom left;
}
