/*-- Enter your custom CSS below! --*/

<?php
/**
 * @package WordPress
 * @subpackage Creativo
 */

get_header(); ?>
        <div class="innernail"> 
            <div class="content">
                <div class="section <?php if(get_option('cc_sidebar_position')=='left') { ?>alignright<?php } else { ?>alignleft<?php } ?>">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

                    <div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
                        <h1><?php the_title(); ?></h1>
						<?php global $custom_text; $metatext = $custom_text->the_meta(); ?>
                        <?php if($metatext['subtitle']!='') { ?><h6 style="margin-top:-20px"><?php echo $metatext['subtitle']; ?></h6><?php } ?>
                        <span class="clearborder"></span>
                        <div class="entry">
                        
                                <?php echo remove_pVal(resolve_p(do_shortcode(wpautop(replace_blank(get_the_content(get_option('cc_transl_read_more'))))))); ?>
                                <?php wp_link_pages( array( 'before' => '<div class="pagenavi"><ul>','link_before' => '<li>','link_after' => '</li>','after' => '</ul></div>' ) ); ?>
                                <?php edit_post_link(stripslashes(get_option('cc_transl_edit')),'<p class="clear">', '</p>'); ?>
                        </div><!-- .entry -->
                        
                        <?php comments_template(  ); ?>
        
            </div><!-- .post -->

<?php endwhile; ?>
                </div><!-- .section -->
<?php get_sidebar(); ?>
            </div><!-- .content -->
        </div><!-- .innernail -->
<?php get_footer(); ?>


 <span class="clearborder"></span>