<div class="property-carousel-wrapper <?php if ( empty( $instance['title'] ) ) : ?>property-carousel-wrapper-no-title<?php endif; ?> <?php if ( ! empty( $instance['fullwidth'] ) ) : ?>property-carousel-wrapper-fullwidth<?php endif; ?>">
	<?php if ( ! empty( $instance['title'] ) ) : ?>
		<h2 class="page-header"><?php echo esc_html( $instance['title'] ); ?></h2>
	<?php endif; ?>

    <div class="property-carousel">       
        <?php if ( have_posts() ) : ?>
            <?php while ( have_posts() ) : the_post(); ?>
                <?php include get_template_directory() . '/templates/properties/simple.php'; ?>
            <?php endwhile; ?>
        <?php endif; ?>
    </div><!-- /.property-carousel -->
</div><!-- /.property_carousel-wrapper -->