<!DOCTYPE html>

<html <?php language_attributes(); ?>>

    <head>

	<meta name="viewport" content="width=device-width, initial-scale=1">

	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>" charset="<?php bloginfo('charset'); ?>" />

	<?php  wp_head(); ?>		  

</head>

<body <?php body_class(); ?>>

<div id="wrapper">
	<div class="header-section">
		 <!-----logo------>
			<div class="container">
				<div class="col-md-12">
					<div class="logo">
					</div>
				</div>
			</div>	  
	    <!-----/logo------>
	    <nav class="navbar nav  navbar-default ch-navbar navbar-inverse" data-spy="affix" data-offset-top="160">
    	  <div class="container">
		    <!-- Brand and toggle get grouped for better mobile display -->
		    <div class="navbar-header">
		    <a class="screen-reader-text skip-link" href="#content"><?php esc_html_e('Skip to content','childcare'); ?></a>
		      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-menu">
		        <span class="sr-only"><?php esc_html_e('Toggle navigation','childcare');?></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		      </button>
			  <div class="logo-brand logo fadeInDown">
                          <?php if ( function_exists( 'the_custom_logo' ) ) { ?>  
						 <h2>
							<?php	the_custom_logo(); ?>
							</h2>
						<?php }  ?>
						<?php $description = get_bloginfo( 'description', 'display' );

					if ( $description || is_customize_preview() ) : ?>

					<?php childcare_the_custom_logo(); ?>
				<?php $description = get_bloginfo( 'description', 'display' );
					if ( $description || is_customize_preview() ) : ?>
						<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
						<p class="site-description"><?php bloginfo( 'description' ); ?></p>
					<?php endif; ?>

					<?php endif;  ?>
					
				
                        </div>
						
		   </div>

		    <!-- Collect the nav links, forms, and other content for toggling -->
		    <div id="main-menu" class="collapse navbar-collapse">
				<?php	wp_nav_menu( array(  

									'theme_location' => 'primary',
									'container'  => 'collapse navbar-collapse',
									'depth'      => 0,
									'menu_class' => 'nav navbar-nav',
									'fallback_cb' => 'childcare_fallback_page_menu',
									'walker' => new childcare_nav_walker()
									)

								);	?>
		    </div><!-- /.navbar-collapse -->
		  </div><!-- /.container-fluid -->
		</nav>
	</div>