XML 48 R36.htm IDEA: XBRL DOCUMENT v3.8.0.1
Employee Stock Plans - Additional Information (Detail)
3 Months Ended 9 Months Ended
Jan. 31, 2018
USD ($)
$ / shares
shares
Jan. 31, 2017
USD ($)
$ / shares
shares
Jan. 31, 2018
USD ($)
$ / shares
shares
Jan. 31, 2017
USD ($)
$ / shares
shares
Apr. 30, 2017
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Payments of tax withholdings on restricted stock | $     $ 3,657,000 $ 4,377,000  
Shares repurchased during the period, value | $ $ 3,503,000 $ 9,578,000 $ 36,225,000 $ 20,695,000  
Treasury Stock, Common          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares repurchased during the period 80,800 383,598 974,079 719,098  
Shares repurchased during the period, value | $ $ 3,300,000 $ 9,400,000 $ 32,600,000 $ 16,300,000  
Time Based Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period     4 years    
Market Based Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period     3 years    
Shares outstanding 700,000   700,000    
Total unrecognized compensation cost related to non-vested awards | $ $ 9,900,000   $ 9,900,000    
Performance Based Restricted Stock Unit          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period     3 years    
Shares outstanding 200,000   200,000    
Total unrecognized compensation cost related to non-vested awards | $ $ 4,300,000   $ 4,300,000    
Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares outstanding 1,717,000   1,717,000   1,581,000
Total unrecognized compensation cost related to non-vested awards | $ $ 35,100,000   $ 35,100,000    
Expected cost recognized over weighted-average period     2 years 4 months 24 days    
Shares repurchased during the period to pay for taxes 4,653 7,151 105,024 193,668  
Payments of tax withholdings on restricted stock | $ $ 200,000 $ 200,000 $ 3,600,000 $ 4,400,000  
Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Proceeds from issuance of common stock upon exercise of employee stock options | $   $ 30,000 $ 600,000 $ 600,000  
Stock Options | Common Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Stock issued for stock options exercised 0 2,510 41,075 46,600  
Stock Incentive Plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Stock incentive plan, additional number of shares     5,500,000    
Maximum number of shares reserved for issuance 11,200,000   11,200,000    
Issuance of full-value stock awards limitation, required ratio to stock options 2.3   2.3    
ESPP          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Maximum number of shares reserved for issuance 3,000,000   3,000,000    
Authorized payroll deductions 15.00%   15.00%    
Authorized payroll deductions, value | $     $ 25,000    
Fair market price of common stock     85.00%    
Shares available for future issuance 1,100,000   1,100,000    
Employees stock purchased 82,464 93,130 198,749 207,141  
Employees stock purchased, price per share | $ / shares $ 35.17 $ 25.01 $ 31.77 $ 20.93