<!DOCTYPE html>
<html <?php language_attributes(); ?>>
	<head>
		<meta charset="<?php bloginfo( 'charset' ); ?>">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="profile" href="https://gmpg.org/xfn/11">
		<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
			<link rel="pingback" href="<?php echo esc_url(get_bloginfo( 'pingback_url' )); ?>">
		<?php endif; ?>
		<?php wp_head(); ?>
	</head>
<body <?php body_class();?> >
<?php wp_body_open(); ?>
<?php $led_tv_preloader = get_theme_mod('led_tv_preloader_setting');
  if($led_tv_preloader == '1') { ?>
	<div class="loading">
		<div class="loader">
			<?php $led_tv_preloader_text = get_theme_mod('led_tv_preloader_text','Loading');
			if (!empty($led_tv_preloader_text)) { ?> <?php echo esc_html($led_tv_preloader_text); ?> <?php } ?>
		  <span></span>
		</div>
	</div>
<?php } ?>

	<div id="page" class="site">
		<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'led-tv' ); ?></a>
	
	<?php 
		get_template_part('template-parts/sections/section','header'); 
		
		if ( !is_page_template( 'templates/template-frontpage.php' ) ) {
			led_tv_breadcrumbs_style();  
		}
	?>
	
	<div id="content" class="led-tv-content">