<!-- Modal -->
<div class="open-modal-passeio-liberty modal-passeio modal-page-full modal" id="open-modal-passeio-liberty">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header sticky-top">
                <div class="row">
                    <div class="col p-0">
                        <span class="close-back" data-dismiss="modal" aria-label="Close"><i class="fa fa-angle-left" aria-hidden="true"></i></span>
                    </div>
                   <div class="col-10 p-0"></div>
                </div>
            </div>
            <div class="modal-body">
                <input type="hidden" name="" data-galeria='<?php e($galeria??''); ?>' class="galeria_premium">
                <?php $cont = -1; foreach ($imovel->imagens as $key=>$obj) { $cont++; ?>
                <div data-section="<?php e($obj['categoria']);?>" class="row d-flex justify-content-center m-0">
                 
                    <div class="col-md-9 mb-5">
                        <div class="text">
                            <h2><?php e($obj['categoria']); $images = $obj['imagens']  ?></h2>
                            <p><?php e($images[0]->descricao); ?></p>
                            <div class="row">
                                <div class="col-md-12 p-0">
                                    <div class="row mygallery-load-<?php e($key)?> m-0">
                                        <?php foreach ($images as $img_galeria) { ?>
                                        <div class="col-md-6 col-lg-3">
                                            <div class="loading-box mb-30"><i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw load-icon"></i></div>
                                        </div>
                                        <?php } ?>
                                    </div>
                                    
                                    <div class="mygallery-final-<?php e($key)?> d-none">
                                        <?php foreach ($images as $img_galeria) { ?>
                                        <div class="img_galeria_<?php e($img_galeria->id_img)?>">
                                            
                                        </div>
                                        <?php } ?>
                                    </div>
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php } ?>
            </div>
        </div>
    </div>
</div>