XML 52 R41.htm IDEA: XBRL DOCUMENT v3.8.0.1
Derivatives (Detail Textuals) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Mar. 31, 2018
Mar. 31, 2017
Jul. 31, 2017
Jun. 30, 2017
Options | Cash flow hedges | Cost of goods sold            
Derivative [Line Items]            
Maximum maturity period of foreign currency derivatives     2 years      
Realized gains related to matured contracts recorded as a component of inventory $ 2,740   $ 2,740     $ 966
Realized gains (losses) on hedging derivatives recognized in cost of goods sold     $ 1,480      
Period for recognized gains as an offset to cost of goods sold     6 months      
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 $ 777 $ 0 $ 1,480 $ (1,528)    
Interest rate swap            
Derivative [Line Items]            
Percentage of interest rate         1.8325%  
Derivative, notional amount         $ 150,000