added css for relation error message