Long-Term Debt | Long-Term Debt Long-term debt consisted of the following (in millions): December 31, December 31, Borrowings under amended and restated senior secured revolving credit agreement with third-party lenders, interest payments quarterly, borrowings due July 2019, weighted average interest rates of 8.4% and 4.8% at December 31, 2017 and 2016, respectively $ 0.2 $ 10.2 Borrowings under 2021 Secured Notes, interest at a fixed rate of 11.5%, interest payments semiannually, borrowings due January 2021, effective interest rates of 12.3% and 12.2% for the year ended December 31, 2017 and 2016, respectively 400.0 400.0 Borrowings under 2021 Notes, interest at a fixed rate of 6.5%, interest payments semiannually, borrowings due April 2021, effective interest rate of 6.8% for each year ended December 31, 2017 and 2016 900.0 900.0 Borrowings under 2022 Notes, interest at a fixed rate of 7.625%, interest payments semiannually, borrowings due January 2022, effective interest rate of 8.0% for each year ended December 31, 2017 and 2016 (1) 352.1 352.5 Borrowings under 2023 Notes, interest at a fixed rate of 7.75%, interest payments semiannually, borrowings due April 2023, effective interest rate of 8.0% for each year ended December 31, 2017 and 2016 325.0 325.0 Other 6.6 8.0 Capital lease obligations, at various interest rates, interest and principal payments monthly through November 2034 44.0 46.5 Less unamortized debt issuance costs (2) (25.9 ) (33.2 ) Less unamortized discounts (9.7 ) (11.8 ) Total long-term debt 1,992.3 1,997.2 Less current portion of long-term debt (3) 354.1 3.5 $ 1,638.2 $ 1,993.7 (1) The balance includes a fair value interest rate hedge adjustment, which increased the debt balance by $2.1 million and $2.5 million as of December 31, 2017 and 2016 , respectively. (2) Deferred debt issuance costs are being amortized by the effective interest rate method over the lives of the related debt instruments. These amounts are net of accumulated amortization of $21.8 million and $14.5 million at December 31, 2017 and 2016 , respectively. (3) The sale of the Superior Refinery resulted in $350.0 million of restricted cash and was based upon the value of collateral under the Company’s debt agreements. Under the indentures governing the Company’s senior notes, proceeds from Asset Sales (as defined in the indentures) can only be used for, among other things, to repay, redeem or repurchase debt; to make certain acquisitions or investments; and to make capital expenditures. These proceeds need to be used within one year of the Asset Sales (as defined in the indentures) and as such were recorded as current. Senior Notes 11.50% Senior Secured Notes (the “2021 Secured Notes”) On April 20, 2016 , the Company issued and sold $400.0 million in aggregate principal amount of 11.50% Senior Secured Notes due January 15, 2021 , in a private placement pursuant to Section 4(a)(2) of the Securities Act of 1933, as amended (the “Securities Act”), to eligible purchasers at a discounted price of 98.273 percent of par. Subject to certain exceptions, the 2021 Secured Notes are secured by a lien on all of the fixed assets that secure the Company’s obligations under its secured hedge agreements, including certain present and future real property, fixtures and equipment; all U.S. registered patents and patent license rights, trademarks and trademark license rights, copyrights and copyright license rights and trade secrets; chattel paper, documents and instruments; certain cash deposits in the property, plant and equipment proceeds account; certain books and records; and all accessions and proceeds of any of the foregoing. The Company received net proceeds of approximately $382.5 million net of discount, initial purchasers’ fees and estimated expenses, which it used to repay borrowings outstanding under its revolving credit facility and for general partnership purposes, including planned capital expenditures at its facilities and working capital. Interest on the 2021 Secured Notes is paid semiannually in arrears on January 15 and July 15 of each year, beginning on July 15, 2016. 7.75% Senior Notes (the “2023 Notes”) On March 27, 2015 , the Company issued and sold $325.0 million in aggregate principal amount of 7.75% Senior Notes due April 15, 2023 in a private placement pursuant to Section 4(a)(2) of the Securities Act, to eligible purchasers at a discounted price of 99.257 percent of par. The Company received net proceeds of approximately $317.0 million net of discount, initial purchasers’ fees and expenses, which the Company used to fund the redemption of $178.8 million in aggregate principal amount of outstanding 9.625% senior notes due 2020 on April 28, 2015, to repay borrowings outstanding under its revolving credit facility and for general partnership purposes, including planned capital expenditures at the Company’s facilities and working capital. Interest on the 2023 Notes is paid semiannually in arrears on April 15 and October 15 of each year, beginning on October 15, 2015. On March 27, 2015 , in connection with the issuance and sale of the 2023 Notes, the Company entered into a registration rights agreement with the initial purchasers of the 2023 Notes obligating the Company to use reasonable best efforts to file an exchange offer registration statement with the SEC, so that holders of the 2023 Notes can offer to exchange the 2023 Notes for registered notes having substantially the same terms as the 2023 Notes and evidencing the same indebtedness as the 2023 Notes. On December 11, 2015, the Company filed an exchange offer registration statement for the 2023 Notes with the SEC, which was declared effective on January 28, 2016. The exchange offer was completed on March 7, 2016, thereby fulfilling all of the requirements of the 2023 Notes registration rights agreement. 6.50% Senior Notes (the “2021 Notes”) On March 31, 2014 , the Company issued and sold $900.0 million in aggregate principal amount of 6.50% Senior Notes due April 15, 2021 in a private placement pursuant to Section 4(a)(2) of the Securities Act, to eligible purchasers at par. The Company received net proceeds of approximately $884.0 million , net of initial purchasers’ fees and expenses, which the Company used to fund the purchase price of ADF Holdings, Inc., the parent company of Anchor Drilling Fluids USA, Inc. (subsequently converted to ADF Holdings, LLC and Anchor Drilling Fluids USA, LLC), the redemption of $500.0 million in aggregate principal amount outstanding of 9.375% Senior Notes due 2019 and for general partnership purposes, including planned capital expenditures at the Company’s facilities. Interest on the 2021 Notes is paid semiannually in arrears on April 15 and October 15 of each year, beginning on October 15, 2014. On March 31, 2014 , in connection with the issuance and sale of the 2021 Notes, the Company entered into a registration rights agreement with the initial purchasers of the 2021 Notes obligating the Company to use reasonable best efforts to file an exchange offer registration statement with the SEC, so that holders of the 2021 Notes can offer to exchange the 2021 Notes for registered notes having substantially the same terms as the 2021 Notes and evidencing the same indebtedness as the 2021 Notes. On March 24, 2015, the Company filed an exchange offer registration statement for the 2021 Notes with the SEC, which was declared effective on April 3, 2015. The exchange offer was completed on April 30, 2015, thereby fulfilling all of the requirements of the 2021 Notes registration rights agreement. 7.625% Senior Notes (the “2022 Notes”) On November 26, 2013 , the Company issued and sold $350.0 million in aggregate principal amount of 7.625% Senior Notes due January 15, 2022 , in a private placement pursuant to Section 4(a)(2) of the Securities Act, to eligible purchasers at a discounted price of 98.494 percent of par. The Company received net proceeds of approximately $337.4 million , net of discount, initial purchasers’ fees and expenses, which the Company used for general partnership purposes, to fund previously announced organic growth projects, the purchase price of the Bel-Ray acquisition and the redemption of $100.0 million in aggregate principal amount outstanding of 9.375% Senior Notes due 2019. Interest on the 2022 Notes is paid semiannually in arrears on January 15 and July 15 of each year, beginning on July 15, 2014. On November 26, 2013 , in connection with the issuance and sale of the 2022 Notes, the Company entered into a registration rights agreement with the initial purchasers of the 2022 Notes obligating the Company to use reasonable best efforts to file an exchange offer registration statement with the SEC, so that holders of the 2022 Notes can offer to exchange the 2022 Notes for registered notes having substantially the same terms as the 2022 Notes and evidencing the same indebtedness as the 2022 Notes. On November 27, 2013, the Company filed an exchange offer registration statement for the 2022 Notes with the SEC, which was declared effective on December 10, 2013. The exchange offer was completed on January 13, 2014, thereby fulfilling all of the requirements of the 2022 Notes registration rights agreement. 2021 Secured Notes, 2021 Notes, 2022 Notes and 2023 Notes In accordance with SEC Rule 3-10 of Regulation S-X, condensed consolidated financial statements of non-guarantors are not required. The Company has no assets or operations independent of its subsidiaries. Obligations under its 2021, 2022 and 2023 Notes are fully and unconditionally and jointly and severally guaranteed on a senior unsecured basis by the Company’s current 100%-owned operating subsidiaries and certain of the Company’s future operating subsidiaries, with the exception of the Company’s “minor” subsidiaries (as defined by Rule 3-10 of Regulation S-X), including Calumet Finance Corp. (100%-owned Delaware corporation that was organized for the sole purpose of being a co-issuer of certain of the Company’s indebtedness, including the 2021 Secured, 2021, 2022 and 2023 Notes). There are no significant restrictions on the ability of the Company or subsidiary guarantors for the Company to obtain funds from its subsidiary guarantors by dividend or loan. None of the subsidiary guarantors’ assets represent restricted assets pursuant to SEC Rule 4-08(e)(3) of Regulation S-X. The 2021 Secured, 2021, 2022 and 2023 Notes are subject to certain automatic customary releases, including the sale, disposition, or transfer of capital stock or substantially all of the assets of a subsidiary guarantor, designation of a subsidiary guarantor as unrestricted in accordance with the applicable indenture, exercise of legal defeasance option or covenant defeasance option, liquidation or dissolution of the subsidiary guarantor and a subsidiary guarantor ceases to both guarantee other Company debt and to be an obligor under the revolving credit facility. The Company’s operating subsidiaries may not sell or otherwise dispose of all or substantially all of their properties or assets to, or consolidate with or merge into, another company if such a sale would cause a default under the indentures governing the 2021 Secured, 2021, 2022 and 2023 Notes. The indentures governing the 2021 Secured, 2021, 2022 and 2023 Notes contain covenants that, among other things, restrict the Company’s ability and the ability of certain of the Company’s subsidiaries to: (i) sell assets; (ii) pay distributions on, redeem or repurchase the Company’s common units or redeem or repurchase its subordinated debt or, in the case of the 2021 Secured Notes, its unsecured notes; (iii) make investments; (iv) incur or guarantee additional indebtedness or issue preferred units; (v) create or incur certain liens; (vi) enter into agreements that restrict distributions or other payments from the Company’s restricted subsidiaries to the Company; (vii) consolidate, merge or transfer all or substantially all of the Company’s assets; (viii) engage in transactions with affiliates and (ix) create unrestricted subsidiaries. These covenants are subject to important exceptions and qualifications. At any time when the 2021 Secured, 2021, 2022 and 2023 Notes are rated investment grade by either Moody’s Investors Service, Inc. (“Moody’s”) or S&P Global Ratings (“S&P”) and no Default or Event of Default, each as defined in the indentures governing the 2021 Secured, 2021, 2022 and 2023 Notes, has occurred and is continuing, many of these covenants will be suspended. As of December 31, 2017 , the Company’s Fixed Charge Coverage Ratio (as defined in the indentures governing the 2021 Secured, 2021, 2022 and 2023 Notes) was 1.7 . As of December 31, 2017 , the Company was in compliance with all covenants under the indentures governing the 2021 Secured, 2021, 2022 and 2023 Notes. Second Amended and Restated Senior Secured Revolving Credit Facility The Company has a $900.0 million senior secured revolving credit facility, subject to borrowing base limitations, which includes a $500.0 million incremental uncommitted expansion feature. Refer to Note 21 for additional information regarding the Company’s revolving credit facility. The revolving credit facility is the Company’s primary source of liquidity for cash needs in excess of cash generated from operations. The revolving credit facility matures in July 2019 and, as of December 31, 2017 , bore interest at a rate equal to either the prime rate plus a basis points margin or the London Interbank Offered Rate (“LIBOR”) plus a basis points margin, at the Company’s option. As of December 31, 2017 , the margin was 50 basis points for prime rate loans and 150 basis points for LIBOR rate loans; however, the margin can fluctuate quarterly based on the Company’s average availability for additional borrowings under the revolving credit facility in the preceding fiscal quarter as follows: Quarterly Average Availability Percentage Margin on Base Rate Revolving Loans Margin on LIBOR Revolving Loans ≥ 66% 0.50% 1.50% ≥ 33% and < 66% 0.75% 1.75% < 33% 1.00% 2.00% In addition to paying interest quarterly on outstanding borrowings under the revolving credit facility, the Company is required to pay a commitment fee to the lenders under the revolving credit facility with respect to the unutilized commitments thereunder at a rate equal to 0.250% or 0.375% per annum depending on the average daily available unused borrowing capacity for the preceding month. The Company also pays a customary letter of credit fee, including a fronting fee of 0.125% per annum of the stated amount of each outstanding letter of credit, and customary agency fees. The borrowing capacity at December 31, 2017 , under the revolving credit facility was approximately $319.0 million . As of December 31, 2017 , the Company had $0.2 million in outstanding borrowings under the revolving credit facility and outstanding standby letters of credit of $67.3 million , leaving approximately $252.0 million available for additional borrowings based on specified availability limitations. Lenders under the revolving credit facility have a first priority lien on the Company’s accounts receivable, inventory and substantially all of its cash (collectively, the “Credit Agreement Collateral”). On April 20, 2016, the Company and certain of its operating subsidiaries as borrowers (collectively, the “Borrowers”) entered into a Second Amendment to Second Amended and Restated Credit Agreement (the “Second Amendment”), by and among the Borrowers, the Agent (as defined below) and the lenders party thereto (including Bank of America, N.A.), amending the Company’s revolving credit facility. The Second Amendment, among other things, amended the revolving credit facility to permit (a) the issuance of the 2021 Secured Notes pursuant to the indenture governing the 2021 Secured Notes and (b) such 2021 Secured Notes to be secured by a lien on the Fixed Asset Collateral (as defined in the Intercreditor Agreement), subject to the terms of the Intercreditor Agreement. On March 31, 2017, the Company amended its revolving credit facility to allow for the entry into the Supply and Offtake Agreements at the Great Falls refinery. The amendment resulted in the release of certain Eligible Inventory (as defined in the revolving credit agreement) from the revolving credit facility as that inventory is now collateral under the Supply and Offtake Agreements. For additional discussion of the Supply and Offtake Agreements, refer to Note 8 . The revolving credit facility contains various covenants that limit, among other things, the Company’s ability to: incur indebtedness; grant liens; dispose of certain assets; make certain acquisitions and investments; redeem or prepay other debt or make other restricted payments such as distributions to unitholders; enter into transactions with affiliates and enter into a merger, consolidation or sale of assets. Further, the revolving credit facility contains one springing financial covenant which provides that only if the Company’s availability under the revolving credit facility falls below the greater of (a) 12.5% of the Borrowing Base (as defined in the revolving credit agreement) then in effect and (b) $45.0 million (which amount is subject to increase in proportion to revolving commitment increases), then the Company will be required to maintain as of the end of each fiscal quarter a Fixed Charge Coverage Ratio (as defined in the revolving credit agreement) of at least 1.0 to 1.0 until availability under the revolving credit facility exceeds the greater of the foregoing amounts for 30 consecutive days . See Note 21 for details of the third amended and restated credit agreement. As of December 31, 2017 , the Company was in compliance with all covenants under the revolving credit facility. Master Derivative Contracts The Company’s payment obligations under all of the Company’s master derivatives contracts for commodity hedging generally are secured by a first priority lien on the Company’s real property, plant and equipment, fixtures, intellectual property, certain financial assets, certain investment property, commercial tort claims, chattel paper, documents, instruments and proceeds of the foregoing (including proceeds of hedge arrangements). The Company had no additional letters of credit or cash margin posted with any hedging counterparty as of December 31, 2017 . The Company’s master derivatives contracts and Collateral Trust Agreement (as defined below) continue to impose a number of covenant limitations on the Company’s operating and financing activities, including limitations on liens on collateral, limitations on dispositions of collateral and collateral maintenance and insurance requirements. Collateral Trust Agreement In connection with the private placement of the 2021 Secured Notes, on April 20, 2016, the Company entered into an amended and restated collateral trust agreement (the “Collateral Trust Agreement”) which governs how the holders of the 2021 Secured Notes and secured hedging counterparties share collateral pledged as security for the payment obligations owed by it to the holders of the 2021 Secured Notes and secured hedging counterparties under their respective master derivatives contracts. The Collateral Trust Agreement limits to $150.0 million the extent to which forward purchase contracts for physical commodities are covered by, and secured under, the Collateral Trust Agreement and the Parity Lien Security Documents (as defined in the Collateral Trust Agreement). There is no such limit on financially settled derivative instruments used for commodity hedging. Subject to certain conditions set forth in the Collateral Trust Agreement, the Company has the ability to add secured hedging counterparties from time to time. Intercreditor Agreement The 2021 Secured Notes are not secured by the collateral securing the Company’s revolving credit facility. In connection with the offering of the 2021 Secured Notes, the Collateral Trustee entered into a Second Amended and Restated Intercreditor Agreement (the “Intercreditor Agreement”) among the Collateral Trustee, as fixed asset collateral trustee, Bank of America, N.A., as agent for the lenders under the Company’s revolving credit facility (in such capacity, the “Agent”), the Company and the other grantors named therein, providing for certain access and administrative agreements with respect to the Credit Agreement Collateral and the Fixed Asset Collateral (as defined in the Intercreditor Agreement). Related Party Note Payable On December 30, 2015, the Company entered into an agreement with The Heritage Group, an affiliate of the Company’s general partner, in which The Heritage Group made a $27.0 million uncommitted prepayment for the purchase of certain finished products and entered into a $48.0 million unsecured note payable with the Company as the borrower. Imputed interest on the prepayment totaled $1.5 million . The note bore interest of 6.0% , with interest payments due on March 31, 2016, June 30, 2016, and July 31, 2016. Principal payments of $15.0 million each were due on May 31, 2016 and June 30, 2016, with the remaining principal amount due before July 31, 2016. The unsecured note payable and the uncommitted prepayment were fully repaid in 2016. The proceeds were used for general partnership purposes. Capital Leases Assets recorded under capital lease obligations are included in property, plant and equipment and total $18.2 million and $51.3 million as of December 31, 2017 and 2016 , respectively. As of December 31, 2017 and 2016 , the Company had recorded $11.4 million and $7.5 million , respectively, in accumulated depreciation for capital lease assets. On July 7, 2014 , the Company entered into a capital lease agreement with TexStar Midstream Logistics, L.P. (“TexStar”) under which TexStar constructed, owns and operates a 30,000 bpd crude oil pipeline system supplying significant volumes of Eagle Ford crude oil to the Company’s San Antonio refinery for a term of 20 years. Thereafter, the agreement will continue on a month-to-month basis unless terminated by either party. Under the terms of the agreement, TexStar installed and operates the Karnes North Pipeline System (“KNPS”), a pipeline that transports crude oil from Karnes City, Texas, to the San Antonio refinery’s Elmendorf, Texas, terminal, a key supply hub for the San Antonio refinery. The Company expects to receive deliveries of at least 12,000 bpd of crude oil through the KNPS-Elmendorf terminal supply route. The pipeline became fully operational on November 1, 2014 . The total gross obligation under this capital lease agreement as of December 31, 2017 and 2016 was $39.4 million . Total depreciation expense for this lease during each of the years ended December 31, 2017 and 2016 , was $2.0 million . As of December 31, 2017 , the Company had estimated minimum commitments for the payment of total rentals under capital leases relating to continuing and discontinued operations as follows (in millions): Year Capital Leases 2018 $ 9.0 2019 7.4 2020 6.9 2021 6.9 2022 6.9 Thereafter 82.1 Total minimum lease payments 119.2 Less amount representing interest 75.2 Capital lease obligations 44.0 Less obligations due within one year 2.7 Long-term capital lease obligations $ 41.3 Maturities of Long-Term Debt As of December 31, 2017 , principal payments on debt obligations and future minimum rentals on capital lease obligations are as follows (in millions): Year Maturity 2018 $ 354.1 2019 2.9 2020 2.4 2021 953.3 2022 351.2 Thereafter 361.9 Total $ 2,025.8 |