.quiz-container {
	max-width:     1340px;
	margin:        0 auto;
	width:         100%;
	height: 100%;
	background:    #fff;
	flex-direction: column;
}

#quiz-progress-container {
	width:            100%;
	height:           5px;
	background-color: #f0f0f0;
}

#quiz-progress {
	height:           5px;
	background-color: #007bff;
	width:            0;
}

#quiz-slide-number {
	color:       #121313;
	
	font-style:  normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 100%;
	color: rgba(1, 58, 81, 0.3);

}




#quiz-slide-number span {
	color: #1677e9;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    color: rgba(22, 119, 233, 1);
}

.quiz-slide {
	display:         none;
	padding:         40px;
	flex-direction:  column;
	justify-content: space-between;
	flex-grow: 1;
	gap: 10px;
	min-height: 350px;
}

.quiz-slide:first-child {
	display: block;
}

.quiz-slide-final {
	flex-direction: row;
	gap:            1rem;
	padding:        40px ;
}

.quiz-picture {
	flex-basis:      700px;
	display:         flex;
	justify-content: center;
}

.quiz-picture img {
	object-fit: contain;
	object-position: bottom;
	display:    flex;
	height:     100%;
}

.quiz-question {
	color:       #121313;
	
	font-style:  normal;
	font-weight: 600;
	font-size: 32px;
	line-height: 100%;

}

.quiz-title {
	color:       #121313;
	
	font-size:   24px;
	font-style:  normal;
	font-weight: 400;
	line-height: normal;
	text-align:  left;
}

.quiz-text {
	color:       #121313;
	
	font-size:   18px;
	font-style:  normal;
	font-weight: 400;
	line-height: 145%; /* 23.2px */
	text-align:  left;
}

.quiz-header {
	display:        flex;
	flex-direction: column;
	gap:            1rem;
}

.quiz-inputs {
	display:        flex;
	flex-direction: column;
	gap:            16px;
	margin: 15px 0 60px;
}

.quiz-inputs input {
	all: revert;
}

.quiz-container label {
	display:     flex;
	gap:         1rem;
	color:       #121313;
	
	font-size:   18px;
	font-style:  normal;
	font-weight: 400;
	line-height: normal;
}
.quiz-container label.quiz-phone{
    border-radius: 8px;
    max-width: none;
    display: inline-flex;
    padding: 0;
    height: auto;
    width: auto;
    background: none;
}

.quiz-phone-container {
	display:        flex;
	flex-direction: column;
	gap:            1rem;
	margin: 15px 0 40px;
}

.quiz-next__btn {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border: 1px solid #1677e9;
    display: flex;
    width: 160px;
    padding: 13px 51px;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    gap: 10px;
    border-radius: 10px;
    padding-top: 18px;
    padding-right: 50px;
    padding-bottom: 18px;
    padding-left: 50px;
}

.quiz-next__btn.quiz-back {
	background: #fff;
	color:      #1677e9;
}

.quiz-next__btn:hover {
	background-color: #0056b3;
}

.quiz-next__btn.quiz-back:hover {
	background: #fff;
	color:      #1677e9;
	opacity:    0.8;
}

.quiz-next__btn:disabled {
	background-color: #f0f0f0;
	border:           1px solid #0056b3;
	color:            #0056b3;
}

#final-slide {
	text-align: center;
}

#final-slide .quiz-question {
	font-size:     24px;
	margin-bottom: 20px;
}

#final-slide p {
	font-size:     16px;
	margin-bottom: 20px;
}

#final-slide button {
	padding:          10px 20px;
	background-color: #007bff;
	color:            white;
	border:           none;
	border-radius:    5px;
	cursor:           pointer;
}


.fancybox__content#quiz-section > .f-button.is-close-btn{
    top: 10px;
    right: 10px;
    opacity: 1;
}
.fancybox__content#quiz-section > .f-button.is-close-btn svg{
	stroke: rgb(255 255 255);
}

.quiz-section__container{
	display: flex;
    gap: 10px;
}
.quiz-section#quiz-section {
	padding: 0;
	border-radius: 0;
	width: 1200px;
	box-shadow: none;
	background: none;
}

.quiz-section__info {
    padding: clamp(10px, 4vw, 40px) clamp(10px, 4vw, 20px);
    
    font-style: normal;
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    background: rgba(0, 34, 48, 1);
    font-size: 18px;
    line-height: 160%;
    vertical-align: middle;
    color: #fff;
    border-radius: 20px;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
	width: 32%;
	padding: 40px;
}

.quiz-container-voprosi{
	background:#fff;
	padding: 0;
	border-radius: 20px;
	width: 68%;
}
.quiz-container-imgs{
	padding: 0;
	background:#fff;
	width: 32%;
	border-radius: 20px;
	padding: 15px 15px 0 15px;
}
.quiz--img{
	display:none;
    height: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
}
.quiz-container-img img{
	
}
.quiz-text-final{
	color: #121313;
    
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%;
    text-align: left;
	margin-top: 60px;
}
.quiz-text-final a{
    width: auto;
    color: rgba(255, 255, 255, 1);
    background: linear-gradient(203.2deg, #37AEE2 21.67%, #1E96C8 70%);
    border-radius: 10px;
    padding-top: 18px;
    padding-right: 32px;
    padding-bottom: 18px;
    padding-left: 32px;
    display: inline-flex;
    margin-top: 30px;
    gap: 10px;
    align-items: center;
    justify-content: center;
}





.quiz-section__info img{
	
}
.quiz-section__info div{
	margin-top: 5px;
}
.quiz-section__content_block{
	background:#fff;
	padding: 40px;
	border-radius: 20px;
	width: 68%;
}

#quiz-form{
	background:none;
	padding:0;
	border-radius: 10px;
	flex-direction: row;
	gap: 10px;
}





.quiz-modal__content .quiz-section {
	min-height: auto;
	padding:    0;
}

.quiz-modal__content .quiz-slide {
	padding: 40px;
}

.quiz-modal__content .quiz-slide#final-slide {
	padding-bottom: 0;
}

.quiz-section__content {
	display:       block;
	align-items:   center;
	width:         100%;
	border-bottom: 1px solid rgba(255, 255, 255, 10);
}

.quiz-section__title {
	
	font-size:   34px;
	font-style:  normal;
	font-weight: 600;
	line-height: 135%; /* 62.1px */
	max-width:   70%;
}
.quiz-section__title b{
	color: rgba(22, 119, 233, 1);

}
body .fancybox__backdrop{
	opacity:0.85;
}
.quiz-section__text {
	
	font-size:   20px;
	font-style:  normal;
	font-weight: 400;
	line-height: 145%;
	margin: 50px 0 40px;
}

.quiz-section__text span {
	font-weight: 500;
}

.quiz-section__btn {
	color:           #fff;
	text-align:      center;
	font-size:       20px;
	font-style:      normal;
	font-weight:     400;
	line-height:     normal;
	border-radius:   10px;
	background:      #1677e9;
	display:         inline-flex;
	padding:         20px;
	justify-content: center;
	align-items:     center;
	max-width:       500px;
	width:           100%;
	border:          none;
}
.quiz-inputs input[type="radio"]{
	width: 20px;
}
.quiz-inputs input[type="radio"]:checked + span{
	color: rgba(22, 119, 233, 1);

}
.quiz-section__btn:hover {
	opacity: 0.8;
}



.quiz-section__info span {
	font-weight: 500;
}

.close-quiz-btn {
	position:         absolute;
	top:              10px;
	right:            10px;
	background-color: transparent;
	border:           none;
	font-size:        30px;
	cursor:           pointer;
	color:            #000;
}

.close-quiz-btn:hover {
	color: #f00;
}

.quiz-top {
	display:         flex;
	justify-content: space-between;
	padding:         22px 40px 19px;
	align-items:     center;
	position:        relative;
}

.quiz__title {
	font-style:  normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: rgba(1, 58, 81, 0.6);

}

.quiz-btns {
	display: flex;
	flex-wrap: wrap;
	gap:     1rem;
}

.quiz-footer {
	display:         flex;
	justify-content: space-between;
}

.quiz-info-text {
	color:       #121313;
	font-size:   16px;
	font-style:  normal;
	font-weight: 400;
	line-height: 145%;
	display: flex;
    align-items: center;
    gap: 5px;
}

.quiz-info-text span {
	color: rgba(22, 119, 233, 1);
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
}

.quiz-phone-text {
	display:        flex;
	flex-direction: column;
	gap:            1rem;
	color:          #121313;
	font-size:      16px;
	font-style:     normal;
	font-weight:    400;
	line-height:    145%; /* 23.2px */
}

.quiz-phone {
	border-radius:   20px;
	background:      #f5f5f5;
	display:         flex;
	gap:             1rem;
	height:          70px;
	padding:         0 32px;
	flex-shrink:     0;
	max-width:       340px;
	align-items:     center;
	justify-content: space-between;
}

.quiz-phone input {
	background: rgba(245, 247, 248, 1);
    padding-top: 20px;
    padding-right: 24px;
    padding-bottom: 20px;
    padding-left: 24px;
    border: none;
    border-radius: 8px;
    width: 100%;
    max-width: 340px;
}
.quiz-phone input[type=text]:focus{
	background: rgba(245, 247, 248, 1);
}

.quiz-phone input::placeholder{
	color: rgba(1, 58, 81, 0.6);

}


@media (max-width: 1300px) {
	.quiz-section__info {
		gap: 1rem;
	}

	.quiz-section__title {
		max-width: 100%;
	}

	.quiz-section__content {
		flex-direction: column;
	}
}

@media (max-width: 980px) {
	.quiz-section__info,
	.quiz-container-imgs{
		display:none;
	}
	.quiz-section__content_block,
	.quiz-container-voprosi{
		width:100%;
	}
	.fancybox__content#quiz-section > .f-button.is-close-btn{
		background: none;
	}
	.fancybox__content#quiz-section > .f-button.is-close-btn svg {
		stroke: rgb(0 0 0);
	}
	.quiz-top {
		flex-direction: column;
		gap:            1rem;
	}

	.quiz-footer {
		flex-direction: column;
		gap:            1rem;
	}

	.quiz-section {
		padding: 10px;
	}

	.quiz-next__btn {
		width: 100%;
	}

	.quiz__top {
		gap:            1rem;
		padding:        20px;
		flex-direction: column;
	}

	.quiz-section__btn {
		font-size: 13px;
	}

	.quiz-picture {
		display: none;
	}

	.quiz-section__title {
		font-size: 26px;
	}

	.quiz-section__info {
		grid-template-columns: 1fr;
	}
}
