:root {

	--base-color: #D13980;
	--color-white: #ffffff;
	--color-black: #000000;
	--color-greey: #6E7686;
	--color-base: #D13980;

}

.quiz-block.dn {
	display: none;
}
.quiz__svg-sprite {
	display: none;
}
.quiz,
.quiz *,
.quiz_wrap__success,
.quiz_wrap__success * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}


.quiz,
.quiz_wrap__success {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	letter-spacing: normal;
}


.quiz_wrap {
	display: none;
	overflow-y: auto;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999999;
	background-color: rgba(0, 0, 0, 0.5)
}

.quiz_wrap--active {
	display: flex;
}

.quiz {

	display: flex;

	width: 85%;
	max-width: 1200px;

	min-height: 650px;
	position: relative;
	z-index: 9999999;
	margin: auto;
}
.quiz.dn {
	display: none;
}

/* quiz-main start */
.quiz-main {
	width: 100%;
	/* max-width: 1116px; */
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	background-color: var(--quiz-block-bg);
	padding: 20px 75px;
}
.quiz-main.dn {
	display: none;
}

.quiz-main__title {
	position: relative;
	z-index: 5;
	font-style: normal;
	font-weight: 600;
	font-size: 30px;
	line-height: 41px;
	color: var(--color-greey);
	margin-bottom: 30px;
}
.quiz-main__title-num {
	display: inline-block;
	margin-right: 5px;
}

.quiz-main__question {
	font-weight: 400;
	font-size: 24px;
	line-height: 33px;
	color: #6E7686;
	margin-bottom: 30px;
}

/* ************* */

:root {
	/* переменные для цвета шрифта и другой косметики */
	/* переменные для остановки цвета градиента и размера ползунков */
	--accentcolor: var(--color-base);
	--accentcoloralpha: var(--color-base);
	/*--maxwidth: 800px;*/
	--lineheight: 1.3;
	--thumbsize: 20px;
	--tracksize: 100%;
	--trackheight: 10px;
	--trackradius: 6px;
	--innertrackradius: 4px;
}

/* error start */
div.error {
	text-align: center;
	color: red;
}
input.err {
	border: 1px solid red;
}
/* error end */

@media (max-width: 1200px) {
	.quiz,
	.quiz_wrap__success {
		width: 100%;
	}
}
@media (max-width: 1140px) {
	.quiz {
		min-height: 500px;
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}

	.quiz-main {
		-webkit-box-flex: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
	}
}



@media (max-width: 570px) {
	.quiz-main {
		padding-left: 15px;
		padding-right: 15px;
	}
	.quiz-info {
		padding-left: 15px;
		padding-right: 15px;
	}
}


body.lock {
	overflow: hidden;
}

.quiz-gange__price {
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: #000000;

	display: inline-flex;
	align-items: flex-end;
	margin-bottom: 30px;
}

.new-cust-quiz__range.quiz-gange {
	position: relative;
}

.quiz-gange__value {
	display: inline-flex;
	align-items: center;
	margin-bottom: 5px;

	font-weight: 400;
	font-size: 18px;
	line-height: 1.1;
	color: #494949;
}

.quiz-gange  .noUi-horizontal {
	height: 10px;
	margin-bottom: 16px;
}

html:not([dir="rtl"]) .noUi-horizontal .noUi-handle {
	right: -31px;
}

.noUi-connects {
	border-radius: 20px;
}

.quiz-gange .noUi-target {
	background: #FFFFFF;
	border: 5px solid #FFA8BB;
	height: 36px;
	border-radius: 20px;
}

.quiz-gange .noUi-connect {
	background-color: #D13980;
}

.quiz-gange .noUi-tooltip {
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: #6E7686;
	border: none;
}

.quiz-gange .noUi-tooltip::after {
	content: '%';
}

.quiz-gange .noUi-handle {
	box-sizing: border-box;
	width: 36px;
	height: 36px;

	box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.25);

	border-radius: 100%;
	background: #D13980;
	border: 3px solid #FFA8BB;
	cursor: pointer;
	transition: .2s;
}
.quiz-gange .noUi-handle:hover {
	transform: scale(1.1);
}

.quiz-gange .noUi-handle:after {
	display: none;
}
.quiz-gange .noUi-handle:before {
	background-image: url(/quiz-new-3/templates/max-discount/img/icon-touch.png);
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	background-position: center;
	background-color: transparent;
	left: 0;
	top: 0;
}

.quiz-gange noUi-touch-area {
	background-color: #2A8CA1;
}

.quiz-gange__start-stop {
	display: flex;
	align-items: center;
	justify-content: space-between;

	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: #6E7686;
}

.new-cust-quiz .quiz-main__link-next {
	transition: .2s;
}

.new-cust-quiz .quiz-main__link-next:hover {
	opacity: 0.5;
}

.quiz-swiper {
	height: 100%;
}

.quiz-swiper__slide {
	background-color: #ffffff;
	display: flex;
}

.new-cust-quiz .quiz-info {
	background: #ED9DC2;
}

.new-cust-quiz__wrapper {
	width: 100%;
	display: flex;
}

.new-cust-quiz__info {
	flex: 0 0 auto;
	width: 287.26px;
	background-color: #FFC1CF;
	padding: 15px;

	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.new-cust-quiz__info h2 {
	margin-bottom: 10px;
	z-index: 2;

	font-weight: 700;
	font-size: 30px;
	line-height: 41px;
	text-transform: uppercase;
	color: #333333;
}

.new-cust-quiz__text {
	font-weight: 400;
	font-size: 18px;
	line-height: 25px;
	color: #FFFFFF;
	z-index: 2;
	margin-bottom: 15px;
}

.new-cust-quiz__info picture {
	width: 100%;
	max-height: 230px;
	z-index: 2;

	display: flex;
	justify-content: center;
}

.new-cust-quiz__info picture img {
	max-width: 100%;
}


.new-cust-quiz__content {
	width: 100%;
	background-color: #FFFFFF;
	display: flex;
	flex-direction: column;
	position: relative;
}

.quiz-swiper__btns {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-left: 76px;

	position: absolute;
	bottom: 0;
	left: 0;
	right: 333px;
	z-index: 10;
}

.quiz-swiper__button {
	padding: 12px 18px;
	width: 125px;
	display: 	flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0;

	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	transition: .2s;

	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
	border-radius: 2px;
	cursor: pointer;
}

.quiz-swiper__button:hover {
	opacity: .8;
}

.quiz-swiper__button svg {
	display: block;
	flex: 0 0 auto;
}

.quiz-swiper__button--next {
	background: #D13980;
	color: #FFFFFF;
	margin-left: auto;
}

.quiz-swiper__button--prev {
	color: #6E7686;
}

.quiz-swiper__button--hidden {
	display: none;
}

.quiz-card {
	width: 100%;
	padding: 76px;
}

.quiz-card__grid {
	display: flex;
	flex-wrap: wrap;
	row-gap: 30px;
	margin-right: -10px;
	margin-left: -10px;
}

.quiz-card__col {
	flex: 0 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	width: 33.333%;
}

.quiz-card__grid .item-price {
	width: 100%;
	height: 100%;
}

.item-price {
	display: flex;
	flex-direction: column;
	padding: 10px;

	background: #FCECF3;
	box-shadow: 2px -2px 3px rgba(242, 244, 244, 0.5), -2px -2px 2px 2px rgba(255, 255, 255, 0.7), 2px 2px 2px 4px rgba(195, 201, 206, 0.8), inset 1px 1px 2px rgba(255, 255, 255, 0.3), inset -1px -1px 2px rgba(224, 228, 231, 0.5);
	border-radius: 18px;

	filter: grayscale(100%);
	opacity: 0.5;
	pointer-events: none;
}

.item-price.enable {
	filter: grayscale(0%);
	opacity: 1;
	pointer-events: auto;
}

.item-price__desc {
	display: flex;
	flex-direction: column;
}

.item-price__preview {
	height: 123px;
	margin-bottom: 12px;
	background-color: #FFFFFF;
	border: 1px solid rgba(110, 118, 134, 0.5);
	border-radius: 18px;
	overflow: hidden;

	position: relative;
}

.item-price__preview img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.item-price__label {
	position: absolute;
	left: 5px;
	top: 5px;
}

.label-choice .radio {
	display: block;
	width: 39px;
	height: 39px;
	border-radius: 100%;
	background: #FFFFFF;
	border: 1px solid rgba(110, 118, 134, 0.5);
	transition: .2s;
}

.label-choice .radio.checked {
	border: 1px solid #ED9DC2;
}

.radio span:before {
	left: 50%!important;
	top: 50%!important;
	position: absolute;
	margin: 0;
	transform: translate(-50%, -50%);
	opacity: 0;
}

.radio span.checked:before {
	width: 75%;
	height: 75%;
	background-color: #FCECF3;
	opacity: 1;
	margin: 0;
}

.item-price__desc {
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: 0.25px;
	color: #6E7686;
}

.quiz-card__input-metro {
	padding: 10px 20px;
	width: 100%;

	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: #37474F;

	background: #F9F9F9;
	box-shadow: 1px 1px 2px rgba(250, 254, 255, 0.3), -1px -1px 2px rgba(222, 226, 228, 0.5), inset -1px 1px 2px rgba(222, 226, 228, 0.2), inset 1px -1px 2px rgba(222, 226, 228, 0.2), inset -1px -1px 2px rgba(250, 254, 255, 0.9), inset 1px 1px 3px rgba(222, 226, 228, 0.9);
	border-radius: 18px;
	border: none;
}

.quiz-card__input-metro::placeholder {
	color: rgb(110, 118, 134, 0.3);
}

.quiz-swiper__slide-wrapper {
	display: flex;
	width: 100%;
}

.quiz-swiper__slide:last-child {
	background-color: #FFC1CF;
	background-size: cover;
	background-position: center;
	position: relative;
}

.quiz-swiper__slide:last-child .quiz-card {
	max-width: 695px;
	height: 100%;
	display: flex;
	text-align: center;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	z-index: 5;
}

.swiper-button-disabled {
	display: none;
}

.quiz-swiper__slide:last-child .quiz-main__title {
	font-weight: 700;
	font-size: 36px;
	line-height: 49px;
	text-align: center;

	color: #FFFFFF;
	margin-bottom: 10px;
}

.quiz-main__subtitle {
	font-weight: 700;
	font-size: 24px;
	line-height: 29px;
	margin-bottom: 10px;
	color: #ffffff;
}

.quiz-main__subtitle .quiz-main__old-price {
	font-weight: 400;
	font-size: 18px;
	line-height: 22px;
	text-decoration-line: line-through;
	padding: 0 5px;
}

.quiz-main__text-desc {
	display: block;
	margin-bottom: 20px;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	color: #ffffff;
}

.new-cust-quiz__layer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;

	display: flex;
	padding: 50px;

	background-color: #FFC1CF;
	background-image: url(/quiz-new-3/templates/max-discount/img/load-bg.png);
}

.new-cust-quiz__layer .layer-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 542px;
	margin: 0 auto;
	text-align: center;
	color: #333;
}

.layer-container h2 {
	font-weight: 700;
	font-size: 36px;
	line-height: 44px;
	margin-bottom: 30px;
}
.layer-container h3 {
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	margin-bottom: 60px;
}

.layer-container picture {
	width: 270px;
	height: 250px;
}

.layer-container picture img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.quiz-main__progress {
	position: absolute;
	z-index: 10;
	width: calc(100% - 439px);
	top: 20px;
	left: 76px;
}

.new-cust-quiz__layer.finish {
	z-index: 999;
}

.new-cust-quiz__close {
	position: absolute;
	right: -20px;
	top: -20px;
	cursor: pointer;

	width: 20px;
	height: 20px;
	background: transparent;
	border: none;
}

.new-cust-quiz__close::before,
.new-cust-quiz__close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;

	width: 100%;
	height: 2px;
	background-color: #ffffff;
	transition: .3s;
}

.layer-container h3 {
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	text-align: center;
	text-transform: uppercase;
	color: #333;

}

.new-cust-quiz__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.new-cust-quiz__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.new-cust-quiz__close:hover.new-cust-quiz__close::after,
.new-cust-quiz__close:hover.new-cust-quiz__close::before {
	background-color: #D6518F;
}

.quiz_wrap.close-end {
	display: none;
}

.b-form_box_field .selectric-wrapper .selectric {
	display: flex;
	align-items: center;
}

.quiz-card__block {
	max-width: 542px;
	margin: auto;
	height: auto;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.quiz-card__content {
	width: 100%;
}

.quiz-card__header {
	margin-bottom: 20px;
}

.quiz-card__header .desc {
	font-weight: 400;
	font-size: 20px;
	line-height: 27px;
	text-align: center;
	letter-spacing: 0.02em;

	color: #FFFFFF;
}

.send__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 20px;
}

.send__input {
	width: 290px;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	color: var(--color-greey);
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	box-sizing: border-box;
	border-radius: 2px;
	padding: 12px 15px;
	margin: 0 auto 15px;
}

.send__input[placeholder] {
	color: #757575;
	opacity: 1;
}

.send__btn {
	width: 290px;
	height: 54px;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 150%;
	letter-spacing: .02em;
	color: #fff;
	text-transform: uppercase;
	background: #D6518F;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
	border-radius: 2px;
	border: 0;
	cursor: pointer;
	margin: 0 auto 20px;
	transition: .2s;
}

.send__btn:hover {
	opacity: 0.8;
}

.send__text {
	max-width: 290px;
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 150%;
	text-align: center;
	color: var(--color-white);
	opacity: .64;
	margin: 0 auto;
}

.send__text a {
	color: #fff;
	transition: .3s;
}

.send__text a:hover {
	color: #D6518F;
}

.send__input:invalid:not(:placeholder-shown) {
	border-color: red;
}
.send__input:valid:not(:placeholder-shown) {
	border-color: #D6518F;
}

.quiz-main__preview {
	width: 100%;
	height: 400px;
}

.quiz-main__preview picture {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
}

.quiz-main__preview picture img {
	position: absolute;
	width: 100%;
	max-height: 100%;
	opacity: 0;
	bottom: 0;
	transition: 1s;
}

.quiz-main__preview picture img.active {
	opacity: 1;
	/*transition: 1s;*/
}

.range-price {
	display: flex;
	flex-direction: column;
	gap: 20px;

	padding: 15px 10px;
	width: 155px;

	background: #FFFFFF;
	border: 1px solid #FFC1CF;
	border-radius: 10px;
	text-align: center;

	position: absolute;
	z-index: 2;
}

.range-price[data-count-percent="5"] {
	left: 0;
}
.range-price[data-count-percent="5"] {
	left: calc(100% / 6 - 65.5px);
}
.range-price[data-count-percent="10"] {
	left: calc(100% / 6 * 2 - 65.5px);
}
.range-price[data-count-percent="15"] {
	left: calc(100% / 6 * 3 - 65.5px);
}
.range-price[data-count-percent="20"] {
	left: calc(100% / 6 * 4 - 65.5px);
}
.range-price[data-count-percent="25"] {
	left: calc(100% / 6 * 5 - 65.5px);
}
.range-price[data-count-percent="30"] {
	left: calc(100% - 155px);
}

.range-price::before {
	content: '';
	display: block;

	position: absolute;
	left: 8px;
	top: -16px;

	width: 0;
	height: 0;
	border-width: 0 10px 16px 10px;
	border-color: transparent transparent #FFC1CF transparent;
	border-style: solid;
}

.range-price[data-count-percent="5"]::before,
.range-price[data-count-percent="10"]::before,
.range-price[data-count-percent="15"]::before,
.range-price[data-count-percent="20"]::before,
.range-price[data-count-percent="25"]::before {
	left: 50%;
	transform: translateX(-50%);
}

.range-price[data-count-percent="0"]::before {
	left: 8px;
}

.range-price[data-count-percent="30"]::before {
	left: calc(100% - 28px);
}

.range-price__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.range-price__box:nth-child(2) .range-price__text {
	margin-bottom: 5px;
}

.range-price__desc {
	font-weight: 400;
	font-size: 10px;
	line-height: 1.1;
	letter-spacing: 0.01em;
	color: #898989;
}

.range-price__text {
	font-weight: 400;
	font-size: 12px;
	line-height: 14px;
}

@media (max-width: 1200px) {
	.new-cust-quiz__close {
		top: 10px;
		right: 10px;
		z-index: 99;

		width: 30px;
		height: 30px;
	}
}

@media (max-width: 1140px) {
	.new-cust-quiz__wrapper {
		height: 100%;
	}
}

@media (max-width: 1024px) {
	.quiz-card__col {
		width: 50%;
	}

	.quiz-card {
		padding: 75px 50px 76px 50px;
	}

	.quiz-main__progress {
		width: calc(100% - 389px);
		left: 50px;
	}

	.quiz-swiper__btns {
		padding-left: 50px;
	}
}

@media (max-width: 768px) {
	.quiz-swiper__slide-wrapper {
		flex-direction: column-reverse;
		justify-content: flex-end;
	}

	.quiz-main__title-num {
		font-weight: 600;
		font-size: 24px;
		line-height: 29px
	}

	.new-cust-quiz__info {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 84px;
		padding: 12px 50px 12px 15px;
	}

	.new-cust-quiz__info picture {
		width: 60px;
		height: 60px;
		flex: 0 0 auto;
	}

	.new-cust-quiz__info h2 {
		font-size: 17px;
		line-height: 25px;
	}

	.quiz-main__preview {
		max-height: 200px;
		margin-top: auto;
	}

	.quiz-main__preview picture {
		justify-content: center;
	}

	.quiz-main__preview picture img {
		width: auto;
		max-width: 100%;
	}

	.new-cust-quiz__text {
		font-weight: 400;
		font-size: 16px;
		line-height: 20px;
	}

	.new-cust-quiz__layer {
		padding: 50px 30px;
	}

	.quiz-main__progress {
		width: calc(100% - 85px);
		left: 30px;
	}

	.quiz-swiper__btns {
		right: 55px;
	}

	.quiz-card {
		width: 100%;
		padding: 15px 15px 100px 15px;
		height: 100%;

		display: flex;
		flex-direction: column;
	}

	.quiz-swiper__btns {
		padding-left: 30px;
		bottom: 20px;
	}

	.layer-container h2 {
		font-size: 36px;
		margin-bottom: 10px;
		font-weight: 600;
	}

	.layer-container h3 {
		font-size: 20px;
		font-weight: 500;
	}

	.quiz {
		height: 100%;
	}
}

@media (max-width: 440px) {
	.quiz-card__col {
		width: 100%;
	}

	.quiz-card__grid {
		width: 100%;
		padding: 10px;
	}

	.quiz-card__content {
		overflow-y: auto;
		height: calc(100% - 85px);
	}

	.quiz-main__progress {
		left: 20px;
	}

	.quiz-swiper__btns {
		right: 20px;
	}
}
