/*  ids  */

/*  classes  */
.popup-bg
{
	background: #000000;
	position: absolute;
	position: fixed;
	display: block;
	width: 0;
	height: 0;
	left: 0;
	top: 0;
	z-index: 2;
	opacity: 0;
	-webkit-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
}
.popup-bg.show
{
	opacity: 0.25;	
	width: 100%;
	height: 100%;
}

.popup-blur
{
	-webkit-transition: -webkit-filter .5s ease, filter .5s ease;
	transition: -webkit-filter .5s ease, filter .5s ease;
}
.popup-blur.show
{
	-webkit-filter: blur(2px);
	filter: blur(2px);
}

.popup-box
{
	position: absolute;
	display: block;
	overflow: hidden;
	width: 0;
	height: 0;
	left: 50%;
	top: 50%;
	z-index: 3;
	opacity: 0;
	-webkit-transform: translate(-50%, -50%) scale(.9);
	transform: translate(-50%, -50%) scale(.9);
	-webkit-transition: -webkit-transform .5s ease, transform .5s ease, opacity .5s ease;
	transition: -webkit-transform .5s ease, transform .5s ease, opacity .5s ease;
	background: #FFFFFF;
	box-sizing: border-box;
}
.popup-box.show
{
	width: auto;
	height: auto;
	opacity: 1;
	-webkit-transform: translate(-50%, -50%) scale(1);
	transform: translate(-50%, -50%) scale(1);
}

.popup-box .close
{
	position: absolute;
	right: 30px;
	top: 30px;
	z-index: 1;
}

.popup-content
{
	position: relative;
	display: block;
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 70vh;
	padding: 50px 80px 0 50px;
	box-sizing: border-box;
}
.popup-content:after
{
	content: '';
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 50px;
}
.popup-content :last-child
{
	padding-bottom: 0;
}