<?php
	/**
	 * The template for displaying the header
	 *
	 * Displays all of the head element and everything up until the "site-content" div.
	 *
	 * @package WordPress
	 * @subpackage Twenty_Sixteen
	 * @since Twenty Sixteen 1.0
	 */

	?><!DOCTYPE html>
	<html <?php language_attributes(); ?> class="no-js">
	<head>
		<meta charset="<?php bloginfo( 'charset' ); ?>">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="profile" href="http://gmpg.org/xfn/11">
		<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
		<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
		<?php endif; ?>
		<link href="<?php bloginfo('template_url'); ?>/css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css">
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/owlcarousel/owl.carousel.min.css">
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/owlcarousel/owl.theme.default.min.css">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css" />

		<?php wp_head(); ?>
	</head>

	<body <?php body_class(); ?>>
	<div class="header">
		<div class="col-xs-12 co-sm-12 col-md-12 col-lg-12 no-padding">
			<?php if( !is_page( array( 'brides', 'faq') )): ?>
            <div class="header-top">
				<?php if ( is_user_logged_in() ) { ?>
                    <ul>
					<li><a href="<?php echo get_home_url(); ?>/my-account/">My Account</a></li>
					<li><a href="<?php echo get_home_url(); ?>/wp-login.php?action=logout">Signout</a></li>
				    </ul>
                <?php } 
                    else { ?>
                    <ul>
					<li><a href="<?php echo get_home_url(); ?>/login-register/">Login / Register</a></li>
				    </ul>
                <?php 
                    }
                ?>
                <?php endif; ?>
			</div><!--header-top-->
			<div class="header-mid">
				<div class="container">
					<div class="row">
						<div class="col-xs-12 co-sm-12 col-md-12 col-lg-12">
							<div class="logo">
								<a href="<?php echo get_home_url(); ?>"><img src="<?php echo ot_get_option('logo') ?>" class="img-responsive"></a>
							</div><!--logo-->
						</div><!--col-lg-12-->
					</div><!--row-->
				</div><!--container-->
			</div><!--header-mid-->
			<div class="header-bottom hidden-xs">
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding">
					<nav>
						<?php if( is_page( array( 'brides', 'faq') )): ?>
						<?php wp_nav_menu( array( 'theme_location' => 'social' ) ); ?>
						
                        <?php else: ?>
                        <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
						<!--<li class="input-search"><input type="text" name="search" id="search" placeholder="Search"><i class="fa fa-search"></i></li>-->
                        <li class="input-search"><?php echo do_shortcode('[aws_search_form]'); ?></li>
                        <?php endif; ?>
					</nav>

				</div>
			</div><!--header-bottom-->
					
		</div><!--col-lg-12-->
			
	</div><!--header-->

