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

require(JPATH_BASE . "/templates/" . $this->template . "/function.php");

$app = JFactory::getApplication();
$input = $app->getInput();
$doc = JFactory::getDocument();
$user = JFactory::getUser();
$templateparams = $app->getTemplate(true)->params;
$this->language = $doc->language;
$this->direction = $doc->direction;


// Detecting Active Variables
$option = $input->getCmd('option', '');
$view = $input->getCmd('view', '');
$layout = $input->getCmd('layout', '');
$task = $input->getCmd('task', '');
$itemid = $input->getCmd('Itemid', '');

$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8');
$menu = $app->getMenu()->getActive();
$pageclass = $menu !== null ? $menu->getParams()->get('pageclass_sfx', '') : '';


$menu_m = $app->getMenu();
if ($menu_m->getActive() == $menu_m->getDefault()) {
	$pageclass .= " homepage";
}

$hasClass = '';
if ($this->countModules('sidebar-left', true)) {
	$hasClass .= ' has-sidebar-left';
}
if ($this->countModules('sidebar-right', true)) {
	$hasClass .= ' has-sidebar-right';
}

// Container
$wrapper = $this->params->get('fluidContainer') ? 'wrapper-fluid' : 'wrapper-static';


// Social icons
$soc = array(
	"fa-x-twitter" => $this->params->get("twitter"),
	"fa-facebook" => $this->params->get("facebook"),
	"fa-linkedin" => $this->params->get("linkedin"),
	"fa-youtube" => $this->params->get("youtube"),
	"fa-pinterest" => $this->params->get("pinterest"),
	"fa-instagram" => $this->params->get("instagram"),
	"fa-telegram" => $this->params->get("telegram"),
	"fa-tiktok" => $this->params->get("tik-tok"),
	"fa-skype" => $this->params->get("skype"),
	"fa-snapchat" => $this->params->get("snapchat")
);

// count Modules
$left = $this->countModules('sidebar-left');
$right = $this->countModules('sidebar-right');
$search = $this->countModules('Search');
$topmenu = $this->countModules('topMenu');
$copyrights = $this->params->get("copyrights");

// Add jQuerOs library
if (checkJavaScriptIncludedOS('jQuerOs-2.2.4.min.js') === false) {
	$doc->addScript($this->baseurl . "/templates/" . $this->template . "/javascript/jQuerOs-2.2.4.min.js");
	$doc->addScriptDeclaration('jQuerOs=jQuerOs.noConflict();');
}

// Add Stylesheets
$doc->addStyleSheet($this->baseurl . "/templates/" . $this->template . "/css/default.css");
$doc->addStyleSheet($this->baseurl . "/templates/" . $this->template . "/bootstrap/css/bootstrap.css");
$doc->addStyleSheet($this->baseurl . "/templates/" . $this->template . "/bootstrap/css/bootstrap.rtl.css");
$doc->addStyleSheet($this->baseurl . "/templates/" . $this->template . "/css/style.css");
$doc->addStyleSheet($this->baseurl . "/templates/" . $this->template . "/css/os_pages.css");
$doc->addStyleSheet("//cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");

//add custom styles if exist
if (file_exists($this->baseurl . "/templates/" . $this->template . '/custom.css')) {
	$doc->addStyleSheet($this->baseurl . "/templates/" . $this->template . '/custom.css');
}
if (file_exists($this->baseurl . "/templates/" . $this->template . '/css/custom.css')) {
	$doc->addStyleSheet($this->baseurl . "/templates/" . $this->template . '/css/custom.css');
}

// Add Script
$doc->addScript($this->baseurl . "/templates/" . $this->template . "/bootstrap/js/bootstrap.js");
$doc->addScript($this->baseurl . "/templates/" . $this->template . "/javascript/custom.js");

?>

<!DOCTYPE html>
<html xmlns="//www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">

<head>
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,
	700italic,900italic|Dosis:200,300,400,500,600,700,800|Abel|Droid+Sans:400,700|Lato:100,300,400,700,900,100italic,300italic,
	400italic,700italic,900italic|Lora:400,700,400italic,700italic|PT+Sans:400,700,400italic,700italic|PT+Sans+Narrow:400,700|Quicksand:300,
	400,700|Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic|Lobster|Ubuntu+Condensed|Oxygen:400,300,700|Oswald:700,400,
	300|Open+Sans+Condensed:300,700,300italic|Roboto+Condensed:300italic,400italic,700italic,400,700,300|Open+Sans:300italic,400italic,
	600italic,700italic,800italic,800,700,400,600,300|Prosto+One|Francois+One|Comfortaa:700,300,400|Raleway:300,600,900,500,400,100,800,
	200,700|Roboto:300,700,500italic,900,300italic,400italic,900italic,100italic,100,500,400,700italic|Roboto+Slab:300,700,100,
	400|Share:700,700italic,400italic,400' rel='stylesheet' type='text/css'>

	<script src="//cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
	<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />


	<?php if ($this->params->get('favicon_file') != "") : ?>

		<link rel="shortcut icon" href="<?php echo $this->params->get('favicon_file') ?>" />

	<?php else : ?>

		<link rel="shortcut icon" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/favicon.ico" />

	<?php endif; ?>

	<jdoc:include type="head" />

	<?php echo $this->params->get('tracking_code') ?>

	<?php
	require_once(JPATH_BASE . '/templates/' . $this->template .
		'/template_details_style/template_details_style.inc.php');
	?>

	<?php
	if ($this->params->get('expand_preloader') !== "0") {
		require_once(JPATH_BASE . '/templates/' . $this->template .
			'/preloader/preloader_style.inc.php');
	}
	?>

	<?php
	if ($this->params->get('expand_preloader') !== "0") {
		require_once(JPATH_BASE . '/templates/' . $this->template .
			'/preloader/preloader_script.inc.php');
	}
	?>

</head>

<body class="site <?php echo $option
						. ' ' . $wrapper
						. ' view-' . $view
						. ($layout ? ' layout-' . $layout : ' no-layout')
						. ($task ? ' task-' . $task : ' no-task')
						. ($itemid ? ' itemid-' . $itemid : '')
						. ($pageclass ? ' ' . $pageclass : '')
						. $hasClass
						. ($this->direction == 'rtl' ? ' rtl' : '');
					?>">

	<!--==============================================
=            preloader html structure            =
===============================================-->

	<?php
	if ($this->params->get('expand_preloader') !== "0") {
		require_once(JPATH_BASE . '/templates/' . $this->template .
			'/preloader/preloader_html.inc.php');
	}
	?>

	<!--====  End of preloader html structure  ====-->

	<!-- start default position joomla 4 -->
	<div class="row topbar">
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
			<jdoc:include type="modules" name="topbar" style="html5" />
		</div>
	</div>
	<!-- end default position joomla 4 -->

	<div class="wrapperHeaderTop">
		<?php if ($this->countModules('Top1') || $this->countModules('Top2') || $this->countModules('Top3') || $this->countModules('Top4')) : ?>
			<div class="row">

				<div class="wrapper-top-2 col-lg-4 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="Top2" style="html5" />
				</div>
				<div class="wrapper-top-3 col-lg-4 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="Top3" style="html5" />

				</div>
				<div class="wrapper-top-4 col-lg-4 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="Top4" style="html5" />
				</div>
			</div>
		<?php endif; ?>
	</div>

	<div class="header">
		<?php if ($this->countModules('full_width_top')) : ?>
			<div class="full-width">
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="full_width_top" style="html5" />
				</div>
			</div>
		<?php endif; ?>

		<div class="container">
			<div class="row">
				<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 wrapper-top-7">
					<jdoc:include type="modules" name="Top7" style="html5" />
				</div>
				<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 wrapper-top-8">
					<jdoc:include type="modules" name="Top8" style="html5" />
				</div>
			</div>
		</div>

		<div id="header" class="container">

			<div class="row">
				<?php if ($topmenu) : ?>
					<div class="top_menu<?php print(($search && $topmenu) ? ' col-lg-8 col-md-8 col-sm-8 col-xs-12' : ' col-lg-12 col-md-12 col-sm-12 col-xs-12'); ?>">
						<div id="site-navigation-top" class="navbar" role="navigation">
							<div class="navbar-header">
								<button type="button" class="navbar-toggle" data-toggle="collapse_os" data-target="#top-navbar-collapse">
									<i class="fa fa-bars"></i>
								</button>
							</div>
							<div id="top-navbar-collapse" class="collapse_os navbar-collapse navbar-ex1-collapse_os">
								<jdoc:include type="modules" name="topmenu" style="html5" />
							</div>
						</div><!-- #site-navigation -->
					</div>
				<?php endif; ?>
				<?php if ($search) : ?>
					<div id="Search" class="col-lg-4 col-md-2 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="Search" style="html5" />
					</div>
				<?php endif; ?>

			</div>



			<div class="row">

				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="below-top" style="html5" />
				</div>



			</div>
		</div>
		<!--id header-->
		<div class="container">
			<div class="row">

				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 wrapper-top-5">
					<jdoc:include type="modules" name="Top5" style="html5" />
				</div>

			</div>
		</div>
		<div class="row">

			<div class="col-lg-2 col-md-12 col-sm-12 col-xs-12 wrapperLogo">
				<?php if ($this->params->get('logo_file')) { ?>
					<div id="logo">
						<a href="<?php echo $this->params->get('logo_link') ?>">
							<img src="<?php echo $this->params->get('logo_file') ?>" alt="<?php echo $sitename ?>" />
						</a>
					</div>
				<?php } elseif ($this->params->get('siteTitle')) {
					$logo = '<span title="' . $sitename . '">' . htmlspecialchars($this->params->get('siteTitle'), ENT_COMPAT, 'UTF-8') . '</span>';
					echo '<div id="logo">' . $logo . '</div>';
				} ?>
			</div>

			<div class="col-lg-8 col-md-12 col-sm-12 col-xs-12 wrapperMainMenu">
				<?php if ($this->countModules('menu')) : ?>
					<div class="main_menu col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<nav id="site-navigation-main" class="navbar" role="navigation">
							<div class="navbar-header">
								<button type="button" class="navbar-toggle" data-toggle="collapse_os" data-target="#main-navbar-collapse">
									<i class="fa fa-bars"></i>
								</button>
							</div>
							<div id="main-navbar-collapse" class="collapse_os navbar-collapse activeMenu">
								<jdoc:include type="modules" name="menu" style="html5" />
							</div>
						</nav><!-- #site-navigation -->
					</div>
				<?php endif; ?>
			</div>

			<div class="col-lg-2 col-md-12 col-sm-12 col-xs-12 wrapper-top-1">
				<jdoc:include type="modules" name="Top1" style="html5" />
			</div>

		</div>


		<div class="row">


			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
				<jdoc:include type="modules" name="Top6" style="html5" />
			</div>
		</div>




	</div>

	<!--class header-->


	<div class="container">
		<div>
			<jdoc:include type="message" />
		</div>
	</div>

	<!-- start default position joomla 4 -->
	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
		<jdoc:include type="modules" name="banner" style="html5" />
	</div>
	<!-- end default position joomla 4 -->

	<div id="wrapper">

		<div class="wrapperSlideshow col-lg-12 col-md-12 col-sm-12 col-xs-12">
			<jdoc:include type="modules" name="Slideshow" style="html5" />
		</div>

		<div class="container">
			<div class="row">
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-28" style="html5" />
				</div>
			</div>
		</div>
		<div class="slider-row">
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
				<jdoc:include type="modules" name="position-15" style="html5" />
			</div>
		</div>

		<?php if ($this->countModules('Breadcrumbs') || $this->countModules('position-0')) : ?>
			<div class="container">
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="Breadcrumbs" style="html5" />
						<jdoc:include type="modules" name="position-0" style="html5" />
					</div>
				</div>
			</div>
		<?php endif; ?>

		<div class="slider-row row slider-row-search-products">
			<div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
				<jdoc:include type="modules" name="position-29" style="html5" />
			</div>
			<div class="col-lg-8 col-md-12 col-sm-12 col-xs-12">
				<jdoc:include type="modules" name="position-30" style="html5" />
			</div>
		</div>

		<!-- start default position joomla 4 -->
		<div class="container">
			<div class="row">
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="top-a" style="html5" />
				</div>
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="top-b" style="html5" />
				</div>
			</div>
		</div>
		<!-- end default position joomla 4 -->

		<div class="row row-center">
			<?php if ($this->countModules('position-19-left')) : ?>
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-19-left" style="html5" />
				</div>
			<?php endif; ?>

			<?php if ($this->countModules('position-19-center')) : ?>
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-19-center" style="html5" />
				</div>
			<?php endif; ?>

			<?php if ($this->countModules('position-19-right')) : ?>
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-19-right" style="html5" />
				</div>
			<?php endif; ?>
		</div>
		<?php if ($this->countModules('position-31')) : ?>
			<div>
				<jdoc:include type="modules" name="position-31" style="html5" />
			</div>
		<?php endif; ?>

		<div class="row row-center">
			<?php if ($this->countModules('position-32-left')) : ?>
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-32-left" style="html5" />
				</div>
			<?php endif; ?>

			<?php if ($this->countModules('position-32-center')) : ?>
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-32-center" style="html5" />
				</div>
			<?php endif; ?>

			<?php if ($this->countModules('position-32-right')) : ?>
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-32-right" style="html5" />
				</div>
			<?php endif; ?>
		</div>

		<?php if ($this->countModules('position-20') || $this->countModules('position-21')) : ?>
			<div class="container">
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="position-20" style="html5" />
						<jdoc:include type="modules" name="position-21" style="html5" />
					</div>
				</div>
			</div>
		<?php endif; ?>

		<?php if ($this->countModules('position-23') || $this->countModules('position-24')) : ?>
			<div class="container">
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="position-23" style="html5" />
						<jdoc:include type="modules" name="position-24" style="html5" />
					</div>
				</div>
			</div>
		<?php endif; ?>

		<?php if ($this->countModules('position-25')) : ?>
			<div>
				<jdoc:include type="modules" name="position-25" style="html5" />
			</div>
		<?php endif; ?>

		<?php if ($this->countModules('position-26') || $this->countModules('position-27')) : ?>
			<div class="container">
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="position-26" style="html5" />
						<jdoc:include type="modules" name="position-27" style="html5" />
					</div>
				</div>
			</div>
		<?php endif; ?>

		<?php if ($this->countModules('position-22')) : ?>
			<div>
				<jdoc:include type="modules" name="position-22" style="html5" />
			</div>
		<?php endif; ?>

		<div class="container central_content">
			<div class="row">
				<?php if ($left) : ?>
					<div class="sidebar-left col-lg-3 col-md-3 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="sidebar-left" style="html5" />
					</div>
				<?php endif; ?>

				<div id="contentBox" class="<?php if ($left && $right) {
												print('col-lg-6 col-md-6 col-sm-12 col-xs-12');
											} else if ($left || $right) {
												print('col-lg-9 col-md-9 col-sm-9 col-xs-12');
											} else {
												print('col-lg-12 col-md-12 col-sm-12 col-xs-12');
											} ?>">

					<!-- start default position joomla 4 -->
					<jdoc:include type="modules" name="main-top" style="html5" />
					<!-- end default position joomla 4 -->

					<jdoc:include type="modules" name="central_content" style="html5" />
					<div>
						<jdoc:include type="component" />
					</div>

					<!-- start default position joomla 4 -->
					<jdoc:include type="modules" name="main-bottom" style="html5" />
					<!-- end default position joomla 4 -->

				</div>

				<?php if ($right) : ?>
					<div class="sidebar-right col-lg-3 col-md-3 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="sidebar-right" style="html5" />
					</div>
				<?php endif; ?>
			</div>


			<?php if ($this->countModules('position-16') || $this->countModules('position-17')) : ?>
				<div class="row">
					<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="position-16" style="html5" />
					</div>
					<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="position-17" style="html5" />
					</div>
				</div>
			<?php endif; ?>

			<?php if ($this->countModules('position-1')) : ?>
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="position-1" style="html5" />
					</div>
				</div>
			<?php endif; ?>

			<?php if ($this->countModules('Feature1') || $this->countModules('position-2') || $this->countModules('Feature2') || $this->countModules('position-3') || $this->countModules('Feature3') || $this->countModules('position-4')) : ?>
				<div class="row row-3-col">
					<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
						<jdoc:include type="modules" name="position-2" style="html5" />
					</div>
					<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
						<jdoc:include type="modules" name="position-3" style="html5" />
					</div>
					<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
						<jdoc:include type="modules" name="position-4" style="html5" />
					</div>
				</div>
				<div class="row row-2-col">
					<div class="col-sm-6 col-xs-12">
						<jdoc:include type="modules" name="Feature1" style="html5" />
					</div>
					<div class="col-sm-6 col-xs-12">
						<jdoc:include type="modules" name="Feature2" style="html5" />
					</div>
				</div>
				<div class="row row-1-col">
					<div class="col-xs-12">
						<jdoc:include type="modules" name="Feature3" style="html5" />
					</div>
				</div>
			<?php endif; ?>

			<div id="globalContent">

				<?php if ($this->countModules('ContentTop1') || $this->countModules('position-5') || $this->countModules('ContentTop2') || $this->countModules('position-6')) : ?>
					<div class="row">
						<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
							<jdoc:include type="modules" name="ContentTop1" style="html5" />
							<jdoc:include type="modules" name="position-5" style="html5" />
						</div>
						<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
							<jdoc:include type="modules" name="ContentTop2" style="html5" />
							<jdoc:include type="modules" name="position-6" style="html5" />
						</div>
					</div>
				<?php endif; ?>



				<?php if ($this->countModules('ContentBottom1') || $this->countModules('position-7') || $this->countModules('ContentBottom2') || $this->countModules('position-8')) : ?>
					<div class="row">
						<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
							<jdoc:include type="modules" name="ContentBottom1" style="html5" />
							<jdoc:include type="modules" name="position-7" style="html5" />
						</div>
						<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
							<jdoc:include type="modules" name="position-8" style="html5" />
							<jdoc:include type="modules" name="ContentBottom2" style="html5" />
						</div>
					</div>

				<?php endif; ?>

			</div>
			<!--globalContent-->

			<?php if ($this->countModules('Bottom1') || $this->countModules('position-9') || $this->countModules('Bottom2') || $this->countModules('position-10') || $this->countModules('Bottom3') || $this->countModules('position-11') || $this->countModules('Bottom4') || $this->countModules('position-12')) : ?>
				<div class="row">
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
						<jdoc:include type="modules" name="Bottom1" style="html5" />
						<jdoc:include type="modules" name="position-9" style="html5" />
					</div>
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
						<jdoc:include type="modules" name="Bottom2" style="html5" />
						<jdoc:include type="modules" name="position-10" style="html5" />
					</div>
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
						<jdoc:include type="modules" name="Bottom3" style="html5" />
						<jdoc:include type="modules" name="position-11" style="html5" />
					</div>
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
						<jdoc:include type="modules" name="Bottom4" style="html5" />
						<jdoc:include type="modules" name="position-12" style="html5" />
					</div>
				</div>
			<?php endif; ?>
		</div>

		<!-- start default position joomla 4 -->
		<div class="container">
			<div class="row">
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="bottom-a" style="html5" />
				</div>
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="bottom-b" style="html5" />
				</div>
			</div>
		</div>
		<!-- end default position joomla 4 -->

		<?php if ($this->countModules('full_width_middle')) : ?>
			<div class="row full-width">
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="full_width_middle" style="html5" />
				</div>
			</div>
		<?php endif; ?>

	</div>
	<!--wrapper-->

	<div class="footer">
		<?php if ($this->countModules('full_width_bottom')) : ?>
			<div class="full-width">
				<jdoc:include type="modules" name="full_width_bottom" style="html5" />
			</div>
		<?php endif; ?>
		<div class="container">



			<?php if ($this->countModules('footerMenu')) : ?>
				<div class="row">
					<div class="footer_menu">
						<nav id="site-navigation-footer" class="navbar" role="navigation">
							<div class="navbar-header">
								<button type="button" class="navbar-toggle" data-toggle="collapse_os" data-target="#footer-navbar-collapse">
									<i class="fa fa-bars"></i>
									<?php if ($this->countModules('Menu_button_text')) : ?>
										<div class="button_text">
											<jdoc:include type="modules" name="Menu_button_text" style="html5" />
										</div>
									<?php endif; ?>
								</button>
							</div>
							<div id="footer-navbar-collapse" class="collapse_os navbar-collapse">
								<jdoc:include type="modules" name="footerMenu" style="html5" />
							</div>
						</nav><!-- #site-navigation -->
					</div>
				</div>
			<?php endif; ?>

			<?php if ($this->countModules('position-13')) : ?>
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="position-13" style="html5" />
					</div>
				</div>
			<?php endif; ?>


			<div class="row row-footer-top ">
				<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
					<jdoc:include type="modules" name="Footer1" style="html5" />
				</div>
				<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
					<jdoc:include type="modules" name="Footer2" style="html5" />
				</div>
				<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
					<jdoc:include type="modules" name="Footer3" style="html5" />
				</div>
				<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
					<jdoc:include type="modules" name="Footer4" style="html5" />
				</div>
			</div>

			<!-- start default position joomla 4 -->
			<div class="container">
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<jdoc:include type="modules" name="footer" style="html5" />
					</div>
				</div>
			</div>
			<!-- end default position joomla 4 -->



			<div class="content_footer row">
				<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-18" style="html5" />
				</div>
				<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
					<jdoc:include type="modules" name="position-14" style="html5" />
				</div>
			</div>
			<!--content_footer-->
			<div class="row">
				<div class="copyrights col-lg-6 col-md-12 col-sm-12 col-xs-12">
					<?php echo $copyrights; ?>
				</div>
				<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
					<ul class="soc_icons">
						<?php foreach ($soc as $key => $value) {
							if ($value != null) { ?>
								<li>
									<a href="<?php echo $value ?>" class="fab <?php echo $key ?>" target="_blank" rel="nofollow"></a>
								</li>
						<?php }
						} ?>
					</ul>
				</div>
			</div>
		</div>

		<div class="row">
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
				<jdoc:include type="modules" name="debug" style="html5" />
			</div>
		</div>



	</div>
	<!--id footer-->
	<div id="toTop"><i class="fas fa-angle-up"></i></div>
	<script>
		jQuerOs(document).ready(function() {
			var toTopButton = jQuerOs('#toTop');

			jQuerOs(window).scroll(function() {
				if (jQuerOs(this).scrollTop() > 100) {
					toTopButton.fadeIn();
				} else {
					toTopButton.fadeOut();
				}
			});

			toTopButton.click(function() {
				jQuerOs('html, body').animate({
					scrollTop: 0
				}, 500);
			});
		});
	</script>
	<script>
		new WOW().init();
	</script>
</body>

</html>