Every child has equal rights under the law regardless of the parents' legal relationship.
750 ILCS 46/202