updated styles for overlay box