From December 2005, Same sex couples in Scotland, and the rest of the UK, have been able to register a civil partnership. This gives the couple the same legal rights and obligations as marriage.
There are a number of sexually-related public order charges, including Lewd and libidinous behaviour and indecent behaviour. Basically there will be a chance of prosecution whenever someone does something of a sexual nature where a member of the public is likely to be offended.
From December 2003, new laws came into place that made it illegal for an employer to discriminate because of an employee’s sexuality (laws already existed in relation to Transgendered people).