XML 38 R27.htm IDEA: XBRL DOCUMENT v3.7.0.1
Components of Long Term Debt (Detail) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Principal amount of convertible notes outstanding $ 233,825 $ 239,097
Less: unamortized discount and fees (1,905) (3,164)
Less: current portion (45,822) (2,468)
LONG-TERM DEBT 186,098 233,465
Other debt    
Debt Instrument [Line Items]    
Principal amount of convertible notes outstanding 365 676
Term loan credit agreement    
Debt Instrument [Line Items]    
Principal amount of convertible notes outstanding 188,522 189,470
Convertible Senior Notes    
Debt Instrument [Line Items]    
Principal amount of convertible notes outstanding $ 44,938 $ 48,951