XML 72 R50.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Deferred Financing Costs (Details Textual) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Debt Instrument [Line Items]      
Amortization expenses of deferred financing costs included in Interest expense $ 2,400 $ 2,400 $ 1,900
2015 Credit Agreement      
Debt Instrument [Line Items]      
Deferred financing costs related to convertible notes 2,300    
Senior Convertible Notes 2016      
Debt Instrument [Line Items]      
Deferred financing costs related to convertible notes $ 4,503 $ 5,513  
Credit Agreement and Convertible Notes | Debt Offerings      
Debt Instrument [Line Items]      
Weighted-average interest rate on debt borrowings 5.00% 5.00% 6.00%