added css for weighted