Lightning strike and flash flooding during downpours
A house has been struck by lightning and several others flooded during torrential downpours in parts of Scotland.
The band of heavy rain also caused travel problems, flooding a number of routes in the Scottish Borders.
Firefighters were called to a property in Mayfield, Midlothian, after it was hit by lightning.
No-one was hurt but the Scottish Fire and Rescue Service sent five appliances to the scene to deal with roof damage.
In Penicuik, flash flooding led to firefighters being called to homes to pump water out.
Schools and a leisure centre were also affected.
Firefighters pumped water out of several properties and the local council said work was ongoing to clear water at Mauricewood Primary School in the town.
The Met Office issued a yellow 'be aware' weather warning covering a band up the middle of the country from the Borders to the Highlands.
The warning - valid until 21:00 - said the showers would be slow-moving but stressed that many places would "miss the worst".
Scottish Borders Council reported that one lane of the A68 was shut due to a damaged culvert north of Camptown.
A heavy downpour also meant the B6352 between Kirk Yetholm and the Scotland/England border was closed.