<?php
  $content_1 = get_sub_field('content_1');
  $content_2 = get_sub_field('content_2');
  $wrapper_width = get_sub_field('wrapper_width');
?>

<div class="layout-contact" id="flex-section-<?php echo get_row_index();?>">
  <div class='container-fluid'>
    <div class="row row-padding">
      <?php if($content_2):?>
      <div class="col-1-1 col-xs-2-3 layout-content">
        <?= $content_1 ?>
      </div><!--col-->
      <div class="col-1-1 col-xs-1-3 layout-content">
        <?= $content_2 ?>
      </div><!--col-->
    <?php else: ?>
      <div class="col-1-1 layout-content no-right-pad">
        <?= $content_1 ?>
      </div><!--col-->
    <?php endif; ?>
    </div><!--row-->
  </div><!--container-->
</div>
