Sexual harassment is a form of sex discrimination which is a violation of Title VII of the Civil Rights Act of 1964. No one factor controls. An assessment is made based upon the totality of the circumstances.
Sexual conduct becomes unlawful only when it is unwelcome.
The challenged conduct must be unwelcome in the sense that the employee did not solicit or incite it, and in the sense that the employee regarded the conduct as undesirable or offensive. The victim may be a woman or a man. The victim does not have to be of the opposite sex. The victim does not have to be the person harassed by could be anyone affected by the offensive conduct. The harasser may be a woman or a man.