First Minister Nicola Sturgeon has said many of President-elect Donald Trump's campaign comments were "deeply abhorrent" and vowed "not to maintain a diplomatic silence" in the face of racism or intolerance.

At First Minister's Questions, Ms Sturgeon said she had faced criticism for endorsing Hillary Clinton in the US election campaign, breaking the tradition that political leaders do not comment on election campaigns in other countries.

She said: "I, during that campaign, found so many of President-elect Trump's comments deeply abhorrent and I never want to be, I am not prepared to be, a politician that maintains a diplomatic silence in the face of attitudes of racism, sexism, misogyny or intolerance of any kind.

"I think it is important today that, firstly, I hope that President-elect Trump turns out to be a president very different to the kind of candidate he was and reaches out to those who felt vilified by his campaign, but people of progressive opinion the world over, I think, do have to stand up for the values of tolerance and respect for diversity and difference.

"There is more of an obligation on us now than there perhaps has been on our generation before and this is the time for all of us, no matter how difficult, no matter how controversial or unpopular it may be in certain quarters, to be beacons of hope for those values we all hold so dear."

She said Mr Trump's election victory was not what she wanted but that the will of the American people must be respected.

Ms Sturgeon added: "Hillary Clinton's defeat yesterday, amongst many other things, perhaps tells us we are not as far down the road to true gender equality as we hoped we were, so we do have a great deal of work still to do."

Scottish Labour leader Kezia Dugdale said: "Donald Trump's behaviour towards women sends a dangerous signal across the world.

"In January we will have a misogynist in the White House who has boasted about assaulting women and has used the most degrading language possible.

"And, of course, Donald Trump's tolerance is not just aimed at women - we all remember the sickening sight of him mocking a disabled journalist. We can't forget his plans to build a wall or ban people of one faith from entering America."

Ms Sturgeon was asked what assessment the Scottish Government had made of the impact on Scotland of Mr Trump's election.

"The Scottish Government will continue to monitor developments during the transition period between now and January," she said.

"We will fully assess the impact for Scotland once President-elect Trump forms the new administration and its priorities are made clear."

She added: "I was struck yesterday by comments made by the German Chancellor Angela Merkel when she said she wanted to have a constructive engagement with the new president, but wanted that to be engagement based on values of respect for all, of tolerance and of diversity, and I echo that sentiment.

"The relationship between Scotland and the United States of America is a strong one, it is one that I believe will endure, so, as the elected First Minister of Scotland, I want to engage positively and constructively with the American administration, but I will never, ever shy away from standing up for these important principles."

Conservative MSP Jackson Carlaw called on Ms Sturgeon to explain how she would ensure Scottish businesses and jobs would not be prejudiced in any new trading relationship between a post-Brexit UK and the US as a result of her interventions against the president-elect.

In response, Ms Sturgeon highlighted strongly-worded tweets condemning Mr Trump sent by Scottish Conservative leader Ruth Davidson.

"I'm not sure if anything I've said about Donald Trump even comes close to some of the tweets I was seeing earlier on from Ruth Davidson," she said.

The First Minister added: "The relationship between the United States and Scotland is a long-standing one, it is based on ties of family, of culture, of business.

"I want those ties not just to continue, I want them to be enhanced and to get even stronger.

"So, as First Minister, I want to engage with the next American administration just as we have the last one, but I do believe it is important for all politicians at this moment in our history to stand up and be counted on important principles of tolerance and respect and diversity, and I'm not going to shy away from doing that and I hope that Donald Trump builds an administration founded on these principles and if he does that we can continue to ensure that that close relationship gets even closer in the future."

Ms Dugdale said there is "so much to do to break the glass ceiling that women face" and highlighted the election result came one day before Equal Pay Day, the day when women effectively stop earning relative to men for the year, due to the gender pay gap.

Ms Sturgeon said it was an "absolute scandal" that Scotland does not have equal pay but said it is making progress and trying to close the gap by expanding childcare and create more transparency around public sector pay.