changes on css, templates and events