Note 13 - Employee Stock Option and Retirement Plans (Details Textual) - USD ($) | Feb. 09, 2019 | Dec. 19, 2017 | Nov. 01, 2013 | Jun. 30, 2017 | May 31, 2019 | Feb. 28, 2019 | Nov. 30, 2018 | May 31, 2018 | May 31, 2019 | May 31, 2018 | Aug. 31, 2018 |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number, Ending Balance | | | | | 2,866 | 3,216 | | 3,457 | | | 2,866 | | 3,143 |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price, Ending Balance | | | | | $ 167,000 | $ 164,420 | | $ 162,680 | | | $ 167,000 | | $ 153,050 |
Share Price | | | | | $ 278.20 | | | | | | $ 278.20 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross | | | | | 2 | | | 455 | | | | | |
Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total | | | | | $ 80,000,000 | | | | | | $ 80,000,000 | | |
Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition | | | | | | | | | | | 3 years 36 days | | |
Share-based Compensation Arrangement by Share-based Payment Award, Purchase Price of Common Stock, Percent | | | | | 85.00% | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Maximum Employee Subscription Rate | | | | | 10.00% | | | | | | 10.00% | | |
Share-based Compensation Arrangement by Share-based Payment Award, Maximum Contribution Limit | | | | | $ 25,000 | | | | | | | | |
Stock Issued During Period, Shares, Employee Stock Purchase Plans | | | | | 13,350 | | | | | 16,312 | 39,069 | 50,706 | |
Treasury Stock Acquired, Average Cost Per Share | | | | | $ 201.54 | | | | | $ 170.86 | $ 199.43 | $ 156.88 | |
Common Stock, Capital Shares Reserved for Future Issuance | | | | | 229,873 | | | | | | 229,873 | | |
Defined Contribution Plan, Employer Discretionary Contribution Amount | | | | | $ 3,000,000 | | | | | $ 3,000,000 | $ 8,200,000 | $ 8,500,000 | |
LTIP [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value | | | | | $ 32,100,000 | | | | | 5,200,000 | $ 58,400,000 | $ 40,300,000 | |
Share-based Payment Arrangement, Option [Member] | LTIP [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period | | 5 years | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number, Ending Balance | | | | | 463,033 | | | | | | 463,033 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price, Ending Balance | | | | | $ 221.97 | | | | | | $ 221.97 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number | | | | | 900,000 | | | | | | 900,000 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price | | | | | $ 138.85 | | | | | | $ 138.85 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value | | | | | $ 131,200,000 | | | | | | $ 131,200,000 | | $ 105,300,000 |
Share-based Payment Arrangement, Option [Member] | LTIP [Member] | Maximum [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period | | 10 years | | | | | | | | | | | |
Performance Shares [Member] | BI-SAM Technologies [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross | | | | 206,417 | | | | | | | | | |
Performance Shares [Member] | BI-SAM Technologies [Member] | Share-based Payment Arrangement, Tranche One [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage | | | | 40.00% | | | | | | | | | |
Performance Shares [Member] | BI-SAM Technologies [Member] | Share-based Payment Arrangement, Tranche Two [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage | | | | 20.00% | | | | | | | | | |
Restricted Stock [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross | | | | | | | | | | | 41,418 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period | | | | | | | | 41,000 | | | | 961 | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value | | | | | | | | $ 212.66 | | | $ 212.94 | $ 182.17 | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number, Ending Balance | | | | | 104,000 | 107,000 | | 131,000 | | | 104,000 | | 143,000 |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period | | | | | | 23,000 | [1] | 52,000 | [2] | | 75,530 | 15,063 | |
Restricted Stock [Member] | LTIP [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period | | | | | | | | | | | 5 years | | |
Share Price | | | | | $ 278.20 | | | | | | $ 278.20 | | $ 229.39 |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage | 100.00% | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period | | | | | | | | | | | 41,418 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value | | | | | | | | | | | $ 212.94 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number, Ending Balance | | | | | 104,136 | | | | | | 104,136 | | |
Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total | | | | | $ 14,900,000 | | | | | | $ 14,900,000 | | |
Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition | | | | | | | | | | | 3 years 146 days | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Nonvested | | | | | $ 29,000,000 | | | | | | $ 29,000,000 | | $ 32,800,000 |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period | | | | | 0 | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Pre-Tax Intrinsic Value | | | | | | | | | | $ 100,000 | $ 16,700,000 | $ 2,800,000 | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Share Equivalent | | | | | 2.5 | | | | | | 2.5 | | |
Restricted Stock [Member] | LTIP [Member] | Share-based Payment Arrangement, Tranche One [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage | | | 60.00% | | | | | | | | | | |
Restricted Stock [Member] | LTIP [Member] | Share-based Payment Arrangement, Tranche Two [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage | | | 40.00% | | | | | | | | | | |
|
[1] | The majority of the vested restricted stock awards related to the final vesting of awards granted on February 9, 2015, which vested 100% on the four year anniversary date of the grant. |
[2] | The majority of the vested restricted stock awards related to the final vesting of awards granted on November 1, 2013, which cliff vested 60% after three years on November 1, 2016 and 40% after five years on November 1, 2018. |