Long-Term Debt | NOTE 2 – Long-Term Debt Credit Agreement On December 3, 2014 , the Company entered into a Credit Agreement with Wells Fargo Bank, National Association, as administrative agent, and Bank of America, N.A., as syndication agent. The Credit Agreement provided for (a) a secured revolving loan facility in an aggregate principal amount of up to $300.0 million (Revolving Loan Facility), and (b) a secured term loan facility in an aggregate principal amount of $300.0 million (Term Loan), which was fully drawn at closing. The Term Loan amortized $18.8 million per quarter. On March 15, 2016 , the Company entered into a First Amendment to Credit Agreement (the “Amendment to Credit Agreement”) with Wells Fargo Bank, National Association, as administrative agent and Bank of America, N.A. The Amendment to Credit Agreement amends certain terms of the Credit Agreement, dated as of December 3, 2014 . The Amendment to Credit Agreement provides for (a) an increase in the secured revolving credit commitments by $50.0 million , bringing the aggregate principal amount of the revolving credit commitments under the Credit Agreement to $350.0 million , (b) a new secured term loan (Incremental Term Loan) in the aggregate principal amount of $93.8 million having a maturity date of March 15, 2021 , and (c) an extension of the termination date of the Revolving Loan Facility and the maturity date of the Term Loan from December 3, 2019 to March 15, 2021 . The Amendment to Credit Agreement extended the amortization period for the Term Loan, and decreased the quarterly amortization payments for that loan to $7.5 million per quarter. The Amendment to Credit Agreement additionally reduced the pricing levels under the Credit Agreement to a range of 0.15% to 0.30% in the case of the commitment fee, 1.125% to 2.0% in the case of the applicable margin for LIBOR loans, and 0.125% to 1.0% in the case of the applicable margin for base rate loans, based on the Company’s consolidated total net leverage ratio during the preceding fiscal quarter. The Company borrowed the entire $93.8 million principal amount of the Incremental Term Loan concurrent with the closing of the Amendment to Credit Agreement. On July 21, 2016 , the Company entered into a Second Amendment to Credit Agreement (the “Second Amendment to Credit Agreement”) with Wells Fargo Bank, National Association, SunTrust Bank, and Bank of America, N.A., as administrative agent (as successor in interest to Wells Fargo Bank). The Second Amendment to Credit Agreement amends certain terms of the Credit Agreement, dated as of December 3, 2014. The Second Amendment to Credit Agreement provides for, among other things, (a) an increase in the secured revolving credit commitments by $500.0 million , bringing the aggregate principal amount of the revolving credit commitments under the Credit Agreement to $850.0 million , (b) the repayment of existing term loans outstanding under the Credit Agreement, (c) an extension of the termination date of the revolving credit facility under the Credit Agreement from March 15, 2021 to July 21, 2021 , and (d) increased covenant flexibility. Concurrent with the closing of the Second Amendment to Credit Agreement, the Company prepaid in full the outstanding $242.5 million principal amount of the Term Loan and Incremental Term Loan under the Credit Agreement without premium or penalty. The Second Amendment to Credit Agreement reduced the pricing levels under the Credit Agreement to a range of 0.125% to 0.20% in the case of the commitment fee, 1.00% to 1.75% in the case of the applicable margin for LIBOR loans, and 0.0% to 0.75% in the case of the applicable margin for base rate loans, in each case depending on the Company’s consolidated total net leverage ratio. The principal purposes of these financing transactions were to increase the size and availability under the Company’s Revolving Loan Facility and to provide additional long-term financing. The proceeds are being used for general corporate purposes, including working capital and capital expenditures, potential share repurchases, acquisitions, or other investments relating to the Company’s expansion strategies in domestic and international markets. The Revolving Loan Facility under the Credit Agreement bears interest, at the election of the Company, at either (a) the Base Rate, which is defined as a fluctuating rate per annum equal to the greatest of (i) the Prime Rate in effect on such day; (ii) the Federal Funds Rate in effect on such date plus 0.50% ; or (iii) an adjusted LIBOR rate determined on the basis of a one-month interest period plus 1.0% , in each case plus an applicable margin ranging from 0.0% to 0.75% based on the Company’s consolidated total net leverage ratio during the preceding fiscal quarter; or (b) an adjusted LIBOR rate plus an applicable margin ranging from 1.00% to 1.75% depending on the Company’s consolidated total net leverage ratio during the preceding fiscal quarter. Interest is due and payable quarterly, in arrears, for loans bearing interest at the Base Rate, and at the end of an interest period (or at each three month interval in the case of loans with interest periods greater than three months) in the case of loans bearing interest at the adjusted LIBOR rate. The interest rate as of January 31, 2017 on the Company’s Revolving Loan Facility was the one month LIBOR rate of 0.77% plus an applicable margin of 1.25%. The carrying amount of the Credit Agreement is comprised of borrowings under which interest accrues under a fluctuating interest rate structure. Accordingly, the carrying value approximates fair value at January 31, 2017 , and was classified within Level II of the fair value hierarchy. Amounts borrowed under the Revolving Loan Facility may be repaid and reborrowed until the maturity date of July 21, 2021 . The Company is obligated to pay a commitment fee on the unused portion of the Revolving Loan Facility. The commitment fee rate ranges from 0.125% to 0.20% , depending on the Company’s consolidated total net leverage ratio during the preceding fiscal quarter, on the average daily unused portion of the revolving credit commitment under the Credit Agreement. The Company had $310.0 million and $238.0 million of outstanding borrowings under the Revolving Loan Facility as of January 31, 2017 and July 31, 2016 , respectively. The Company’s obligations under the Credit Agreement are guaranteed by certain of the Company’s domestic subsidiaries meeting materiality thresholds set forth in the Credit Agreement. Such obligations, including the guaranties, are secured by substantially all of the assets of the Company and the assets of the subsidiary guarantors pursuant to a Security Agreement, dated December 3, 2014, among the Company, the subsidiary guarantors from time to time party thereto, and Wells Fargo Bank, National Association, as collateral agent. The Credit Agreement contains customary affirmative and negative covenants, including covenants that limit or restrict the Company and its subsidiaries’ ability to, among other things, incur indebtedness, grant liens, merge or consolidate, dispose of assets, make investments, make acquisitions, enter into transactions with affiliates, pay dividends, or make distributions on and repurchase stock, in each case subject to certain exceptions. The Company is also required to maintain compliance, measured at the end of each fiscal quarter, with a consolidated total net leverage ratio and a consolidated interest coverage ratio. The Credit Agreement contains no restrictions on the payment of dividends and other restricted payments, as defined, as long as (1) the consolidated total net leverage ratio, as defined, both before and after giving effect to any such dividend or restricted payment on a pro forma basis, is less than 3.25 :1, in an unlimited amount, (2) if clause (1) is not available, so long as the consolidated total net leverage ratio both before and after giving effect to any such dividend on a pro forma basis is less than 3.50 :1, in an aggregate amount not to exceed the available amount, as defined, and (3) if clauses (1) and (2) are not available, in an aggregate amount not to exceed $50.0 million ; provided, that, minimum liquidity, as defined, shall be not less than $75.0 million both before and after giving effect to any such dividend or restricted payment. As of January 31, 2017 , the consolidated total net leverage ratio was 1.06 :1. Minimum liquidity as of January 31, 2017 was $694.9 million . Accordingly, the Company does not believe that the provisions of the Credit Agreement represent a significant restriction to its ability to pay dividends or to the successful future operations of the business. The Company has not paid a cash dividend since becoming a public company in 1994. The Company was in compliance with all covenants related to the Credit Agreement as of January 31, 2017 . Note Purchase Agreement On December 3, 2014 , the Company entered into a Note Purchase Agreement and sold to certain purchasers (collectively, the Purchasers) $400.0 million in aggregate principal amount of senior secured notes (Senior Notes) consisting of (i) $100.0 million aggregate principal amount of 4.07% Senior Notes, Series A, due December 3, 2024 ; (ii) $100.0 million aggregate principal amount of 4.19% Senior Notes, Series B, due December 3, 2026 ; (iii) $100.0 million aggregate principal amount of 4.25% Senior Notes, Series C, due December 3, 2027 ; and (iv) $100.0 million aggregate principal amount of 4.35% Senior Notes, Series D, due December 3, 2029 . Interest is due and payable quarterly, in arrears, on each of the Senior Notes. Proceeds from the Note Purchase Agreement are being used for general corporate purposes. On July 21, 2016 , the Company entered into Amendment No. 1 to Note Purchase Agreement (the First Amendment to Note Purchase Agreement) which amended certain terms of the Note Purchase Agreement, including providing for increased flexibility substantially consistent with the changes included in the Second Amendment to Credit Agreement, including among other things increased covenant flexibility. The Company may prepay the Senior Notes, in whole or in part, at any time, subject to certain conditions, including minimum amounts and payment of a make-whole amount equal to the discounted value of the remaining scheduled interest payments under the Senior Notes. The Company’s obligations under the Note Purchase Agreement are guaranteed by certain of the Company’s domestic subsidiaries meeting materiality thresholds set forth in the Note Purchase Agreement. Such obligations, including the guaranties, are secured by substantially all of the assets of the Company and the subsidiary guarantors. The obligations of the Company and its subsidiary guarantors under the Note Purchase Agreement will be treated on a pari passu basis with the obligations of those entities under the Credit Agreement as well as any additional debt the Company may obtain. The Note Purchase Agreement contains customary affirmative and negative covenants, including covenants that limit or restrict the Company and its subsidiaries’ ability to, among other things, incur indebtedness, grant liens, merge or consolidate, dispose of assets, make investments, make acquisitions, enter into transactions with affiliates, pay dividends, or make distributions and repurchase stock, in each case subject to certain exceptions. The Company is also required to maintain compliance, measured at the end of each fiscal quarter, with a consolidated total net leverage ratio and a consolidated interest coverage ratio. The Note Purchase Agreement contains no restrictions on the payment of dividends and other restricted payments, as defined, as long as (1) the consolidated total net leverage ratio, as defined, both before and after giving effect to any such dividend or restricted payment on a pro forma basis, is less than 3.25 :1, in an unlimited amount, (2) if clause (1) is not available, so long as the consolidated total net leverage ratio both before and after giving effect to any such dividend on a pro forma basis is less than 3.50 :1, in an aggregate amount not to exceed the available amount, as defined, and (3) if clauses (1) and (2) are not available, in an aggregate amount not to exceed $50.0 million ; provided, that, minimum liquidity, as defined, shall be not less than $75.0 million both before and after giving effect to any such dividend or restricted payment. As of January 31, 2017 , the consolidated total net leverage ratio was 1.06 :1. Minimum liquidity as of January 31, 2017 was $694.9 million . Accordingly, the Company does not believe that the provisions of the Note Purchase Agreement represent a significant restriction to its ability to pay dividends or to the successful future operations of the business. The Company has not paid a cash dividend since becoming a public company in 1994. The Company was in compliance with all covenants related to the Note Purchase Agreement as of January 31, 2017 . Related to the execution of the Credit Agreement, First Amendment to Credit Agreement, Second Amendment to Credit Agreement, and the Note Purchase Agreement, the Company incurred $3.4 million in costs, of which $2.0 million was capitalized as debt issuance fees and $1.4 million was recorded as a reduction of the long-term debt proceeds as a debt discount. Both the debt issuance fees and debt discount are amortized to interest expense over the term of the respective debt instruments and are classified as reductions of the outstanding liability. |