<div class="header-Wrapper" style="background:<?php echo $settings['background_Color_vid']; ?>">
    <section class="item-grid-row">
        <div class="container">
            <section class="wide-adv-row-home">
                <div class="wide-adv-box">
                    <div class="bannercontainer">
                        <div class="banner-wrapper">
                            <div class="banner">
                                <div class="container">
                                    <a href="<?php echo $settings['link_image_baneer']['url']; ?>">
                                        <?php echo wp_get_attachment_image($settings['image_baneer']['id'], array(1020, 300)); ?>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
            <div class="row showcasesection">
                <div class="col-md-9 col-sm-9 pad5L_xs pad0LR_mobile showCaseWrapper">
                    <div class="showCaseContainer">
                        <?php
                        $all_posts->the_post();
                        $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                        ?>
                        <div class="col-md-8 col-sm-8 col1">
                            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="img" style="background-image: url('<?php echo $thumb['0']; ?>');">
                                <div class="imgLabel">
                                    <h2><?php the_title(); ?></h2>
                                </div>
                            </a>
                            <?php
                            $all_posts->the_post();
                            $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                            ?>
                            <div class="col-md-6 col-sm-6">
                                <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="img" style="background-image: url('<?php echo $thumb['0']; ?>');">
                                    <div class="imgLabel">
                                        <h2><?php the_title(); ?></h2>
                                    </div>
                                </a>
                            </div>
                            <?php
                            $all_posts->the_post();
                            $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                            ?>
                            <div class="col-md-6 col-sm-6">
                                <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="img" style="background-image: url('<?php echo $thumb['0']; ?>');">
                                    <div class="imgLabel">
                                        <h2><?php the_title(); ?></h2>
                                    </div>
                                </a>
                            </div>
                        </div>
                        <div class="col-md-4 col-sm-4 col2">
                            <?php
                            $all_posts->the_post();
                            $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                            ?>
                            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="img" style="background-image: url('<?php echo $thumb['0']; ?>');">
                                <div class="imgLabel">
                                    <h2><?php the_title(); ?></h2>
                                </div>
                            </a>
                            <?php
                            $all_posts->the_post();
                            $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                            ?>
                            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="img" style="background-image: url('<?php echo $thumb['0']; ?>');">
                                <div class="imgLabel">
                                    <h2><?php the_title(); ?></h2>
                                </div>
                            </a>
                        </div>
                    </div>
                </div>

                <div class="col-md-3 col-sm-3 pad0LR_mobile pad15T_mobile showCaseBanners pad5R">
                    <div class="hidden-sm hidden-xs">
                        <div class="bannercontainer clearfix">
                            <div class="banner-wrapper">
                                <div class="banner">
                                    <div>
                                        <a href="<?php echo $settings['link_image_sid']['url']; ?>">
                                            <?php echo wp_get_attachment_image($settings['image_sid']['id'], array(300, 300)); ?> </a>
                                    </div>
                                </div>
                            </div>
                            <div class="banner-wrapper">
                                <div class="banner">
                                    <div>
                                        <a href="<?php echo $settings['link_image_sid_2']['url']; ?>">
                                            <?php echo wp_get_attachment_image($settings['image_sid_2']['id'], array(300, 300)); ?> </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <?php wp_reset_postdata(); ?>
</div>