XML 59 R48.htm IDEA: XBRL DOCUMENT v3.7.0.1
Long-Term Debt and Capital Lease Obligation - Long Term Debt (Details) - USD ($)
3 Months Ended 9 Months Ended
Jan. 31, 2017
Mar. 31, 2017
Mar. 31, 2017
Mar. 25, 2016
Jun. 30, 2016
Nov. 30, 2015
Debt Instrument [Line Items]            
Current portion of long-term debt   $ 10,783,000 $ 10,783,000   $ 18,339,000  
Long-term debt, net of current portion   80,056,000 80,056,000   $ 79,243,000  
Amortization of debt issuance costs     811,000 $ 302,000    
New Credit Agreement            
Debt Instrument [Line Items]            
Borrowings $ 69,375,000          
Oil and Gas | New Credit Agreement            
Debt Instrument [Line Items]            
Repayment of Principal at Inception 15,000,000          
Borrowings           $ 102,000,000
Oil and Gas | New Credit Agreement | Revolving Credit Facility            
Debt Instrument [Line Items]            
Borrowings           27,000,000
Debt instrument, fee amount   2,278,000 2,278,000      
Oil and Gas | New Credit Agreement | Term Loan            
Debt Instrument [Line Items]            
Borrowings           $ 75,000,000
Caltrop [Member]            
Debt Instrument [Line Items]            
Business Acquisition, Cost Of Acquired Entity, Cash Paid in Year Two, Due in Period One   4,000,000 4,000,000      
Line of Credit [Member] | Revolving Credit Facility            
Debt Instrument [Line Items]            
Borrowings $ 54,375,000 65,375,000 65,375,000      
Line of Credit Facility, Remaining Borrowing Capacity   86,306,000 86,306,000      
Debt instrument, fee amount   755,000 755,000      
Amortization of debt issuance costs   293,000        
Long-term Debt, Gross   $ 2,932,000 $ 2,932,000