XML 41 R31.htm IDEA: XBRL DOCUMENT v3.7.0.1
FAIR VALUE OF FINANCIAL INSTRUMENTS - Additional Information (Details) - USD ($)
$ in Thousands
Mar. 31, 2017
Jun. 30, 2016
Mar. 31, 2016
Jun. 30, 2015
Fair Value Disclosures [Abstract]        
Deposits of cash outside the United States $ 511,800      
Cash and cash equivalents $ 533,944 $ 551,031 $ 502,549 $ 446,401