XML 62 R49.htm IDEA: XBRL DOCUMENT v3.8.0.1
DEBT - Summary (Details) - USD ($)
$ in Thousands
Dec. 31, 2017
Dec. 31, 2016
Debt    
Total long-term debt $ 677,234 $ 728,173
Unamortized debt discount and issuance costs (77,872) (12,080)
Current portion of long term debt (25,000) (7,752)
Net long-term debt 574,362 708,341
Senior secured term loans    
Debt    
Total long-term debt 243,750 0
Current portion of long term debt (25,000) 0
Convertible subordinated notes    
Debt    
Total long-term debt 240,984 240,984
Convertible senior notes    
Debt    
Total long-term debt 192,500 0
Non-Recourse Notes    
Debt    
Total long-term debt 0 487,189
Current portion of long term debt $ 0 $ (7,752)