modified some css for safari