XML 64 R53.htm IDEA: XBRL DOCUMENT v3.19.1
DEBT - Additional Information (Detail)
3 Months Ended 9 Months Ended
Feb. 28, 2019
USD ($)
$ / shares
Dec. 15, 2017
Dec. 15, 2017
USD ($)
Jun. 30, 2014
USD ($)
Apr. 30, 2019
USD ($)
Apr. 30, 2018
USD ($)
Mar. 31, 2018
USD ($)
Apr. 30, 2019
USD ($)
Apr. 30, 2018
USD ($)
Mar. 01, 2019
USD ($)
Jul. 31, 2018
USD ($)
Mar. 18, 2014
USD ($)
Debt Instrument [Line Items]                        
Debt instrument, carrying amount                     $ 64,500,000  
Notes payable         $ 0     $ 0   $ 65,600,000 50,274,000  
Repayments of convertible debt               63,925,000 $ 0      
Debt instrument, interest rate, effective percentage 18.47%                      
Term loan facility               0 393,000,000      
ExcessCashFlowPayments               8,900,000        
Revolving credit facility outstanding         10,000,000     10,000,000     0  
Redemption price percentage 100.00%                      
Carrying amount of equity component         8,200,000     $ 8,200,000        
Unamortized discount, remaining amortization period               58 months        
PNC Bank Credit Facility                        
Debt Instrument [Line Items]                        
Line of credit facility, term       5 years                
Line of credit facility, maximum credit commitment       $ 50,000,000 25,000,000     $ 25,000,000        
Line of credit facility, unutilized commitment fee percentage       0.25%                
Available borrowing capacity         12,500,000     12,500,000        
Balance outstanding         0     0     0  
Cerberus Credit Facility                        
Debt Instrument [Line Items]                        
Available borrowing capacity         15,000,000     15,000,000        
Balance outstanding         0     0     0  
Term loan facility     $ 393,000,000                  
Revolving credit facility     $ 25,000,000                  
Line of credit facility, interest rate description   Borrowings under the Cerberus Credit Facility bear interest, at the Borrower's option, at a Reference Rate plus 3.75% or a LIBOR Rate plus 6.5%, each as defined the Financing Agreement.                    
Aggregate amount of each consecutive quarterly scheduled principal installment             $ 1,500,000          
Leverage ratio   3.50% 3.50%                  
London Interbank Offered Rate (LIBOR) | Cerberus Credit Facility                        
Debt Instrument [Line Items]                        
Debt instrument, percentage points added to the reference rate   6.50%                    
Base Rate | Cerberus Credit Facility                        
Debt Instrument [Line Items]                        
Debt instrument, percentage points added to the reference rate   3.75%                    
Letter of Credit Sublimit | PNC Bank Credit Facility                        
Debt Instrument [Line Items]                        
Line of credit facility, maximum credit commitment         5,000,000     5,000,000        
Scenario 1 | Cerberus Credit Facility                        
Debt Instrument [Line Items]                        
Excess cash flow payment percentage     50.00%                  
Scenario 1 | London Interbank Offered Rate (LIBOR) | PNC Bank Credit Facility                        
Debt Instrument [Line Items]                        
Debt instrument, percentage points added to the reference rate       2.25%                
Scenario 2 | Cerberus Credit Facility                        
Debt Instrument [Line Items]                        
Excess cash flow payment percentage     25.00%                  
Scenario 2 | London Interbank Offered Rate (LIBOR) | PNC Bank Credit Facility                        
Debt Instrument [Line Items]                        
Debt instrument, percentage points added to the reference rate       1.00%                
Scenario 2 | Federal Funds Open Rate | PNC Bank Credit Facility                        
Debt Instrument [Line Items]                        
Debt instrument, percentage points added to the reference rate       0.50%                
5.25% Convertible Senior Notes Due 2019                        
Debt Instrument [Line Items]                        
Principal amount                       $ 100,000,000
Debt instrument, stated interest rate                       5.25%
Debt instrument, interest expense         $ 754,000 $ 2,126,000   $ 4,916,000 $ 6,257,000      
Debt instrument, interest rate, effective percentage         13.90%     13.90%        
Term Loan | Cerberus Credit Facility                        
Debt Instrument [Line Items]                        
Long-term debt         $ 375,667,000     $ 375,667,000     388,838,000  
Principal amount                     390,000,000  
Principal amount outstanding         376,625,000     376,625,000     390,000,000  
Current and long-term net         375,700,000     375,700,000     $ 388,800,000  
Line of Credit | Cerberus Credit Facility                        
Debt Instrument [Line Items]                        
Line of credit facility, maximum credit commitment         15,000,000     15,000,000        
Revolving credit facility outstanding         10,000,000     10,000,000        
SPHG Holdings                        
Debt Instrument [Line Items]                        
Debt instrument, interest expense         475,000     500,000        
Debt conversion ratio 0.4212655                      
Debt conversion price (in usd per share) | $ / shares $ 2.37                      
SPHG Holdings | 7.50% Convertible Senior Debt                        
Debt Instrument [Line Items]                        
Principal amount $ 14,900,000       $ 14,940,000     $ 14,940,000        
Debt instrument, stated interest rate 7.50%                      
Notes payable $ 14,900,000