Added styling classes to legal panels