XML 52 R36.htm IDEA: XBRL DOCUMENT v3.10.0.1
Employee Stock Plans - Additional Information (Detail)
3 Months Ended 6 Months Ended
Oct. 31, 2018
USD ($)
shares
Jul. 31, 2018
USD ($)
Oct. 31, 2017
USD ($)
shares
Jul. 31, 2017
USD ($)
Oct. 31, 2018
USD ($)
$ / shares
shares
Oct. 31, 2017
USD ($)
$ / shares
shares
Apr. 30, 2018
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Payments of tax withholdings on restricted stock | $         $ 13,184,000 $ 3,461,000  
Shares repurchased during the period, value | $ $ 22,875,000 $ 13,054,000 $ 25,350,000 $ 7,372,000      
Treasury Stock, Common              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Shares repurchased during the period 456,274   773,923   456,274 893,279  
Shares repurchased during the period, value | $ $ 22,700,000   $ 25,300,000   $ 22,700,000 $ 29,300,000  
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%    
Fair market price of common stock         85.00%    
Authorized payroll deductions, value | $         $ 25,000    
Shares available for future issuance 1,000,000       1,000,000    
Employees stock purchased 0   0   75,106 116,285  
Employees stock purchased, price per share | $ / shares         $ 52.64 $ 29.35  
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 600,000       600,000    
Total unrecognized compensation cost related to non-vested awards | $ $ 14,800,000       $ 14,800,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 | $ $ 400,000       $ 400,000    
Restricted Stock              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Shares outstanding 1,648,000       1,648,000   1,730,000
Total unrecognized compensation cost related to non-vested awards | $ $ 45,500,000       $ 45,500,000    
Expected cost recognized over weighted-average period         2 years 8 months 12 days    
Shares repurchased during the period to pay for taxes 2,708   2,888   202,503 100,371  
Payments of tax withholdings on restricted stock | $ $ 100,000   $ 100,000   $ 13,200,000 $ 3,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 | $ $ 0   $ 0   $ 200,000 $ 600,000  
Stock Options | Common Stock              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Stock issued for stock options exercised         6,720 41,075  
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