<?php

get_header();
?>

<?php 
$page_title = az_custom_get_page_title();
if (!empty($page_title)) {
    ?>
    <section id="title-page">
    	<span class="overlay-bg-fill"></span>
    	<div class="container pagize">
    		<div class="row">
    			<div class="col-md-12 textaligncenter">
    				<h2><?php 
    echo $page_title;
    ?>
</h2>
    			</div>
    		</div>
    	</div>
    </section>
<?php 
}
?>

<?php 
$options = get_option('klaus');
$sectionpadding = null;
$blog_type = $options['blog_type'];
if ($blog_type == 'standard-blog' || $blog_type == 'masonry-blog') {
    <div id="text-header" class="title-header-spacer">           
        <div class="title-header-container<?php 
            echo esc_attr($mode_height);
            echo esc_attr($title_header_layout_class);
            ?>
"<?php 
            echo !empty($fill_bg_h) ? $fill_bg_h : '';
            ?>
>
            <div class="box-content">
                <div class="box-content-titles">
                    <h1 class="title"<?php 
            echo !empty($text_color) ? $text_color : '';
            ?>
><?php 
            echo az_custom_get_page_title();
            ?>
</h1>
                </div>
            </div>
        </div>
        <?php 
            if ($search_title_layout == 'fullscreen' && $search_scroll == 'enable') {
                echo '<a class="scroll-btn-full-area-title-header"><i class="font-icon-arrow-down-simple-thin-round animated-opacity"></i></a>';
            }
            ?>
    </div>
    
    <?php 
        }
    }