<div class="row">
  <div class="col-lg-3 form-header-wrapper"></div>
  <div class="col-lg-6 form-header-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h2><?=$text['step1Header'];?></h2>
        <hr>
      </div>
    </div>
    <form  action="javascript:;" method="post" id="reservationFrom">
      <div class="row hidden">
        <div class="form-group col-lg-12 hiddenn">
          <?php $hotels = get_hotels();?>
		  <?php // $hotels = array();?>
          <label for=""><?=$text['hotel'];?></label>
          <select class="form-control required" name="resortId" id="resortId">
            <option selected><?=$text['hotel'];?></option>
            <?php foreach ($hotels as $hotel) { ?>
              <?php foreach ($hotel as $resort) { ?>
                <?php foreach ($resort as $re) { ?>
                  <option value="<?php echo $re['id'];?>"><?php echo $re['hotel_name'];?></option>
                <?php  } ?>
              <?php  } ?>
            <?php  } ?>
          </select>
        </div>
      </div>
      <div class="row">
        <div class="form-group col-lg-6">
          <label for=""><?=$text['checkInDate'];?></label>
          <input type="text" class="form-control datepicker_input required" name="checkInDate" id="checkInDate" value="<?php echo isset($_GET['arrival-date']) ?  $_GET['arrival-date'] : date('d.m.Y'); ?>">
        </div>
        <div class="form-group col-lg-6">
          <label for=""><?=$text['checkOutDate'];?></label>
          <input type="text" class="form-control datepicker_input required" name="checkOutDate" id="checkOutDate" value="<?php echo isset($_GET['departure-date']) ?  $_GET['departure-date'] : ''; ?>" >
        </div>
      </div>
      <div class="row">
        <div class="form-group col-lg-12">
          <label for=""><?=$text['numberOfRooms'];?></label>
          <select class="form-control required" name="roomAmount" id="numberOfRooms" >
            <option value="0" selected><?=$text['numberOfRooms'];?></option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
          </select>
        </div>
      </div>
      <div class="row">
        <div class="col-lg-12">
          <h2><?=$text['guestHeader'];?></h2>
          <hr>
        </div>
      </div>
      <div class="row roomsSelectHeaderBox">
        <div class="form-group col-lg-2">
          <label for=""><i class="fa fa-bed" aria-hidden="true"></i> <?=$text['roomNo'];?></label>
        </div>
        <div class="form-group col-lg-2">
          <label for=""><i class="fa fa-user" aria-hidden="true"></i> <?=$text['adult'];?></label>
        </div>
        <div class="form-group col-lg-2">
          <label for=""><i class="fa fa-child" aria-hidden="true"></i> <?=$text['child'];?></label>
        </div>
        <div class="form-group col-lg-2">
          <label for=""><i class="fa fa-child" aria-hidden="true"></i> <?=$text['infant'];?></label>
        </div>
      </div>
      <div class="row" id="roomsWrapper">

        <div class="col-lg-12">

          <!-- <div class="clonewrapper row" id="clonewrapper1" data-id="1">

            <div class="form-group col-lg-2">
              <div class="form-group">
                <label for=""><?=$text['room'];?></label>
              </div>
            </div>
            <div class="form-group col-lg-2">
              <select id="adult1" class="form-control adult" name="adult[]" required>
                <option value="0">0</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
              </select>
            </div>
            <div class="form-group col-lg-2">
              <select id="child1" class="form-control child" name="child[]" required disabled>
                <option value="0">0</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
              </select>
            </div>
            <div class="form-group col-lg-2">
              <select id="infant1" class="form-control infant" name="infant[]" required disabled>
                <option value="0">0</option>
                <option value="1">1</option>
                <option value="2">2</option>
              </select>
            </div>

          </div> -->

        </div>

        <div class="form-group col-lg-3 childAgeWrapper childAgeWrapper1">

        </div>
        <div class="form-group col-lg-3 childAgeWrapper childAgeWrapper2">

        </div>
        <div class="form-group col-lg-3 childAgeWrapper childAgeWrapper3">

        </div>
      </div>
      <button type="submit" class="btn btn-primary" id="btnStep1"><?=$text['next'];?></button>
    </form>
  </div>
  <div class="col-lg-3"></div>
</div>
