XML 124 R48.htm IDEA: XBRL DOCUMENT v3.19.3
Organization, Basis of Presentation and Significant Accounting Policies Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details) - USD ($)
$ in Thousands
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Aug. 31, 2016
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 211,179 $ 450,617 $ 181,379  
Total cash and cash equivalents and restricted cash 299,675 543,940 272,273 $ 345,584
Restricted cash included in other current assets        
Cash and Cash Equivalents [Line Items]        
Restricted cash 88,496 90,193 83,561  
Other assets        
Cash and Cash Equivalents [Line Items]        
Restricted cash $ 0 $ 3,130 $ 7,333