<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @package Wrock Metro
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

get_header();

$container = get_theme_mod( 'wrockmetro_container_type' );

$errorstyle = get_theme_mod( 'wrockmetro_404error_style', 'styleone');
?>

<div class="wrapper" id="error-404-wrapper">

	<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">

		<div class="row">

			<div class="col-md-12 content-area" id="primary">

				<main class="site-main" id="main">
				<section class="error-404 not-found <?php echo $errorstyle; ?>">

					<?php get_template_part( 'loop-templates/404error', $errorstyle); ?>
				</section><!-- .error-404 -->

				</main>

			</div><!-- #primary -->

		</div><!-- .row -->

	</div><!-- #content -->

</div><!-- #error-404-wrapper -->

<?php
get_footer();
