Leases (Details) - USD ($) $ in Thousands |
3 Months Ended |
9 Months Ended |
|
May 31, 2021 |
May 31, 2020 |
May 31, 2021 |
May 31, 2020 |
Aug. 31, 2020 |
| Leases [Abstract] |
|
|
|
|
|
| Finance Lease, Liability, Payments, Remainder of Fiscal Year |
$ 2,004
|
|
$ 2,004
|
|
|
| Lessee, Operating Lease, Liability, Payments, Remainder of Fiscal Year |
18,002
|
|
18,002
|
|
|
| Operating Lease, Payments |
|
|
56,448
|
$ 45,718
|
|
| Operating Lease, Right-of-Use Asset |
262,737
|
|
262,737
|
|
$ 257,834
|
| Operating Lease, Expense |
18,534
|
$ 17,057
|
54,508
|
53,155
|
|
| Finance Lease, Right-of-Use Asset, Amortization |
1,974
|
1,908
|
5,919
|
5,170
|
|
| Finance Lease, Interest Expense |
218
|
257
|
694
|
742
|
|
| Short-term Lease, Cost |
3,970
|
3,108
|
12,394
|
12,768
|
|
| Variable Lease, Cost |
668
|
1,176
|
2,209
|
2,089
|
|
| Lease, Cost |
25,364
|
$ 23,506
|
75,724
|
73,924
|
|
| Operating Lease, Liability |
266,280
|
|
266,280
|
|
260,891
|
| Finance Lease, Right-of-Use Asset |
39,393
|
|
39,393
|
|
44,860
|
| Finance Lease, Liability, Current |
7,152
|
|
7,152
|
|
7,993
|
| Operating Lease, Liability, Current |
58,767
|
|
58,767
|
|
57,200
|
| Finance Lease, Liability, Noncurrent |
19,307
|
|
19,307
|
|
23,467
|
| Finance Lease, Liability |
$ 26,459
|
|
$ 26,459
|
|
$ 31,460
|
| Operating Lease, Weighted Average Remaining Lease Term |
7 years 10 months 24 days
|
|
7 years 10 months 24 days
|
|
8 years 3 months 18 days
|
| Finance Lease, Weighted Average Remaining Lease Term |
5 years 8 months 12 days
|
|
5 years 8 months 12 days
|
|
6 years
|
| Operating Lease, Weighted Average Discount Rate, Percent |
2.99%
|
|
2.99%
|
|
3.11%
|
| Finance Lease, Weighted Average Discount Rate, Percent |
3.34%
|
|
3.34%
|
|
3.33%
|
| Finance Lease, Interest Payment on Liability |
|
|
$ 694
|
742
|
|
| Finance Lease, Principal Payments |
|
|
6,426
|
5,239
|
|
| Right-of-Use Asset Obtained in Exchange for Operating Lease Liability |
|
|
37,284
|
32,567
|
|
| Finance Lease, Liability, Payments, Due Next Twelve Months |
$ 7,787
|
|
7,787
|
|
|
| Lessee, Operating Lease, Liability, Payments, Due Next Twelve Months |
65,469
|
|
65,469
|
|
|
| Finance Lease, Liability, Payments, Due Year Two |
6,206
|
|
6,206
|
|
|
| Lessee, Operating Lease, Liability, Payments, Due Year Two |
51,946
|
|
51,946
|
|
|
| Finance Lease, Liability, Payments, Due Year Three |
3,487
|
|
3,487
|
|
|
| Lessee, Operating Lease, Liability, Payments, Due Year Three |
41,945
|
|
41,945
|
|
|
| Finance Lease, Liability, Payments, Due Year Four |
2,078
|
|
2,078
|
|
|
| Lessee, Operating Lease, Liability, Payments, Due Year Four |
31,211
|
|
31,211
|
|
|
| Finance Lease, Liability, Payments, Due Year Five |
8,071
|
|
8,071
|
|
|
| Lessee, Operating Lease, Liability, Payments, Due Year Five |
108,601
|
|
108,601
|
|
|
| Finance Lease, Liability, Payment, Due |
29,633
|
|
29,633
|
|
|
| Lessee, Operating Lease, Liability, Payments, Due |
317,174
|
|
317,174
|
|
|
| Finance Lease, Liability, Undiscounted Excess Amount |
3,174
|
|
3,174
|
|
|
| Lessee, Operating Lease, Liability, Undiscounted Excess Amount |
50,894
|
|
50,894
|
|
|
| Operating Lease, Liability, Noncurrent |
$ 207,513
|
|
207,513
|
|
$ 203,691
|
| Right of use asset modification |
|
|
$ 23,886
|
$ 6,507
|
|