There has been a decline in prejudicial attitudes to minority groups in Scotland including those who identify as Lesbian, Gay, Bisexual and Transgender (LGBT).

The results from the Scottish Social Attitudes Survey 2015 show nearly seven out of ten Scots feel the country should do everything possible to end all kinds of discrimination.

One of the largest changes in attitudes from 2010 compared to the latest figures was how people would feel if a relative entered into a same-sex relationship.

In 2010, 30% said they would be unhappy or very unhappy about a family member forming a long-term relationship but this fell to 16% in the latest survey.

Same-sex marriages were legalised in Scotland in 2014.

The Scottish Government welcomed the survey's findings.

Equalities Secretary Angela Constance said: "These figures show clearly that Scotland is becoming a more tolerant place and therefore a better place to live for us all.

"That is good news and we can be proud of the progress we have made.

"However, while any kind of prejudice still exists we cannot afford to be complacent and this survey also shows there are areas where, as a welcoming and tolerant nation, we must challenge ourselves to do more."

Over the last five years there was a drop in those who said they would prefer to live in an area where most people were similar to them, from 43% to 33%.

At the same time there was also an increase, from 33% to 40%, in those who agree that people from outside the UK who come to live in Scotland make the country a better place.

However a significant percentage of Scots still view certain minority groups as "unsuitable" to work in primary schools.

Over a third of Scots (34%) believe a Gypsy or a Traveller is unsuitable to be employed as a primary school teacher while 13% thought those who are openly gay should not be teachers and the same figure again (13%) also believed Muslims should not teach in schools.

These figures are lower than the previous survey where 46% thought Gypsies/Travellers were unsuitable, 18% believed gay people should not be employed in primary schools while 15% stated Muslims are unsuitable for teaching.

Equalities and Human Rights Commission director Alastair Pringle described discrimination to some groups such as gypsies as "entrenched" within the country.

Pringle said: "We are particularly pleased to note the improvement in attitudes towards gay, lesbian and bisexual people, and that attitudes in general towards Scotland's black and ethnic minority community remain positive.

"However, we have not seen similar improvements towards other groups where negative attitudes remain stubbornly entrenched, in particular for gypsy/travellers, people with mental health problems and transgender people."