Stock-Based Compensation (Tables)
9 Months Ended
Apr. 30, 2016
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]  
Schedule of Stock Option Transactions
A summary of stock option transactions is shown below:
 
Number of Shares
 
Weighted Average Exercise Price
 
Weighted Average Remaining Contractual Term
 
Aggregate Intrinsic Value
 
(in thousands)
 
 
 
(Years)
 
(in thousands)
Options outstanding and exercisable, July 31, 2015
41

 
$
15.43

 
0.9
 
$
447

Exercised
(19
)
 
$
15.01

 
 
 
$
242

Options outstanding and exercisable, April 30, 2016
22

 
$
15.79

 
0.3
 
$
395

Schedule of Restricted Stock Transactions
A summary of restricted stock transactions is shown below:
 
Restricted Shares
(in thousands)
 
Weighted Average Grant Date Fair Value
Non-vested restricted stock outstanding at July 31, 2015
74

 
$
28.83

Granted
165

 
$
28.59

Vested
(31
)
 
$
23.56

Forfeitures
(2
)
 
$
31.86

Non-vested restricted stock outstanding at April 30, 2016
206

 
$
29.39