XML 69 R57.htm IDEA: XBRL DOCUMENT v3.8.0.1
Restructuring Charges - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Restructuring Cost and Reserve [Line Items]        
Restructuring Charge $ (21) $ 2,080 $ 710 $ 2,379
Fiscal Year 2017 Restructuring Plan        
Restructuring Cost and Reserve [Line Items]        
Restructuring Charge $ 0   $ 700