XML 50 R40.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stock-Based Compensation - Narrative (Details) - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jul. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Outstanding unvested restricted stock shares (in shares) 275,400   212,106
Outstanding options (in shares) 40,000   70,000
Total unrecognized stock-based compensation cost $ 19,881    
Remaining weighted average period for unrecognized compensation cost 19 months    
Number of options exercised (in shares) 30,000    
Deduction in income tax due to exercise of options and vesting of restricted stock $ 3,059 $ 3,406  
Reduction in income tax expense over the equity awards' vesting period 2,062 1,394  
Excess tax benefit $ 997 $ 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) 275,400    
Outstanding options (in shares) 0    
Shares available under Plan (in shares) 815,698    
2006 Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Outstanding options (in shares) 40,000