/**
 * Ad Quiz Manual Transitions Style
 */
.quiz_wr .quiz_main {
    padding-left: 0;
    max-width: 800px;
}

.quiz_form_steps .step {
    display: none;
    transition: all 0.3s ease-in-out;
}

.quiz_form_steps .step.active {
    display: block;
}

/* Dots Styling to match existing quiz look */
.quiz_steps_dots {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 50px;
    margin: 0;
    list-style: none;
}

.quiz_steps_dots li {
    display: block;
    margin-right: 140px;
    position: relative;
    cursor: pointer;
}

.quiz_steps_dots li:after {
    display: block;
    content: '';
    position: absolute;
    right: -140px;
    top: 19px;
    background: #E0E6ED;
    height: 1px;
    width: 140px;
}

.quiz_steps_dots li:last-child {
    margin-right: 0;
}

.quiz_steps_dots li:last-child:after {
    display: none;
}

.quiz_steps_dots li span {
    width: 40px;
    height: 40px;
    line-height: 36px;
    background: transparent;
    border: 2px solid #E0E6ED;
    border-radius: 100%;
    text-align: center;
    color: #4B5464;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat';
    display: block;
    transition: all 0.3s ease;
}

.quiz_steps_dots li.active span {
    background: #fff;
    color: #4B5464;
    border-color: #38C172; /* $green from theme */
}

.quiz_steps_dots li.active:after {
    height: 2px;
    background: #38C172;
}

/* Button wrapper for multi buttons */
.quiz_form_steps .btn_wr {
    gap: 20px;
	margin-top: 20px;
	align-items: flex-start;
}

.quiz_wr_v2 {
	max-width: 768px;
}

.quiz_wr_v2 .answers {
	flex-wrap: wrap;
	padding-bottom: 30px;
	margin-top: 20px;
}
 .quiz_wr_v2 .answers label {
	cursor: pointer;
	margin-top: 30px;
	margin-right: 20px;
}
 .quiz_wr_v2 .answers label span {
	position: relative;
	min-height: 130px;
	padding: 30px 15px;
	text-align: center;
	border-radius: 10px;
	border: solid 3px #eff8ff;
	background-color: #fff;
	width: 170px;
	justify-content: center;
	align-items: center;
	line-height: 1.3em;
	font-family: 'Montserrat';
	font-size: 16px;
	font-weight: 600;
	color: #a5bed6;
	transition: All 0.2s ease-in-out;
	-webkit-transition: All 0.2s ease-in-out;
	-moz-transition: All 0.2s ease-in-out;
	-o-transition: All 0.2s ease-in-out;
}
 .quiz_wr_v2 .answers label span:before {
	position: absolute;
	left: calc(50% - 16px);
	top: -16px;
	content: '';
	width: 32px;
	height: 32px;
	display: block;
	margin: 0px auto;
	background: #a5bed6;
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f00c";
	color: #fff;
	text-align: center;
	line-height: 33px;
	border-radius: 5px;
	box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.07);
}
 .quiz_wr_v2 .answers label input:checked + span {
	border-color: #eff8ff;
	box-shadow: 0 0.9px 0.2px 0 rgba(206, 217, 225, 0.04), 0 2.4px 0.9px 0 rgba(206, 217, 225, 0.05), 0 4.6px 2.2px 0 rgba(206, 217, 225, 0.06), 0 8px 4.5px 0 rgba(206, 217, 225, 0.06), 0 13.1px 8.3px 0 rgba(206, 217, 225, 0.07), 0 21.2px 14.6px 0 rgba(206, 217, 225, 0.07), 0 36.1px 26.6px 0 rgba(206, 217, 225, 0.07);
	color: #3c98ee;
}
 .quiz_wr_v2 .answers label input:checked + span:before {
	background: #7dd12b;
}

 .quiz_wr_v2 .form_item + .form_item{
	margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .quiz_steps_dots li {
        margin-right: 20px;
    }
    .quiz_steps_dots li:after {
        width: 20px;
        right: -20px;
        top: 15px;
    }
    .quiz_steps_dots li span {
        width: 30px;
        height: 30px;
        line-height: 26px;
        font-size: 14px;
    }
}
