<?php
/**
* This template is used to display the home page.
*
* @package Natural
* @since Natural 3.0
*
*/
get_header(); 
echo do_shortcode('[sg_popup id=22]')
?>

<!-- BEGIN .row -->
<div class="row">

	<!-- BEGIN .sixteen columns -->
	<div class="sixteen columns">
		
		<!-- BEGIN .home-slider -->
		<div class="home-slider shadow">
		
			<?php get_template_part( 'content/featured', 'slider' ); ?>
			
		<!-- END .home-slider -->
		</div>

	<!-- END .sixteen columns -->
	</div>

<!-- END .row -->
</div>

<!-- BEGIN .row -->
<div class="row">
	
	<!-- BEGIN .homepage -->
	<div class="homepage">
	
	<?php if (of_get_option('display_home_mid') == '1') { ?>
	<?php if ( 'false' != of_get_option( 'page_left' ) && 'false' != of_get_option( 'page_mid' ) && 'false' != of_get_option( 'page_right' ) ) { ?>
		
		<!-- BEGIN .featured-pages -->
		<div class="featured-pages radius-full">
		
			<div class="holder third first">
				<?php $recent = new WP_Query('page_id='.of_get_option('page_left')); while($recent->have_posts()) : $recent->the_post(); ?>
					<?php get_template_part( 'content/home', 'page' ); ?>
				<?php endwhile; ?>
			</div>
			
			<div class="holder third">
				<?php $recent = new WP_Query('page_id='.of_get_option('page_mid')); while($recent->have_posts()) : $recent->the_post(); ?>
					<?php get_template_part( 'content/home', 'page' ); ?>
				<?php endwhile; ?>
			</div>
			
			<div class="holder third last">
				<?php $recent = new WP_Query('page_id='.of_get_option('page_right')); while($recent->have_posts()) : $recent->the_post(); ?>
					<?php get_template_part( 'content/home', 'page' ); ?>
				<?php endwhile; ?>
			</div>
		
		<!-- END .featured-pages -->
		</div>
	
	<?php } ?>
	<?php } ?>
	
	<?php if (of_get_option('display_home_bottom') == '1') { ?>
	<?php if ( '-1' != of_get_option( 'category_news' ) ) { ?>
	<?php if ( is_active_sidebar( 'home-sidebar' ) ) : ?>
	
	<?php endif; ?>
	<?php } ?>
	<?php } ?>

	<!-- END .homepage -->
	</div>

<!-- END .row -->
</div>

<div class="row">
	<div class="col-xs-12 col-md-6 col-md-offset-3">
		<a href="imagens/testemunho-express-extintores.jpg" rel="lightbox[roadtrip]">
			<!--img src="imagens/testemunho-express-extintores.jpg" class="img-responsive" title="Confira o testemunho de um dos nossos clientes!" alt="Testemunho do cliente" /-->
			<h4 class="testemunho text-center"><strong>Clique aqui para conferir o testemunho de um dos nossos clientes!</strong></h4>
		</a>
	</div>
</div>
<br>
<div class="row">
<div class="testemunho">
<h4 class="text-center"><strong>Alguns Clientes e Parceiros</strong></h4>
<?php echo do_shortcode('[wcp-carousel id=701]') ?>
</div>
</div>


<?php get_footer(); ?>