XML 52 R38.htm IDEA: XBRL DOCUMENT v3.5.0.2
Fair Value of Foreign Exchange Forward Contracts (Detail) - Derivatives Not Designated as Hedging Instruments - Foreign exchange forward contracts - USD ($)
$ in Thousands
12 Months Ended
May 31, 2016
May 31, 2015
May 31, 2014
Selling, General and Administrative Expenses      
Derivatives, Fair Value [Line Items]      
Gain (Loss) on Foreign Currency Derivative Instruments Not Designated as Hedging Instruments $ 38 $ 1,210 $ (269)
Other assets      
Foreign Currency Derivative Instruments Not Designated as Hedging Instruments [Abstract]      
Foreign exchange forward contracts other assets $ (6) $ (16)