<?php
/**
 * The template for displaying 404 pages (not found).
 *
 * @package Home Shifting Services
 */

get_header();
home_shifting_services_before_title();
if (true === get_theme_mod('home_shifting_services_enable_page_title', true)) :
    do_action('home_shifting_services_get_page_title');
endif;
home_shifting_services_after_title();

?>

<div id="primary" class="content-area">
	<main id="main" class="site-main" role="main">
		<div class="content-page">
			<div class="content-inner">
				<div class="container">
					<div class="row">
						<?php
							if('right'===esc_html(get_theme_mod('home_shifting_services_blog_sidebar','right'))) {
								?>
									<div id="post-wrapper" class="col-md-8">
										<div class="page-content-area">	
											<h1 class="page-error"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'home-shifting-services' ); ?></h1>
											<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links on right or a search?', 'home-shifting-services' ); ?></p>
											<?php get_search_form(); ?>
										</div>
									</div>
									<div id="sidebar-wrapper" class="col-md-4">
										<?php get_sidebar('primary-sidebar'); ?>
									</div>
								<?php
							}
							else if('left'===esc_html(get_theme_mod('home_shifting_services_blog_sidebar','right'))) {
								?>
									<div id="sidebar-wrapper" class="col-md-4">
										<?php get_sidebar('primary-sidebar'); ?>
									</div>
									<div id="post-wrapper" class="col-md-8">
										<div class="page-content-area">	
											<h1 class="page-error"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'home-shifting-services' ); ?></h1>
											<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links on right or a search?', 'home-shifting-services' ); ?></p>
											<?php get_search_form(); ?>
										</div>
									</div>
									
								<?php
							}
							else{
								?>
									<div class="col-md-12">
										<div class="page-content-area">	
											<h1 class="page-error"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'home-shifting-services' ); ?></h1>
											<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links on right or a search?', 'home-shifting-services' ); ?></p>
											<?php get_search_form(); ?>
										</div>
									</div>
								<?php
							}
						?>			
					</div>
				</div>
			</div>
		</div>
	</main>
</div>

<?php
get_footer();