XML 57 R47.htm IDEA: XBRL DOCUMENT v3.7.0.1
Income Taxes (Details) - USD ($)
3 Months Ended 9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Income Tax Disclosure [Abstract]        
Effective tax rate 28.70% 24.00% 28.50% 24.90%
Effective income tax rate reconciliation, tax settlement   $ 3,000,000    
Unrecognized tax benefits $ 18,700,000   $ 18,700,000  
Accrued interest and penalties on unrecognized tax benefits $ 2,200,000   $ 2,200,000  
Statute of limitations period, average, years     5 years  
Maximum possible reduction in amount of unrecognized tax benefits     $ 2,200,000.0  
Unrecognized tax benefits potential expiration period     12 months