.g44-quiz-wrapper{

}

.g44-quiz-progress{
	position: relative;
	margin: 1em 0;
}

.g44-progress-text{
	font-size:1.5em;
	width: 65px;
	text-align: center;
	display: inline-block;
	color:var(--g44-primary-color);
	line-height: 1em;
	-webkit-transition: all 0.4s ease 0s;
	-moz-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	-ms-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;
	margin-left: var(
	--progress);
	padding-left:0px;
	transform: translateX(-25%);
	animation-name: fs-progress;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
	animation-duration: 1s;
	animation-delay: 0s;
}
.started .g44-progress-text{
	transform: translateX(-50%);
}
.done .g44-progress-text{
	color:#38ae3d;
	animation: none;
	transform: translateX(0);
	margin-left:0;
	width:100%;
	text-align:center;
}

.g44-progress-bar{
	position:relative;
	width:100%;
	height:20px;
	background: var(--g44-gray-color);
	border-radius:10px;
	overflow:hidden;
}
.g44-progress-bar span{
	position:absolute;
	left:0;
	width: var(--progress);
	height:100%;
	background-color:var(--g44-primary-color);
	-webkit-transition: all 0.4s ease 0s;
	-moz-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	-ms-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;

	animation-name: fs-progress;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
	animation-duration: 1s;
	animation-delay: 0s;
}
.done .g44-progress-bar span{
	background-color:#38ae3d;
	animation: none;
}

.g44-quiz-counter{
    background-color:var(--g44-gray-color);
	display:inline-block;
	padding:0.5em 1em;
	border-radius:var(--g44-border-radius-1);
	margin:1em 0;
	font-size:1.2em;
	letter-spacing:2px;
}
.done .g44-quiz-counter{
    display:none;
}

.g44-quiz-steps fieldset{
	border:0px;
	background-color: #fff;
	padding: 20px 20px 20px 20px;
	margin:0px;
	box-sizing: border-box;
	border-radius: 10px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	text-align:left;
	position: relative;
	overflow:hidden;
}

.g44-quiz-steps legend{
	display:block;
	margin: 0px 0px 15px 0px;
	padding:0px;
	position: relative;
	float: left;
	width: 100%;
	font-size:1.5em;
	font-weight: 600;
}

.g44-quiz-answers{
	display:grid;
	float: left;
	width: 100%;
	gap: 1em;
	grid-template-columns: 1fr 1fr;
}

.g44-quiz-steps fieldset label {
    margin:0px 0px;
    padding: 12px 45px 12px 16px;
    display: inline-block;
    position: relative;
    clear: both;
    cursor:pointer;
    border-radius:8px;
    border:1px solid #cccccc;
    background-color: transparent;
    background-repeat:no-repeat;
    background-position: 98%;
    background-size: 28px;
}

.g44-quiz-steps input[type="radio"],
.g44-quiz-steps input[type="checkbox"] {
	opacity: 0;
	position: absolute;
}

.g44-quiz-steps fieldset label:hover,
.g44-quiz-steps fieldset label:has(input[type="radio"]:focus),
.g44-quiz-steps fieldset label:has(input[type="checkbox"]:focus) {
	border:1px solid #888;
	background:url(assets/check2.svg) calc(100% - 10px) center no-repeat #f8f8f8;
	background-size: 28px;
}

.g44-quiz-steps fieldset label:has(input[type="radio"]:checked),
.g44-quiz-steps fieldset label:has(input[type="checkbox"]:checked) {
    border: 1px solid var(--g44-primary-color);
    background: url(assets/check2-white.svg) calc(100% - 10px) center no-repeat var(--g44-primary-color);
    color:#fff;
    background-size: 28px;
}

.g44-quiz-nav{
	margin: 1em 0 0;
	float: left;
}

.g44-result-content{

}

.g44-result-content h2.result-title{
	text-align: center;
	font-size: var(--wp--preset--font-size--g-44-1);
	background-color:var(--g44-primary-color);
	color:#fff;
	border-radius:var(--g44-border-radius-2);
	padding:30px;
	margin-bottom:40px;
}

.quiz-product-wrapper,
.cf7-wrapper{
	/* border-bottom:1px solid var(--g44-gray-color); */
	/* margin-bottom:2em; */
	/* padding-bottom:1em; */
}

.cf7-wrapper{
    margin:2em auto;
	padding-bottom:2em;
}
.cf7-wrapper>.wpcf7{
    margin:0 auto;
    max-width:400px;
    position: relative;
}
.cf7-wrapper .wpcf7-submit{
	width:100%;
	padding-left: 40px;
	padding-right: 40px;
}
.cf7-wrapper .wpcf7-spinner{
	position: absolute;
	right: 0px;
	margin: 11.5px;
}

.quiz-product-wrapper .woocommerce ul.products:not(.flickity-enabled){
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: flex;
	justify-content: center;
	/* grid-template-columns: repeat(1, minmax(220px, 1fr)); */
}

.g44-back-to-quiz,
.g44-quiz-reset{
    margin:auto !important;
    display: block !important;
}

@media (max-width: 768px) {
	.g44-quiz-answers{
		grid-template-columns: 1fr;
	}
	.g44-progress-text{
		font-size:1.1em;
		width: 50px;
	}
}

@media (max-width: 640px) {
	.g44-quiz-steps fieldset label {
		display: block;
	    margin-right: 0px;
	}
}