<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package Travel Tour
 */

$footer_color = get_theme_mod( 'footer_color', '#383a42' );
?>
<footer class="py-48 px-0 text-light mt-64" style="background-color: <?php esc_html_e($footer_color); ?>;">
	<div class="container-xl">
		<?php travel_tour_footer_widgets(); ?> 
	</div>
</footer>
<div class="copyright text-center my-20 mx-0">
  <?php $copyright = get_theme_mod( 'copyright_text', '' ); ?>
  <p>
    <span class="lh-base"><?php echo wp_kses_post( $copyright ); ?></span>
    <?php if ( fs_travel_tour()->is_free_plan() ) : ?>
     | <?php esc_html_e( "Powered by", 'travel-tour' ); ?> <a href="<?php echo esc_url( __( 'https://wordpress.org', 'travel-tour' ) ); ?>"><?php esc_html_e( "WordPress", 'travel-tour' ); ?></a> | <?php esc_html_e( 'Theme by', 'travel-tour' ); ?> <a href="<?php echo esc_url( 'https://thebootstrapthemes.com/' ); ?>"><?php esc_html_e( 'TheBootstrapThemes','travel-tour' );?></a>
    <?php endif; ?>
  </p>
</div>
<?php if ( get_theme_mod( 'travel_tour_scroll_to_top_display', true ) ) : ?>
<div id="travel_tour_scroll_to_top" class="scroll-top-wrapper position-fixed bottom-30 end-30 d-inline-flex justify-content-center align-items-center text-center rounded-circle bg-primary cursor-pointer z-100">
  <span class="lh-1 text-light"><i class="fa fa-angle-up"></i></span>
</div>
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>
