adding css for pin class