Idaho Code Sec 32-717 (3)
"In any case where the child is actually residing with a grandparent in a stable relationship, the court may recognize the grandparent as having the same standing as a parent for evaluating what custody arrangements are in the best interests of the child."
See Also Hernandez v. Hernandez, 265 P.3d 495 (Idaho 2011)
and Troxel v. Granville, 530 U.S. 57 (2000) (A parent has a fundamental right under the Due Process Clause of the Fourteenth Amendment "to make decisions concerning the care, custody and control of their children.")
Parental Power of Attorney