Equity and Long-Term Incentive Compensation Plans - Restricted Stock Units (Details) $ / shares in Units, $ in Thousands |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
|
Dec. 31, 2016
USD ($)
$ / shares
|
Dec. 31, 2015
USD ($)
$ / shares
|
Dec. 31, 2016
USD ($)
$ / shares
|
Dec. 31, 2015
USD ($)
$ / shares
|
|||
| Restricted stock units | ||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||
| Weighted-average grant date fair value per unit (in dollars per share) | $ / shares | $ 75.38 | $ 66.83 | $ 70.95 | $ 51.12 | ||
| Grant date fair value of vested restricted stock units | $ | $ 1,843 | $ 2,299 | $ 31,051 | $ 48,021 | ||
| Tax benefits realized by the Company in connection with vested and released restricted stock units | $ | $ 765 | $ 2,165 | $ 14,694 | $ 25,682 | ||
| 2004 Plan | Restricted stock units | ||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||
| Weighted-average grant date fair value per unit (in dollars per share) | $ / shares | [1] | $ 70.95 | ||||
| 2004 Plan | Awards Granted after November 6, 2013 | ||||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||||
| Impact on share reserve multiplier | 2.0 | 2.0 | ||||
| ||||||