Debt | 10. Debt A summary of the Company’s debt obligations is as follows (in thousands): June 30, December 31, 2018 2017 Senior secured loans $ 300,927 $ 207,375 Subordinated debt 9,383 — Unamortized deferred financing costs (8,983 ) (7,233 ) Capital lease obligations 718 1,031 Total debt 302,045 201,173 Less current portion of long-term debt (6,723 ) (4,722 ) Long-term debt, net of current portion and deferred financing costs $ 295,322 $ 196,451 2017 Credit Facility On June 30, 2017, the Company entered into a senior secured credit agreement with Credit Suisse AG, as administrative agent and collateral agent and the lenders party thereto (the “2017 Credit Facility”). The 2017 Credit Facility initially made available to the Company a $40.0 million revolving line of credit (the “2017 Revolver”) and a term loan in an aggregate original principal amount of $210.0 million (the “2017 Term Loan”). As discussed further below, on September 25, 2017, the 2017 Revolver was increased to $55.0 million. The 2017 Credit Facility also provides for standby letters of credit in an aggregate undrawn amount not to exceed $7.0 million. The 2017 Term Loan matures on June 30, 2023 and requires quarterly principal repayments in an amount equal to $ 1.7 million for September 30, 2017 through June 30, 2019, $3.4 million for September 30, 2019 through March 31, 2023, with the remaining principal balance of the term loan due on the maturity date of June 30, 2023. The 2017 Revolver matures on June 30, 2022. A s of June 30, 2018, there was an outstanding balance of $32.0 million under the 2017 . The 2017 Credit Facility also includes an incremental facility allowing the Company to incur Additional Term Loans in an aggregate principal amount of up to $25.0 million (plus such additional amounts, so long as, after giving pro forma effect to the incurrence of such additional borrowings, the Company’s Senior Secured Leverage Ratio (as defined in the 2017 Credit Facility) would be less than 3.90:1.00) (each, an “Incremental Term Loan”) and/or Additional Revolving Commitments (as defined in the 2017 Credit Facility) in an aggregate principal amount of up to million (the “Incremental Revolver”), each subject to the satisfaction of certain conditions contained in the 2017 Credit Facility, including obtaining additional commitments from existing or additional lenders. On September 25, 2017, the Company obtained the Incremental Revolver from certain incremental revolving credit lenders thereby increasing the 2017 pursuant to the 2017 Credit Facility from $40.0 million to $55.0 million. The lenders under the 2017 Credit Facility are not under any obligation to provide any Incremental Term Loans. On March 1, 2018, in conjunction with the AdCare Acquisition, the Company borrowed $65.0 million of Incremental Term Loans under the 2017 Credit Facility. The Company incurred approximately $2.6 million Borrowings under the 2017 Credit Facility bear interest at a rate tied to the Alternative Base Rate (as defined in the 2017 Credit Facility) or the Adjusted London Interbank Offered Rate (“LIBOR”) Borrowings under the 2017 Credit Facility are guaranteed by the Company’s wholly owned subsidiary, American Addiction Centers, Inc., and certain of its other subsidiaries pursuant to that certain Guarantee and Collateral Agreement, dated as of June 30, 2017, by and among the Company, each of the subsidiary guarantors party thereto and Credit Suisse AG, as collateral agent (the “Guarantee and Collateral Agreement”). The obligations under the 2017 Credit Facility and the Guarantee and Collateral Agreement are secured by a lien on substantially all of the Company’s and each subsidiary guarantor’s assets. The Company is permitted to voluntarily reduce the unutilized portion of the commitment amount and repay outstanding loans under the 2017 Credit Facility at any time without premium or penalty, other than customary “breakage” costs with respect to Eurodollar Loans and, with respect to the 2017 Term Loan, if certain repricing transactions are consummated or certain mandatory repayments are made, (i) a yield maintenance premium within one year after the closing as set forth in the 2017 Credit Facility, (ii) a 2.0% premium if paid after the first anniversary of the closing but before the second anniversary of the closing and (iii) a 1.0% premium if paid after the second anniversary of the closing but before the third anniversary of the closing. In addition, the 2017 Credit Facility requires the Company to prepay the outstanding 2017 Term Loan, subject to certain exceptions, with: • 75.0% (which percentage will be reduced to 50.0% if the Company’s Senior Secured Leverage Ratio is not greater than 3.25:1.00 and to 25.0% if the Company’s Senior Secured Leverage Ratio is not greater than 2.75:1.00) of the Company’s annual excess cash flow (as defined by the 2017 Credit Facility); • 100.0% of the net cash proceeds of certain asset sales or other dispositions of property or certain casualty events, in each case subject to certain exceptions and provided that the Company may, subject to certain conditions, reinvest within 365 days in assets to be used in its business or certain other permitted investments; • 100.0% of the net cash proceeds of the incurrence of debt and issuance of Disqualified Stock (as defined by the 2017 Credit Facility) other than proceeds from debt permitted under the 2017 Credit Facility; and • 100.0% of the net cash proceeds of equity issuances in the event the Senior Secured Leverage Ratio is greater than 3.00:1.00, calculated on a pro forma basis, at the time of such issuances (or such lesser percentage required for the Senior Secured Leverage Ratio to be equal to or less than 3.00:1.00), other than equity proceeds that are utilized within 270 days of issuance for Permitted Acquisitions (as defined in the 2017 Credit Facility) or material expansion of facilities. The 2017 Credit Facility requires the Company to not permit its Senior Secured Leverage Ratio (as defined in the 2017 Credit Agreement) to exceed the following ratios on or after each quarter end: Each Fiscal Quarter Ending During the Period Maximum Senior Secured Leverage Ratio Ending before March 31, 2019 5.25:1.00 Ending on or after March 31, 2019 but before March 31, 2020 4.75:1.00 Ending on or after March 31, 2020 4.25:1.00 In addition, the 2017 Credit Facility places certain restrictions on the ability of the Company and its subsidiaries to, among other things, incur debt and liens; merge, consolidate or liquidate; dispose of assets; enter into hedging arrangements; pay dividends and make other restricted payments; undertake transactions with affiliates; enter into restrictive agreements on dividends and other distributions; make negative pledges; enter into certain sale-leaseback transactions; make certain investments; prepay or modify the terms of certain indebtedness; and modify the terms of certain organizational agreements. The 2017 Credit Facility contains customary events of default, including payment defaults, breaches of representations and warranties, covenant defaults, cross-defaults to other material indebtedness, certain events of bankruptcy and insolvency, material judgments, certain ERISA events, invalidity of loan documents and certain changes in control. The Company incurred approximately $12.9 million in deferred financing costs related to the initial underwriting and other professional fees, of which $7.6 million related to the 2017 Term Loan and $5.3 million related to the 2017 Revolver. As of June 30, 2018, $300.9 million was outstanding under the 2017 Credit Facility, including $32.0 million related to the 2017 Revolver and $268.9 million related to the 2017 Term Loan. The Company’s availability under the 2017 Revolver was $23.0 million, less $5.0 million of outstanding letters of credit. As of June 30, 2018, the Company was in compliance with all applicable covenants under the 2017 Credit Facility. Subordinated Note On March 1, 2018, in conjunction with the AdCare Acquisition, in consideration for covenants and agreements set forth in the Purchase Agreement, the Company issued the AdCare Note to the Seller, in the original principal amount of $9.6 million, which matures on September 29, 2023 and accrues interest at a fixed rate per annum equal to 5.0%, compounded annually. Payments of principal and interest pursuant to the AdCare Note commenced on April 30, 2018 and will continue until the maturity date. 2015 Credit Facilities On March 9, 2015, the Company entered into a five-year senior secured credit facility (the “2015 Credit Facility”) with Bank of America, N.A., as administrative agent for the lenders party thereto. The 2015 Credit Facility initially consisted of a $50.0 million revolving credit facility and a $75.0 million term loan. In connection with entering into the 2017 Credit Facility on June 30, 2017, all amounts outstanding under the 2015 Credit Facility were fully repaid. On October 2, 2015, the Company entered into two financing facilities with affiliates of Deerfield Management Company, L.P. (“Deerfield”). The financing facilities consisted of $25.0 million of subordinated convertible debt and up to $25.0 million of unsecured subordinated debt (the “Deerfield Facility”). In connection with entering into the 2017 Credit Facility on June 30, 2017, all amounts outstanding under the Deerfield Facility were fully repaid. During the quarter ended June 30, 2017, the Company incurred approximately $5.4 million in debt extinguishment costs related to the repayment of the 2015 Credit Facility and the Deerfield Facility, which consisted of a $3.0 million consent fee related to calling the Deerfield Facility (the “Deerfield Facility Consent Fee”), as well as a write-off of $2.3 million of previously deferred financing costs. Interest Rate Swap Agreements In July 2014, the Company entered into two interest rate swap agreements to mitigate its exposure to fluctuations in interest rates. On June 29, 2017, the Company terminated the interest rate swap agreements. As of December 31, 2017, there was no remaining liability related to the interest rate swap agreements. Prior to terminating the interest rate swap agreements on June 29, 2017, the interest rate swap agreements had notional amounts of $7.2 million and $10.5 million which fixed the interest rates over the life of the respective swap agreement at 4.21% and 4.73%, and were set to mature in May 2018 and August 2019, respectively. The notional amounts of the swap agreements represented amounts used to calculate the exchange of cash flows and were not the Company’s assets or liabilities. The interest payments under these agreements were to be settled on a net basis. The Company did not designate the interest rate swaps as cash flow hedges, and therefore, the changes in the fair value of the interest rate swaps are included within interest expense in the condensed consolidated statements of operations. |