#easy_overlay {
	width:100vw !important;
	height:100vh !important;
	position:fixed;
	bottom:0;
	right:0;
	left:0;
	top:-webkit-calc(-102vh - 30px);
	top:-o-calc(-102vh - 30px);
	top:-moz-calc(-102vh - 30px);
	top:calc(-102vh - 30px);
	z-index:1000000005;
	background:rgba(0, 0, 0, 0.7) !important;
	-webkit-box-shadow:0 15px 15px rgba(0, 0, 0, 0.2) !important;
	-moz-box-shadow:0 15px 15px rgba(0, 0, 0, 0.2) !important;
	box-shadow:0 15px 15px rgba(0, 0, 0, 0.2) !important;

	-webkit-animation:enter_popup_v 0.7s 0s 1 forwards;
	-moz-animation:enter_popup_v 0.7s 0s 1 forwards;
	animation:enter_popup_v 0.7s 0s 1 forwards;
}

#easy_close {
	width:25px;
	height:25px;
	top:0;
	right:0;
	cursor:pointer;
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	opacity:0.5;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box;
	box-sizing:content-box;
}

#easy_close:hover {
	filter:alpha(opacity=100);
	-moz-opacity:1;
	opacity:1;
}

#easy_popup_container {
	width:calc(100vw - 6em);
	max-width:calc(100vh - 6em);
	height:calc(100vh - 6em);
	max-height:calc(100vw - 6em);
	margin:3em auto;
	position:relative;
	text-align:left;
	top:0 !important;
	z-index:2;
}

#easy_popup_body {
	width:100%;
	height:100%;
	position:relative;
}

@media screen and (max-width:640px) {
	#easy_overlay {
		background:#FFFFFF !important;
		padding-top:25px;
		top:0;
		left:-webkit-calc(102vw + 30px);
		left:-o-calc(102vw + 30px);
		left:-moz-calc(102vw + 30px);
		left:calc(102vw + 30px);
		-webkit-box-shadow:-15px 0 15px rgba(0, 0, 0, 0.2) !important;
		-moz-box-shadow:-15px 0 15px rgba(0, 0, 0, 0.2) !important;
		box-shadow:-15px 0 15px rgba(0, 0, 0, 0.2) !important;

		-webkit-animation:enter_popup 0.7s 0s 1 forwards;
		-moz-animation:enter_popup 0.7s 0s 1 forwards;
		animation:enter_popup 0.7s 0s 1 forwards;
	}

	#easy_popup_container {
		width:100vw;
		max-width:100%;
		height:100vh;
		max-height:100%;
		margin:0;
	}

	#easy_close {
		width:25px;
		height:25px;
		top:-25px;
		right:0;
		position:absolute;
		background:#FFFFFF;
		padding-left:-webkit-calc(100% - 25px);
		padding-left:-o-calc(100% - 25px);
		padding-left:-moz-calc(100% - 25px);
		padding-left:calc(100% - 25px);
		-webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2) !important;
		-moz-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2) !important;
		box-shadow:0 2px 5px rgba(0, 0, 0, 0.2) !important;
	}
}

@media screen and (min-width:641px) {
	#easy_close {
		filter:alpha(opacity=0);
		-moz-opacity:0;
		opacity:0;
		position:fixed;
		padding:15px;
		top:-100px;
		-webkit-animation:enter_popup_close 1s 0s 1 forwards;
		-moz-animation:enter_popup_close 1s 0s 1 forwards;
		animation:enter_popup_close 1s 0s 1 forwards;
	}
}

@-webkit-keyframes enter_popup {
	0% {
		left:-webkit-calc(102vw + 30px);
		left:-o-calc(102vw + 30px);
		left:-moz-calc(102vw + 30px);
		left:calc(102vw + 30px);
	}
	100% {
		left:0;
	}
}

@-moz-keyframes enter_popup {
	0% {
		left:-webkit-calc(102vw + 30px);
		left:-o-calc(102vw + 30px);
		left:-moz-calc(102vw + 30px);
		left:calc(102vw + 30px);
	}
	100% {
		left:0;
	}
}

@keyframes enter_popup {
	0% {
		left:-webkit-calc(102vw + 30px);
		left:-o-calc(102vw + 30px);
		left:-moz-calc(102vw + 30px);
		left:calc(102vw + 30px);
	}
	100% {
		left:0;
	}
}

@-webkit-keyframes enter_popup_v {
	0% {
		top:-webkit-calc(-102vh - 30px);
		top:-o-calc(-102vh - 30px);
		top:-moz-calc(-102vh - 30px);
		top:calc(-102vh - 30px);
	}
	100% {
		top:0;
	}
}

@-moz-keyframes enter_popup_v {
	0% {
		top:-webkit-calc(-102vh - 30px);
		top:-o-calc(-102vh - 30px);
		top:-moz-calc(-102vh - 30px);
		top:calc(-102vh - 30px);
	}
	100% {
		top:0;
	}
}

@keyframes enter_popup_v {
	0% {
		top:-webkit-calc(-102vh - 30px);
		top:-o-calc(-102vh - 30px);
		top:-moz-calc(-102vh - 30px);
		top:calc(-102vh - 30px);
	}
	100% {
		top:0;
	}
}


@-webkit-keyframes enter_popup_close {
	0% {
		filter:alpha(opacity=0);
		-moz-opacity:0;
		opacity:0;
		top:-100px;
	}
	100% {
		filter:alpha(opacity=*50);
		-moz-opacity:0.5;
		opacity:0.5;
		top:0;
	}
}

@-moz-keyframes enter_popup_close {
	0% {
		filter:alpha(opacity=0);
		-moz-opacity:0;
		opacity:0;
		top:-100px;
	}
	100% {
		filter:alpha(opacity=*50);
		-moz-opacity:0.5;
		opacity:0.5;
		top:0;
	}
}

@keyframes enter_popup_close {
	0% {
		filter:alpha(opacity=0);
		-moz-opacity:0;
		opacity:0;
		top:-100px;
	}
	100% {
		filter:alpha(opacity=*50);
		-moz-opacity:0.5;
		opacity:0.5;
		top:0;
	}
}