XML 73 R63.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Dec. 31, 2014
Debt Instrument [Line Items]      
Temporary equity from convertible notes $ 28,081 $ 0  
Additional paid-in capital 5,116,339 4,883,670  
Senior Notes Due 2019 [Member]      
Debt Instrument [Line Items]      
Principal 1,437,483 1,437,483  
Less: note discount and issuance costs (31,326) (51,159)  
Net carrying amount 1,406,157 1,386,324 $ 1,440,000
Temporary equity from convertible notes 28,081 0  
Additional paid-in capital 134,788 162,869  
Total (including temporary equity) $ 162,869 $ 162,869