.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	height: auto;
	min-width: 320px;
	max-width: 100%;
	max-height: 100%;
	visibility: hidden;
	opacity: 0;
	overflow: auto;
	-webkit-box-sizing: border-box;
	box-sizing: border-box
}
.popup, .popup-overlay {
	z-index: 0;
	-webkit-transform-style: flat;
	transform-style: flat;
	-webkit-transition: opacity .3s ease, left .5s, top .5s, transform .5s, -webkit-transform .5s;
	-ms-transition: opacity .3s ease, left .5s, top .5s, transform .5s, -ms-transform .5s;
	-o-transition: opacity .3s ease, left .5s, top .5s, transform .5s, -o-transform .5s;
	transition: opacity .3s ease, left .5s, top .5s, transform .5s, -webkit-transform .5s, -ms-transform .5s, -o-transform .5s
}
.popup-content {
	position: relative
}
.popup-overlay {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	top: -25%;
	left: 0;
	width: 100%;
	height: 150%;
	background: rgba(0,0,0,.7)
}
.popup-show {
	visibility: visible;
	opacity: 1;
	z-index: 2000
}
.popup.effect-fade-scale {
	-webkit-transform: scale(.7);
	-ms-transform: scale(.7);
	-o-transform: scale(.7);
	transform: scale(.7)
}
.popup-show.effect-fade-scale {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1)
}
.popup.effect-slide-left {
	left: 20%
}
.popup.effect-slide-right {
	left: 80%
}
.popup-show.effect-slide-right, .popup-show.effect-slide-left {
	left: 50%
}
.popup.effect-slide-top {
	top: 20%
}
.popup-show.effect-slide-top {
	top: 50%
}
.popup.effect-newspaper {
	-webkit-transform: scale(0) rotate(720deg);
	-ms-transform: scale(0) rotate(720deg);
	-o-transform: scale(0) rotate(720deg);
	transform: scale(0) rotate(720deg)
}
.popup-show.effect-newspaper {
	-webkit-transform: scale(1) rotate(0deg);
	-ms-transform: scale(1) rotate(0deg);
	-o-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg)
}
.popup.effect-sticky {
	top: -100%
}
.popup-show.effect-sticky {
	top: 0;
	margin-top: 0!important
}
.popup {
	background-color: rgb( 248,248,248 );
	box-shadow: 0 2px 2px 0 rgba( 0,0,0,.3 )
}
.popup-content {
	padding: 20px 40px 30px
}
#popup-video.popup {
	overflow: visible;
	background-color: #1b1b1b;
	box-shadow: 0 1px 5px 0 rgba( 0,0,0,.8 )
}
#popup-video.popup .popup-close {
	position: absolute;
	z-index: 2;
	top: -30px;
	right: -40px;
	font-size: 1.5em;
	color: #fff
}
#popup-video.popup .embed-container {
	position: relative;
	z-index: 1;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%
}
#popup-video.popup .embed-container iframe, #popup-video.popup .embed-container object, #popup-video.popup .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%
}
.popup-close {
	position: absolute;
	z-index: 2;
	top: -35px;
	right: -35px;
	display: inline-block;
	width: 35px;
	height: 35px;
	overflow: hidden;
	border: 0;
	background: 0 0
}
.popup-close:before, .popup-close:after {
	content: '';
	position: absolute;
	height: 2px;
	width: 100%;
	top: 50%;
	left: 0;
	margin-top: -1px;
	background: #fff;
	border-radius: 5px;
	margin-top: -6px
}
.popup-close:before {
	transform: rotate(45deg)
}
.popup-close:after {
	transform: rotate(-45deg)
}
