<?php

$show_search = odrin_get_field('show_search') ? true : false;

?>

<div class="BlogHeader PageHeader container mb-100">
	<div class="row">
		<div class="ContentTitle col-md-8 col-md-offset-0 col-sm-12 col-sm-offset-0">
			<div class="SpecialHeading">
				<h1 class="special-title"><?php the_title(); ?></h1>
				<?php if ( odrin_get_field('header_subtitle') ) : ?>
				<div class="special-subtitle"><?php echo wp_kses_post(odrin_get_field('header_subtitle')); ?></div>
				<?php endif; ?>
			</div>
		</div>
		<?php if ( odrin_get_field('show_search') ) : ?>
		<div class="blog-header-search col-lg-3 col-lg-offset-1 col-md-4 col-md-offset-0 col-sm-12 col-sm-offset-0">
			<?php get_search_form(); ?>
		</div>
		<?php endif; ?>
	</div>
	
</div> <!-- end BlogHeader -->