XML 50 R39.htm IDEA: XBRL DOCUMENT v3.8.0.1
Derivatives (Details) - Cash flow hedges
BRL in Thousands, $ in Thousands
Dec. 31, 2017
USD ($)
Dec. 31, 2017
BRL
Jun. 30, 2017
USD ($)
Options | Brazilian Real calls      
Derivative [Line Items]      
Notional amount | BRL   BRL 0  
Options | Brazilian Real calls | Other current assets      
Derivative [Line Items]      
Fair value $ 0   $ 2,686
Swap | Interest rate swap      
Derivative [Line Items]      
Notional amount 150,000    
Swap | Interest rate swap | Other assets      
Derivative [Line Items]      
Fair value $ 1,788   $ 0