/* ======================= */
/* SECTION: Layout Spacing */
<?php if ( forminator_array_value_exists( $properties, 'quiz-spacing' ) && ! empty( $properties['quiz-custom-spacing'] ) ) { ?>
	<?php if ( forminator_array_value_exists( $properties, 'visual_style' ) ) { ?>
		<?php if ( 'grid' == $properties['visual_style'] && ! empty( $properties['visual_style'] ) ) { ?>
			<?php include('global/spacing/layout-grid.html') ?>
		<?php } else if ( 'grid' != $properties['visual_style'] && ! empty( $properties['visual_style'] ) ) { ?>
			<?php include('global/spacing/layout-list.html') ?>
		<?php } ?>
	<?php } ?>
<?php } ?>

/* =============== */
/* SECTION: Global */
<?php include('global/quiz-container.html') ?>
<?php include('global/response-error-colors.html') ?>

/* =============== */
/* SECTION: Header */
<?php include('global/header/quiz-title.html') ?>
<?php include('global/header/quiz-description.html') ?>

/* ================ */
/* SECTION: Content */
<?php include('global/content/questions-container.html') ?>
<?php include('global/content/questions-legend.html') ?>
<?php include('global/content/page-indicator.html') ?>
<?php include('global/content/start-button.html') ?>
<?php include('global/content/questions-description.html') ?>
<?php include('global/content/questions-result.html') ?>
<?php include('global/footer/retake-button.html') ?>
<?php include('global/content/answers-text.html') ?>
<?php include('global/content/field-image-size.html') ?>
<?php if ( forminator_array_value_exists( $properties, 'forminator-quiz-theme' ) && 'none' != $properties['forminator-quiz-theme'] ) { ?>
	<?php include self::get_template( $properties['forminator-quiz-theme'], 'answers-container.html'); ?>
	<?php include self::get_template( $properties['forminator-quiz-theme'], 'answers-checkbox.html'); ?>
<?php } ?>

/* =============== */
/* SECTION: Footer */
<?php include('global/footer/quiz-footer.html') ?>
<?php include('global/footer/submit-button.html') ?>
<?php include('global/footer/navigation-button.html') ?>
<?php include('global/footer/back-to-question.html') ?>
<?php include('global/footer/summary.html') ?>
<?php include('global/footer/social-share.html') ?>

/* ============= */
/* Custom Styles */
<?php if ( forminator_array_value_exists( $properties, 'use-custom-css' ) && forminator_array_value_exists( $properties, 'custom_css' ) ) { ?>
	<?php echo $properties['custom_css'] ?>
<?php } ?>
