html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

.quiz {
	grid-column: span 2;
	margin: 32px 0;
	border-top: 1px solid #ECE;
	border-bottom: 1px solid #ECE;
	padding: 64px 0;
	box-sizing: border-box;
}

.js-quiz-succes-message {
	grid-column: span 2;
}

@media (max-width: 767px) {
	.quiz {
		padding: 32px 0;
	}
}

.quiz__box {
	padding: 0 10px;
}

.quiz__start {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

@media (max-width: 991px) {
	.quiz__start {
		flex-direction: column;
		align-items: center;
	}
}

.quiz__start-content {
	max-width: 302px;
	width: 100%;
}

@media (max-width: 991px) {
	.quiz__start-content {
		text-align: center;
		margin-bottom: 64px;
	}
}

@media (max-width: 757px) {
	.quiz__start-content {
		margin-bottom: 48px;
	}
}

.quiz__start-text {
	color: #000;
	font-size: 27px;
	font-weight: 400;
	line-height: 110%;
	margin-bottom: 40px;
}

@media (max-width: 767px) {
	.quiz__start-text {
		font-size: 24px;
		line-height: 123%;
	}
}

.quiz__start-btn {
	max-width: 215px;
	height: 45px;
	border-radius: 4px;
	background: #2454A3;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFF;
	text-align: center;
	font-size: 20px;
	font-weight: 400;
	line-height: 20px;
}

@media (max-width: 991px) {
	.quiz__start-btn {
		margin: 0 auto;
	}
}

@media (max-width: 757px) {
	.quiz__start-btn {
		font-size: 18px;
		max-width: 208px;
	}
}

.quiz__step {
	display: grid;
	max-width: 900px;
	width: 100%;
	grid-template-columns: 470px 1fr;
	gap: 30px;
	align-items: center;
}

@media (max-width: 991px) {
	.quiz__step {
		grid-template-columns: 1fr;
	}
}

.quiz__step-question-back {
	color: #444;
	font-size: 21px;
	font-weight: 400;
	line-height: 100%;
	display: flex;
	align-items: center;
	margin-bottom: 40px;
	cursor: pointer;
}

.quiz__step-question-back::before {
	margin-right: 10px;
	line-height: 0;
	content: url("data:image/svg+xml,%3Csvg width='17' height='9' viewBox='0 0 17 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_4_17519)'%3E%3Cpath d='M0.646446 4.53204C0.451185 4.7273 0.451185 5.04388 0.646446 5.23914L3.82843 8.42112C4.02369 8.61639 4.34027 8.61639 4.53553 8.42112C4.7308 8.22586 4.7308 7.90928 4.53553 7.71402L1.70711 4.88559L4.53553 2.05716C4.7308 1.8619 4.7308 1.54532 4.53553 1.35006C4.34027 1.1548 4.02369 1.1548 3.82843 1.35006L0.646446 4.53204ZM17 4.38559H1V5.38559H17V4.38559Z' fill='%23444444'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4_17519'%3E%3Crect width='17' height='8' fill='white' transform='translate(0 0.885742)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.quiz__step-question-title {
	color: #000;
	font-size: 27px;
	font-weight: 600;
	line-height: 110%;
}

@media (max-width: 767px) {
	.quiz__step-question-title {
		font-size: 24px;
	}
}

.quiz__step-wrapper {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 10px;
}

.quiz__step-radio {
	background: #F1F4F6;
	padding: 18px;
	width: 100%;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.quiz__step-input {
	display: none;
}

.quiz__step-input+.quiz__step-radio div {
	content: '';
	width: 18px;
	height: 18px;
	border: 3px solid #2454a3;
	border-radius: 100%;
	display: block;
	margin-right: 20px;
	position: relative;
	transition: all ease .3s;
}

.quiz__step-input+.quiz__step-radio div::after {
	content: '';
	width: 6px;
	height: 6px;
	background: #F1F4F6;
	border-radius: 100%;
	display: block;
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

}

.quiz__step-radio:hover div {
	border: 3px solid transparent;
	background: #2454a3;
}

.quiz__step-input:checked+.quiz__step-radio div {
	border: 3px solid transparent;
	background: #2454a3;
}

.quiz__step-radio span {
	color: #444;
	font-size: 11px;
	font-weight: 400;
	line-height: 190.909%;
}

.quiz__form {}

.quiz__form-title {
	color: #2E2E2E;
	font-size: 32px;
	font-weight: 600;
	line-height: 125%;
	margin-bottom: 46px;
}

.quiz__form-items {
	/* display: grid; */
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

@media (max-width: 767px) {
	.quiz__form-items {
		/* grid-template-columns: repeat(1, 1fr); */
		flex-direction: column;
	}
}

.quiz__form-item {
	width: 100%;
}

.quiz__form-item input {
	border-radius: 3px;
	background: #F1F4F6;
	height: 56px;
	/* color: var(--stroke, #A7A7A7); */
	font-size: 16px;
	font-weight: 600;
	line-height: 150%;
	width: 100%;
	border: none;
	outline: none;
	padding: 0 16px;
}

.quiz__form-button {
	border-radius: 3px;
	background: #2454a3;
	height: 56px;
	/* color: var(--stroke, #A7A7A7); */
	color: #FFF;
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	width: 100%;
	border: none;
	outline: none;
	transition: all ease .3s;
	opacity: 1;
	cursor: pointer;
}

.quiz__form-button.active {
	cursor: no-drop;
	opacity: 0.5;
}

.quiz__form-footer {
	display: flex;
	align-items: flex-start;
}

.quiz__form-footer-check {
	width: 18px;
	height: 18px;
	background: #2454a3;
	border-radius: 4px;
	display: block;
	margin-right: 8px;
	cursor: pointer;
	position: relative;
	top: 5px;
}

.quiz__form-footer-check input {
	display: none;
}

.quiz__form-footer-check div {
	position: relative;
	width: 18px;
	height: 18px;
	display: block;
	cursor: pointer;
}

.quiz__form-footer-check div::before {
	content: '';
	position: absolute;
	padding: 20px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	line-height: 0;
}

.quiz__form-footer-check input+div:after {
	position: absolute;
	line-height: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	content: url("data:image/svg+xml,%3Csvg width='8' height='7' viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.7 1.18574C7.3 0.785742 6.7 0.785742 6.3 1.18574L3 4.48574L1.7 3.18574C1.3 2.78574 0.7 2.78574 0.3 3.18574C-0.1 3.58574 -0.1 4.18574 0.3 4.58574L2.3 6.58574C2.5 6.78574 2.7 6.88574 3 6.88574C3.3 6.88574 3.5 6.78574 3.7 6.58574L7.7 2.58574C8.1 2.18574 8.1 1.58574 7.7 1.18574Z' fill='white'/%3E%3C/svg%3E%0A");
}

.quiz__form-footer-check input:checked+div:after {
	content: '';
}

.quiz__form-footer p {
	font-size: 15px;
	font-weight: 600;
	line-height: 18px;
}

.quiz__form-footer p a {
	color: #2454a3;
	text-decoration: underline;
	border: none;
}

.error_field{
	border: 1px solid #f00 !important;
	color: #f00 !important;
}

.order_error_list{
	color: red;
}
.dn{
	display: none;
}

