Annual report pursuant to Section 13 and 15(d)

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

v3.10.0.1
Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Jun. 30, 2017
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value $ 5,385 $ 5,931
Liability derivatives fair value 6,828 1,275
Other current assets    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 5,385 5,931
Other current liabilities    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 6,828 1,275
Derivatives designated as hedging instruments | Other current assets    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 3,478 2,198
Derivatives designated as hedging instruments | Other current liabilities    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 5,470 72
Derivatives not designated as hedging instruments | Other current assets    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 1,907 3,733
Derivatives not designated as hedging instruments | Other current liabilities    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 1,358 1,203
Rate lock contracts | Derivatives designated as hedging instruments | Other current assets    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 219 0
Rate lock contracts | Derivatives designated as hedging instruments | Other current liabilities    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 5,158 0
Foreign exchange contracts | Derivatives designated as hedging instruments | Other current assets    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 3,259 2,198
Foreign exchange contracts | Derivatives designated as hedging instruments | Other current liabilities    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 312 72
Foreign exchange contracts | Derivatives not designated as hedging instruments | Other current assets    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 1,907 3,733
Foreign exchange contracts | Derivatives not designated as hedging instruments | Other current liabilities    
Derivative Assets (Liabilities), at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities $ 1,358 $ 1,203