Yellow weather warnings remain in place for parts of Scotland after Storm Ophelia battered parts of Scotland.

Wind speeds of more than 77mph were felt in some parts of the country with Dumfries and Galloway bearing the brunt of the gusts.

Bridges were closed and flights and ferries cancelled during the worst of the weather.

The Met Office continued to issue weather warnings about the tail end of the ex-hurricane for Tuesday.

The yellow weather warning affected south-west Scotland, Lothian & Borders, Strathclyde, Central Tayside and Fife.

Chief weather forecaster for the Met Office said: “Very strong winds are forecast to continue to affect some parts of the UK during Tuesday.

“South westerly winds are most likely to gust between 50 and 60mph across much of the warning area with the potential for gusts of 70mph across the Central Belt of Scotland and parts of north-east England.

“Although the strongest winds are likely overnight they may last into the morning’s busy travel period across the central belt of Scotland and more especially north-east England.”

The forecaster said the “worst of the winds should ease” from Northern Ireland in the early hours of Tuesday and from eastern areas of Scotland by early afternoon.

It followed an amber “be prepared” warning on Monday which resulted in trees being brought down and road closures in Dumfries and Galloway.

It warned of “potential for injuries and danger to life” from flying debris.

This was borne out by damage to buildings in the area after a scout hut in Castle Douglas had its roof blown off.

Glasgow Airport advised customers to check with their airline in case of flight cancellations caused by high winds.

Transport Scotland, meanwhile, urged motorists to check Traffic Scotland’s mobile website for the latest conditions before they travel.

A spokesman said: “On the roads, there is the potential for disruption, especially on bridges and people should check the latest information before they set off, drive to the conditions and follow police advice.

“The Traffic Scotland service now give details of ‘wind based’ closures for 11 major trunk route bridges allowing people to plan ahead with more accuracy.

“Motorists should check Traffic Scotland before they set off to make sure that their route is available.”

On ferry routes CalMac sailings continue to be affected by strong winds with services subject to disruption.

The Scottish Environment Protection Agency had four flood alerts in place for west central Scotland, Ayrshire and Arran, Argyll and Bute and Dumfries and Galloway. It also has 14 flood warnings in place for much of the wst coast of Scotland.

A spokesman added: “We would urge people to sign up to SEPA’s floodline service to get the latest flood information direct to their mobile phone and people can contact the free 105 service to report or get information about power cuts in the local area.”

Rail services between Edinburgh and Aberdeen, Dundee, Fife and Perth have been suspended after a freight train is thought to have hit a tree on the line near Markinch.

Disruption is expected until midday, Scotrail said.

Services have also been hit between Glasgow and Edinburgh due to a branch hitting overhead power lines in Bellshill.