finishing search styles and adding search elements to templates.