/* ELEMENT: Quiz Answers (Container) */
.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-answer .forminator-answer--design {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-answer-border-static' ) ) { ?>
			border-color: <?php echo $properties['knowledge-answer-border-static'] ?>;
		<?php } else { ?>
			border-color: #EBEDEB;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-answer-background-static' ) ) { ?>
			background-color: <?php echo $properties['knowledge-answer-background-static'] ?>;
		<?php } else { ?>
			background-color: #FAFAFA;
		<?php } ?>
	<?php } else { ?>
		border-color: #EBEDEB;
		background-color: #FAFAFA;
	<?php } ?>
}

.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-answer .forminator-answer--design:hover,
.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-answer .forminator-answer--design:focus {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-answer-border-hover' ) ) { ?>
			border-color: <?php echo $properties['knowledge-answer-border-hover'] ?>;
		<?php } else { ?>
			border-color: #097BAA;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-answer-background-hover' ) ) { ?>
			background-color: <?php echo $properties['knowledge-answer-background-hover'] ?>;
		<?php } else { ?>
			background-color: #F3FBFE;
		<?php } ?>
	<?php } else { ?>
		border-color: #097BAA;
		background-color: #F3FBFE;
	<?php } ?>
}

.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-answer input:checked + .forminator-answer--design {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-answer-border-active' ) ) { ?>
			border-color: <?php echo $properties['knowledge-answer-border-active'] ?>;
		<?php } else { ?>
			border-color: #097BAA;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-answer-background-active' ) ) { ?>
			background-color: <?php echo $properties['knowledge-answer-background-active'] ?>;
		<?php } else { ?>
			background-color: #F3FBFE;
		<?php } ?>
	<?php } else { ?>
		border-color: #097BAA;
		background-color: #F3FBFE;
	<?php } ?>
}

.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-answer.forminator-is_correct input:checked + .forminator-answer--design {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-aright-border' ) ) { ?>
			border-color: <?php echo $properties['knowledge-aright-border'] ?>;
		<?php } else { ?>
			border-color: #0BC30B;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-aright-background' ) ) { ?>
			background-color: <?php echo $properties['knowledge-aright-background'] ?>;
		<?php } else { ?>
			background-color: #F4FCF2;
		<?php } ?>
	<?php } else { ?>
		border-color: #0BC30B;
		background-color: #F4FCF2;
	<?php } ?>
}

.forminator-ui.forminator-quiz#forminator-module-<?php echo $properties['form_id'] ?> .forminator-answer.forminator-is_incorrect input:checked + .forminator-answer--design {
	<?php if ( forminator_array_value_exists( $properties, 'knowledge-toggle-palette' ) ) { ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-awrong-border' ) ) { ?>
			border-color: <?php echo $properties['knowledge-awrong-border'] ?>;
		<?php } else { ?>
			border-color: #DA0000;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'knowledge-awrong-background' ) ) { ?>
			background-color: <?php echo $properties['knowledge-awrong-background'] ?>;
		<?php } else { ?>
			background-color: #FDF2F2;
		<?php } ?>
	<?php } else { ?>
		border-color: #DA0000;
		background-color: #FDF2F2;
	<?php } ?>
}
