Updated CSS to force rules for the gallery to trump inherited rules