An earthquake of magnitude 4.0 and depth of 5.00 kilometers occurred 16.78 miles from Stanley, ID in Custer County at 07:20 PM.