added css for error class