Long-term debt consisted of: | | | | | | | | | | | | March 31, 2015 | | December 31, 2014 | $402.5 million aggregate principal amount 1.625% Convertible Senior Notes due 2019 | | $ | 335,192 |
| | $ | 331,998 |
| $114.4 million aggregate principal amount 3.000% Convertible Senior Notes due 2015 | | 110,281 |
| | 108,792 |
| Capital leases | | 15,679 |
| | 15,867 |
| Total debt | | 461,152 |
| | 456,657 |
| Less: Current portion of long-term debt | | (110,281 | ) | | (108,792 | ) | Less: Current portion of capital leases | | (2,840 | ) | | (2,853 | ) | Total long-term debt | | $ | 348,031 |
| | $ | 345,012 |
|
|