XML 63 R47.htm IDEA: XBRL DOCUMENT v3.8.0.1
DEBT DEBT (Details - Convertible Senior Notes) - USD ($)
$ / shares in Units, $ in Thousands
9 Months Ended
May 31, 2017
Sep. 30, 2017
Sep. 30, 2016
Dec. 31, 2016
Debt Instrument [Line Items]        
Aggregate principal amount of convertible senior notes $ 300,000 $ 300,000   $ 0
Annual interest rate on convertible senior notes 0.625%      
Principal amount of convertible senior notes exercised to cover the over-allotment $ 35,000      
Initial conversion rate, shares per $1,000 principal amount of notes 4.8163      
Principal amount of notes convertible into shares 1000      
Initial conversion price per share $ 207.63      
Conversion rate, sales price of common stock as a percentage of the conversion price 130.00%      
Cash repurchase at a price equal to the principal amount of the notes, Percentage 100.00%      
Nonconvertible debt borrowing rate at the date of issuance 5.36%      
Debt component of the principal amount of the Convertible Senior Notes $ 238,400      
Equity component of the principal amount of the Convertible Senior Notes 61,600      
Total interest expense on the Convertible Senior Notes   4,700    
Interest expense recognized associated with the 06.25% coupon rate   600    
Amortization of convertible debt discount   3,635 $ 0  
Amortization of debt issuance costs   622 $ 183  
Financing costs related to the issuance of the Convertible Senior Notes 9,300      
Debt issuance costs, liability component 7,400 6,927   0
Long-term debt   235,120   0
Debt issuance costs, equity component $ 1,900      
Fair value of the Convertible Senior Notes using a Level 1 observable input   398,700    
Unamortized debt discount   57,953   $ 0
Convertible Notes Payable [Member]        
Debt Instrument [Line Items]        
Amortization of debt issuance costs   $ 400