XML 102 R86.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes - Schedule of Domestic and Foreign Components of (Loss) Income Before Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Income Tax [Line Items]      
(Loss) income before taxes $ (251,885) $ (42,268) $ 19,369
Domestic      
Income Tax [Line Items]      
(Loss) income before taxes (172,560) (36,454) 16,284
Foreign      
Income Tax [Line Items]      
(Loss) income before taxes $ (79,325) $ (5,814) $ 3,085