Optimised the overlays CSS.