<?php
/*--------------------------------------------------------------
# Copyright (C) joomla-monster.com
# License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Website: http://www.joomla-monster.com
# Support: info@joomla-monster.com
---------------------------------------------------------------*/

defined('_JEXEC') or die;

if ($this->checkModules('header') or $this->checkModules('header-bg')) : ?>
<section id="jm-header" class="<?php echo $this->getClass('block#header') ?>">
    <?php if ($this->checkModules('header')) : ?>
    <div id="jm-header-content" class="<?php echo $this->getClass('header') ?>">
    	<div class="container-fluid">
      		<jdoc:include type="modules" name="<?php echo $this->getPosition('header'); ?>" style="jmmodule"/>
      	</div>
    </div>
    <?php endif; ?>
	<?php if ($this->checkModules('header-bg')) : ?>
    <div id="jm-header-bg" class="<?php echo $this->getClass('header-bg') ?>"> 
    	<jdoc:include type="modules" name="<?php echo $this->getPosition('header-bg'); ?>" style="jmmoduleraw"/>
    </div> 
    <?php endif; ?>
</section>
<?php endif; ?>