<?php
	defined( 'ABSPATH' ) or die( 'Keep Silent' );
?>
</div>
<!-- .contents -->

<!-- copyright-section start -->
<footer class="footer">

	<?php if ( is_active_sidebar( 'velvet-footer-widget' ) ): ?>
		<div class="footer-top-wrapper">
			<div class="row">
				<div class="col-sm-12">
					<div class="footer-widgets-wrapper">
						<div class="row">
							<?php dynamic_sidebar( 'velvet-footer-widget' ) ?>
						</div>
					</div>
				</div>
			</div> <!-- .row -->
		</div> <!-- .footer-top-wrapper -->
	<?php endif; ?> <!-- / velvet-footer-widget -->

	<div class="copyright">
		<div class="row">
			<div class="col-sm-6">
				<div class="copyright-info">
					<?php if ( velvet_option( 'footer-copyright' ) ) : ?>
						<span>
							<?php echo wp_kses( velvet_option( 'footer-copyright' ), array(
								'a'      => array(
									'href'   => array(),
									'title'  => array(),
									'target' => array()
								),
								'br'     => array(),
								'em'     => array(),
								'strong' => array(),
								'ul'     => array(),
								'li'     => array(),
								'p'      => array(),
							) ); ?>
						</span>
					<?php else : ?>
						<span>
	                        <?php printf(
		                        wp_kses( __( 'Copyright &copy; %1$s %2$s. All Rights Reserved. Designed by %3$s.', 'velvet' ),
		                                 array(
			                                 'a' => array(
				                                 'href'  => array(),
				                                 'title' => array(),
				                                 'class' => array()
			                                 )
		                                 ) ), date( 'Y' ), esc_html__( 'velvet', 'velvet' ), "<a href='http://www.themehippo.com' title='Visit themehippo.com!'>ThemeHippo.com</a>" ); ?>
						</span>
					<?php endif; ?>
				</div>
			</div>

			<?php if ( velvet_option( 'social-section-show', FALSE, TRUE ) || velvet_option( 'back-to-top' ) ) : ?>
				<div class="col-sm-6">
					<div class="social-section">
						<ul class="social-shares rounded small icon-white">
							<?php if ( velvet_option( 'social-section-show', FALSE, TRUE ) ) : ?>
								<?php if ( velvet_option( 'rss-link', FALSE, TRUE ) ) : ?>
									<li>
										<a href="<?php echo esc_url( get_bloginfo( 'rss2_url' ) ); ?>"
										   target="_blank"><i class="fa fa-rss"></i></a>
									</li>
								<?php endif; ?>

								<?php if ( velvet_option( 'facebook-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'facebook-link' ) ); ?>"
									       target="_blank"><i class="fa fa-facebook"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'twitter-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'twitter-link' ) ); ?>"
									       target="_blank"><i class="fa fa-twitter"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'google-plus-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'google-plus-link' ) ); ?>"
									       target="_blank"><i class="fa fa-google-plus"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'youtube-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'youtube-link' ) ); ?>"
									       target="_blank"><i class="fa fa-youtube"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'skype-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'skype-link' ) ); ?>"
									       target="_blank"><i class="fa fa-skype"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'pinterest-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'pinterest-link' ) ); ?>"
									       target="_blank"><i class="fa fa-pinterest"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'flickr-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'flickr-link' ) ); ?>"
									       target="_blank"><i class="fa fa-flickr"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'linkedin-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'linkedin-link' ) ); ?>"
									       target="_blank"><i class="fa fa-linkedin"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'vimeo-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'vimeo-link' ) ); ?>"
									       target="_blank"><i class="fa fa-vimeo-square"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'instagram-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'instagram-link' ) ); ?>"
									       target="_blank"><i class="fa fa-instagram"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'dribbble-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'dribbble-link' ) ); ?>"
									       target="_blank"><i class="fa fa-dribbble"></i></a></li>
								<?php endif; ?>

								<?php if ( velvet_option( 'tumblr-link' ) ) : ?>
									<li><a href="<?php echo esc_url( velvet_option( 'tumblr-link' ) ); ?>"
									       target="_blank"><i class="fa fa-tumblr"></i></a></li>
								<?php endif; ?>
							<?php endif; ?> <!-- end social-section-show -->
							<?php if ( velvet_option( 'back-to-top' ) ) : ?>
								<li><a id="toTop" class="" href="">
										<i class="zmdi zmdi-long-arrow-up"></i>
									</a>
								</li>
							<?php endif; ?>
						</ul>
					</div><!-- .social-section -->
				</div>
			<?php endif; ?>

		</div><!-- .row -->
	</div><!-- .copyright -->
</footer> <!-- footer end -->
<?php if ( offCanvas_On_InnerPusher( velvet_option( 'offcanvas-menu-effect', FALSE, 'reveal' ) ) ) : ?>
	<nav class="menu-wrapper" id="offcanvasmenu">
		<button type="button" class="close close-sidebar">&times;</button>
		<div>
			<div>
				<?php dynamic_sidebar( 'offcanvas-menu' ) ?>
			</div>
		</div>
	</nav>
<?php endif; ?>

<?php do_action( 'velvet_theme_end_inner_wrapper' ); ?>
<?php do_action( 'hippo_theme_end_inner_wrapper' ); ?>

</div><!-- .container -->
</div><!-- .container-wrapper -->
</div> <!-- .pusher -->
<?php do_action( 'velvet_theme_after_inner_wrapper' ); ?>
<?php do_action( 'hippo_theme_after_inner_wrapper' ); ?>

<?php if ( ! offCanvas_On_InnerPusher( velvet_option( 'offcanvas-menu-effect', FALSE, 'reveal' ) ) ) : ?>
	<nav class="menu-wrapper" id="offcanvasmenu">
		<button type="button" class="close close-sidebar">&times;</button>
		<div>
			<div>
				<?php dynamic_sidebar( 'offcanvas-menu' ) ?>
			</div>
		</div>
	</nav>
<?php endif; ?>
</div> <!-- #wrapper -->
<?php wp_footer(); ?>
</body>
</html>