XML 65 R53.htm IDEA: XBRL DOCUMENT v3.8.0.1
Schedule of Debt (Detail) - USD ($)
$ in Thousands
Jan. 31, 2018
Jul. 31, 2017
Debt Instrument [Line Items]    
Total debt $ 344,000 $ 540,000
Current maturities of long-term debt   (3,167)
Unamortized debt issuance costs and original issue discount (6,952) (13,731)
Long-term debt, net of current maturities 337,048 523,102
Senior Secured Debt | Term Loan | Debt instrument, maturing on June 15, 2024    
Debt Instrument [Line Items]    
Total debt $ 344,000 $ 540,000