/* Back to questions Button */
.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-result--view-answers {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-background-static' ) ) { ?>
			background-color: <?php echo $properties['back-questions-button-background-static'] ?>;
		<?php } else { ?>
			background-color: #067963;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-color-static' ) ) { ?>
			color: <?php echo $properties['back-questions-button-color-static'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	<?php } else { ?>
		background-color: #067963;
		color: #FFFFFF;
	<?php } ?>
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-typography' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-result-retake-font-size' ) ) { ?>
			font-size: <?php echo $properties['knowledge-result-retake-font-size'] ?>px;
		<?php } else { ?>
			font-size: 14px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-result-retake-font-family' ) ) { ?>
			<?php if ( $properties['knowledge-result-retake-font-family'] != 'custom' ) { ?>
				font-family: <?php echo $properties['knowledge-result-retake-font-family'] ?>;
			<?php } else { ?>
				<?php if ( ! empty( $properties['knowledge-result-retake-custom-family'] ) ) { ?>
					font-family: <?php echo $properties['knowledge-result-retake-custom-family'] ?>;
				<?php } ?>
			<?php } ?>
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-result-retake-font-weight' ) ) { ?>
			<?php forminator_echo_font_weight( $properties, 'knowledge-result-retake-font-weight' ); ?>
		<?php } else { ?>
			font-weight: 400;
		<?php } ?>
	<?php } else { ?>
		font-size: 14px;
		font-weight: 400;
	<?php } ?>
}

.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-result--view-answers:hover {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-background-hover' ) ) { ?>
			background-color: <?php echo $properties['back-questions-button-background-hover'] ?>;
		<?php } else { ?>
			background-color: #05614F;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-color-hover' ) ) { ?>
			color: <?php echo $properties['back-questions-button-color-hover'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	<?php } else { ?>
		background-color: #05614F;
		color: #FFFFFF;
	<?php } ?>
}

.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-result--view-answers:focus,
.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-result--view-answers:active {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-background-active' ) ) { ?>
			background-color: <?php echo $properties['back-questions-button-background-active'] ?>;
		<?php } else { ?>
			background-color: #05614F;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-color-active' ) ) { ?>
			color: <?php echo $properties['back-questions-button-color-active'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	<?php } else { ?>
		background-color: #05614F;
		color: #FFFFFF;
	<?php } ?>
}
