XML 77 R63.htm IDEA: XBRL DOCUMENT v3.6.0.2
Income taxes (Narrative) (Details) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Operating Loss and Tax Credit Carryforwards [Line Items]    
Income tax receivable $ 32,801 $ 0
Unrecognized tax benefits 14,220 8,410
Decrease in unrecognized tax benefits is reasonably possible 1,300  
Accrued interest and penalties 500 $ 400
U.S.    
Operating Loss and Tax Credit Carryforwards [Line Items]    
Net operating loss carryforwards 59,700  
State and Local Jurisdiction    
Operating Loss and Tax Credit Carryforwards [Line Items]    
Net operating loss carryforwards 3,600  
Non-U.S.    
Operating Loss and Tax Credit Carryforwards [Line Items]    
Net operating loss carryforwards 21,600  
Foreign tax credit carryforward $ 5,100