/*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(255, 255, 255, 0.8);
    background-repeat:repeat;
    background-image: none;
}
.popup_wrapper.show {
    display:block;
}
.popup_distance {
	float:left;
	height:50%;
	width:1px;
	/*margin-bottom:-250px;*/
	margin-top:-250px;
}
.popup_icon {
	position:absolute;
	top:50%;
	left:50%;
	/*margin-top:-325px;*/
	margin-top:-316px;
	/*margin-left:-61px;*/
	margin-left:-62px;
	z-index:5000;
	
	/*padding:11px;*/
	/*border-radius:50%;
	background-color:#FFFFFF;*/
}

.popup {
	clear:left;
	position:relative;
	width:680px;
	min-height:330px;
	/*padding:15px 115px;*/
	padding:25px 15px 15px;
	margin:15px auto 0;
	/*border:4px solid #c00a27;*/
	/*border:3px solid #ba273b;*/
	border:3px solid #cd0036;
	box-sizing:border-box;
	background-color:#FFF;
	
	/*overflow:hidden;*/
	
	z-index:1800;
}
.popup h2 {
	font-size:32px;
	font-weight:600;
	text-align:center;
	margin-bottom:35px;
	margin-top:15px;
	
	color:#c00a27;
}
.popup p {
	font-size: 16px;
    margin-bottom:35px;
	text-align: center;
	color: #cd0036;
}

.popup .error-msg {
	display: none;
}
.popup .error-msg.show {
	display: block;
}

.popup form {
	text-align:left;
	margin-bottom:10px;
}
.popup input,
.popup select {
	width:100%;
	padding: 5px 10px !important;
	box-sizing:border-box;
	/*border:0;
	box-shadow:0 0 2px rgba(0, 0, 0, 0.3);*/
	border: 1px solid #c00a27 !important;
	margin-bottom: 5px;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
   color: #000 !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #000 !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
   color: #000 !important;
}
.popup .center {
	padding:0 100px;
}
.popup .center form {
	padding:0 60px;
}
.popup button {
	width: 100%;
}

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

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

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

	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 {
		max-width:680px;
		width:auto;
		min-height:0;
		padding:55px 115px 15px;
		margin:15px auto 0;
		
		background-image:none;
	}
	.popup .center {
		padding:0;
	}
}

@media screen and (max-width:720px) {
	.popup {
		padding:55px 65px 15px;
	}
	.popup h2 {
		margin:10px 0 20px;
	}
	
}
@media screen and (max-width:600px) {
	.popup {
		padding:55px 20px 15px;
	}
	.popup h2 {
		font-size:18px;
		line-height:24px;
	}
}
@media screen and (max-width:460px) {
	.popup .center form {
		padding:0;
	}
}