.poverlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.8);
	opacity: 0;
	position: fixed;
	cursor: default;
	-webkit-transition: all 0.6s;
	transition: all 0.6s;
}
.poverlay:target {
	visibility: visible;
	opacity: 1;
}

.popup {
	top: 0;
	right: 0;
	left: 50%;
	width: 100%;
	min-width: 160px;
	z-index: 9999;
	position: fixed;
	background-color: #ffffff;
	-webkit-transform: translate(-50%, -150%);
	transform: translate(-50%, -150%);
	-webkit-transition: transform 0.6s ease-out;
	-webkit-transition: -webkit-transform 0.6s ease-out;
	transition: -webkit-transform 0.6s ease-out;
	transition: transform 0.6s ease-out;
	transition: transform 0.6s ease-out, -webkit-transform 0.6s ease-out;
	border-radius: 5px;
}
.wig1 {
	max-width: 400px;
	padding: 40px;
}
.wig {
	max-width: 300px;
	padding: 30px 40px 40px 40px;
}
.wigrazm,
.wigrazmm {
	max-width: 320px;
	padding: 30px;
	background: #fff;
}
.wigrazmm {
	max-width: 420px;
}
.wigrazm p,
.wigrazmm p {
	text-align: center;
}
.popup h4 {
	text-align: center;
	border-bottom: 1px solid #f1f2f6;
	padding-bottom: 20px;
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 20px;
	font-weight: 600;
	color: #0c0c0c;
}
.popup h5 {
	text-align: center;
	font-size: 18px;
	line-height: 20px;
	font-weight: 600;
	color: #91001a;
}
.popup h2 {
	text-align: center;
	border-bottom: 1px solid #f1f2f6;
	padding-bottom: 20px;
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 20px;
	font-weight: 600;
}

.popbt,
.popbt1,
.btnn {
	display: block;
	width: 100%;
	height: 50px;
	line-height: 50px;
	text-align: center;
	font-weight: 600;
	color: #fff;
	background: #91001a;
	text-transform: uppercase;
	border: 0;
	border-radius: 3px;
}
.popbt1 {
	margin-top: 20px;
	background: #0c0c0c;
	font-weight: 400;
}
.popbt1:hover {
	background: #91001a;
}
.pttt {
	margin-top: 20px;
}
.popbt:hover,
.btnn:hover {
	background: #0c0c0c;
}

.oknt a {
	color: #868080;
}
.oknt a:hover {
	color: #0c0c0c;
}
.popup a {
	cursor: pointer;
}
.popup label b {
	color: #ff2525;
	font-size: 16px;
}
.inp1 {
	font-size: 16px;
	background: #f1f2f6;
	border: 1px solid #d9dce3;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 20px 0 20px;
	cursor: pointer;
	width: 100%;
	height: 50px;
	line-height: 50px;
	margin-bottom: 20px;
	-webkit-box-shadow: inset 0px 5px 12px 0px rgba(50, 50, 50, 0.06);
	box-shadow: inset 0px 5px 12px 0px rgba(50, 50, 50, 0.06);
	border-radius: 3px;
}
.inp0 {
	margin-bottom: 0;
}
.inp1:hover,
.inp1:focus {
	border: 1px solid #bb0017;
	background: #fff;
}

/* активируем модальный блок */
.poverlay:target + .popup {
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	top: 10%;
}
.poverlay:target + .popup1 {
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	top: 10%;
}
.closee {
	top: -12px;
	right: -12px;
	width: 25px;
	height: 25px;
	position: absolute;
	padding: 0;
	border: 2px solid #91001a;
	border-radius: 90px;
	background-color: #91001a;
	-webkit-box-shadow: 0px 0px 15px #000;
	box-shadow: 0px 0px 15px #000;
	text-align: center;
	text-decoration: none;
	font: 13px/20px 'Tahoma', Arial, sans-serif;
	font-weight: 400;
	-webkit-transition: all ease 0.8s;
	transition: all ease 0.8s;
}
.closee:before {
	color: #fff;
	content: 'X';
	font-size: 20px;
	line-height: 23px;
}
.closee:hover {
	background-color: #000;
	border: 2px solid #000;
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
}

@media only screen and (max-width: 600px) {
	.wig1 {
		max-width: 80%;
		padding: 20px;
	}
}
@media only screen and (min-width: 220px) and (max-width: 400px) {
	.wig {
		max-width: 80%;
	}
	.popup h4 {
		padding-bottom: 20px;
		margin-bottom: 20px;
		font-size: 16px;
		line-height: 18px;
	}
	.popup {
		padding: 20px 20px 20px 20px;
	}
	.closee {
		top: -5px;
		right: -5px;
	}
	.poverlay:target + .popup {
		top: 5%;
	}
	.poverlay:target + .popup1 {
		top: 5%;
	}
}
