A legal custodian has the right to physical custody of a child, the right to determine the nature of the care and treatment of such child, including ordinary medical care, and the right and duty to provide for the care, protection, training, and education and the physical, mental, and moral welfare of such child, subject to the conditions and limitations of the order and to the remaining rights and duties of such child's parent or guardian.