XML 102 R85.htm IDEA: XBRL DOCUMENT v3.5.0.2
Valuation and Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2016
May 31, 2015
May 31, 2014
Valuation and Qualifying Accounts      
Balance at Beginning of Year $ 4,834 $ 3,267 $ 1,984
Additions - Charged to costs and expenses 44,433 2,313 8,161
Deductions (2,686) (746) (6,878)
Balance at End of Period 46,581 4,834 3,267
Allowance for deferred tax asset      
Valuation and Qualifying Accounts      
Balance at Beginning of Year 1,791 1,531 712
Additions - Charged to costs and expenses 40,685 467 819
Deductions (267) (207) 0
Balance at End of Period 42,209 1,791 1,531
Allowance for sales returns and doubtful accounts      
Valuation and Qualifying Accounts      
Balance at Beginning of Year 3,043 1,736 1,272
Additions - Charged to costs and expenses 3,748 1,846 7,342
Deductions (2,419) (539) (6,878)
Balance at End of Period $ 4,372 $ 3,043 $ 1,736