XML 52 R41.htm IDEA: XBRL DOCUMENT v3.8.0.1
Derivatives (Detail Textuals) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Jun. 30, 2017
Jul. 31, 2017
Options | Cash flow hedges | Cost of goods sold            
Derivative [Line Items]            
Gain (loss) on matured contracts, record to Inventory     $ 3,254   $ 966  
Recognize gains in costs of goods sold in next three months $ 263   263      
Options | Cash flow hedges | Cost of goods sold | Brazilian Real calls            
Derivative [Line Items]            
Realized gains (losses) on hedging derivatives recognized in cost of goods sold $ 517 $ (393) $ 703 $ (1,528)    
Interest rate swap            
Derivative [Line Items]            
Percentage of interest rate           1.8325%
Derivative, notional amount           $ 150,000