XML 111 R90.htm IDEA: XBRL DOCUMENT v3.3.1.900
Income taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Income Tax Disclosure [Abstract]      
U.S. $ (62,203) $ 91,026 $ (47,080)
Foreign 21,081 52,451 7,236
Income (loss) before income taxes and equity in earnings of joint ventures $ (41,122) $ 143,477 $ (39,844)