/*Popup*/
.popup_wrapper {
    position:fixed !important;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    height:100%;
    width:100%;
    z-index:2500;
    display:none;

	background-color:rgba(0, 0, 0, 0.5);
    background-repeat:repeat;
    background-image: none;
}
.popup_wrapper.show {
    display:block;
}
@media screen and (max-width:767px) {
	.popup_wrapper {
		overflow-y:scroll;
	}
}
.popup_distance {
	float:left;
	height:50%;
	width:1px;
	/*margin-top:-325px;*/
	margin-top:-375px;
}
.popup {
	clear:left;
	position:relative;
	/*width:500px;*/
	max-width:650px;
	min-height:330px;
	padding:50px 25px 30px;
	margin:10px auto 0;
	box-sizing:border-box;
	background-color:#FFF;
	border-radius:25px;
	
	z-index:1800;
}
/*
.popup h2 {
	font-size:32px;
	font-weight:600;
	text-align:center;
	margin-bottom:35px;
	margin-top:15px;
	
	color:#cb0036;
}
*/
.popup p {
	/** Inactive for Mailchimp form
	font-size:23px;
	font-weight:300;
    margin-bottom:35px;*/
}
.popup ul {
	list-style:none;
	padding:0 20px;
	margin:0 0 50px;
}
.popup ul li {
	float:left;
	width:32%;
	margin-left:2%;
	padding-left:15px;
	box-sizing:border-box;
	
	position:relative;
	
	font-size:13px;
	line-height:15px;
}
.popup ul li:first-child {
	margin-left:0;
}
.popup ul li:before {
	content:'';
	
	width:7px;
	height:7px;
	
	background-image:url('../img/popup/li.png');
	background-size:7px;
	background-repeat:no-repeat;
	
	position:absolute;
	left:4px;
	top:4px;
}
.popup form {
	margin-bottom:10px;
}
/*
.popup input {
	width:100%;
	padding:3px 20px;
	box-sizing:border-box;
	border:4px solid #cb0036;
}
*/
.popup .center {
	padding:0 50px;
}
.popup .center form {
	padding:0 60px;
}
/*
.popup button {
	display: block;
	background-color: #cb0036;
	color: #FFF;
	margin-top: 5px;
	text-align: center;
	padding: 5px 15px;
	opacity: 1;
	transition: opacity 0.3s ease 0s;
	border:0;
	width:100%;
	height:37px;
	line-height:27px;
	text-transform:uppercase;
}
.popup button:hover {
	opacity: 0.7;
}
*/

.popup .smalltext {
	font-size:13px;
	margin-bottom:15px;
	text-align:center;
}
.popup .redtext {
	font-size:15px;
	color:#cb0036;
	margin-bottom:55px;
	text-align:center;
}

.subscribe-content,
.subscribed-content {
	display:none;
}
.subscribe-content.show,
.subscribed-content.show {
	display:block;
}

.popup .close {
	position: absolute;
	right: 20px;
	top: 15px;

	cursor: pointer;
	opacity:0.5;
	-webkit-transition: opacity 0.6s ease;
	-moz-transition: opacity 0.6s ease;
	-ms-transition: opacity 0.6s ease;
	-o-transition: opacity 0.6s ease;
	transition: opacity 0.6s ease;
	
	width:30px;
	height:30px;
	box-sizing:border-box;
	
	font-size:50px;
	text-align:center;
	
	text-decoration:none;
	color:#000;
}
.popup .close:hover {
	opacity: 1;
}


@media screen and (max-width:767px) {
	/*.popup_wrapper.show {
		display:none;
	}*/
}
@media screen and (max-width:767px) {
	.popup_wrapper {
    	z-index:1500000;
		position:absolute;
	}
	.popup {
		max-width:500px;
		width:auto;
		min-height:0;
		/*padding:55px 115px 15px;*/
		padding:30px 20px 30px;
		margin:15px auto 0;
		
		background-image:none;
	}
	.popup form {
		margin-bottom:0;
	}
	.popup .center {
		padding:0;
	}
	.popup .close {
		right: 10px;
		top: 5px;
	}
}

@media screen and (max-width:720px) {
	.popup {
		/*padding:55px 65px 15px;*/
	}
	.popup h2 {
		margin:10px 0 20px;
	}
	
	
	.popup_distance {
		float:left;
		height:30px;
		width:1px;
		/*margin-bottom:-120px;*/
	}
}
@media screen and (max-width:600px) {
	.popup {
		/*padding:55px 20px 15px;*/
	}
	.popup ul {
		padding:0;
		margin-bottom:30px;
	}
	.popup h2 {
		font-size:18px;
		line-height:24px;
	}
}
@media screen and (max-width:520px) {
	.popup {
		margin:15px 10px 0;
	}
}
@media screen and (max-width:460px) {
	.popup .center form {
		padding:0;
	}
	.popup ul li {
		float:none;
		width:100%;
		margin:0;
	}
}




/*
@media (min-device-width: 768px) and (max-device-width: 1024px) {
	body > .popup {
		width:802px;
		margin-left:-301px;
	}
	body > .popup .sidebar {
		display:none;
	}
}
*/



/*Popup rightpanel*/
.newsletter_wrapper_right {
}
.newsletter_wrapper_right .subscribe-content,
.newsletter_wrapper_right .subscribed-content {
	display:none;
}
.newsletter_wrapper_right .subscribe-content.show,
.newsletter_wrapper_right .subscribed-content.show {
	display:block;
}