XML 36 R25.htm IDEA: XBRL DOCUMENT v3.6.0.2
(Loss) Earnings Per Share (Details) - shares
shares in Thousands
3 Months Ended
Oct. 31, 2016
Oct. 31, 2015
Earnings Per Share, Diluted, Other Disclosures [Abstract]    
Shares excluded from the calculation of diluted earnings (loss) per share 121 241
Non-vested restricted Class B common stock [Member]    
Earnings Per Share, Diluted, Other Disclosures [Abstract]    
Shares excluded from the calculation of diluted earnings (loss) per share 118 239
Stock options [Member]    
Earnings Per Share, Diluted, Other Disclosures [Abstract]    
Shares excluded from the calculation of diluted earnings (loss) per share 3 2