/* files/themore/assets/scss/extensions/popup.css */

.closePreviewPage {
	width: 100%;
	max-width: 1000px;
	margin: 50px auto 0 auto;
	display: block;
	color: white;
	font-weight: bold;
	font-size: 2em;
	text-align: right;
	position:relative;
}

.popupwrapper.active .closePreviewPage {
	animation: slideUp .5s;	
}

.previewPageWrapperCloser {
	height: 100%;
	width: 100%;
	background-color: #0000;
	position: absolute;
}

.popupwrapper.active {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	animation: fadeInPageWrapper .5s;
	background-color: #0008;
}

.popupwrapper.active .popup {
	width: 90%;
	overflow: auto;
	max-height: 600px;
	background-color: white;
	max-width: 600px;
	margin: 0px auto;
	box-shadow: 0 0 50px #0005;
	position: relative;
	animation: slideUp .5s;
	transform: translateY(-50%);
	top: 50%;
}

.popup {
	padding: 50px;
}

@media screen and (max-width:800px) {
	
	.popup {
		padding: 25px;
	}
	
}

.popup h3 {
	margin-top:0;
	max-width: 85%;
	font-size: 1.35em;
	line-height: 1.5rem;
}

.colorAccent.closePOPUP {
	position: absolute;
	right: 20px;
	top: 20px;
}

.popuparticle {
	position: relative;
	z-index: 10000;
}

/* [start] open Animations */	
	
	@keyframes fadeInPageWrapper {
		from {background-color: #0000;}
		to {background-color: #0008;}
	}
	
	@keyframes slideUp {
		from {top: 100%;}
		to {top: 50%;}
	}

/* [end] open Animations */	

/* [start] close Animations */	

	.popupwrapper.close .popup{	
		top:100%;
		transform: unset;
		transition-duration: .3s;
		
	}
		
	.popupwrapper.close {
		transition-duration: .3s;
		background-color: #0000;
		transition: display 400ms;
		display: none;
	}
	
	.popupwrapper:not(.active) {
		display: none;
	}

	
/* [end] close Animations */	