.simplemodal {
	display: none;
	width: 620px;
	max-height:80%;
	background: #fff;
	padding:0;
	overflow-y:auto;
	overflow-x:hidden;
}
.imagemodal {
	width:855px;
	height:570px;
	min-width:300px;
	width:90%;
	height:90%;
	max-height:90%;
}

.simplemodal a.close-simplemodal {
	position: absolute;
	top: 14px;
	right: 12px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background:url('images/icon_close.png') no-repeat center center;
	overflow:hidden;
}

.simplemodal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(images/spinner.gif) #111 no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

@media only screen and (max-width:621px), screen and (max-height:599px){
	.simplemodal
		{
		width:90%;
		min-width:320px;
		height:100%;
		max-height:100%;
		overflow:auto;
		top:0 !important;
		left:0 !important;
		margin:0 !important;
		}
	.imagemodal
		{
		width:90%;
		min-width:300px;
		height:100%;
		max-height:100%;
		}
}