<?php

use Roots\Sage\Setup;
use Roots\Sage\Wrapper;

?>

<!doctype html>
<html <?php language_attributes(); ?>>
	<?php get_template_part('template-parts/head'); ?>
	<body <?php body_class(); ?>>
		<!-- Google Tag Manager (noscript) -->
		<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MXQZ88K"
		height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
		<!-- End Google Tag Manager (noscript) -->
		
		<?php
		wp_body_open();
		?>
		<!--[if IE]>
		<div class="alert alert-warning">
			<?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'sage'); ?>
		</div>
		<![endif]-->
		<?php if (is_page_template('blank-page.php')) { 
			} else {
  				do_action('get_header');
				get_template_part('template-parts/header');
			}
		?>

		<main id="main-el" class="main">
			<?php include Wrapper\template_path(); ?>
		</main><!-- /.main --><!-- /.wrap -->
		<!-- /.sidebar
			<?php if (Setup\display_sidebar()) : ?>
				<aside class="sidebar">
					<?php include Wrapper\sidebar_path(); ?>
				</aside>
			<?php endif; ?>
		-->
		<?php if (is_page_template('blank-page.php')) { 
			} else {
  				do_action('get_footer');
				get_template_part('template-parts/footer');
				wp_footer();
			}
		?>
		
		<style>
			#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
				background-color: #ff8c62;
				border-color: #f26835;
				color: #ffffff;
			}
			#CybotCookiebotDialogPoweredbyCybot {
				display: none !important;
			}
			#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
				border: 2px solid #f26835 !important;
				font-size: 15px !important;
			}
			#CybotCookiebotDialog #CybotCookiebotDialogBodyContentText a, #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonIABHeaderViewPartnersLink, #CybotCookiebotDialog #CybotCookiebotDialogDetailBulkConsentList dt a, #CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a, #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABDescription a, #CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink, #CybotCookiebotDialogDetailBodyContentTextAbout a {
				color: #000000 !important;
				font-size: 15px !important;
			}
			#CybotCookiebotDialogBodyContentText a {
				color: #000000 !important;
				text-decoration: underline !important;
				font-size: 15px !important;
			}
			#CybotCookiebotDialogBodyEdgeMoreDetailsLink {
				color: #000000 !important;
				text-decoration: underline !important;
				font-size: 15px !important;
			}
			#CybotCookiebotDialog h2 {
				font-size: 18px !important;
			}
			#CybotCookiebotDialogBodyLevelButtonsSelectPane {
				display: none !important;
			}
			#CybotCookiebotDialogBodyButtonDecline {
				display: none !important;
			}
			#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
				display: none !important;
				border: 2px solid #000000 !important;
			}
			@media only screen and (min-width: 1280px) {
				#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton:not(:first-of-type) {
					margin-bottom: 0.5em;
					margin-top: 50px;
				}
			}
			#CybotCookiebotDialogPoweredByText {
				display: none !important;
			}
		</style>
		
		<style>
			.header-block {
				position: absolute !important;
			}
		</style>	
		
	<!-- Google Ads Interval Timer -->	
	<script>
      setInterval(function(){googletag.pubads().refresh([adSlot1]);}, 240000);
      setInterval(function(){googletag.pubads().refresh([adSlot2]);}, 240000);
      setInterval(function(){googletag.pubads().refresh([adSlot3]);}, 240000);
      setInterval(function(){googletag.pubads().refresh([adSlot4]);}, 240000);
    </script>
	<!-- Google Ads Interval Timer -->
		
	</body>
	
</html>
