XML 54 R43.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Income Tax Contingency [Line Items]    
Income tax expense (benefit) $ 8,928 $ 8,434