<?php $bauen_options = get_option('bauen'); ?>

	<!-- Content -->
	<div class="content-wrapper">
	
		<?php if(get_post_meta($post->ID,'bauen_content_lines',true)=='st2'){ ?>
		<section class="content-lines-wrapper">
			<div class="content-lines-inner">
				<div class="content-lines"></div>
			</div>
		</section>
		<?php } ;?> 	
		<!-- Header Banner -->	

		<!-- section start -->
		<?php if(get_post_meta($post->ID,'bauen_page_full_img_header_overly_opt',true)){ ?>
		    <?php $bauen_page_full_img_header_shape_scheme = get_post_meta($post->ID,'bauen_page_full_img_header_overly_opt',true);?>
		<?php } 
		else { ?>
		    <?php $bauen_page_full_img_header_shape_scheme = '3';?>
		<?php } ;?>		

		<?php if (Bauen_AfterSetupTheme::return_thme_option('theme_color_style')=='st2'){ ?> 
            <?php $bauen_page_full_img_header_color_scheme = 'darkgray';?>
		<?php } else { ?>
			<?php $bauen_page_full_img_header_color_scheme = 'light';?>	
		<?php } ;?>			

			<!-- Header Banner -->
			<?php if( function_exists( 'rwmb_meta' ) ) { ?> 			
			<?php $bauen_back_image = rwmb_meta( 'bauen_page_full_img_header_bg_img','type=image&size=' ); ?>
			<?php if ( ! empty( $bauen_back_image ) ) { ?>
				<?php foreach ( $bauen_back_image as $bauen_back_images ){ ?>		
				<section class="banner-header banner-img valign bg-img bg-fixed" data-overlay-<?php echo esc_attr($bauen_page_full_img_header_color_scheme);?>="<?php echo esc_attr($bauen_page_full_img_header_shape_scheme);?>" data-background="<?php echo esc_url(($bauen_back_images['url']));?>" data-scroll-index="0">
					<!-- Left Panel -->
					<?php if(get_post_meta($post->ID,'bauen_page_header_menu_selector_opt',true)=='st1'){ ?>
						<div class="left-panel"></div>						
					<?php } 
					else if(get_post_meta($post->ID,'bauen_page_header_menu_selector_opt',true)=='st2'){ ?>		
						<div class="left-panel"></div>	
					<?php } 
		            else { ?>	
					    <?php if (Bauen_AfterSetupTheme::return_thme_option('nav_menu_style')=='st1'){ ?>
					    <div class="left-panel"></div>
						<?php } 
						else if (Bauen_AfterSetupTheme::return_thme_option('nav_menu_style')=='st2'){ ?> 						
					    <div class="left-panel"></div>
						<?php } 
						else { ?>						
					    <div class="left-panel-no"></div>
						<?php } ?>	
					<?php } ?>						
				</section>
				<?php } ;?>	
			<?php } ;?>				
            <?php } ;?>
			
			<!-- section end -->
			<?php if(get_post_meta($post->ID,'bauen_page_static_header_title_opt',true)=='st2'){ ?>
			<section class="section-static-banner-header" >
				<div class="container">
					<div class="row">										   
						<div class="col-md-12">
						<?php if(get_post_meta($post->ID,'bauen_page_static_header_animate_opt',true)=='st2'){ ?> 
						<div class="animate-box" data-animate-effect="fadeInUp">
						<?php } ;?> 						
						
							<?php if(get_post_meta($post->ID,'bauen_page_static_header_title_tag',true)=='st1'){ ?>
								<h1 class="section-title"><?php if (( get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true))):?><?php echo balanceTags(get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true)); ?><?php else : ?><?php the_title();?><?php endif;?></h1>
							<?php } 
							else if(get_post_meta($post->ID,'bauen_page_static_header_title_tag',true)=='st3'){ ?> 
								<h3 class="section-title"><?php if (( get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true))):?><?php echo balanceTags(get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true)); ?><?php else : ?><?php the_title();?><?php endif;?></h3>
							<?php } 
							else if(get_post_meta($post->ID,'bauen_page_static_header_title_tag',true)=='st4'){ ?> 
								<h4 class="section-title"><?php if (( get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true))):?><?php echo balanceTags(get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true)); ?><?php else : ?><?php the_title();?><?php endif;?></h4>
							<?php } 
							else if(get_post_meta($post->ID,'bauen_page_static_header_title_tag',true)=='st5'){ ?> 
								<h5 class="section-title"><?php if (( get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true))):?><?php echo balanceTags(get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true)); ?><?php else : ?><?php the_title();?><?php endif;?></h5>
							<?php } 
							else if(get_post_meta($post->ID,'bauen_page_static_header_title_tag',true)=='st6'){ ?> 
								<h6  class="section-title"><?php if (( get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true))):?><?php echo balanceTags(get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true)); ?><?php else : ?><?php the_title();?><?php endif;?></h6>	
							<?php } 
							else { ?>
								<h2 class="section-title"><?php if (( get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true))):?><?php echo balanceTags(get_post_meta($post->ID,'bauen_page_static_header_title_main_opt',true)); ?><?php else : ?><?php the_title();?><?php endif;?></h2>
							<?php } ?>	
							
						<?php if(get_post_meta($post->ID,'bauen_page_static_header_animate_opt',true)=='st2'){ ?> 
						</div>
						<?php } ;?> 								
						</div>																
					</div>
				</div>
			</section>	
			<?php } ;?>	