templates, css, rules for search adjustment