<div class="sem-icon-boxes">
	<div class="row justify-content-center">
  <?php 
  if( have_rows('iconboxes') ): while ( have_rows('iconboxes') ) : the_row(); 


   $icon_svg =  get_sub_field ('icon_img');
   
	

?>
<div class="col-xl-2 col-lg-3 col-md-6">
	<div class="box-item mht hvr-shadow">
  	 <a href="<?php the_sub_field ('box_link'); ?>"> 
        <div class="box-icon"> 
       
        <?php if($icon_svg) { ?>
         <div class="svg-icon">


		<img src="<?php the_sub_field('icon_img') ?>" alt="icon" />

        </div>
        <?php } ?>
        
        </div>
     
    <div class="box-title" data-mh="title"><?php the_sub_field ('box_title'); ?></div>
     </a>
       </div><!--item--> 

   	
</div><!--col-->
        <?php
		endwhile;
		endif; ?>
      
    </div><!--row-->
    </div><!--boxes-->