When the mother is unmarried to the father, the mother has sole legal custody and sole physical custody, unless the…