Fixes in CSS for Safari compatibility