/* Submit Button */
.forminator-ui.forminator-quiz-<?php echo $properties['form_id'] ?> .forminator-button-submit {
	<?php if ( forminator_array_value_exists( $properties, 'nowrong-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-submit-background-static' ) ) { ?>
			background-color: <?php echo $properties['nowrong-submit-background-static'] ?>;
		<?php } else { ?>
			background-color: #17A8E3;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-submit-color-static' ) ) { ?>
			color: <?php echo $properties['nowrong-submit-color-static'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	<?php } else { ?>
		background-color: #17A8E3;
		color: #FFFFFF;
	<?php } ?>
	<?php if ( forminator_array_value_exists( $properties, 'nowrong-toggle-typography' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-submit-font-size' ) ) { ?>
			font-size: <?php echo $properties['nowrong-submit-font-size'] ?>px;
		<?php } else { ?>
			font-size: 14px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-submit-font-family' ) ) { ?>
			<?php if ( $properties['nowrong-submit-font-family'] != 'custom' ) { ?>
				font-family: <?php echo $properties['nowrong-submit-font-family'] ?>;
			<?php } else { ?>
				<?php if ( ! empty( $properties['nowrong-submit-custom-family'] ) ) { ?>
					font-family: <?php echo $properties['nowrong-submit-custom-family'] ?>;
				<?php } ?>
			<?php } ?>
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-submit-font-weight' ) ) { ?>
			font-weight: <?php echo $properties['nowrong-submit-font-weight'] ?>;
		<?php } else { ?>
			font-weight: 500;
		<?php } ?>
	<?php } else { ?>
		font-size: 14px;
		font-weight: 500;
	<?php } ?>
}

.forminator-ui.forminator-quiz-<?php echo $properties['form_id'] ?> .forminator-button-submit:hover {
	<?php if ( forminator_array_value_exists( $properties, 'nowrong-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-submit-background-hover' ) ) { ?>
			background-color: <?php echo $properties['nowrong-submit-background-hover'] ?>;
		<?php } else { ?>
			background-color: #008FCA;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'nowrong-submit-color-hover' ) ) { ?>
			color: <?php echo $properties['nowrong-submit-color-hover'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	<?php } else { ?>
		background-color: #17A8E3;
		color: #FFFFFF;
	<?php } ?>
}

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