XML 25 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statements of Stockholders' Equity (Unaudited) (Parenthetical) - $ / shares
3 Months Ended 9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Statement of Stockholders' Equity [Abstract]        
Dividends declared per common share (in USD per share) $ 0.34 $ 0.30 $ 1.02 $ 0.90