<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the main div and all content after
 *
 * @package thehoot
 */
?>
</div><!--/.container wrapper-->
</div>
<footer>
 <div class="container">
    <div id="footer" class="widget-area" role="complementary">
        <div class="mt-5 pb-5">
            <div class="row pt-5">
                <div class="col-12 col-md-4">
                    <?php if (get_theme_mod('thehoot_footer_logo')) : ?>
                    <a
                        class="no-transition-link"
                        href='<?php echo esc_url(home_url('/')); ?>'
                        title='<?php echo esc_attr(get_bloginfo('name', 'display')); ?>'
                        rel='home'><img
                        class="img-fluid w-50"
                        src='<?php echo esc_url(get_theme_mod('thehoot_footer_logo')); ?>'
                        alt='<?php echo esc_attr(get_bloginfo('description') ?: 'Logo of ' . get_bloginfo('name')); ?>'></a>
                    <?php endif; ?>
                    <?php dynamic_sidebar('footer-first'); ?>
                </div>
                <div class="col-12 col-md-4">
                    <?php dynamic_sidebar('footer-second'); ?>
                </div>
                <div class="col-12 col-md-4">
                    <?php dynamic_sidebar('footer-third'); ?>
                </div>
            </div>
        </div>
    </div>
    <div class="container copyright text-center text-white pb-1">
        <div class="col">
            <p>Copyright &copy; <?php echo date('Y'); ?> <?php echo get_bloginfo('name');?> - <?php echo get_bloginfo('description'); ?></p>
        </div>        
    </div>
</div>
<!--/.container-fluid-->
</footer>
<?php wp_footer(); ?>
</body>
</html>
