Greece debt crisis: How the bailout deal was done

Greek Prime Minister Alexis Tsipras is facing a tough battle to win support from coalition partners for the third bailout offered by eurozone leaders.

The deal came after about 17 hours of summit talks in Brussels, but is conditional on Greece passing all the agreed reforms by Wednesday.

They include raising tax revenue and liberalising the labour market.

Ben Bland explains how the deal was done.