County jail means a facility operated by a county for the physical detention and correction of persons charged with or convicted of criminal offenses and ordinance violations, persons found guilty of civil or criminal contempt, and juveniles detained by court order.