refactoring of css to allow inline css
fixed issues for css for non-defined span classes