XML 106 R89.htm IDEA: XBRL DOCUMENT v3.7.0.1
INCOME TAXES - Schedule of Unrecognized Tax Benefits (Detail 4) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Beginning of year $ 398 $ 6,220 $ 9,636
Additions based on current year tax positions 1,475 89 1,468
Reductions based on changes to prior year tax positions     (3,522)
Lapse of statute of limitations (234) (128) (1,344)
Settlement with taxing authorities   (5,783) (18)
End of year $ 1,639 $ 398 $ 6,220