| Equity and Long-Term Incentive Compensation Plans  - Equity Incentive Program (Details) $ in Thousands | 12 Months Ended | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Jun. 30, 2017  shares | Jun. 30, 2016  shares | Jun. 30, 2015  shares | Jun. 30, 2017  USD ($)  plan  shares | Jun. 30, 2016  USD ($)  shares | Jun. 30, 2015  USD ($)  shares | |||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Number of plans | plan | 2 | |||||||||||||||||||||
| Maximum number of shares available for grant (in shares) | 6,778,000 | 7,810,000 | [1] | 8,804,000 | 4,710,000 | 6,778,000 | 7,810,000 | [1] | ||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Balances, beginning of period (in shares) | 6,778,000 | 7,810,000 | [1] | 8,804,000 | ||||||||||||||||||
| Options canceled/expired/forfeited (in shares) | 11,000 | |||||||||||||||||||||
| Plan shares expired (in shares) | [2] | (10,000) | ||||||||||||||||||||
| Balance, end of period (in shares) | 4,710,000 | 6,778,000 | 7,810,000 | [1] | ||||||||||||||||||
| Dividends payable | $ | $ 13,772 | $ 19,556 | $ 42,002 | |||||||||||||||||||
| 2004 Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Shares available for issuance (in shares) | 3,100,000 | |||||||||||||||||||||
| Percent of fair market value on grant date | 100.00% | |||||||||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Adjustments in period (in shares) | 4,245 | |||||||||||||||||||||
| Outside Director Option Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Maximum number of shares available for grant (in shares) | 1,700,000 | 1,700,000 | ||||||||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Balance, end of period (in shares) | 1,700,000 | |||||||||||||||||||||
| Restricted stock units | ||||||||||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Restricted stock units granted (in shares) | [3],[4] | (2,169,000) | (1,541,000) | (1,191,000) | ||||||||||||||||||
| Restricted stock units canceled (in shares) | [4] | 101,000 | 509,000 | 196,000 | ||||||||||||||||||
| Restricted stock units | 2004 Plan | ||||||||||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Restricted stock units granted (in shares) | [5],[6] | (1,085,000) | ||||||||||||||||||||
| Restricted stock units canceled (in shares) | [6] | 51,000 | ||||||||||||||||||||
| Restricted stock unit, Performance-based and Service-based | ||||||||||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Dividends payable | $ | $ 13,800 | |||||||||||||||||||||
| Restricted stock unit, Performance-based and Service-based | 2004 Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Maximum number of shares available for grant (in shares) | 300,000 | 300,000 | 300,000 | 42,000 | 300,000 | 300,000 | ||||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Balances, beginning of period (in shares) | 300,000 | 300,000 | ||||||||||||||||||||
| Balance, end of period (in shares) | 42,000 | 300,000 | 300,000 | |||||||||||||||||||
| Restricted stock unit, Performance-based and Service-based | Outside Director Option Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Maximum number of shares available for grant (in shares) | 700,000 | 600,000 | 600,000 | 84,000 | 700,000 | 600,000 | ||||||||||||||||
| Total shares available for grant under the Company's equity incentive plans: | ||||||||||||||||||||||
| Balances, beginning of period (in shares) | 700,000 | 600,000 | ||||||||||||||||||||
| Balance, end of period (in shares) | 84,000 | 700,000 | 600,000 | |||||||||||||||||||
| Awards Granted before November 6, 2013 | 2004 Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Impact on share reserve multiplier | 1.8 | |||||||||||||||||||||
| Awards Granted before November 6, 2013 | Outside Director Option Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Impact on share reserve multiplier | 1.8 | |||||||||||||||||||||
| Awards Granted after November 6, 2013 | 2004 Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Impact on share reserve multiplier | 2.0 | |||||||||||||||||||||
| Awards Granted after November 6, 2013 | Outside Director Option Plan | ||||||||||||||||||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||||||||||||||||||
| Impact on share reserve multiplier | 2.0 | |||||||||||||||||||||
| 
 | ||||||||||||||||||||||