XML 137 R113.htm IDEA: XBRL DOCUMENT v3.10.0.1
Related Party Transactions - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2018
May 31, 2017
May 31, 2016
Related Party Transactions [Abstract]      
Net sales to affiliates $ 57,382 $ 56,588 $ 32,496
Purchases from affiliates 7,292 7,145 $ 15,737
Receivables from affiliates 2,479 4,616  
Payable to affiliates $ 0 $ 76