The Law - The Illinois Probate Act of 1975 - Sec. 11-7

(755 ILCS 5/11 7) (from Ch. 110 1/2, par. 11 7)
   
Sec. 11 7. Parental right to custody. If both parents of a minor are living and are competent to transact their own business and are fit persons, they are entitled to the custody of the person of the minor and the direction of his education. If one parent is dead and the surviving parent is competent to transact his own business and is a fit person, he is similarly entitled. The parents have equal powers, rights and duties concerning the minor. If the parents live apart, the court for good reason may award the custody and education of the minor to either parent or to some other person.

(Source: P.A. 79 328.)