XML 95 R81.htm IDEA: XBRL DOCUMENT v3.5.0.2
Income Taxes (Details Textuals) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2014
New Accounting Pronouncement, Early Adoption [Line Items]      
Valuation allowance $ 5,420 $ 2,650  
Unrecognized tax benefits that would impact effective tax rate 20,700 17,400  
Interest and penalties related to income tax 4,900 3,800 $ 5,400
Excess Tax Benefit from Share-based Compensation, Operating Activities 0 2,971 2,289
Income tax benefit realized from stock-based payment compensation 0 $ 2,971 $ 2,289
Retained earnings, undistributed earnings from equity method investees 146,000    
Restatement Adjustment [Member]      
New Accounting Pronouncement, Early Adoption [Line Items]      
Excess Tax Benefit from Share-based Compensation, Operating Activities $ 14,700