<?php
defined('_JEXEC') or die;

function modChrome_bootblock($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		<div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>">
		<?php if ($module->showtitle != 0) : ?>
			<h2><?php echo $module->title; ?></h2>
		<?php endif; ?>
			<?php echo $module->content; ?>
		</div>
	<?php endif;
}
function modChrome_bootheader($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		<?php if ($module->showtitle != 0) : ?>
			<h1 id="homeHeading"><?php echo $module->title; ?></h1>
		<?php endif; ?>
			<hr /><?php echo $module->content; ?>
	<?php endif;
}
function modChrome_bootheaderbutton($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
			<a href="#about" class="btn btn-primary btn-xl page-scroll"><?php echo $module->content; ?></a>
	<?php endif;
}
function modChrome_bootabout($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		<?php if ($module->showtitle != 0) : ?>
			<h2 class="section-heading"><?php echo $module->title; ?></h2>
		<?php endif; ?>
			<hr class="light" /><?php echo $module->content; ?>
	<?php endif;
}
function modChrome_bootaboutbutton($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
			<a href="#services" class="page-scroll btn btn-default btn-xl sr-button"><?php echo $module->content; ?></a>
	<?php endif;
}
function modChrome_bootservice($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
        <div class="container">
            <div class="row">
                <div class="col-lg-12 text-center">
		<?php if ($module->showtitle != 0) : ?>
			        <h2 class="section-heading"><?php echo $module->title; ?></h2>
		<?php endif; ?>
			        <hr class="primary" />
		<?php echo $module->content; ?>
                </div>
            </div>
        </div>
	<?php endif;
}
function modChrome_bootservicebody($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
        <div class="container">
            <div class="row">
        <?php echo $module->content; ?>
            </div>
        </div>
	<?php endif;
}
function modChrome_bootportfolio($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
        <div class="container-fluid">
            <div class="row no-gutter popup-gallery">
		<?php echo $module->content; ?>
            </div>
        </div>
	<?php endif;
}
function modChrome_bootcontact($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
        <div class="col-lg-8 col-lg-offset-2 text-center">
		<?php if ($module->showtitle != 0) : ?>
			<h2 class="section-heading"><?php echo $module->title; ?></h2>
		<?php endif; ?>
            <hr class="primary /">
        <?php echo $module->content; ?>
        </div>
	<?php endif;
}
function modChrome_bootcontactbody($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		<?php echo $module->content; ?>
	<?php endif;
}
function modChrome_bootother($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
    <aside class="bg-dark">
        <div class="container text-center">
            <div class="call-to-action">
		<?php if ($module->showtitle != 0) : ?>
			<h2><?php echo $module->title; ?></h2>
		<?php endif; ?>
        <?php echo $module->content; ?>
            </div>
        </div>
    </aside>
	<?php endif;
}
function modChrome_boottitle($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"><span class="sr-only">Toggle navigation</span><?php echo $module->content; ?><i class="fa fa-bars"></i></button>
	<?php endif;
}
function modChrome_bootbrand($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
			<a class="navbar-brand page-scroll" href="#page-top"><?php echo $module->content; ?></a>
	<?php endif;
}
