fix css for template