Wrap each result (search bar) according to their type

See http://bugs.modx.com/issues/10229 for more  info if required