.email-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s, visibility .3s;
}

.email-popup_open {
	visibility: visible;
	opacity: 1;
}

.email-popup__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .7);
	cursor: pointer;
}

.email-popup__window {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 420px;
	max-width: calc(100% - 32px);
	box-sizing: border-box;
	padding: 36px 32px 28px;
	background: #fff;
	border-top: 5px solid #00600e;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	text-align: center;
	transform: translate(-50%, -45%);
	transition: transform .3s;
}

.email-popup_open .email-popup__window {
	transform: translate(-50%, -50%);
}

.email-popup__close {
	position: absolute;
	top: 8px;
	right: 12px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 30px;
	line-height: 1;
	color: #777;
	cursor: pointer;
}

.email-popup__close:hover {
	color: #191919;
}

.email-popup__title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: bold;
	color: #00600e;
}

.email-popup__text {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.4;
	color: #191919;
}

.email-popup__hp {
	position: absolute;
	left: -9999px;
}

.email-popup__input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 12px;
	padding: 12px 14px;
	border: 1px solid #c0c0c0;
	font-size: 16px;
}

.email-popup__input:focus {
	outline: none;
	border-color: #00600e;
}

.email-popup__btn {
	display: block;
	width: 100%;
	padding: 12px;
	border: 0;
	background: #00600e;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
}

.email-popup__btn:hover {
	background: #007611;
}

.email-popup__btn:disabled {
	opacity: .6;
	cursor: default;
}

.email-popup__msg {
	margin-top: 12px;
	font-size: 15px;
	color: #00600e;
}

.email-popup__msg_error {
	color: #c6151c;
}
