Annual report pursuant to Section 13 and 15(d)

Debt - Additional Information (Detail)

v3.10.0.1
Debt - Additional Information (Detail)
$ in Thousands
3 Months Ended 12 Months Ended
Jun. 30, 2017
USD ($)
Jun. 30, 2016
USD ($)
Aug. 31, 2018
USD ($)
Aug. 31, 2018
USD ($)
covenant
Aug. 31, 2017
USD ($)
Aug. 31, 2016
USD ($)
May 31, 2018
USD ($)
Apr. 16, 2012
USD ($)
Debt Instrument [Line Items]                
Long-term Debt     $ 535,059 $ 535,059 $ 565,059      
Write off of deferred financing costs       800        
Repayments of Senior Debt         500      
Cash interest payments       28,800 27,100 $ 27,200    
Long-term Debt, Current Maturities     (30,000) (30,000) (30,000)      
Long-term Debt, net     502,695 502,695 531,940      
Senior Credit Facility - Revolver | Senior Credit Facility                
Debt Instrument [Line Items]                
Long-term Debt     0 0 0      
Senior Credit Facility - Term Loan | Senior Credit Facility                
Debt Instrument [Line Items]                
Long-term Debt     $ 247,500 $ 247,500 $ 277,500      
5.625% Senior Notes | Senior Notes                
Debt Instrument [Line Items]                
Debt Instrument, Maturity Date       Jun. 15, 2022        
Face amount               $ 300,000
Debt instrument, interest rate     5.625% 5.625% 5.625% 5.625%   5.625%
Repayments of Senior Debt       $ 0 $ 500 $ 0    
5.625% Senior Notes Carrying Value     $ 287,559 $ 287,559 $ 287,559      
Minimum | 5.625% Senior Notes | Senior Notes                
Debt Instrument [Line Items]                
Debt Redemption Price As Percentage Of Principal               100.00%
Maximum                
Debt Instrument [Line Items]                
Leverage ratio     3.75 3.75        
Maximum | 5.625% Senior Notes | Senior Notes                
Debt Instrument [Line Items]                
Debt Redemption Price As Percentage Of Principal               102.80%
Senior Credit Facility                
Debt Instrument [Line Items]                
Senior credit facility expansion option, available     $ 450,000 $ 450,000        
Number of financial covenants | covenant       2        
Senior Credit Facility | Minimum                
Debt Instrument [Line Items]                
Fixed charge coverage ratio     3.50 3.50        
Senior Credit Facility | LIBOR                
Debt Instrument [Line Items]                
Debt instrument interest rate over variable rate       2.00%        
Debt instrument actual interest rate     4.13% 4.13%        
Senior Credit Facility | LIBOR | Minimum                
Debt Instrument [Line Items]                
Debt instrument interest rate over variable rate       1.00%        
Senior Credit Facility | LIBOR | Maximum                
Debt Instrument [Line Items]                
Debt instrument interest rate over variable rate       2.25%        
Senior Credit Facility | Base Rate | Minimum                
Debt Instrument [Line Items]                
Debt instrument interest rate over variable rate       0.00%        
Senior Credit Facility | Base Rate | Maximum                
Debt Instrument [Line Items]                
Debt instrument interest rate over variable rate       1.25%        
Senior Credit Facility - Term Loan                
Debt Instrument [Line Items]                
Maximum borrowing capacity     $ 300,000 $ 300,000        
Senior Credit Facility - Term Loan | Starting on June 30, 2016                
Debt Instrument [Line Items]                
Quarterly installments, payable on term loan   $ 3,800            
Senior Credit Facility - Term Loan | Starting on June 30, 2017                
Debt Instrument [Line Items]                
Quarterly installments, payable on term loan $ 7,500              
Senior Credit Facility - Revolver                
Debt Instrument [Line Items]                
Maximum borrowing capacity     300,000 300,000     $ 600,000  
Unused credit line     298,800 298,800        
Unused Borrowing Capacity Available for Borrowing     $ 255,700 $ 255,700        
Senior Credit Facility - Revolver | Minimum                
Debt Instrument [Line Items]                
Percentage of non-use fee, annually     0.15%          
Senior Credit Facility - Revolver | Maximum                
Debt Instrument [Line Items]                
Percentage of non-use fee, annually     0.35%