Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details)

v3.8.0.1
Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details) - USD ($)
$ in Thousands
Dec. 31, 2017
Jun. 30, 2017
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value $ 4,474 $ 5,931
Liability derivatives fair value 415 1,275
Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 4,474 5,931
Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 415 1,275
Derivatives Designated as Hedging Instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 1,271 2,198
Asset derivatives fair value 1,271 2,198
Derivatives Designated as Hedging Instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 126 72
Liability derivatives fair value 126 72
Derivatives Not Designated as Hedging Instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 3,203 3,733
Asset derivatives fair value 3,203 3,733
Derivatives Not Designated as Hedging Instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 289 1,203
Liability derivatives fair value $ 289 $ 1,203