<!--Sidebar Page Container-->
<div class="sidebar-page-container">
	<div class="auto-container">
		<div class="row clearfix">

			<!--Content Side-->
			<div class="content-side pull-right col-lg-9 col-md-8 col-sm-12 col-xs-12">
				<div class="services-single">
					<div class="inner-box">
						<div class="images-gallery">
							<div class="row clearfix">
								<?php $general_images = explode( ',', $general_img );
									$first_element = array_slice( $general_images, 0, 1 );
									$rem_element = array_slice( $general_images, 1, 4 );
								?>
								
								<div class="image-column col-md-9 col-sm-9 col-xs-12">
									<div class="image">
										<?php echo wp_get_attachment_image( $first_element[0], 'buildark_660x365', '', array( 'class' => 'full-width' ) ); ?>
									</div>
								</div>
								<div class="image-column col-md-3 col-sm-3 col-xs-12">
								
									<?php foreach ( $rem_element as $images ) : ?>
									
										<div class="image">
											<?php echo wp_get_attachment_image( $images, 'buildark_200x107', '', array( 'class' => 'full-width' ) ); ?>
										</div>
										
									<?php endforeach; ?>
									
								</div>
							</div>
						</div>
						<div class="lower-content">
							<h2><?php echo wp_kses_post( $overview_title );  ?></h2>
							<div class="text"><?php echo wp_kses_post( $text );  ?></div>
							<!--Two Column-->
							<div class="two-column">
								<div class="row clearfix">
									<div class="col-md-6 col-sm-12 col-xs-12">
										<ul class="list-style-three">
											
											<?php	if( $overview_group ) :
												foreach ( $overview_group as $ov_group ) :
											?>
											
												<li><strong><?php echo wp_kses_post( $ov_group->overview_title );  ?></strong><?php echo wp_kses_post( $ov_group->overview_text );  ?></li>
											
											<?php endforeach; endif;  ?>
											
										</ul>
									</div>
									<div class="col-md-6 col-sm-12 col-xs-12">
										<div class="image">
											<img src="<?php echo esc_url( $overview_sidebar_img ); ?>" alt="<?php esc_attr_e('sidebar-img', 'buildark'); ?>" />
										</div>
									</div>
								</div>
							</div>
							<!--Choose Section-->
							<div class="choose-section">
								<div class="row clearfix">
									<!--Image Column-->
									<div class="image-column col-md-4 col-sm-4 col-xs-12">
										<div class="image">
											<img src="<?php echo esc_url( $choose_us_img ); ?>" alt="<?php esc_attr_e('image', 'buildark');?>" />
										</div>
									</div>
									<!--Content Column-->
									<div class="content-column col-md-8 col-sm-8 col-xs-12">
										<h2><?php echo wp_kses_post( $choose_title );  ?></h2>
										<div class="text"><?php echo wp_kses_post( $choose_text );  ?></div>
										<div class="row clearfix">
											<div class="list-column col-md-6 col-sm-6 col-xs-12">
												<ul class="list-style-four">
												
													<?php if ( $choose_us_group ) :
														foreach ( $choose_us_group as $chooseus ) :													
													?>
													
														<li><?php echo wp_kses_post( $chooseus->choose_title );  ?></li>
													
													<?php endforeach; endif; ?>
													
												</ul>
											</div>
											<div class="list-column col-md-6 col-sm-6 col-xs-12">
												<ul class="list-style-four">
													<li>Small town building specialists</li>
													<li>Highly labor skills.</li>
													<li>100% workmanship guarantee</li>
												</ul>
											</div>

										</div>
									</div>
								</div>
							</div>
							<!--End Choose Section-->
							<h2><?php echo wp_kses_post( $design_title );  ?></h2>
							<!--Accordian Section-->
							<div class="accordian-section">
								<div class="row clearfix">
									<div class="col-md-7 col-sm-12 col-xs-12">
										<!--Accordian Column-->
										<div class="accordian-column">

											<!--Accordion Box-->
											<ul class="accordion-box">

												<?php if ( $best_design_group ) : $count = 0;
													foreach ( $best_design_group as $best ) :
													$active = ( 0 === $count ) ? 'active' : '';
													$current = ( 0 === $count ) ? 'current' : '';
												?>
													<!--Block-->
													<li class="accordion block active-block">
														<div class="acc-btn <?php echo esc_attr( $active );  ?>"><div class="icon-outer"><span class="icon icon-plus fa fa-arrow-circle-o-right"></span> </div><?php echo wp_kses_post( $best->design_title );  ?></div>
														<div class="acc-content <?php echo esc_attr( $current );  ?>">
															<div class="content"><p><?php echo wp_kses_post( $best->design_text );  ?></p></div>
														</div>
													</li>
													
												<?php $count++; endforeach; endif; ?>
										
											</ul>
										</div>
									</div>
									<div class="col-md-5 col-sm-12 col-xs-12">
										<div class="quote-box">
											<div class="inner-box">
												<?php echo wp_kses_post( $quote_title ); ?>
												<div class="quote-text"><?php echo wp_kses_post( $quote_text ); ?> </div>
												<a class="get-quote" href="<?php echo esc_url( $ext_link );  ?>"><?php esc_html_e( 'Get a Quote', 'buildark' );  ?> &nbsp;<span class="fa fa-angle-right"></span></a>
											</div>
										</div>
									</div>

								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			
			 <!--Sidebar Side-->
			<div class="sidebar-side pull-left col-lg-3 col-md-4 col-sm-12 col-xs-12">
				<aside class="sidebar default-sidebar">

					<!--Sidebar Side-->
					<?php if ( is_active_sidebar( $sidebar_slug ) ) : ?>

						<?php dynamic_sidebar( $sidebar_slug ); ?>

					<?php endif; ?> <!-- /.footer-news -->
					
				</aside>
			</div>

	   </div>
   </div>
</div>
<!--Sidebar Page Container-->