/***
ModEl Framework
Popup Style
***/

.zkPopupBg{
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	top: 0;
	left: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

.zkPopup{
	position: fixed;
	z-index: 1001;
	box-shadow: 1px 1px 5px #444;
	overflow: hidden;
	box-sizing: border-box;
	transition: width 0.4s ease-out, height 0.4s ease-out, top 0.4s ease-out, left 0.4s ease-out, opacity 0.4s ease-out, transform 0.4s ease-in;
}

.zkPopup.no-transition{
	transition: none;
}

.zkPopupClose{
	position: fixed;
	z-index: 1002;
	line-height: 0;
}

.zkPopupClose a{
	display: block;
}

.zkPopupClose svg{
	display: block;
	width: 42px;
	height: 42px;
}

.zkPopupLoading{
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	border: 4px solid rgba(255, 255, 255, 0.35);
	border-top-color: #FFF;
	border-radius: 50%;
	animation: zkPopupSpin 0.8s linear infinite;
}

.zkPopup .zkPopupLoading{
	margin: 0 auto;
	border-color: rgba(0, 0, 0, 0.15);
	border-top-color: rgba(0, 0, 0, 0.5);
}

@keyframes zkPopupSpin{
	to{
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce){
	.zkPopup{
		transition: none;
	}

	.zkPopupLoading{
		animation-duration: 2.4s;
	}
}
