.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-button.forminator-result--retake {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-result-retake-background-static' ) ) { ?>
			background-color: <?php echo $properties['knowledge-result-retake-background-static'] ?>;
		<?php } else { ?>
			background-color: #17A8E3;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-result-retake-color-static' ) ) { ?>
			color: <?php echo $properties['knowledge-result-retake-color-static'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	<?php } else { ?>
		background-color: #17A8E3;
		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-button.forminator-result--retake:hover {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-result-retake-background-hover' ) ) { ?>
			background-color: <?php echo $properties['knowledge-result-retake-background-hover'] ?>;
		<?php } else { ?>
			background-color: #17A8E3;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-result-retake-color-hover' ) ) { ?>
			color: <?php echo $properties['knowledge-result-retake-color-hover'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	<?php } else { ?>
		background-color: #17A8E3;
		color: #FFFFFF;
	<?php } ?>
}

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