XML 51 R40.htm IDEA: XBRL DOCUMENT v3.19.1
Stock-Based Compensation - Narrative (Details) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Jul. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Outstanding unvested restricted stock shares (in shares) 281,044   212,106
Outstanding options (in shares) 40,000   70,000
Total unrecognized stock-based compensation cost $ 15,427    
Remaining weighted average period for unrecognized compensation cost 14 months    
Number of options exercised (in shares) 30,000    
Deduction in income tax due to exercise of options and vesting of restricted stock $ 2,465 $ 3,406  
Reduction in income tax expense over the equity awards' vesting period 1,902 1,394  
Excess tax benefit $ 563 $ 2,012  
Employee and directors stock options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Options vested during period (in shares) 5,000    
Aggregate fair value of all options vested $ 277    
Number of options exercised (in shares) 30,000    
Aggregate fair value of exercised options $ 1,787    
2016 Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Outstanding unvested restricted stock shares (in shares) 281,044    
Outstanding options (in shares) 0    
Shares available under Plan (in shares) 793,110    
2006 Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Outstanding options (in shares) 40,000