<?php
/**
 * wp-bowling WordPress Theme, ordasvit.com
 * wp-bowling is distributed under the terms of the GNU GPL
 * Copyright: OrdaSvit, Andrey Kvasnevskiy, ordasvit.com
 */

get_header();

?>

<div id="main" class="site-main">

	<div id="wrapper-content">
		<div class="row">

			<?php
			if (!wp_bowling_show_position_preview("top_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("top_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_left_center") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left_center") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left_center") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_left_center") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('top_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("top_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("top_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_left") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_left") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('top_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("top_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("top_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_left_center") && wp_bowling_is_active_sidebar("top_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") && wp_bowling_is_active_sidebar("top_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left_center") && wp_bowling_is_active_sidebar("top_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left_center") || wp_bowling_is_active_sidebar("top_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_right") || wp_bowling_is_active_sidebar("top_left_center") || wp_bowling_is_active_sidebar("top_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('top_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("top_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("top_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("top_left") && wp_bowling_is_active_sidebar("top_left_center") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("top_left") && wp_bowling_is_active_sidebar("top_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left_center") && wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left") || wp_bowling_is_active_sidebar("top_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left_center") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("top_left") || wp_bowling_is_active_sidebar("top_left_center") || wp_bowling_is_active_sidebar("top_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('top_right'); ?>
				</div>
			<?php }
			; ?>

		</div>

		<div class="row">

			<?php
			if (!wp_bowling_show_position_preview("line1_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line1_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_left_center") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left_center") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left_center") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_left_center") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12 title_blog');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line1_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line1_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line1_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_left") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_left") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line1_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line1_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line1_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_left_center") && wp_bowling_is_active_sidebar("line1_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") && wp_bowling_is_active_sidebar("line1_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left_center") && wp_bowling_is_active_sidebar("line1_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left_center") || wp_bowling_is_active_sidebar("line1_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_right") || wp_bowling_is_active_sidebar("line1_left_center") || wp_bowling_is_active_sidebar("line1_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line1_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line1_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line1_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line1_left") && wp_bowling_is_active_sidebar("line1_left_center") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line1_left") && wp_bowling_is_active_sidebar("line1_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left_center") && wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left") || wp_bowling_is_active_sidebar("line1_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left_center") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line1_left") || wp_bowling_is_active_sidebar("line1_left_center") || wp_bowling_is_active_sidebar("line1_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line1_right'); ?>
				</div>
			<?php }
			; ?>

		</div>

		<div class="container wrapper-about-us">
			<div class="row">
				<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
					<div class="wrapper-about-us-img">
						<img class="img-1" src="<?php echo esc_url(get_template_directory_uri() . '/images/about-us-img-1.jpg'); ?>"
							alt="about-us-img">
						<img class="img-2" src="<?php echo esc_url(get_template_directory_uri() . '/images/about-us-img-2.jpg'); ?>"
							alt="about-us-img">
					</div>
				</div>
				<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
					<div class="wrapper-about-us-desc">
						<h3>
							<?php esc_html_e('WE ARE THE BEST bowling CLUB FOR A CHAMPION', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('There are many variations of passages of Lorem Ipsum available, but the majority have
							suffered alteration in some form, by injected humour, or randomised words which don\'t look
							even slightly believable.', 'wp-bowling') ?>
						</p>
						<div class="wrapper-about-us-desc-list">
							<div>
								<i class="fas fa-calendar-check"></i>
								<p class="wrapper-about-us-desc-list-year">
									<?php esc_html_e('10+', 'wp-bowling') ?>
								</p>
								<p>
									<?php esc_html_e('Years Of Experiences', 'wp-bowling') ?>
								</p>
							</div>
							<div>
								<p>
									<i class="far fa-check-circle"></i>
									<?php esc_html_e('It has roots in a piece', 'wp-bowling') ?>
								</p>
								<p>
									<i class="far fa-check-circle"></i>
									<?php esc_html_e('Lorem Ipsum comes from', 'wp-bowling') ?>
								</p>
								<p>
									<i class="far fa-check-circle"></i>
									<?php esc_html_e('This book is a treatise', 'wp-bowling') ?>
								</p>
								<p>
									<i class="far fa-check-circle"></i>
									<?php esc_html_e('Lorem Ipsum, you need', 'wp-bowling') ?>
								</p>
								<p>
									<i class="far fa-check-circle"></i>
									<?php esc_html_e('The point of using', 'wp-bowling') ?>
								</p>
								<p>
									<i class="far fa-check-circle"></i>
									<?php esc_html_e('All the Lorem', 'wp-bowling') ?>
								</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="row">

			<?php
			if (!wp_bowling_show_position_preview("line2_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line2_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_right_center") && wp_bowling_is_active_sidebar("line2_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_right_center") && wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 line2 left');
				} else if (wp_bowling_is_active_sidebar("line2_right_center") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 left');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 left');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_right_center") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 line2 left');
				} else {
					echo ('col-lg-12 menu_title');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line2_left'); ?>

				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line2_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line2_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line2_left") && wp_bowling_is_active_sidebar("line2_right_center") && wp_bowling_is_active_sidebar("line2_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line2_left") && wp_bowling_is_active_sidebar("line2_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left") && wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_right_center") && wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left") || wp_bowling_is_active_sidebar("line2_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 video_line right');
				} else if (wp_bowling_is_active_sidebar("line2_right_center") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 right');
				} else if (wp_bowling_is_active_sidebar("line2_left") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 right');
				} else if (wp_bowling_is_active_sidebar("line2_left") || wp_bowling_is_active_sidebar("line2_right_center") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 line2 right');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line2_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line2_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line2_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_left") && wp_bowling_is_active_sidebar("line2_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left") && wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_left") || wp_bowling_is_active_sidebar("line2_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 line2');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line2_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line2_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line2_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_right_center") && wp_bowling_is_active_sidebar("line2_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") && wp_bowling_is_active_sidebar("line2_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_right_center") || wp_bowling_is_active_sidebar("line2_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line2_left_center") || wp_bowling_is_active_sidebar("line2_right_center") || wp_bowling_is_active_sidebar("line2_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12 line2');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line2_right'); ?>
				</div>
			<?php }
			; ?>

		</div>

		<div class="container">
			<div class="row">

				<?php
				if (!wp_bowling_show_position_preview("line3_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line3_left")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_right_center") && wp_bowling_is_active_sidebar("line3_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_right_center")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_right_center") && wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_right_center")) {
						echo ('col-md-6 col-sm-6 col-xs-12 title_left');
					} else if (wp_bowling_is_active_sidebar("line3_right_center") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_right_center") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 title_left');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line3_left'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("line3_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line3_left_center")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line3_left") && wp_bowling_is_active_sidebar("line3_right_center") && wp_bowling_is_active_sidebar("line3_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line3_left") && wp_bowling_is_active_sidebar("line3_right_center")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left") && wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_right_center") && wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left") || wp_bowling_is_active_sidebar("line3_right_center")) {
						echo ('col-md-6 col-sm-6 col-xs-12 icon_left right');
					} else if (wp_bowling_is_active_sidebar("line3_right_center") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 right');
					} else if (wp_bowling_is_active_sidebar("line3_left") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 right');
					} else if (wp_bowling_is_active_sidebar("line3_left") || wp_bowling_is_active_sidebar("line3_right_center") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 icon_left right');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line3_left_center'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("line3_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line3_right_center")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_left") && wp_bowling_is_active_sidebar("line3_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left") && wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_left") || wp_bowling_is_active_sidebar("line3_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line3_right_center'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("line3_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line3_right")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_right_center") && wp_bowling_is_active_sidebar("line3_left")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_right_center")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") && wp_bowling_is_active_sidebar("line3_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_right_center")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_right_center") || wp_bowling_is_active_sidebar("line3_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line3_left_center") || wp_bowling_is_active_sidebar("line3_right_center") || wp_bowling_is_active_sidebar("line3_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line3_right'); ?>
					</div>
				<?php }
				; ?>

			</div>
		</div>

		<div class="row">

			<?php
			if (!wp_bowling_show_position_preview("line4_left", 'col-md-3 col-sm-3 col-xs-12 blocks left') && wp_bowling_is_active_sidebar("line4_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_right_center") && wp_bowling_is_active_sidebar("line4_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12 blocks left';
				} else if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_right_center") && wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_right_center") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_right_center") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line4_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line4_left_center", 'col-md-3 col-sm-3 col-xs-12 blocks in_up') && wp_bowling_is_active_sidebar("line4_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line4_left") && wp_bowling_is_active_sidebar("line4_right_center") && wp_bowling_is_active_sidebar("line4_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12 blocks in_up';
				} else if (wp_bowling_is_active_sidebar("line4_left") && wp_bowling_is_active_sidebar("line4_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left") && wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_right_center") && wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left") || wp_bowling_is_active_sidebar("line4_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_right_center") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left") || wp_bowling_is_active_sidebar("line4_right_center") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line4_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line4_right_center", 'col-md-3 col-sm-3 col-xs-12 blocks in_up') && wp_bowling_is_active_sidebar("line4_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_left") && wp_bowling_is_active_sidebar("line4_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12 blocks in_up';
				} else if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left") && wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_left") || wp_bowling_is_active_sidebar("line4_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line4_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line4_right", 'col-md-3 col-sm-3 col-xs-12 blocks right') && wp_bowling_is_active_sidebar("line4_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_right_center") && wp_bowling_is_active_sidebar("line4_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12 blocks right';
				} else if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") && wp_bowling_is_active_sidebar("line4_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_right_center") || wp_bowling_is_active_sidebar("line4_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line4_left_center") || wp_bowling_is_active_sidebar("line4_right_center") || wp_bowling_is_active_sidebar("line4_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line4_right'); ?>
				</div>
			<?php }
			; ?>

		</div>

		<div class="container wrapper-we-offer">
			<h3 class="my_widget_title_custom">
				<?php _e('what we offer', 'wp-bowling'); ?>
			</h3>
			<div class="row">
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-we-offer">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/halls.jpg'); ?>"
							alt="we-offer">
						<i class="fas fa-door-open"></i>
						<h3>
							<?php esc_html_e('Best halls', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('There are many variations of passages of Lorem Ipsum available, but the majority have
							suffered alteration in some form', 'wp-bowling') ?>
						</p>
					</div>
				</div>
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-we-offer">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/games.jpg'); ?>"
							alt="we-offer" />
						<i class="fas fa-bowling-ball"></i>
						<h3>
							<?php esc_html_e('Best games', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('If you are going to use a passage of Lorem Ipsum, you need to be sure there isn\'t anything
							embarrassing hidden', 'wp-bowling') ?>
						</p>
					</div>
				</div>
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-we-offer">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/inventory.jpg'); ?>"
							alt="we-offer" />
						<i class="fas fa-tshirt"></i>
						<h3>
							<?php esc_html_e('Best inventory', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has
							been the industry\'s', 'wp-bowling') ?>
						</p>
					</div>
				</div>
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-we-offer">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/quality.jpg'); ?>"
							alt="we-offer" />
						<i class="fas fa-chart-line"></i>
						<h3>
							<?php esc_html_e('Best Quality', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters,
							as opposed to using', 'wp-bowling') ?>
						</p>
					</div>
				</div>
			</div>
		</div>

		<div class="container">
			<div class="row">

				<?php
				if (!wp_bowling_show_position_preview("center_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("center_left")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_right_position") && wp_bowling_is_active_sidebar("center_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_right_position")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_right_position") && wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_right_position")) {
						echo ('col-md-6 col-sm-6 col-xs-12 icon_left left');
					} else if (wp_bowling_is_active_sidebar("center_right_position") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 icon_left left');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 icon_left left');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_right_position") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 icon_left left');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('center_left'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("center_left_position", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("center_left_position")) {
					?>
					<div class="<?php if (wp_bowling_is_active_sidebar("center_left") && wp_bowling_is_active_sidebar("center_right_position") && wp_bowling_is_active_sidebar("center_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("center_left") && wp_bowling_is_active_sidebar("center_right_position")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left") && wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_right_position") && wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left") || wp_bowling_is_active_sidebar("center_right_position")) {
						echo ('col-md-6 col-sm-6 col-xs-12 title_left');
					} else if (wp_bowling_is_active_sidebar("center_right_position") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 title_left');
					} else if (wp_bowling_is_active_sidebar("center_left") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 title_left');
					} else if (wp_bowling_is_active_sidebar("center_left") || wp_bowling_is_active_sidebar("center_right_position") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12 title_left');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('center_left_position'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("center_right_position", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("center_right_position")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_left") && wp_bowling_is_active_sidebar("center_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left") && wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_left") || wp_bowling_is_active_sidebar("center_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('center_right_position'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("center_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("center_right")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_right_position") && wp_bowling_is_active_sidebar("center_left")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_right_position")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") && wp_bowling_is_active_sidebar("center_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_right_position") && wp_bowling_is_active_sidebar("center_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_right_position")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_right_position") || wp_bowling_is_active_sidebar("center_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("center_left_position") || wp_bowling_is_active_sidebar("center_right_position") || wp_bowling_is_active_sidebar("center_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('center_right'); ?>
					</div>
				<?php }
				; ?>

			</div>
		</div>

		<div class="container">
			<div class="row">

				<?php
				if (!wp_bowling_show_position_preview("sidebar_left", 'col-lg-3 col-md-12 col-sm-12 col-xs-12') && wp_bowling_is_active_sidebar("sidebar_left")) { ?>
					<div class="col-lg-3 col-md-12 col-sm-12 col-xs-12 side_bar_left_page">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('sidebar_left'); ?>
					</div>
				<?php }
				; ?>

				<div class="<?php if (wp_bowling_is_active_sidebar("sidebar_right") && wp_bowling_is_active_sidebar("sidebar_left")) {
					echo ('col-lg-6 col-md-12 col-sm-12 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("sidebar_right") || wp_bowling_is_active_sidebar("sidebar_left")) {
					echo ('col-lg-9 col-md-12 col-sm-12 col-xs-12');
				} else {
					echo ('col-lg-12 col-md-12 col-sm-12 col-xs-12');
				} ?>  main_page">

					<?php wp_bowling_show_position_preview("main_content"); ?>


				</div>


				<?php
				if (!wp_bowling_show_position_preview("sidebar_right", "col-lg-3 col-md-12 col-sm-12 col-xs-12") && wp_bowling_is_active_sidebar("sidebar_right")) {
					if (function_exists('dynamic_sidebar') && wp_bowling_is_active_sidebar("sidebar_right")) {
						?>
						<div class="col-lg-3 col-md-12 col-sm-12 col-xs-12 side_bar_right_page">
							<?php
							dynamic_sidebar('sidebar_right');
							?>
						</div>
						<?php
					}
				}
				;
				?>

			</div>
		</div>

		<div class="row">
			<?php
			if (!wp_bowling_show_position_preview("line5_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line5_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_right") && wp_bowling_is_active_sidebar("line5_left_center")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 gallery left');
				} else if (wp_bowling_is_active_sidebar("line5_right") || wp_bowling_is_active_sidebar("line5_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 gallery left');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 gallery left');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_right") || wp_bowling_is_active_sidebar("line5_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 gallery left');
				} else {
					echo ('col-lg-12');
				} ?>">

					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line5_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line5_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line5_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_right") && wp_bowling_is_active_sidebar("line5_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right") && wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 right');
				} else if (wp_bowling_is_active_sidebar("line5_right") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12 right');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12 right');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_right") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12 right');
				} else {
					echo ('col-lg-12');
				} ?>">

					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line5_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line5_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line5_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line5_left_center") && wp_bowling_is_active_sidebar("line5_right") && wp_bowling_is_active_sidebar("line5_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line5_left_center") && wp_bowling_is_active_sidebar("line5_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_left_center") && wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right") && wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_left_center") || wp_bowling_is_active_sidebar("line5_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_left_center") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_left_center") || wp_bowling_is_active_sidebar("line5_right") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">

					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line5_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line5_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line5_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_left_center") && wp_bowling_is_active_sidebar("line5_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_left_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") && wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_left_center") && wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_left_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_left_center") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line5_right_center") || wp_bowling_is_active_sidebar("line5_left_center") || wp_bowling_is_active_sidebar("line5_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line5_right'); ?>
				</div>
			<?php }
			; ?>
		</div>

		<div class="container wrapper-testimonials">
			<h3 class="my_widget_title_custom">
				<?php _e('Testimonials', 'wp-bowling'); ?>
			</h3>
			<div class="row">
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-testimonials">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/testimonials-1.jpg'); ?>"
							alt="testimonials" />
						<h3>
							<?php esc_html_e('John Rodjers', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('There are many variations of passages of Lorem Ipsum available, but the majority have
							suffered alteration in some form', 'wp-bowling') ?>
						</p>
					</div>
				</div>
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-testimonials">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/testimonials-2.jpg'); ?>"
							alt="testimonials" />
						<h3>
							<?php esc_html_e('Mika Klarens', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('If you are going to use a passage of Lorem Ipsum, you need to be sure there isn\'t anything
							embarrassing hidden', 'wp-bowling') ?>
						</p>
					</div>
				</div>
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-testimonials">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/testimonials-3.jpg'); ?>"
							alt="testimonials" />
						<h3>
							<?php esc_html_e('Klark Kent', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters', 'wp-bowling') ?>
						</p>
					</div>
				</div>
				<div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
					<div class="wrapper-one-testimonials">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/images/testimonials-4.png'); ?>"
							alt="testimonials" />
						<h3>
							<?php esc_html_e('Angelina Watsons', 'wp-bowling') ?>
						</h3>
						<p>
							<?php esc_html_e('Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an
							unknown printer', 'wp-bowling') ?>
						</p>
					</div>
				</div>
			</div>
		</div>

		<div class="row">

			<?php
			if (!wp_bowling_show_position_preview("line6_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line6_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_right_center") && wp_bowling_is_active_sidebar("line6_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_right_center") && wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post left');
				} else if (wp_bowling_is_active_sidebar("line6_right_center") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_right_center") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line6_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line6_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line6_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line6_left") && wp_bowling_is_active_sidebar("line6_right_center") && wp_bowling_is_active_sidebar("line6_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line6_left") && wp_bowling_is_active_sidebar("line6_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left") && wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_right_center") && wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left") || wp_bowling_is_active_sidebar("line6_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post_left');
				} else if (wp_bowling_is_active_sidebar("line6_right_center") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post_left');
				} else if (wp_bowling_is_active_sidebar("line6_left") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post_left');
				} else if (wp_bowling_is_active_sidebar("line6_left") || wp_bowling_is_active_sidebar("line6_right_center") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 title_post_left');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line6_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line6_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line6_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_left") && wp_bowling_is_active_sidebar("line6_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left") && wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_left") || wp_bowling_is_active_sidebar("line6_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line6_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line6_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line6_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_right_center") && wp_bowling_is_active_sidebar("line6_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") && wp_bowling_is_active_sidebar("line6_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_right_center") || wp_bowling_is_active_sidebar("line6_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line6_left_center") || wp_bowling_is_active_sidebar("line6_right_center") || wp_bowling_is_active_sidebar("line6_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line6_right'); ?>
				</div>
			<?php }
			; ?>

		</div>

		<div class="container">
			<div class="row">
				<h3 class="my_widget_title_custom">
					<?php _e('news', 'wp-bowling'); ?>
				</h3>

				<?php
				function display_latest_posts_with_details($atts)
				{
					$atts = shortcode_atts(
						array(
							'posts_per_page' => 4,
						),
						$atts,
						'latest_posts'
					);

					$args = array(
						'posts_per_page' => intval($atts['posts_per_page']),
						'post_status' => 'publish',
					);

					$query = new WP_Query($args);

					// Starting output buffering
					ob_start();

					if ($query->have_posts()): ?>
						<div class="wrapper-news-bowling">
							<?php while ($query->have_posts()):
								$query->the_post(); ?>
								<div class="single-news-bowling">
									<div class="wrapper-img-news-bowling">
										<?php if (has_post_thumbnail()): ?>
											<a href="<?php the_permalink(); ?>" class="post-thumbnail">
												<?php the_post_thumbnail('big'); ?>
											</a>
										<?php endif; ?>
									</div>

									<div class="wrapper-desc-news-bowling">

										<div class="post-categories">
											<?php the_category(' '); ?>
										</div>

										<h2 class="post-title">
											<a href="<?php the_permalink(); ?>">
												<?php the_title(); ?>
											</a>
										</h2>

										<div class="post-meta">
											<span class="date">
												<?php echo get_the_date(); ?>
											</span>
										</div>

										<div class="post-excerpt">
											<?php the_excerpt(); ?>
										</div>

										<div class="wrapper-read-more">
											<a href="<?php the_permalink() ?>">
												<?php esc_html_e('read more', 'wp-bowling') ?>
											</a>
										</div>

									</div>
								</div>
							<?php endwhile; ?>
						</div>
						<?php
					else:
						echo '<p>not found</p>';
					endif;

					wp_reset_postdata();

					return ob_get_clean();
				}

				?>

				<?php echo display_latest_posts_with_details(array('posts_per_page' => 4)); ?>

			</div>
		</div>

		<div class="row">

			<?php
			if (!wp_bowling_show_position_preview("line7_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line7_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_right_center") && wp_bowling_is_active_sidebar("line7_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_right_center") && wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title_right left');
				} else if (wp_bowling_is_active_sidebar("line7_right_center") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title_right left');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title_right left');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_right_center") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title_right left');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line7_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line7_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line7_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line7_left") && wp_bowling_is_active_sidebar("line7_right_center") && wp_bowling_is_active_sidebar("line7_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line7_left") && wp_bowling_is_active_sidebar("line7_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left") && wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_right_center") && wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left") || wp_bowling_is_active_sidebar("line7_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title');
				} else if (wp_bowling_is_active_sidebar("line7_right_center") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title');
				} else if (wp_bowling_is_active_sidebar("line7_left") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title_right');
				} else if (wp_bowling_is_active_sidebar("line7_left") || wp_bowling_is_active_sidebar("line7_right_center") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12 contact_title');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line7_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line7_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line7_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_left") && wp_bowling_is_active_sidebar("line7_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left") && wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_left") || wp_bowling_is_active_sidebar("line7_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line7_right_center'); ?>

				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line7_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line7_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_right_center") && wp_bowling_is_active_sidebar("line7_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") && wp_bowling_is_active_sidebar("line7_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_right_center") || wp_bowling_is_active_sidebar("line7_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line7_left_center") || wp_bowling_is_active_sidebar("line7_right_center") || wp_bowling_is_active_sidebar("line7_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line7_right'); ?>
				</div>
			<?php }
			; ?>

		</div>

		<div class="container">
			<div class="row">

				<?php
				if (!wp_bowling_show_position_preview("line8_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line8_left")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_right_center") && wp_bowling_is_active_sidebar("line8_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_right_center")) {
						echo ('col-md-4 col-sm-4 col-xs-12 contact_block left');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12 contact_block left');
					} else if (wp_bowling_is_active_sidebar("line8_right_center") && wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12 contact_block left');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_right_center")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_right_center") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_right_center") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line8_left'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("line8_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line8_left_center")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line8_left") && wp_bowling_is_active_sidebar("line8_right_center") && wp_bowling_is_active_sidebar("line8_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line8_left") && wp_bowling_is_active_sidebar("line8_right_center")) {
						echo ('col-md-4 col-sm-4 col-xs-12 map_block in_up');
					} else if (wp_bowling_is_active_sidebar("line8_left") && wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12 map_block in_up');
					} else if (wp_bowling_is_active_sidebar("line8_right_center") && wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12 map_block in_up');
					} else if (wp_bowling_is_active_sidebar("line8_left") || wp_bowling_is_active_sidebar("line8_right_center")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_right_center") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left") || wp_bowling_is_active_sidebar("line8_right_center") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line8_left_center'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("line8_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line8_right_center")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_left") && wp_bowling_is_active_sidebar("line8_right")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12 adress_block right');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12 adress_block right');
					} else if (wp_bowling_is_active_sidebar("line8_left") && wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-4 col-sm-4 col-xs-12 adress_block right');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_left") || wp_bowling_is_active_sidebar("line8_right")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line8_right_center'); ?>
					</div>
				<?php }
				; ?>

				<?php
				if (!wp_bowling_show_position_preview("line8_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line8_right")) { ?>
					<div class="<?php if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_right_center") && wp_bowling_is_active_sidebar("line8_left")) {
						echo 'col-md-3 col-sm-3 col-xs-12';
					} else if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_right_center")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") && wp_bowling_is_active_sidebar("line8_left")) {
						echo ('col-md-4 col-sm-4 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_right_center")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_right_center") || wp_bowling_is_active_sidebar("line8_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else if (wp_bowling_is_active_sidebar("line8_left_center") || wp_bowling_is_active_sidebar("line8_right_center") || wp_bowling_is_active_sidebar("line8_left")) {
						echo ('col-md-6 col-sm-6 col-xs-12');
					} else {
						echo ('col-lg-12');
					} ?>">
						<?php if (function_exists('dynamic_sidebar'))
							dynamic_sidebar('line8_right'); ?>
					</div>
				<?php }
				; ?>

			</div>
		</div>

		<div class="row">

			<?php
			if (!wp_bowling_show_position_preview("line9_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line9_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_right_center") && wp_bowling_is_active_sidebar("line9_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_right_center") && wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_right_center") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_right_center") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line9_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line9_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line9_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line9_left") && wp_bowling_is_active_sidebar("line9_right_center") && wp_bowling_is_active_sidebar("line9_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line9_left") && wp_bowling_is_active_sidebar("line9_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left") && wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_right_center") && wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left") || wp_bowling_is_active_sidebar("line9_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_right_center") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left") || wp_bowling_is_active_sidebar("line9_right_center") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line9_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line9_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line9_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_left") && wp_bowling_is_active_sidebar("line9_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left") && wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_left") || wp_bowling_is_active_sidebar("line9_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line9_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("line9_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("line9_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_right_center") && wp_bowling_is_active_sidebar("line9_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") && wp_bowling_is_active_sidebar("line9_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_right_center") || wp_bowling_is_active_sidebar("line9_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("line9_left_center") || wp_bowling_is_active_sidebar("line9_right_center") || wp_bowling_is_active_sidebar("line9_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('line9_right'); ?>
				</div>
			<?php }
			; ?>

		</div>

		<div class="row wrapper-bottom-row">

			<?php
			if (!wp_bowling_show_position_preview("bottom_left", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("bottom_left")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_right_center") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_right_center") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_right_center") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_right_center") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('bottom_left'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("bottom_left_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("bottom_left_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("bottom_left") && wp_bowling_is_active_sidebar("bottom_right_center") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("bottom_left") && wp_bowling_is_active_sidebar("bottom_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_right_center") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left") || wp_bowling_is_active_sidebar("bottom_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_right_center") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left") || wp_bowling_is_active_sidebar("bottom_right_center") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('bottom_left_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("bottom_right_center", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("bottom_right_center")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_left") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left") && wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_left") || wp_bowling_is_active_sidebar("bottom_right")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('bottom_right_center'); ?>
				</div>
			<?php }
			; ?>

			<?php
			if (!wp_bowling_show_position_preview("bottom_right", 'col-md-3 col-sm-3 col-xs-12') && wp_bowling_is_active_sidebar("bottom_right")) { ?>
				<div class="<?php if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_right_center") && wp_bowling_is_active_sidebar("bottom_left")) {
					echo 'col-md-3 col-sm-3 col-xs-12';
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_right_center")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") && wp_bowling_is_active_sidebar("bottom_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_right_center") && wp_bowling_is_active_sidebar("bottom_left")) {
					echo ('col-md-4 col-sm-4 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_right_center")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_right_center") || wp_bowling_is_active_sidebar("bottom_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else if (wp_bowling_is_active_sidebar("bottom_left_center") || wp_bowling_is_active_sidebar("bottom_right_center") || wp_bowling_is_active_sidebar("bottom_left")) {
					echo ('col-md-6 col-sm-6 col-xs-12');
				} else {
					echo ('col-lg-12');
				} ?>">
					<?php if (function_exists('dynamic_sidebar'))
						dynamic_sidebar('bottom_right'); ?>
				</div>
			<?php }
			; ?>

		</div>
	</div>

</div><!-- #main -->

<?php
get_footer();
?>