.dialog
{
	z-index: 500;
	position: absolute;	
	width: 750px;
}

.dialog .content
{
	background-color: white;
	border: 1px solid #CCCCCC;
	padding: 20px;
	-moz-box-shadow: 0 0 50px black;
	-webkit-box-shadow: 0 0 50px black;
	overflow: visible;
	position: relative;
	z-index: 100;
}

a.close_dialog
{
	position: absolute;
	top: 0px;
	background: transparent url("../images/Modals/closeButton.png") no-repeat scroll 0 0;
	width: 37px;
	height: 37px;
	display: inline-block;
	top: -18px;
	right: -18px;
	z-index: 200;
}

a.close_dialog:hover
{
	text-decoration: none;
}

.dialog .dialog_corner
{
	display: inline-block;
	/* has to be above the page, but below the dialog content as the corners overlap the dialog */
	z-index: 60;
	position: absolute;
}

.dialog .top_left,
.dialog .top_right,
.dialog .bottom_left,
.dialog .bottom_right
{
	width: 96px;
	height: 96px;
}

.dialog .top_left
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowCornerTopLeft.png") no-repeat scroll 0 0;	
	top: 0px;
	left: 0px;
}

.dialog .top
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowStripTop.png") repeat-x scroll 0 0;
	top: 0px;
	left: 96px;
	height: 38px;
}

.dialog .top_right
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowCornerTopRight.png") no-repeat scroll 0 0;	
	top: 0px;
	right: 0px;
}

.dialog .left
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowStripLeft.png") repeat-y scroll 0 0;	
	left: 0px;
	top: 96px;
	width: 36px;
}

.dialog .right
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowStripRight.png") repeat-y scroll 0 0;	
	right: 0px;
	top: 96px;	
	width: 36px;
}

.dialog .bottom_left
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowCornerBottomLeft.png") no-repeat scroll 0 0;	
	bottom: 0px;
	left: 0px;
}

.dialog .bottom_right
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowCornerBottomRight.png") no-repeat scroll 0 0;	
	bottom: 0px;
	right: 0px;
}

.dialog .bottom
{
	background: transparent url("http://www.ilcnsw.asn.au/images/Modals/Shadow/shadowStripBottom.png") repeat-x scroll 0 0;
	bottom: 0px;
	left: 96px;
	height: 36px;
}

.dialog #flash_notice, .dialog #flash_error
{
	width: auto;
}