changed display of fields depending on search type

- changed display of fields depending on search type
- minor styling