#modal,
#lightbox {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	
	display: none;
	text-align: center;
	
	background: black;
	background: transparent\9;
	background: rgba(0, 0, 0, 0.4);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000);
}

#modal {
	display: block;
}

#modal div.container,
#lightbox div.container {
	display: inline-block; 
	margin-top: 230px;
	background: white;
	overflow: hidden;
}

#modal div.container{
	width: auto;
	padding: 20px;	
}

#lightbox div.container {
	width: 90%;
	max-width: 600px;
	min-height: 350px;
	padding: 0;	
	position: relative;
}

#modal div.container.basic {
	padding: 0px;
}

#modal div.container .header {
	float: none;
	background: #2BB6D1;
	color: white;
	text-align: center;
	font-weight: bold;
}

#modal div.container .body {
	padding: 20px;
	overflow: auto;
	line-height: 17px;
}

#modal div.container .processing {
	width: 250px;
}

#lightbox div.container.processing {
	background: white url(../../_images/process.gif) no-repeat 50% 50%;
}

#lightbox .prev,
#lightbox .next {
	position: absolute;
	width: 40%;
	height: 100%;
	
	padding: 0;
	margin: 0;
	top: 0;
}

#lightbox .prev {
	left: 0;
}

#lightbox .next {
	left: 60%;
}

#lightbox .prev:hover {
	background: url(../images/icons/prev.png) no-repeat 10% 50%;
	cursor: pointer;
}

#lightbox .next:hover {
	cursor: pointer;
	background: url(../images/icons/next.png) no-repeat 90% 50%;
}

#lightbox img {
	margin: 20px;
	width: 540px;
}

#lightbox span {
	display: block;
	font-size: 11px;
	color: #A0A0A0;
}