NICOLA Sturgeon has called out Jeremy Corbyn on Twitter, telling him to get the Labour party's act together and fight against a hard Brexit.

Tweeting early on Tuesday morning, the First Minister wrote "This could be the moment for opposition and soft Brexit/remain Tories to force a different, less damaging approach - keep the UK in the single market and customs union. But it needs Labour to get its act together. How about it @jeremycorbyn?"

This comes off the back of a disastorous day for Theresa May when hopes of securing agreement on the terms of Britain's EU withdrawal were dashed as the Democratic Unionist Party refused to accept proposals which would have shifted Northern Ireland's customs border to the Irish Sea.

A bespoke deal for Northern Ireland, but no other part of the UK, was roundly condemned by Nicola Sturgeon, Welsh First Minister Carwyn Jones and London mayor Sadiq Khan yesterday.

Theresa May is now engaged in a race against the clock to find the key to break deadlock in Brexit talks.

National View: If Scotland does not get its own deal to stay in the single market, the FM must call indyref2

May is planning to return to Brussels before the end of the week, with time running out to persuade leaders of the remaining 27 EU nations at a summit on December 14-15 that "sufficient progress" has been made on divorce issues to move Brexit negotiations on to their second phase.

This will deal with trade and the transition to a new relationship.

On Tuesday she was expected to speak by phone with DUP leader Arlene Foster as she grapples to find a form of words acceptable to the Northern Irish party, on which she relies to prop up her minority administration at Westminster.

May had to break off from talks with European Commission president Jean-Claude Juncker on Monday for an urgent call with the DUP leader, after she dramatically declared her party's implacable opposition to proposals which would have imposed "regulatory alignment" between Northern Ireland and the Republic in order to avoid the need for a hard border.

Irish premier Leo Varadkar said that the deal had been agreed by the European Commission, UK and the Republic before the process was thrown into disarray by Foster's eleventh-hour intervention. He said he was "surprised and disappointed" by May's request for more time.

European Council president Donald Tusk confirmed that, until the surprise developments at Stormont, he had been preparing to issue new negotiating guidelines for the second phase of talks on Tuesday.

It is also understood that differences also remain between the EU and Britain over the issue of European Court of Justice jurisdiction over EU nationals living in the UK after Brexit.

May insisted she was still "confident" of getting a green light for trade talks at next week's summit.

Failure to do so would risk throwing the whole Brexit process into crisis, as many companies are believed to be preparing to activate contingency plans to start moving staff and activities out of the UK if there are no signs of progress by Christmas.

EU officials are understood to believe that a text of the deal must be thrashed out by the end of the week to allow it to be included in draft summit conclusions and give other leaders time to consult their own governments - and in some cases parliaments - before convening in Brussels.

Prominent Tory MPs voiced their opposition to any deal which threatened the territorial integrity of the United Kingdom by forcing Northern Ireland to operate under different regulations from the mainland.

Leading Brexiteer Jacob Rees-Mogg said: "I don't think that can possibly happen. The Government doesn't have a majority for that."

Leaders of devolved administrations in Scotland, Wales and London that they would want the option to adopt in their parts of the UK any special status afforded to Northern Ireland.

Labour leader Jeremy Corbyn said the failure of talks showed Mrs May's Government was "completely ill-equipped to negotiate a successful Brexit deal for our country", while former Ukip leader Nigel Farage said she should "leave office now".

But many Conservatives were optimistic of a deal being struck.

The chairman of the Commons Northern Ireland Committee, Tory MP Andrew Murrison, told BBC2's Newsnight: "We understand that later this week there is every prospect of a deal satisfying the European Union that, in its words, sufficient progress has been made which will set us up for a favourable conclusion to the summit.

"The mood here at Westminster at the moment is far more upbeat than I've known it for some considerable time now. I think, with compromise on both sides ... we are set fair for some good news before Christmas."

Irish agriculture minister Michael Creed told Newsnight that "with goodwill on all sides" a deal could be agreed by Friday, but added: "I don't want to underestimate the significance of the issues that have yet to be agreed."