XML 57 R46.htm IDEA: XBRL DOCUMENT v3.5.0.2
Income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
Dec. 31, 2015
Income Tax Disclosure [Abstract]          
Income tax expense (benefit) $ (12,329) $ 8,474 $ (43,562) $ 22,975  
Effective tax rate 10.60% 31.10% 12.60% 24.60%  
Unrecognized Tax Benefits $ 49,300   $ 49,300   $ 36,300
Unrecognized tax benefits that would be recorded as reduction in income tax provision, if recognized $ 31,200   $ 31,200