optimize style for search form in nav