XML 73 R57.htm IDEA: XBRL DOCUMENT v3.8.0.1
Derivative Financial Instruments and Hedging Activities (Details 3) - Prepaid expenses and other current assets - Forward foreign exchange contracts - USD ($)
$ in Thousands
Nov. 30, 2017
Aug. 31, 2017
Designated as Hedging Instruments    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Asset Derivatives $ 6,403 $ 8,380
Forward foreign exchange contracts, Liability Derivatives 252 1,408
Not Designated as Hedging Instrument    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Asset Derivatives 12,328 31,280
Forward foreign exchange contracts, Liability Derivatives $ 9,388 $ 9,131