XML 139 R114.htm IDEA: XBRL DOCUMENT v3.5.0.2
Related Party Transactions - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2016
May 31, 2015
May 31, 2014
Related Party Transaction [Line Items]      
Net sales to affiliates $ 32,496 $ 32,277 $ 31,441
Purchases from affiliates 15,737 8,021 $ 9,387
Receivables from affiliates 5,152 5,826  
Payable to affiliates $ 107 $ 11,528