45. Maintenance order.
(a) Subject to subsection (3), where it appears to the court, on application to it by a civil partner, that the other civil partner has failed to provide maintenance for the applicant civil partner and any dependent child of the civil partners that is proper in the circumstances, the court may make an order that the other civil partner make to the applicant periodical payments for the support of the applicant and the dependent child of the civil partners, for the period during the lifetime of the applicant, of the amount and at the times that the court may consider proper.
(b) Subject to subsection (3), where a civil partner -
(i) is dead,
(ii) has deserted, or has been deserted by, the other civil partner, or
(iii) is living separately and apart from the other civil partner,
and there is a dependent child of the civil partners (not being a child who is being fully maintained by either civil partner), then, if it appears to the court, on application to it by any person, that the surviving civil partner or, as the case may be, either civil partner has failed to provide such maintenance for the dependent child of the civil partners as is proper in the circumstances, the court may make an order that that civil partner make to that person periodical payments, for the support of the dependent child, for such period during the lifetime of that person, of such amount and at such times, as the court may consider proper.