XML 43 R31.htm IDEA: XBRL DOCUMENT v3.7.0.1
Nature of Operations and Accounting Policies - Additional Information (Detail)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2017
USD ($)
Jan. 31, 2017
USD ($)
Segment
Accounting Policies [Abstract]    
Number of reportable segments | Segment   2
New accounting pronouncement or change in accounting principle, effect of change on net income | $ $ 0 $ 1,843