<!-- Footer Widget Secton -->
<?php 
$bluestreet_current_options = wp_parse_args(  get_option( 'wallstreet_pro_options', array() ), bluestreet_theme_data_setup() ); ?>
<div class="footer_section">

	<?php if($bluestreet_current_options['footer_social_media_enabled']==true) { 
		if($bluestreet_current_options['social_media_twitter_link'] !='' || $bluestreet_current_options['social_media_facebook_link'] !='' || $bluestreet_current_options['social_media_linkedin_link'] !='' || $bluestreet_current_options['social_media_youtube_link'] !='' || $bluestreet_current_options['social_media_instagram_link'] !='' ) { ?>
			<div class="footer-social-area"><ul class="footer-social-icons">
				<?php if($bluestreet_current_options['social_media_twitter_link']!='') { ?>
				<li><a href="<?php echo esc_url( $bluestreet_current_options['social_media_twitter_link']); ?>"><i class="fa-brands fa-x-twitter"></i></a></li>
				<?php }
				if($bluestreet_current_options['social_media_facebook_link']!='') { ?>
				<li><a href="<?php echo esc_url( $bluestreet_current_options['social_media_facebook_link']); ?>"><i class="fa-brands fa-facebook-f"></i></a></li>
				<?php }					
				if($bluestreet_current_options['social_media_linkedin_link']!='') { ?>
				<li><a href="<?php echo esc_url( $bluestreet_current_options['social_media_linkedin_link']); ?>"><i class="fa-brands fa-linkedin-in"></i></a></li>
				<?php }
				if($bluestreet_current_options['social_media_youtube_link']!='') { ?>
				<li><a href="<?php echo esc_url( $bluestreet_current_options['social_media_youtube_link']); ?>"><i class="fa-brands fa-youtube"></i></a></li>					
				<?php } if($bluestreet_current_options['social_media_instagram_link']!='') { ?>
				<li><a href="<?php echo esc_url( $bluestreet_current_options['social_media_instagram_link'] ); ?>"><i class="fa-brands fa-instagram"></i></a></li>					
				<?php } ?>
			</ul></div>
		<?php } 
	}?>
	
	<div class="container">
		<?php 
		if ( is_active_sidebar( 'footer-widget-area' ) ) { ?>
			<div class="row footer-widget-section">
				<?php dynamic_sidebar( 'footer-widget-area' ); ?>
			</div>
		<?php } ?>
        <div class="row">
			<div class="col-md-12">
				<?php if ( $bluestreet_current_options['footer_copyright'] != '' ) { ?>
					<div class="footer-copyright">
						<p><?php echo wp_kses_post($bluestreet_current_options['footer_copyright']);?></p>
					</div>
				<?php } ?>
			</div>
		</div>
	</div>
</div>
</div> <!-- end of wrapper -->
<!-- Page scroll top -->
<a href="#" class="page_scrollup"><i class="fa fa-chevron-up"></i></a>
<!-- Page scroll top -->
<?php wp_footer(); ?>
</body>
</html>