<div class="card tab-pane fade box-shadow-unset" id="v-pills-footer-main" role="tabpanel" aria-labelledby="v-pills-footer-main-tab">
    <div class="card-body p-0">
        <?php
            $widgets = [];
            foreach ($footer['main'] as $key => $widget) {
                if (is_array($widget)) {
                    $widgets[$widget['sort']] = [$key => $widget];
                }
            }
        ?>
        <div class="card-block pt-2 px-2">
            <div class="row">
                <div class="col-sm-12">
                    <div class="form-group row">
                        <label for="footer-bottom-title" class="col-sm-4 text-left col-form-label "><?php echo e(__('Text Color')); ?></label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control demo inputFieldDesign" data-control="hue"
                                name="<?php echo e($layout); ?>_template_footer[main][text_color]"
                                value="<?php echo e(isset($footer['main']['text_color']) ? $footer['main']['text_color'] : ''); ?>">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label for="footer-bottom-title" class="col-sm-4 text-left col-form-label "><?php echo e(__('Background Color')); ?></label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control demo inputFieldDesign" data-control="hue"
                            name="<?php echo e($layout); ?>_template_footer[main][bg_color]"
                            value="<?php echo e(isset($footer['main']['bg_color']) ? $footer['main']['bg_color'] : ''); ?>">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label for="meta_title" class="col-sm-4 text-left col-form-label"><?php echo e(__('Alignment')); ?></label>
                        <div class="col-sm-8">
                            <div class="form-group d-inline mr-2">
                                <div class="radio radio-warning d-inline">
                                    <input type="radio" name="<?php echo e($layout); ?>_template_footer[main][direction]" value="left" id="footer-main-alignment-left" <?php echo e(isset($footer['main']['direction']) && $footer['main']['direction'] == 'left' ? 'checked' : ''); ?>>
                                    <label for="footer-main-alignment-left" class="cr"><?php echo e(__('Left')); ?></label>
                                </div>
                            </div>
                            <div class="form-group d-inline mr-2">
                                <div class="radio radio-warning d-inline">
                                    <input type="radio" name="<?php echo e($layout); ?>_template_footer[main][direction]" value="center" id="footer-main-alignment-center" <?php echo e(isset($footer['main']['direction']) && $footer['main']['direction'] == 'center' ? 'checked' : ''); ?>>
                                    <label for="footer-main-alignment-center" class="cr"><?php echo e(__('Center')); ?></label>
                                </div>
                            </div>
                            <div class="form-group d-inline mr-2">
                                <div class="radio radio-warning d-inline">
                                    <input type="radio" name="<?php echo e($layout); ?>_template_footer[main][direction]" value="right" id="footer-main-alignment-right" <?php echo e(isset($footer['main']['direction']) && $footer['main']['direction'] == 'right' ? 'checked' : ''); ?>>
                                    <label for="footer-main-alignment-right" class="cr"><?php echo e(__('Right')); ?></label>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
            <ul id="sortable" class="selector footer-main mt-3 mt-md-0">
                 <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $widgets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $title => $widget): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li class="ui-state-default" data-id="">
                            <div class="component-header">
                                <i class="feather feather icon-move"></i>
                                <div class="header-text">
                                    <h5 class="header-title">
                                        <?php echo e($widget['title']); ?>

                                    </h5>
                                </div>
                                <div class="header-btns">
                                    <span class="-mt-8">
                                        <input class="is_default sort-data" name="<?php echo e($layout); ?>_template_footer[main][<?php echo e($title); ?>][sort]" type="hidden">
                                        <input name="<?php echo e($layout); ?>_template_footer[main][<?php echo e($title); ?>][status]" type="hidden" value="0">
                                        <div class="switch switch-bg d-inline m-r-10">
                                            <input class="is_default" name="<?php echo e($layout); ?>_template_footer[main][<?php echo e($title); ?>][status]" type="checkbox" <?php echo e($footer['main'][$title]['status'] ? 'checked' : ''); ?> value="<?php echo e($footer['main'][$title]['status']); ?>" id="<?php echo e($title); ?>]_status">
                                            <label for="<?php echo e($title); ?>]_status" class="cr"></label>
                                        </div>
                                    </span>
                                    <span class="header-btn folding closed btn-primary">
                                        <i class="feather icon-chevron-up"></i>
                                    </span>
                                </div>

                            </div>
                            <?php echo $__env->make('cms::partials.themes.footer.' . $title, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </ul>
        </div>
    </div>
</div>
<?php /**PATH /home/consuadmin/public_html/Modules/CMS/Resources/views/partials/themes/footer/main_footer.blade.php ENDPATH**/ ?>