Income Taxes (Details) - USD ($)
6 Months Ended
Jan. 31, 2016
Jul. 31, 2015
Income Tax Contingency [Line Items]    
Unrecognized tax benefits $ 3,055,000 $ 2,796,000
Interest accrued relating to income taxes 84,000 68,000
Unrecognized tax benefits that would positively impact our effective tax rate, if recognized $ 2,339,000 2,138,000
Effective income tax rate, continuing operations, excluding discrete adjustments 33.50%  
An offset to the non-current deferred tax assets    
Income Tax Contingency [Line Items]    
Unrecognized tax benefits $ 1,586,000 1,223,000
Noncurrent Income Taxes Payable    
Income Tax Contingency [Line Items]    
Unrecognized tax benefits $ 1,469,000 $ 1,573,000