.th3_popup{
	/*display:none;*/
	visibility: hidden;
	opacity: 0;
	position: fixed;
	width: 100vw;
	height: 0vh;
	z-index: 2000000;
	top:0;
	transition: opacity .8s ease-in;
	background-color: rgba(255,255,255,0.7);
}


.th3_popup_content{
	position: relative;
	width: 100%;
	min-height: 390px;
	max-height: calc(100vh - 300px);
	max-width: 650px;
	margin: 50px auto 0 auto;
	padding: 45px 25px 45px 25px;
	background-color: #ce1638;
	overflow: auto;
	overflow-x: hidden;
	color: #fff!important;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px; 
	-moz-background-clip: padding; 
	-webkit-background-clip: padding-box; 
	background-clip: padding-box;
	
	-webkit-box-shadow:  0px 0px 3px 0px #333333;
	-moz-box-shadow:  0px 0px 3px 0px #333333;
	box-shadow:  0px 0px 3px 0px #333333; 
	transition: margin 1s ease;
}


.modalShow{
	height: 100vh;
	visibility: visible;
	opacity: 1;
}


.modalShow .th3_popup_content{
	position: relative;
		margin: 140px auto 0 auto;
}


.th3_popup_content h1,
.th3_popup_content p{
	font-size: 1em;
	color: #fff!important;
}



.th3_popup_content p a{
	color: #fff;
}


.th3_popup_content span{
	display: inline;
	margin-left: 0;
}


.th3_popup_content h1{
	font-size: 2.7em;
	line-height: 1.7em;
	font-weight: bold;
	color: #fff!important;
}


.th3_popup_close{
	position: absolute;
	top:7px;
	right: 7px;
	cursor: pointer;
	background-image: url('./close.svg');
	width: 42px;
	height: 42px;
	
}



@media screen and (max-width: 1024px) {


.th3_popup_content{
	min-height: 390px;
	max-width: 85%;
	margin: 50px auto 0 auto;
	padding: 55px 5px 23px 5px;
}




}
@media screen and (max-width: 800px) {

/*
.th3_popup{
	display:none;
	position: absolute;
	width: 100vw;
	height: 100vh;
	z-index: 2000000;
	top:0;
	background-color: rgba(255,255,255,0.7);
}



*/


.th3_popup_content{
	position: relative;
	width: 100%;
	min-height: calc(90vh - 250px);
	max-height: 400px;
	max-width: 86%;
	margin: 50px auto 0 auto;
	padding: 55px 5px 25px 5px;
}

.th3_popup_content h1,
.th3_popup_content p{
	font-size: 1.1em;
	color: #fff!important;
}


.th3_popup_content span{
	display: inline;
	margin-left: 0;
}


.th3_popup_content h1{
	font-size: 8vw;
	line-height: 1.1em;
	color: #fff!important;
}


.th3_popup_content p{
	font-size: 3vw;
	line-height: 1.6em;
	color: #fff!important;
}


}