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

<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="profile" href="http://gmpg.org/xfn/11">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    <?php wp_head(); ?>

    <!-- INCLUDE CSS GOOGLE FONTS -->
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">

    <!-- FAVICON -->
    <link rel="shortcut icon" type="image/jpg" href="<?php echo get_template_directory_uri(); ?>/favicon.png" />
	
	<!-- Facebook Pixel Code -->
<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '943801963048108');
  fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
  src="https://www.facebook.com/tr?id=943801963048108&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->

</head>
<!-- FINE HEAD -->

<body <?php body_class() ?>>

    <div class="menu-full"></div>

    <!-- MAIN NAVIGATION -->
    <nav class="nav navbar navbar-expand-lg navigazione-top">
      <div class="socials socials--hero-header hero__fade__slide--1">
          <!--social item -->
          <div class="socials__item"><a href="https://www.facebook.com/puraluce.ita" target="_blank">
          <img src="<?php echo get_template_directory_uri() ?>/img/socials/facebook.svg"></a></div>
          <!--social item -->
          <!--social item -->
          <div class="socials__item"><a href="https://www.instagram.com/puraluce.ita/" target="_blank">
            <img src="<?php echo get_template_directory_uri() ?>/img/socials/instagram.svg"></a></div>
          <!--social item -->
      </div>

      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigazione" aria-controls="navigazione" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
          <a class="navbar-brand navigazione-logo" href="<?php echo esc_url( home_url( '/' )); ?>" title="<?php bloginfo('name'); ?>">
            <div>
            <img src="<?php echo get_template_directory_uri();?>/img/logo-puraluce-bianco.png" alt="<?php bloginfo('name'); ?>" border="0">
            </div>
          </a>

          <header class="navigazione__menu">
              <!-- MENU MAIN -->
              <div class="menu_ul">
          <?php
          wp_nav_menu( array(
            'theme_location'    => 'navigazione',
            'depth'             => 3,
            'container'         => 'ul',
            'container_class'   => 'collapse navbar-collapse',
            'container_id'      => 'bs-example-navbar-collapse-1',
            'fallback_cb'       => 'WP_Bootstrap_Navwalker::fallback',
            'walker'            => new WP_Bootstrap_Navwalker()
		        ) );
            ?>

        </div>
      </nav>


    <div class="hamburger">
        <div class="<?php if(is_archive() or is_single() or is_category('news') or is_page_template('page-azienda.php') or is_tax() or is_search()) { echo "hamburger_blue_2";} ?>"></div>
        <div class="<?php if(is_archive() or is_single() or is_category('news') or is_page_template('page-azienda.php') or is_tax() or is_search()) { echo "hamburger_blue_2";} ?>"></div>
    </div>
