Persons held as material witnesses or under an order imposing punishment for contempt shall be kept separate from persons charged with a crime. Persons in custody for civil warrants shall be segregated from persons charged with a crime. Males and females shall be confined separately from each other. Juveniles shall not be confined with adults. Juveniles are considered to be those persons under the age of 18 years.
Refer to: Penal Code 4001, 4002, 4021; Welfare & Institutions Code Section 508