Changed CSS classes in pagination