.layer-wrap
{
	position:absolute;
	top:-10000px; left:-10000px;
	z-index:9999;
}
	.layer
	{
		display:none;
	}

.modal-wrap
{
	min-width:200px; overflow:hidden;
/*	border:2px solid #333;
	background-color:#000;
	color:#999;	*/
}
	.modal
	{
		position:relative; display:none;
/*		padding:10px;
		color:#CCC;	*/
	}
	.modal-header
	{
		position:relative; 
		z-index:10;
		background-color:#111;
		color:#FFF;
		font-weight:bold; font-size:14px;
	}
		.modal-header h3
		{
			padding:4px 10px;
			font-weight:bold; font-size:16px;
		}
		.modal-header h3.warning
		{
			background-color:#220;
			color:#FF0;
		}
		.modal-header h3.error
		{
			background-color:#200;
			color:#F00;
		}
		
		
		.modal-header .modal-close
		{
			position:absolute;
			top:5px; right:2px; z-index:20;
			height:15px;
			font-weight:normal; font-size:10px; line-height:13px;
		}
			.modal-header .modal-close a
			{
				color:#333;
			}
			.modal-header .modal-close a:hover
			{
				color:#555;
			}
	
	.modal-footer
	{
		position:relative; 
		z-index:10;
		border-top:1px solid #111; padding:4px 10px;
		text-align:right;
	}
		.modal-footer a.btn
		{
			/*float:right;*/
		}
		.modal-footer a.cancel
		{
			margin-right:10px;
		}
			
#layers-modal-cover
{
	position:fixed; display:none;
	top:0; left:0; z-index:9989;
	width:100%; height:100%;
	background:#fff;
}