.overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9998;
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
	position: fixed;
	cursor: default;
	-webkit-transition: all 0.6s;
	transition: all 0.6s;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}
.popup {
	top: 0;
	right: 0;
	left: 50%;
	z-index: 9998;
	width: 100%;
	min-width: 220px;
	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;
	padding: 30px 40px 40px 40px;
	border-radius: 15px;
}
.wig {
	max-width: 300px;
	color: #00000a;
}
.wig1 {
	max-width: 400px;
	color: #00000a;
}
.popup h2,
.popup h3 {
	text-align: center;
	padding-bottom: 25px;
	margin-bottom: 20px;
	border-bottom: 1px dotted #d6d6d6;
	-webkit-hyphens: manual !important;
	-ms-hyphens: manual !important;
	hyphens: manual !important;
	text-transform: uppercase;
	font-weight: 600;
}
.popup h2 {
	font-size: 16px;
	line-height: 18px;
}
.popup h3 {
	font-size: 20px;
	line-height: 24px;
}
.popup p {
	font-size: 16px;
	color: #7b9124;
	font-weight: 400;
	hyphens: manual !important;
	text-align: center;
}

.kysl {
	position: relative;
	cursor: pointer;
}
.inp1,
.kysl {
	color: #201600;
	border: 1px solid #ebebeb;
	background: #ebebeb;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 20px 0 20px;
	height: 50px;
	line-height: 50px;
	cursor: pointer;
	width: 100%;
	border-radius: 8px;
}
.kysl {
	border: none;
	height: 52px;
	line-height: 52px;
}
.kysl strong {
	display: block;
	font-weight: 400;
}
.inp1 {
	margin-bottom: 20px;
}
.kysl strong b {
	border-color: #A5C236 transparent transparent transparent;
	border-style: solid;
	border-width: 7px 5px 0 5px;
	height: 0;
	right: 13px;
	margin-left: -14px;
	margin-top: -3px;
	position: absolute;
	top: 50%;
	width: 0;
}
.inp1:hover,
.inp1:focus {
	border: 1px solid #A5C236;
}
.kysl:hover {
	background: #e4e4e4;
}
.spisk {
	position: absolute;
	background: #f6f6f6;
	-webkit-box-shadow: 0px 15px 25px 0px rgba(50, 50, 50, 0.3);
	box-shadow: 0px 15px 25px 0px rgba(50, 50, 50, 0.3);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.3s, visibility 0s linear 0.3s;
	transition: opacity 0.3s, visibility 0s linear 0.3s;
	z-index: 9999;
	right: 0;
	left: 0;
	top: 100%;
	border: 1px solid #e4e4e4;
	overflow: auto;
	height: 225px;
	border-radius: 8px;
}
.kysl:hover .spisk {
	display: block;
	opacity: 1;
	visibility: visible;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}
.zaktel {
	margin-top: 20px;
}

.container {
	position: relative;
	cursor: pointer;
	user-select: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 12px 15px 12px 15px;
	border-bottom: 1px solid #ececec;
	line-height: 16px;
	font-weight: 400;
}
.container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.checkmark {
	display: block;
	position: relative;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	height: 22px;
	width: 22px;
	background-color: #fff;
	border: 2px solid #cecece;
	margin-right: 20px;
}
.checkmark:hover,
.container:hover .checkmark {
	border: 2px solid #A5C236;
}
.container:hover {
	color: #A5C236;
}
.container input:checked ~ .checkmark {
	background-color: #212121;
	border: 2px solid #212121;
}
.checkmark:after {
	content: '';
	position: absolute;
	display: none;
}
.container input:checked ~ .checkmark:after {
	display: block;
}
.container .checkmark:after {
	left: 8px;
	top: 2px;
	width: 4px;
	height: 12px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.btsend {
	width: 100%;
	height: 52px;
	line-height: 52px;
	background: #A5C236;
	color: #000;
	text-align: center;
	font-weight: 600;
	text-transform: uppercase;
	border: 0;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease; /* Плавный переход для всех изменений */
	z-index: 1; /* Устанавливаем z-index для контейнера */
}
.btsend::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	background-color: #161616; /* Цвет фона при наведении */
	transform: translate(-50%, -50%) scale(0); /* Изначально сжато */
	transition: transform 0.3s ease; /* Плавное изменение */
	z-index: -1; /* Помещаем фон под текст и иконки */
}
.btsend:hover::after {
	transform: translate(-50%, -50%) scale(1); /* Растягиваем до полного размера */
}
.btsend:hover {
	color: #fff;
}

/* активируем модальный блок */
.overlay:target + .popup {
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	top: 5%;
}
.overlay:target + .popup1 {
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	top: 5%;
}
.close {
	top: -8px;
	right: -8px;
	width: 25px;
	height: 25px;
	position: absolute;
	padding: 0;
	border: 2px solid #f61f3f;
	border-radius: 90px;
	background-color: #f61f3f;
	-webkit-box-shadow: 0px 0px 15px #000;
	box-shadow: 0px 0px 15px #000;
	text-align: center;
	text-decoration: none;
	line-height: 25px;
	color: #fff;
	font-size: 11px;
}
.close:hover {
	background-color: #000;
	border: 2px solid #000;
}

@media only screen and (max-width: 800px) {
	.popup {
		padding: 20px 30px 30px 30px;
	}
	.popup h2 {
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
}
@media only screen and (max-width: 600px) {
	.popup {
		padding: 20px 20px 20px 20px;
	}
	.close {
		top: -6px;
		right: -6px;
	}
}

@media only screen and (min-width: 220px) and (max-width: 600px) {
	.popup {
		width: 80%;
	}
}
