XML 67 R50.htm IDEA: XBRL DOCUMENT v3.21.2
Employee Benefit Plans - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2019
Retirement Benefits [Abstract]      
Deferred compensation arrangement with individual, recorded liability $ 20,144 $ 18,606  
Accrued retirement and profit-sharing contributions 3,686 3,577  
Pension and other postretirement benefit expense $ 13,246 $ 12,129 $ 14,158