<?php
/**
 * Footer Template  File
 *
 * @package INVENTIVE
 * @author  Theme Kalia
 * @version 1.0
 */

$options = inventive_WSH()->option();
$allowed_html = wp_kses_allowed_html( 'post' );

?>
<!-- main-footer -->
<footer class="footer-style-12">
    <?php if($options->get( 'show_top_footer_v12' )){?>
    <div class="footer-top">
        <div class="auto-container">
            <div class="footer-info">
                <div class="row clearfix">
                    <?php if($options->get( 'footer_v12_feature_title') || $options->get( 'footer_v12_feature_text')) {?>
                    <div class="col-lg-4 col-md-6 col-sm-12 info-column">
                        <div class="single-info-box wow fadeInUp" data-wow-delay="00ms" data-wow-duration="1500ms">
                            <div class="icon-box"><i class="icon-clock-2"></i></div>
                            <?php if($options->get( 'footer_v12_feature_title')) {?><h4><?php echo wp_kses( $options->get( 'footer_v12_feature_title'), true ); ?></h4><?php } ?>
                            <?php if($options->get( 'footer_v12_feature_text')) {?><p><?php echo wp_kses( $options->get( 'footer_v12_feature_text'), true ); ?></p><?php } ?>
                        </div>
                    </div>
                    <?php } ?>
                    <?php if($options->get( 'footer_v12_feature_title2') || $options->get( 'footer_v12_feature_text2')) {?>
                    <div class="col-lg-4 col-md-6 col-sm-12 info-column">
                        <div class="single-info-box wow fadeInUp" data-wow-delay="200ms" data-wow-duration="1500ms">
                            <div class="icon-box"><i class="icon-low-price-1"></i></div>
                            <?php if($options->get( 'footer_v12_feature_title2')) {?><h4><?php echo wp_kses( $options->get( 'footer_v12_feature_title2'), true ); ?></h4><?php } ?>
                            <?php if($options->get( 'footer_v12_feature_text2')) {?><p><?php echo wp_kses( $options->get( 'footer_v12_feature_text2'), true ); ?></p><?php } ?>
                        </div>
                    </div>
                    <?php } ?>
                    <?php if($options->get( 'footer_v12_feature_title3') || $options->get( 'footer_v12_feature_text3')) {?>
                    <div class="col-lg-4 col-md-6 col-sm-12 info-column">
                        <div class="single-info-box wow fadeInUp" data-wow-delay="400ms" data-wow-duration="1500ms">
                            <div class="icon-box"><i class="icon-document-1"></i></div>
                            <?php if($options->get( 'footer_v12_feature_title3')) {?><h4><?php echo wp_kses( $options->get( 'footer_v12_feature_title3'), true ); ?></h4><?php } ?>
                            <?php if($options->get( 'footer_v12_feature_text3')) {?><p><?php echo wp_kses( $options->get( 'footer_v12_feature_text3'), true ); ?></p><?php } ?>
                        </div>
                    </div>
                    <?php } ?>
                </div>
                <?php if($options->get( 'footer_newsletter_url_v12' )){?>
                <div class="form-inner wow fadeInUp" data-wow-delay="00ms" data-wow-duration="1500ms">					
                    <?php echo do_shortcode($options->get('footer_newsletter_url_v12')); ?>
                </div>
                <?php } ?>
            </div>
        </div>
    </div>
    <?php } ?>
    <?php if ( is_active_sidebar( 'footer-sidebar-12' ) ) { ?>    
    <div class="widget-section">
        <div class="auto-container">
            <div class="row clearfix">
                <?php dynamic_sidebar( 'footer-sidebar-12' ); ?>
            </div>
        </div>
    </div>
    <?php } ?>
    <?php if($options->get( 'show_bottom_footer_v12' )){?>
    <div class="footer-bottom">
        <div class="auto-container">
            <div class="bottom-inner">
                <?php if($options->get( 'footer_v12_copyright_text')) {?><div class="copyright"><p><?php echo wp_kses( $options->get( 'footer_v12_copyright_text'), true ); ?></p></div><?php } ?>
                <ul class="footer-nav">
                    <?php wp_nav_menu( array( 'theme_location' => 'footer_menu', 'container_id' => 'navbar-collapse-1',
						'container_class'=>'navbar-collapse collapse navbar-right',
						'menu_class'=>'nav navbar-nav',
						'fallback_cb'=>false,
						'items_wrap' => '%3$s',
						'container'=>false,
						'depth'=>'1',
						'walker'=> new Bootstrap_walker()
					) ); ?>
                </ul>
            </div>
        </div>
    </div>
    <?php } ?>
</footer>
<!-- main-footer end --> 
    
<!-- Scroll to top end -->
<div class="prgoress_indicator">
    <svg class="progress-circle svg-content" width="100%" height="100%" viewBox="-1 -1 102 102">
      <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" />
    </svg>
</div>