  <?php
/**
 * This file is responsible for the theme footer.
 * @version:1.0
 */
?>     
   <div class="our_partners_area ">
         <div class="book_now_aera ">
            <div class="container">
               <?php if(is_active_sidebar('call_action_widget')) { ?>
               <div class="row book_now bg-new">
                   
                           <?php dynamic_sidebar('call_action_widget'); ?>
                          
    
               </div>
               <?php } ?> 
            </div>
         </div>
      </div>
      <!--#start Our footer Area -->
      <div class="our_footer_area">
         <div class="book_now_aera ">
            <div class="container wow fadeInUp">
               <div class="row book_now">
                <div class="col-md-4">
                     <?php if(is_active_sidebar('sidebar-2')) { ?>
                           <?php dynamic_sidebar('sidebar-2'); ?>
                         <?php } ?>
                  </div>
                  
                  <div class="col-md-4">
                   <?php if(is_active_sidebar('sidebar-3')) { ?>
                           <?php dynamic_sidebar('sidebar-3'); ?>
                        <?php } ?>
                  </div>
                  <div class="col-md-4">
                   <?php if(is_active_sidebar('sidebar-4')) { ?>
                           <?php dynamic_sidebar('sidebar-4'); ?>
                        <?php } ?>
                  </div>
              
                  <div class="col-md-12">
                      <div class="col-md-12">
                     <div class="footer_social_links">
                        <?php if ( true == get_theme_mod( 'footerfacebookonoff', true ) ) : ?>
                              <a href="<?php _e(get_theme_mod('social_facebook', __('#' , 'intechnic-lite'))); ?>" target="_blank"><i id="social-fb" class="fa fa-facebook-square fa-3x social"></i></a>
                        <?php endif; ?>
                        <?php if ( true == get_theme_mod( 'footertwitteronoff', true ) ) : ?>
                              <a href="<?php _e(get_theme_mod('social_twitter', __('#' , 'intechnic-lite'))); ?>" target="_blank"><i id="social-tw" class="fa fa-twitter-square fa-3x social"></i></a>
                        <?php endif; ?>
                        <?php if ( true == get_theme_mod( 'footerinstagramonoff', true ) ) : ?>
                              <a href="<?php _e(get_theme_mod('social_instagram', __('#' , 'intechnic-lite'))); ?>" target="_blank"><i id="social-em" class="fa fa-instagram fa-3x social"></i></a>
                        <?php endif; ?>
                        </div>

                  </div>
                  </div>
                  <div class="col-md-12 text-center">
                    <p class="color-gray">  <a target="_blank" href="<?php echo esc_url('https://www.navthemes.com/free-wordpress-theme/intechnic-lite-wordpress-theme/'); ?>">WordPress Business Theme</a> by <a target="_blank" href="<?php echo esc_url('https://www.navthemes.com'); ?>">NavThemes </a> </p>
                    <p style="color:#fff !important;  font-size: 12px;"><?php  _e(get_theme_mod('footer_theme_text', __('©2018. All Rights Reserved.' , 'intechnic-lite'))); ?></p>
                </div>
               </div>
            </div>
         </div>
      </div>


              
      <!--#End Our footer Area -->
      <!-- The following is only needed when the video is in the html
         otherwise the who .hero__overlay html can be removed -->
        <div class="hero__overlay">
         <div class="hero__modal">
            <a class="hero__close" href="#">Close</a>
             <?php $videourl = get_theme_mod('homepage_video_url'); ?>
              <?php
               preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $videourl, $match);
               
               $youtube_id = $match[1];    
               ?>
            <iframe allowscriptaccess="always" id="hero-video" class="hero__player" src="https://www.youtube.com/embed/<?php echo $youtube_id; ?>?enablejsapi=1&html5=1" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
         </div>
         <!-- /.hero__modal -->    
      </div>
      <!-- /.hero__overlay -->
          <script>
     $(document).ready(function(){
         $('.sub-menu').addClass('dropdown-menu'); 
         $('.sub-menu > .menu-item').addClass('dropdown-item'); 
     });
   </script>
      <?php wp_footer(); ?>
   </body>
</html>