{*
 **********************************************************
 * Developed by: Team Theme Metro
 * Website: http://www.thememetro.com
 **********************************************************
*}

<!-- layout-left.tpl -->

<section class="navbar-side fixed{if $themesettings.headersetting.sidebarbg eq "1"} primary{elseif $themesettings.headersetting.sidebarbg eq "2"} dark{else}{/if} hidden-d-print-none" id="navbar-side" role="navigation">					
	{include file="$template/core/includes/side-menu-left.tpl"}			
</section>
	
<div id="page-wrapper">	
<section id="main-navbar"{if $templatefile eq "order" && $themesettings.orderform.opcnoheader} class="d-none"{/if}>
    <nav id="nav" class="navbar cros-navbar navbar-expand-lg left-layout{if $themesettings.headersetting.navhover == "1"} menu-hover{/if}{if $themesettings.headersetting.navbarbg == "1"} primary{elseif $themesettings.headersetting.navbarbg == "2"} dark{else}{/if}" role="navigation">
		
		{if $themesettings.headersetting.enablepreheader}
			{include file="$template/core/includes/pre-header.tpl"}
		{/if}
		
		
			<div class="container">
				<!-- Brand and toggle get grouped for better mobile display -->
				<div class="navbar-header">
					<div class="logo-section">
						<button type="button" class="navbar-toggler" data-toggle="collapse" id="navbar-side-toggle">
							<span></span>
						</button>
						<!--
						Changed by Roland for Production
						<a class="logo d-block d-lg-none" href="{$WEB_ROOT}/">
						-->
						<a class="logo d-block d-lg-none" href="https://www.thurdata.ch/">
							{if $themesettings.general.enablelogo}
								<img src="{$themesettings.general.logourl}" alt="{$companyname}" class="logo-light img-responsive" />
								{if $themesettings.general.darklogo}
									<img src="{$themesettings.general.darklogo}" alt="{$companyname}" class="logo-dark img-responsive" />
								{else}
								<span class="logo-dark">{$companyname}</span>
								{/if}
							{else}
								<span class="logo-light">{$companyname}</span>
							{/if}
						</a>
					</div>
					<div class="top">
						<ul id="mobile-header" class="nav secondary-menu-mobile">
							{include file="$template/core/includes/navbar-right.tpl" navbar=$secondaryNavbar}	
						</ul>
					</div>
				</div>

				<!-- Collect the nav links, forms, and other content for toggling -->
				<div class="collapse navbar-collapse" id="primary-nav">
					<ul id="header" class="nav navbar-nav navbar-right ml-auto d-none d-md-block d-lg-block d-xl-block">
						{include file="$template/core/includes/navbar-right.tpl" navbar=$secondaryNavbar}
					</ul>
				</div><!-- /.navbar-collapse -->
			</div>
		
    </nav>
	
	{include file="$template/includes/verifyemail.tpl"}
</section>


{if $themesettings.general.enablepromo}
	{if $themesettings.general.promovisibility == '1'}
		{if $loggedin} 
			{include file="$template/core/includes/promo-banner.tpl"}
		{/if}
		
	{elseif $themesettings.general.promovisibility == '2'}
		{if !$loggedin} 
			{include file="$template/core/includes/promo-banner.tpl"}
		{/if}	
	{else}
		{include file="$template/core/includes/promo-banner.tpl"}
	{/if}
{/if}

{include file="$template/includes/network-issues-notifications.tpl"}

{if $templatefile eq "pagebuilder" or $templatefile eq "homepage"}{else}
<section id="main-body{if $skipMainBodyContainer || $templatefile eq "domain-pricing"}-smb{/if}">
    <div class="container{if $skipMainBodyContainer || $templatefile eq "domain-pricing"}-fluid without-padding{/if}">
		<div class="main-container{if ($primarySidebar->hasChildren() || $secondarySidebar->hasChildren() || $skipMainBodyContainer)}{else}{if $templatefile eq "viewinvoice" || $templatefile eq "viewquote" || $templatefile eq "domain-pricing" || $templatefile == "affiliates" || $templatefile == "upgrade-configure"}{else} main-container-nosidebar{/if}{/if}{if $templatefile == 'clientregister'} main-container-nosidebar{/if}">
			<div class="row">
				
				{if !$inShoppingCart && !$skipMainBodyContainer}
					<div class="col-12">
						{include file="$template/includes/pageheader.tpl" title=$displayTitle desc=$tagline showbreadcrumb=true}
					</div>
				{/if}
				
				{if !$inShoppingCart && ($primarySidebar->hasChildren() || $secondarySidebar->hasChildren()) && $templatefile !== 'clientregister' || $templatefile == "affiliates"}
					<div class="col-xl-3 d-block d-xl-none">
						<div class="sidebar sidebar-primary{if $themesettings.clientarea.sidebars == "1"} default{/if}">
							{include file="$template/includes/sidebar.tpl" sidebar=$primarySidebar}
							{include file="$template/core/includes/sidebar-primary-custom.tpl"}
						</div>
						{if !$inShoppingCart && $secondarySidebar->hasChildren()}
							<div class="d-none d-xl-block sidebar sidebar-secondary{if $themesettings.clientarea.sidebars == "1"} default{/if}">
								{include file="$template/core/includes/sidebar-secondary-custom.tpl"}
								{include file="$template/includes/sidebar.tpl" sidebar=$secondarySidebar}
								{include file="$template/core/includes/sidebar-promo.tpl" sidebar=$secondarySidebar}
							</div>
						{/if}
					</div>
				{/if}
				

			<!-- Container for main page display content -->

			<div class="{if !$inShoppingCart && ($primarySidebar->hasChildren() || $secondarySidebar->hasChildren()) && $templatefile !== 'clientregister' || $templatefile == "affiliates"}col-xl-9{else}col-12{/if} primary-content left-layout">


{/if}
<!-- /layout-left.tpl -->