; (II) submission to or rejection of such conduct is used as the basis for an employment decision affecting an individual’s employment; or (III) such conduct unreasonably alters an individual's terms, conditions, or privileges of employment, including by creating an intimidating hostile, or offensive work environment. (2) It shall be an unlawful employment practice under subsection (a) to engage in workplace harassment. (3) In determining, for purposes of this subsection, whether conduct constitutes workplace harassment because the conduct unreasonably alters an individual’s terms, conditions, or privileges of employment, including by creating an intimidating, hostile, or offensive work environment, the following rules shall apply: (A) That determination shall be made on the basis of the record as a whole, according to the totality of the circumstances. A single incident may constitute workplace harassment. (B) Incidents that may be workplace harassment shall be considered in the aggregate, with— (i) conduct of varying types (such as expressions of sex-based hostility, requests for sexual favors, and denial of employment opportunities due to sexual orientation) viewed in totality, rather than in isolation