XML 89 R51.htm IDEA: XBRL DOCUMENT v3.20.2
Organization, Basis of Presentation and Significant Accounting Policies Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details) - USD ($)
$ in Thousands
Aug. 31, 2020
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 140,874 $ 211,179 $ 450,617  
Total cash and cash equivalents and restricted cash 216,993 299,675 543,940 $ 272,273
Restricted cash included in other current assets        
Cash and Cash Equivalents [Line Items]        
Restricted cash 76,119 88,496 90,193  
Other assets        
Cash and Cash Equivalents [Line Items]        
Restricted cash $ 0 $ 0 $ 3,130