<?php
/**
 * Bottom sidebar. 
 *
 * @package Longevity
 * 
 */


if (   ! is_active_sidebar( 'bottom1'  )
	&& ! is_active_sidebar( 'bottom2' )
	&& ! is_active_sidebar( 'bottom3'  )
	&& ! is_active_sidebar( 'bottom4'  )		
		
	)

		return;
	// If we get this far, we have widgets. Let do this.
?>


	<div class="container">
  		<div class="row">
       
            <aside class="widget-area clearfix">
                   
                <?php if ( is_active_sidebar( 'bottom1' ) ) : ?>
                    <div id="bottom1" <?php longevity_bottom(); ?>>
                        <?php dynamic_sidebar( 'bottom1' ); ?>
                    </div>
                <?php endif; ?>
                
                <?php if ( is_active_sidebar( 'bottom2' ) ) : ?>      
                    <div id="bottom2" <?php longevity_bottom(); ?>>
                        <?php dynamic_sidebar( 'bottom2' ); ?>
                    </div>         
                <?php endif; ?>
                
                <?php if ( is_active_sidebar( 'bottom3' ) ) : ?>        
                    <div id="bottom3" <?php longevity_bottom(); ?>>
                        <?php dynamic_sidebar( 'bottom3' ); ?>
                    </div>
                <?php endif; ?>
                
                <?php if ( is_active_sidebar( 'bottom4' ) ) : ?>     
                    <div id="bottom4" <?php longevity_bottom(); ?>>
                        <?php dynamic_sidebar( 'bottom4' ); ?>
                    </div>
                 <?php endif; ?>
               </aside>         
    
      	</div>
	</div>    
