:root {
	--popup-width: 700px;
	--popup-height: 500px;
	--panel-red: #de0a0e;
	--close-x: 23px;
	--close-y: 23px;
	--field-height: 59px;
	--text-dist: 18px;
	--submit-width: 209px;
	--submit-height: 38px;
	--submit-radius: 19px;
	--submit-dist: 19.5px;
	--thanks-button-dist: 24px;
	--field-gap: 8.5px;
}
#popup-aug .popup-content {
	position: relative;
	width: var(--popup-width);
	height: var(--popup-height);
	padding: 0 15px;
	background-color: var(--panel-red);
}
#popup-aug .popup-inner {
	z-index: 1;
}
#popup-aug .popup-close {
	top: 0;
	right: 0;
	padding: var(--close-y) var(--close-x);
}
#popup-aug p {
	margin: 0 auto;
	padding: 0;
}
#popup-aug .title {
	font-size: 29px;
	line-height: 27px;
	text-shadow: 3.4px 2.2px 4px rgba(0, 0, 0, 0.27);
	max-width: 464px;
	margin-top: 14.5px;
}
#popup-aug form {
	margin-top: var(--text-dist);
}
#popup-aug form.uni-style .form-field {
	padding: var(--field-gap);
}
#popup-aug form.uni-style .form-field input:not([type="radio"]):not([type="checkbox"]), #popup-aug form.uni-style .form-field select {
	height: var(--field-height);
}
#popup-aug .form-action {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 0;
	margin-top: var(--submit-dist);
}
#popup-aug .button {
	font-family: 'AvenirNextLTW01BoldRegular', 'Avenir Next Bold' !important;
	font-size: 21px;
	color: #000000;
	background-color: #ffe40b;
	width: var(--submit-width);
	height: var(--submit-height);
	border-radius: var(--submit-radius);
	line-height: 1;
	padding: 0;
	border: none !important;
}
#popup-aug .thanks-title {
	font-size: 29px;
	line-height: 27px;
	text-shadow: 3.4px 2.2px 4px rgba(0, 0, 0, 0.27);
	max-width: 200px;
	margin-top: 4px;
}
#popup-aug .offer {
	margin-top: -3.5px;
}
#popup-aug .popup-thanks .text {
	margin-top: 5.5px;
}
#popup-aug .popup-thanks .button {
	font-size: 21px;
	background-color: #ffe40b;
	width: 224px;
	margin-top: var(--thanks-button-dist);
}
#popup-aug .select_box:after {
	width: 16.5px;
	height: 9.5px;
	right: 17.5px;
}
#popup-aug .text {
	font-size: 21px;
	line-height: 27px;
	max-width: 382px;
}
#popup-aug .border-gray {
	border-color: #a3a3a6;
	color: #262626;
	letter-spacing: 0.01em;
}
#popup-aug form.uni-style .form-field label {
	font-family: 'AvenirNext-Regular';
	letter-spacing: 0.01em;
}
#popup-aug form.uni-style .form-field .field-wrapper:not(.focused):not(.has-value) label {
	color: #262626;
}
#popup-aug form.uni-style .form-field ::placeholder {
	font-family: 'AvenirNext-Regular';
	color: #262626;
	letter-spacing: 0.01em;
}
#popup-aug .popup-content::before {
	content: '';
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
	left: 0;
	top: 17px;
	width: 115px;
	height: 91px;
	background-image: url(../images/hero/deco-tl.png);
	background-image: -webkit-image-set(url("../images/hero/deco-tl.png") 1x, url("../images/hero/deco-tl@2x.png") 2x);
}
#popup-aug .popup-content::after {
	content: '';
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
	right: 6px;
	bottom: 0;
	width: 248px;
	height: 90px;
	background-image: url(../images/hero/deco-br.png);
	background-image: -webkit-image-set(url("../images/hero/deco-br.png") 1x, url("../images/hero/deco-br@2x.png") 2x);
}
#popup-aug .popup-thanks .button:hover, #popup-aug .popup-thanks .button:active, #popup-aug .popup-thanks .button:visited, #popup-aug .popup-thanks .button:focus {
	color: #000000;
	text-decoration: none;
}
@supports (text-box: trim-both cap alphabetic) {
	#popup-aug form.uni-style .form-action .button {
		display: block;
		text-box: trim-both cap alphabetic;
	}
	#popup-aug .popup-thanks .button > span {
		display: block;
		text-box: trim-both cap alphabetic;
	}
}
@media screen and (max-width: 767px) {
}
@media screen and (max-width: 567px) {
	:root {
		--popup-width: 100%;
		--popup-height: 100%;
		--close-x: 16px;
		--close-y: 16px;
		--field-height: 57.5px;
		--field-gap: 6px;
		--text-dist: 22.5px;
		--submit-dist: 20px;
		--thanks-button-dist: 31px;
	}
	#popup-aug .popup-content {
		width: 100%;
		height: 100%;
	}
	#popup-aug .title {
		font-size: 26px;
		line-height: 27px;
		text-shadow: 3.4px 2.2px 4px rgba(0, 0, 0, 0.27);
		max-width: 302px;
		margin-top: 0;
	}
	#popup-aug form {
		width: 91.5%;
	}
	#popup-aug .form-action {
		margin-top: var(--submit-dist);
	}
	#popup-aug .button {
		font-family: 'AvenirNextLTW01BoldRegular', 'Avenir Next Bold' !important;
		font-size: 16.2px;
		color: #000000;
		background-color: #ffe40b;
		width: 169.5px;
		height: 31px;
		border-radius: 15.5px;
	}
	#popup-aug .offer {
		max-width: 85.2%;
		height: auto;
		margin-top: 19.5px;
	}
	#popup-aug .popup-thanks .text {
		margin-top: 17px;
	}
	#popup-aug .popup-thanks .button {
		font-size: 16.2px;
		background-color: #ffe40b;
		width: 169.5px;
		height: 31px;
	}
	#popup-aug .popup-close img {
		width: 11px;
		height: 11px;
	}
	#popup-aug .select_box:after {
		width: 12px;
		height: 7px;
		right: 18px;
	}
	#popup-aug .thanks-title {
		font-size: 26px;
		line-height: 27px;
		text-shadow: 3.4px 2.2px 4px rgba(0, 0, 0, 0.27);
		max-width: 180px;
	}
	#popup-aug .text {
		font-size: 21px;
		line-height: 27px;
		max-width: 334px;
	}
	#popup-aug .popup-content::before {
		left: -14px;
		top: 25px;
		width: 88px;
		height: 120px;
		background-image: url(../images/hero/deco-tl-m.png);
		background-image: -webkit-image-set(url("../images/hero/deco-tl-m.png") 1x, url("../images/hero/deco-tl-m@2x.png") 2x);
	}
	#popup-aug .popup-content::after {
		right: 14px;
		bottom: 18px;
		width: 186px;
		height: 80px;
		background-image: url(../images/hero/deco-br-m.png);
		background-image: -webkit-image-set(url("../images/hero/deco-br-m.png") 1x, url("../images/hero/deco-br-m@2x.png") 2x);
	}
}
