Derivative Instruments and Hedging Activities  - Schedule of Notional Amount (Details) - Derivatives Designated as Hedging Instruments - USD ($) $ in Thousands  | 
3 Months Ended | 12 Months Ended | 
|---|---|---|
Sep. 30, 2016  | 
Jun. 30, 2016  | 
|
| Purchase | Other foreign currency hedge contracts | ||
| Derivative | ||
| Derivative, notional amount | $ 113,793 | $ 122,275 | 
| Sell | Other foreign currency hedge contracts | ||
| Derivative | ||
| Derivative, notional amount | 114,506 | 115,087 | 
| Cash flow hedge contracts | Purchase | ||
| Derivative | ||
| Derivative, notional amount | 8,058 | 7,591 | 
| Cash flow hedge contracts | Sell | ||
| Derivative | ||
| Derivative, notional amount | $ 98,256 | $ 91,793 | 
| Maximum | ||
| Derivative | ||
| Remaining maturity (in months) | 7 months | 7 months | 
| X | ||||||||||
- Definition Aggregate notional amount specified by the derivative(s). Expressed as an absolute value. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Period remaining until the derivative contract matures, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |