Quarterly report pursuant to Section 13 or 15(d)

Earnings per Share and Shareholders' Equity Share Repurchase (Details)

v3.23.4
Earnings per Share and Shareholders' Equity Share Repurchase (Details) - USD ($)
$ in Thousands
3 Months Ended 147 Months Ended
Nov. 30, 2023
May 31, 2023
Nov. 30, 2022
May 31, 2022
Nov. 30, 2023
Aug. 31, 2023
Aug. 31, 2022
Equity [Abstract]              
Stock Repurchase Program, Remaining Number of Shares Authorized to be Repurchased 3,071,608       3,071,608    
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest $ 321,676 $ 321,676   $ 334,323 $ 321,676 $ 326,620 $ 318,611
Net (loss) earnings 17,738 17,738 $ 7,453 7,453      
Other Comprehensive (Loss) Income, Net of Tax 370 370 $ 6,024 6,024      
Stock Issued During Period, Value, Employee Benefit Plan   51   42      
Stock Issued During Period, Value, Restricted Stock Award, Gross   0   0      
APIC, Share-based Payment Arrangement, Increase for Cost Recognition   2,717   2,155      
Stock Value Issued to Acquired For and Distributed From Rabbi Trust   $ 90   $ 77      
Retained earnings 1,028,871       1,028,871 1,011,112  
Treasury Stock, Value 826,622       826,622 $ 800,506  
Treasury Stock, Value, Acquired, Cost Method $ 26,116       $ 826,600    
Stock Repurchase Program, Number of Shares Authorized to be Repurchased 10,000,000       10,000,000    
Treasury Stock, Common, Shares 29,727,622       29,727,622 28,772,715  
Stock Repurchased During Period, Shares 954,907            
Stock Repurchased During Period, Value $ 26,100            
Treasury Stock, Shares, Acquired         29,727,622    
Common Stock [Member]              
Stock Issued During Period, Shares, New Issues   83,967,000   83,529,000   83,761,000 83,397,000
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest   $ 16,793   $ 16,706   $ 16,752 $ 16,679
Stock Issued During Period, Shares, Employee Benefit Plan   2,000   3,000      
Stock Issued During Period, Value, Employee Benefit Plan   $ 0   $ 1      
Stock Issued During Period, Shares, Restricted Stock Award, Gross   118,000   84,000      
Stock Issued During Period, Value, Restricted Stock Award, Gross   $ 23   $ 17      
Stock Issued To Acquired For And Distributed From Rabbi Trust   3,000   3,000      
Stock Value Issued to Acquired For and Distributed From Rabbi Trust   $ 1   $ 1      
Additional Paid-in Capital [Member]              
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest   223,474   215,194   220,472 212,986
Stock Issued During Period, Value, Employee Benefit Plan   51   41      
Stock Issued During Period, Value, Restricted Stock Award, Gross   23   (17)      
APIC, Share-based Payment Arrangement, Increase for Cost Recognition   2,717   2,155      
Stock Value Issued to Acquired For and Distributed From Rabbi Trust   89   76      
Retained Earnings [Member]              
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest   1,028,871   974,204   1,011,112 966,751
Net (loss) earnings   17,738   7,453      
AOCI Attributable to Parent [Member]              
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest $ (120,840) (120,840)   (128,937) $ (120,840) (121,210) (134,961)
Other Comprehensive (Loss) Income, Net of Tax   370   6,024      
Stock held in trust [member] [Member]              
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest   (3,576)   (3,239)   (3,484) (3,209)
Stock Value Issued to Acquired For and Distributed From Rabbi Trust   (92)   (30)      
Deferred Compensation, Share-based Payments [Member]              
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest   3,576   3,239   $ 3,484 $ 3,209
Stock Value Issued to Acquired For and Distributed From Rabbi Trust   $ 92   $ 30