<?php $options = get_option('second-touch'); ?>

<?php
if($options['fixed_menu_show'] == '1'){
	$fixed = 'fixed';
}else{
	$fixed = '';
}
$mobile_menu_style = '';
$mobile_hide = '';
if($options['mobile_menu_show'] == '1'){
	$mobile_menu_style = 'style="display: none"';
	$mobile_hide = 'mobile-hide';
}



?>

<section id="header" class="horizontal" data-not-fixed="<?php echo $fixed;?>">

    <div class="header-wrap">
        <div class="row">

            <div class="twelve columns">

                <?php if ($options['custom_logo_image']) {  ?>

                    <div id="logo">

                        <a href="<?php echo home_url(); ?>/"><img src="<?php echo $options['custom_logo_image']; ?>" alt="<?php bloginfo('name'); ?>"></a>

                        <a href="<?php echo home_url(); ?>/"><img class="for-panel" src="<?php echo $options['custom_logo_image']; ?>" alt="<?php bloginfo('name'); ?>"></a>

                    </div>

					<a href="#" class="top-menu-button " <?php echo $mobile_menu_style;?>></a>

                    <?php
                }

                wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => 'tiled-menu '.$mobile_hide.'', 'fallback_cb' => 'top_menu_fallback')); ?>

            </div>
        </div>
    </div>
</section>
<section id="before-content-block">

	<?php crum_shortcode_before();?>

</section>
