The attitude to sex at work has become more liberated in recent times