<?php
/**
 * @version   4.1.4 March 11, 2015
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 */
// no direct access
defined( 'ABSPATH' ) or die( 'Restricted access' );
global $gantry;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
	<head>
		<?php if ($gantry->get('layout-mode') == '960fixed') : ?>
		<meta name="viewport" content="width=960px" />
		<?php elseif ($gantry->get('layout-mode') == '1200fixed') : ?>
		<meta name="viewport" content="width=1200px" />
		<?php else : ?>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<?php endif; ?>
	    <?php
	        $gantry->displayHead();

			$gantry->addStyle('grid-responsive.css', 5);
	        $gantry->addLess('global.less', 'master.css', 8, array('headerstyle'=>$gantry->get('headerstyle','dark')));

	        if ($gantry->browser->name == 'ie') {
				if ($gantry->browser->shortversion == 8) {
					$gantry->addScript('html5shim.js');
				}
			}
			
			$gantry->addScript('rokmediaqueries.js');
	    ?>
	</head>
	<body <?php echo $gantry->displayBodyTag(); ?>>
		<div id="rt-top-surround">
			<div id="rt-header">
				<div class="rt-container">
					<?php echo $gantry->displayModules('header','standard','standard'); ?>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<div class="rt-container">
			<div class="component-content">
				<div class="rt-grid-12">
					<div class="rt-block">
						<div class="rt-error-rocket"></div>
						<div class="rt-error-content">
							<h1 class="error-title title"><?php _e( 'Error:', 'rt_gantry_wp_lang' ); ?> <span>404</span> - <?php _e( 'Page not found', 'rt_gantry_wp_lang' ); ?></h1>
							<div class="error-content">
								<p><strong><?php _e( 'You may not be able to visit this page because of:', 'rt_gantry_wp_lang' ); ?></strong></p>
								<ol>
									<li><?php _e('an out-of-date bookmark/favourite', 'rt_gantry_wp_lang' ); ?></li>
									<li><?php _e('a search engine that has an out-of-date listing for this site', 'rt_gantry_wp_lang' ); ?></li>
									<li><?php _e('a mistyped address', 'rt_gantry_wp_lang' ); ?></li>
									<li><?php _e('you have no access to this page', 'rt_gantry_wp_lang' ); ?></li>
									<li><?php _e('The requested resource was not found.', 'rt_gantry_wp_lang' ); ?></li>
									<li><?php _e('An error has occurred while processing your request.', 'rt_gantry_wp_lang' ); ?></li>
								</ol>
								<p><a href="<?php echo home_url(); ?>" class="readon"><span>&larr; <?php _e('Home', 'rt_gantry_wp_lang' ); ?></span></a></p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<?php $gantry->displayFooter(); ?>
	</body>
</html>
<?php
$gantry->finalize();
?>