In any action for divorce from the bonds of matrimony the court may at any stage of the cause, or from time to time after final judgment, make such orders touching the care, custody and maintenance of the children of the marriage and what, if any, security shall be given for the same as from the circumstances of the parties and the nature of the case and the best spiritual as well as other interests of the children may be fit, equitable and just.
S.C. Code § 20-3-160