Quarterly report pursuant to Section 13 or 15(d)

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

v3.6.0.2
Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details) - USD ($)
$ in Thousands
Dec. 31, 2016
Jun. 30, 2016
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value $ 13,978 $ 1,095
Liability derivatives fair value 4,103 11,647
Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 13,978 1,095
Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 4,103 11,647
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 10,540 342
Asset derivatives fair value 10,540 342
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 497 4,736
Liability derivatives fair value 497 4,736
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,438 753
Asset derivatives fair value 3,438 753
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 3,606 6,911
Liability derivatives fair value $ 3,606 $ 6,911