@media only screen and (min-width: 1501px) {
	#lepopup-wrap {max-width: 1450px !important;}
}

@media only screen and (min-width: 1301px) and (max-width: 1500px){
	#lepopup-wrap {max-width: 1250px !important;}
}

@media only screen and (min-width: 1025px) and (max-width: 1300px){
	#lepopup-wrap {max-width: 1000px !important;}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	#lepopup-wrap > #lepopup-outer > #lepopup-inner img { max-width: 768px !important; height: auto !important; image-rendering: optimizeQuality; -ms-interpolation-mode: bicubic; }
	#lepopup-wrap {max-width: 768px !important;}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	#lepopup-wrap > #lepopup-outer > #lepopup-inner img { max-width: 480px !important; height: auto !important; image-rendering: optimizeQuality; -ms-interpolation-mode: bicubic; }
	#lepopup-wrap {max-width: 480px !important;}
}

@media only screen and (max-width: 479px) {
	#lepopup-wrap > #lepopup-outer > #lepopup-inner img { max-width: 320px !important; clear:both; height: auto !important; image-rendering: optimizeQuality; -ms-interpolation-mode: bicubic; }
}

/* --- */

#lepopup-overlay{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;

	background-color: #000000;
	zoom: 1 !important;
	filter: alpha(opacity=70) !important;
	opacity: 0.7 !important;
	display: none;
	z-index: 10000;
}

#lepopup-wrap{
	position: absolute;
	max-width: 100%;
	min-width: 400px;
	display: none;
	z-index: 10010;
}

#lepopup-wrap > #lepopup-outer{
	position: relative;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=8, Direction=150, Color='#000000')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=8, Direction=150, Color='#000000');
	border-style:solid;
	z-index: 10015;
	overflow: hidden;
	border-width: 0px;
}

#lepopup-wrap > #lepopup-outer > #lepopup-footer {
	float:left;
	clear:both;
	width:100%;
	height:40px;
}

#lepopup-wrap > #lepopup-outer > #lepopup-footer > #lepopup-close{
	position: absolute;
	height: 14px;
	bottom: 12px;
	right: 20px;

	line-height:14px;
	font-family: Arial, Helvetica, sans-serif;
	color: #8b8989;
	text-shadow: #cecece 1px 1px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10025;
	border: 0 !important;
}
#lepopup-wrap > #lepopup-outer > #lepopup-footer > #lepopup-close:after{
	content: 'Close';
}

#lepopup-wrap > #lepopup-outer > #lepopup-footer > #lepopup-close:hover{
	color:#646464;
}

#lepopup-wrap > #lepopup-outer > #lepopup-inner{
	float:left;
	position: relative;
	background-color: transparent;
	width:100%;
	height:100%;
	
	z-index: 10020;
}
#lepopup-wrap > #lepopup-outer > #lepopup-inner.loading{
	background-image: url('ajax-loader.gif');
	background-repeat: no-repeat;
	background-position: center center;
}

#lepopup-wrap > #lepopup-outer.default{
	-moz-box-shadow: inset 0 0 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,0,0,0.5);
	-webkit-box-shadow: inset 0 0 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,0,0,0.5);
	-ms-box-shadow: inset 0 0 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,0,0,0.5);
	-o-box-shadow: inset 0 0 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,0,0,0.5);
	box-shadow: inset 0 0 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,0,0,0.5);
	padding: 30px;
	background-color: #ffffff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
}

#lepopup-wrap > #lepopup-outer.none{
	background:transparent;
}