(A) It shall be unlawful for a person less than 17 years of age to be present at or upon any public assembly, building, place, street, highway, or other public place or way at the following times
(1) For persons less than 13 years of age, between 9:00 p.m. and 6:00 a.m. the following day on any day of the week.
(2) For persons at least 13 years of age, but not yet 17 years of age:
(a) Between 11:00 p.m. on Sunday to Thursday, inclusive, and 6:00 a.m. on the following day.
(b) Between 12:01 a.m. and 6:00 a.m. Saturday and Sunday.
(B) It is a defense to a violation under this chapter that the child engaged in the prohibited conduct while:
(1) Accompanied by the child’s parent, legal guardian, custodian, sibling, stepbrother, or stepsister at least 18 years of age;
(2) Accompanied by an adult at least 21 years of age approved by the child’s parent, guardian, or custodian.
(3) Participating in, going to, or returning from:
(a) Employment which the laws of this state authorize a person less than 17 years of age to perform;
(b) A school recreational activity;
(c) A religious event;
(d) An emergency involving the protection of a person or property from an imminent threat of serious bodily injury or substantial damage;
(e) An activity involving the exercise of the child’s rights protected under the First Amendment to the United States Constitution or Article 1, Sections 3, 4, and 5 of the Constitution of the State of Illinois, or both;
(f) An activity conducted by a non-profit or governmental entity that provides recreation, education, training, or other care under the supervision of one or more adult. A citation for violation of division (A) of this section may be issued by a police officer only if he or she reasonably believes that a violation has occurred and none of the defenses enumerated in division (B) apply.
(C) It is unlawful for a parent, legal guardian, custodian, or other person to knowingly permit a person in his or her custody or control to violate provisions of division (A) of this section. It shall be a rebuttable presumption that a person has violated this section if someone under 17 years of age of whom that person has custody or control is present upon any public assembly, building, business, street or highway, or other public place or public way in violation of division (A) of this section, and none of the defenses enumerated in division (B) hereof apply.
(D) Any person convicted of a violation of division (C) of this section shall be fined $50 for the first violation in any 12-month period; $75 for a second violation in any 12-month period; and $200 for a third or subsequent violation in any 12-month period.