/* 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, 'nowrong-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-color-static' ) ) { ?>
			color: <?php echo $properties['back-questions-button-color-static'] ?>;
		<?php } else { ?>
			color: #1ABCA1;
		<?php } ?>
	<?php } else { ?>
		color: #1ABCA1;
	<?php } ?>
	<?php if ( forminator_array_value_exists( $properties, 'nowrong-toggle-typography' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-result-retake-font-size' ) ) { ?>
			font-size: <?php echo $properties['nowrong-result-retake-font-size'] ?>px;
		<?php } else { ?>
			font-size: 14px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-result-retake-font-family' ) ) { ?>
			<?php if ( $properties['nowrong-result-retake-font-family'] != 'custom' ) { ?>
				font-family: <?php echo $properties['nowrong-result-retake-font-family'] ?>;
			<?php } else { ?>
				<?php if ( ! empty( $properties['nowrong-result-retake-custom-family'] ) ) { ?>
					font-family: <?php echo $properties['nowrong-result-retake-custom-family'] ?>;
				<?php } ?>
			<?php } ?>
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-result-retake-font-weight' ) ) { ?>
			<?php forminator_echo_font_weight( $properties, 'nowrong-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, 'nowrong-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-color-hover' ) ) { ?>
			color: <?php echo $properties['back-questions-button-color-hover'] ?>;
		<?php } else { ?>
			color: #159C85;
		<?php } ?>
	<?php } else { ?>
		color: #159C85;
	<?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, 'nowrong-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'back-questions-button-color-active' ) ) { ?>
			color: <?php echo $properties['back-questions-button-color-active'] ?>;
		<?php } else { ?>
			color: #159C85;
		<?php } ?>
	<?php } else { ?>
		color: #159C85;
	<?php } ?>
}
