<?php

// Prevent Direct Access
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$background = get_theme_mod('blog_top_background');
get_header();
?>

<section id="page_header" class="page-header padding_top" <?php if($background){ echo 'style="background-image:url('.wp_get_attachment_url($background).');"'; } ?>>
	<div class="container header_content padding_top">
		<div class="row">
			<div class="col-sm-12">

				<h1 class="whitecolor bottom25"><?php esc_html_e('Error 404', 'maxo-fa') ?></h1>

			</div>
		</div>
	</div>
</section>

<section id="ourblog" class="padding_bottom padding_top_half">
	<div class="container">
		<div class="row">

			<?php
			if( is_active_sidebar('sidebar') ){
				$content_class = 'col-md-8 col-sm-8';
			}
			else{
				$content_class = 'col-xs-12';
			}
			?>

			<div class="<?php echo $content_class ?> padding_top_half">
				
				<div class="blog_item">
					
					<h3 class="top40 darkcolor bottom25"><?php esc_html_e('Not Found!', 'maxo-fa') ?></h3>
					<p><?php esc_html_e("The page you're looking for doesn't exist.", 'maxo-fa') ?></p>
					
				</div>
				
			</div>
			
			<?php get_sidebar(); ?>
			
		</div>
	</div>
</section>

<?php get_footer(); ?>