removed inline styles from overlay