	<?php
		if ( ! is_page_template( 'template-frontpage.php' ) ) {
			if ( is_active_sidebar( 'inner-sidebar' ) ) {
				get_sidebar( 'inner' );
			} else {
			?>
			<div class="container">
				<div class="row">
					<div class="col-xs-12">
						<hr class="footer-separator">
					</div>
				</div>
			</div>
			<?php
			}
		}
	?>

	<footer id="footer">
		<div class="container">
			<div class="row">
				<div class="col-sm-4">
					<?php dynamic_sidebar( 'footer-sidebar-one' ); ?>
				</div>

				<div class="col-sm-4">
					<?php dynamic_sidebar( 'footer-sidebar-two' ); ?>
				</div>

				<div class="col-sm-4">
					<?php dynamic_sidebar( 'footer-sidebar-three' ); ?>
				</div>
			</div>
		</div>

		<div class="container footer-credits">
			<div class="row">
				<div class="col-xs-12">
                <div class="social-media">
                <?php echo do_shortcode( '[et_social_follow icon_style="slide" icon_shape="circle" icons_location="top" col_number="auto" outer_color="dark"]' ); ?>
                </div>
                	<div class="footer-menu-area">
                    	<?php
							wp_nav_menu( array(
								'theme_location' => 'ci_footer_menu',
								'fallback_cb'    => '',
								'container'      => '',
								'menu_id'        => 'footer-menu',
								'menu_class'     => 'footer-menu'
							) );
						?>
                    </div>
					<p><?php echo ci_footer(); ?></p>
				</div>
			</div>
		</div>
	</footer>

</div> <!-- #page -->

<?php wp_footer(); ?>

</body>
</html>
