/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
	position:relative;
	margin:0px auto;
	min-width:8em;
	max-width:1200px; /* based on image dimensions */
	/*z-index:1;*/
	margin-left:12px; /* default, width of left corner */
	margin-bottom:0px; /* spacing under dialog */
}

.filter {
	margin-left:7px; /* default, width of left corner */
	max-width:477px; /* based on image dimensions */
}


.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
	text-align:left;
	background:transparent url(../img/crime_reports_main_box.png) no-repeat top right;
	float:none;
}

.filter .content,
.filter .t,
.filter .b,
.filter .b div {
	background:transparent url(../img/inset-box_white.gif) no-repeat top right;
}

.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:0px 12px 0px 0px;
}

.filter .content {
	padding:0px 7px 0px 0px;
}

.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:12px; /* top slice width */
 margin-left:-12px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.filter .t {
	width:7px; /* top slice width */
	margin-left:-7px;
}

.dialog .b {
	/* bottom */
	position:relative;
	width:100%;
}

.dialog .b,
.dialog .b div {
	height:10px; /* 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;
}

.filter .b,
.filter .b div {
	height:3px; /* height of bottom cap/shade */
}

.filter .b div {
	width:7px; /* bottom corner width */
	margin-left:-7px;
}

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

.dialog .wrapper {
 /* extra content protector - preventing vertical overflow (past background) */
 position:static;
 max-height:370px;
 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. */
}

.filter .wrapper {
	max-height:59px;
}

.dialog h1,
.dialog p {
 margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
 padding:0.5em 0px 0.5em 0px;
}

.dialog h1 {
 padding-bottom:0px;
}
