What matters are to considered in awarding custody?
The conduct of a present or proposed custodian that does not affect his or her relationship to the child is not to be considered in awarding custody or visitation. The tender years presumption, which had for most of this century preferred mothers as custodians of young children in the absence of a showing of unfitness, has been abrogated in Illinois since at least 1976. On equal protection grounds, both parents have equal custody rights. There is no presumption in favor of or against joint custody.