<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @package moneysite
 */ ?>
<!--==================== ms-FOOTER AREA ====================-->
<footer> 
  <div class="overlay"> 
  <!--Start ms-footer-widget-area-->
    <?php if ( is_active_sidebar( 'footer_widget_area' ) ) { ?>
    <div class="ms-footer-widget-area">
      <div class="container">
        <div class="row">
          <?php  dynamic_sidebar( 'footer_widget_area' ); ?>
        </div>
      </div>
    </div>
    <?php } ?>
    <!--End ms-footer-widget-area-->
    <div class="ms-footer-copyright">
      <div class="container">
        <div class="row">
          <div class="col-md-8">
            <?php
            $moneysite_credit_rel = get_theme_mod( 'moneysite_footer_credit_nofollow', true ) ? 'designer nofollow noopener noreferrer' : 'designer noopener noreferrer';
            ?>
            <p><?php esc_html_e( 'Copyright', 'moneysite' ); ?> &copy; <?php echo esc_html( date_i18n( 'Y' ) ); ?> <?php echo esc_html( get_bloginfo( 'name' ) ); ?> | <?php printf( esc_html__( 'Designed by %1$s', 'moneysite' ), '<a href="' . esc_url( 'https://moneystance.com' ) . '" target="_blank" rel="' . esc_attr( $moneysite_credit_rel ) . '">MoneyStance Team</a>' ); ?>. <?php esc_html_e( 'Inspired by', 'moneysite' ); ?> <a href="<?php echo esc_url( 'https://www.federalreserve.gov/' ); ?>" rel="noopener noreferrer"><?php esc_html_e( 'Federal Reserve System', 'moneysite' ); ?></a>. <?php esc_html_e( 'Powered by', 'moneysite' ); ?> <a href="<?php echo esc_url( 'https://wordpress.org/' ); ?>" rel="noopener noreferrer"><?php esc_html_e( 'WordPress', 'moneysite' ); ?></a></p>
  		    </div>
          <div class="col-md-4 text-right">
            <ul class="ms-social">
              <?php if(get_theme_mod('social_link_facebook')) { ?>
              <li><span class="icon-soci fb"> <a href="<?php echo esc_url(get_theme_mod('social_link_facebook')); ?>" <?php if(get_theme_mod('Social_link_facebook_tab')==1){ echo "target='_blank' rel='noopener noreferrer'"; } ?> ><i class="fa fa-facebook"></i></a></span></li>
              <?php } if(get_theme_mod('social_link_twitter')) { ?>
              <li><span class="icon-soci twitter"><a href="<?php echo esc_url(get_theme_mod('social_link_twitter')); ?>" <?php if(get_theme_mod('Social_link_twitter_tab')==1){ echo "target='_blank' rel='noopener noreferrer'"; } ?> ><i class="fa fa-twitter"></i></a></span></li>
              <?php } if(get_theme_mod('social_link_linkedin')) { ?>
              <li><span class="icon-soci linkedin"><a href="<?php echo esc_url(get_theme_mod('social_link_linkedin')); ?>" <?php if(get_theme_mod('Social_link_linkedin_tab')==1){ echo "target='_blank' rel='noopener noreferrer'"; } ?> ><i class="fa fa-linkedin"></i></a></span></li>
              <?php } if(get_theme_mod('social_link_google')) { ?>
              <li><span class="icon-soci google"><a href="<?php echo esc_url(get_theme_mod('social_link_google')); ?>" <?php if(get_theme_mod('Social_link_google_tab')==1){ echo "target='_blank' rel='noopener noreferrer'"; } ?> ><i class="fa fa-google-plus"></i></a></span></li>
              <?php } ?>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</footer>
</div>
<!--Scroll To Top--> 
<a href="#" class="ti_scroll bounceInRight  animated"><i class="fa fa-angle-double-up"></i></a> 
<!--/Scroll To Top-->
<?php wp_footer(); ?>
</body>
</html>
