Adapted to Bootstrap 3