XML 47 R35.htm IDEA: XBRL DOCUMENT v3.8.0.1
Employee Stock Plans - Components of Stock-Based Compensation Expense Recognized (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Jan. 31, 2018
Jan. 31, 2017
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense, pre-tax $ 5,517 $ 4,581 $ 15,800 $ 14,101
Tax benefit from stock-based compensation expense (2,750) (1,111) (5,798) (3,778)
Total stock-based compensation expense, net of tax 2,767 3,470 10,002 10,323
Restricted Stock        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense, pre-tax 5,263 4,406 14,977 13,497
ESPP        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense, pre-tax $ 254 $ 175 $ 823 $ 604