(1) It is unlawful for an employer to discriminate against a person on the ground of the person's sex, sexual orientation, gender identity, intersex status, marital or relationship status, pregnancy or potential pregnancy, breastfeeding or family responsibilities:
(a) in the arrangements made for the purpose of determining who should be offered employment;
(b) in determining who should be offered employment; or
(c) in the terms or conditions on which employment is offered.
(2) It is unlawful for an employer to discriminate against an employee on the ground of the employee's sex, sexual orientation, gender identity, intersex status, marital or relationship status, pregnancy or potential pregnancy, breastfeeding or family responsibilities:
(a) in the terms or conditions of employment that the employer affords the employee;
(b) by denying the employee access, or limiting the employee's access, to opportunities for promotion, transfer or training, or to any other benefits associated with employment;
(c) by dismissing the employee; or
(d) by subjecting the employee to any other detriment.
(3) Nothing in paragraph (1)(a) or (b) renders it unlawful for a person to discriminate against another person, on the ground of the other person's sex, in connection with employment to perform domestic duties on the premises on which the first - mentioned person resides.
(4) Where a person exercises a discretion in relation to the payment of a superannuation benefit to or in respect of a member of a superannuation fund, it is unlawful for the person to discriminate, in the exercise of the discretion, against the member or another person on the ground, in either case, of the sex, sexual orientation or marital or relationship status of the member or that other person.
(5) Subsection (4) does not apply if section 41B applies to that member in respect of that fund.
(6) In this section:
"member" , in relation to a superannuation fund, includes a person who has been a member of the fund at any time.