Schedule II-Valuation and Qualifying Accounts (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2015 |
Jun. 30, 2014 |
Jun. 30, 2013 |
|
| Accounts Receivable, Net [Member] | |||
| Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at beginning of period | $ 3,276 | $ 3,737 | $ 6,539 |
| Additions charged to costs and expenses | 1,199 | 995 | 1,811 |
| Deductions | (632) | (1,456) | (4,613) |
| Balance at end of period | 3,843 | 3,276 | 3,737 |
| Deferred Tax Valuation Allowance [Member] | |||
| Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at beginning of period | 10,900 | 12,500 | 14,700 |
| Additions charged to costs and expenses | 0 | 0 | 1,000 |
| Deductions | (1,700) | (1,600) | (3,200) |
| Balance at end of period | $ 9,200 | $ 10,900 | $ 12,500 |