Annual report pursuant to Section 13 and 15(d)

Debt - Additional Information (Detail)

v3.8.0.1
Debt - Additional Information (Detail)
$ in Thousands
3 Months Ended 12 Months Ended
Jun. 30, 2017
USD ($)
Jun. 30, 2016
USD ($)
Aug. 31, 2017
USD ($)
Aug. 31, 2017
USD ($)
covenant
Aug. 31, 2016
USD ($)
Aug. 31, 2015
USD ($)
Apr. 16, 2012
USD ($)
Debt Instrument [Line Items]              
Long-term Debt     $ 565,059 $ 565,059 $ 584,309    
Repayments of Senior Debt       500      
Cash interest payments       27,100 27,200 $ 24,800  
Long-term Debt, Current Maturities     (30,000) (30,000) (18,750)    
Long-term Debt, net     531,940 531,940 561,681    
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     $ 277,500 $ 277,500 $ 296,250    
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       $ 500 $ 0 $ 11,941  
5.625% Senior Notes Carrying Value     $ 287,559 $ 287,559 $ 288,059    
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     3.25% 3.25%      
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     600,000 600,000      
Unused credit line     597,000 597,000      
Unused Borrowing Capacity Available for Borrowing     $ 101,500 $ 101,500      
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%