<div class="clearfix"></div>

    <div id="footer" class="dnnc_footer">
        
        <div id="footop" class="footop <?php $dannci_redux = get_option( 'dannci_redux' ); if(empty($dannci_redux['dnnc-footer-editor'])) { } else { echo 'populated';} ?>">
        
            <div class="dnnc_container">
                        
                <div class="dnnc_column dnnc_column_12">
            
                    <?php if(empty($dannci_redux['dnnc-footer-editor'])) { } else {
                            echo '<h2 class="footer_text">' . wp_kses_post($dannci_redux['dnnc-footer-editor']). '</h2>';
                    }?>
                    
                </div>
            
            </div><!-- end .dnnc_container --> 
        
        </div><!-- end #footop --> 
        
        <div class="clearfix"></div> 
        
        <div class="dnnc_footer_icons dnnc_border_main">
        
            <div class="dnnc_container">
                        
                <div class="dnnc_column dnnc_column_12">
    
                    <?php get_template_part('/includes/social-icons' ); ?>   
                    
                </div>
            
            </div><!-- end .dnnc_container --> 
        
        </div><!-- end #footop --> 
        
        <div class="clearfix"></div> 
        
        <div class="dnnc_container"> 

            <div class="dnnc_footer_box">
        
			    <?php get_template_part('/includes/footer-widgets'); ?>

            </div><!-- end .dnnc_container --> 
            
        </div><!-- end .dnnc_container --> 
        
        <div class="clearfix"></div>
        
        <div class="dnnc_credits dnnc_border_main">
        
            <div class="dnnc_container">
                
                <div class="dnnc_column dnnc_column_6">
                    
                    <?php if ( function_exists('has_nav_menu') && has_nav_menu('bottom-menu') ) {wp_nav_menu( array( 'depth' => 1, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_class' => 'dnnc_bottom_menu', 'menu_id' => '' , 'theme_location' => 'bottom-menu') );}  ?>
                    
                </div> 
            
                <div class="dnnc_column dnnc_column_6">
                    
                    <?php $dannci_redux = get_option( 'dannci_redux' );
                        if(!empty($dannci_redux['dnnc-footer-credits']))  {
                            echo '<div class="dnnc_footer_credits">' . wp_kses_post($dannci_redux['dnnc-footer-credits']). '</div>';
                        }
                    ?>
                    
                </div>
                    
            </div><!-- end .dnnc_container --> 
        
        </div><!-- end .dnnc_credits --> 
        
		<div class="clearfix"></div> 
            
    </div><!-- /#footer  -->
    
<div id="curtain" class="dnnc_tranz">

	<div class="search_wrap">
	
		<?php get_search_form();?>
    
    </div>
    
    <a class='curtainclose' href="<?php esc_url('#'); ?>" ><i class="fa fa-times"></i><span class="screen-reader-text"><?php echo _x( 'Close Search Window', 'label', 'visby' ); ?></span></a>
    
</div>
    
<div class="scroll_to_top ribbon">

    <a title="<?php esc_attr_e('Scroll to top','visby');?>" class="rad" href="<?php esc_url('#'); ?>">&uarr;</a>
    
</div>
</div><!-- /.upper class  -->
</div><!-- /.wrapper  -->
<?php wp_footer(); ?>

</body>
</html>