Quarterly report pursuant to Section 13 or 15(d)

Income Taxes - Additional Information (Details)

v3.7.0.1
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2017
Feb. 29, 2016
Feb. 28, 2017
Feb. 29, 2016
Income Tax Disclosure Additional Details [Table] [Line Items]        
Asset Impairment Charges $ 0 $ 186,511 $ 0 $ 186,511
Asset Impairment Charge Net of Income Tax Benefit       169,100
Earnings (loss) before income taxes 5,274 (179,216) 7,241 (161,581)
Income tax expense (benefit) $ 200 $ (20,026) $ (2,798) $ (17,839)
Effective Income Tax Rate Reconciliation, Percent 3.80% 11.20% (38.60%) 11.00%
Document Period End Date     Feb. 28, 2017  
Adjusted Effective Tax Rate 3.80% (35.60%) (38.60%) (1.60%)
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent     35.00%  
Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Percent     21.20% 19.60%
Effective Income Tax Rate Reconciliation, Other Adjustments, Percent     19.40% 10.10%
Foreign Destination [Member]        
Income Tax Disclosure Additional Details [Table] [Line Items]        
Percent of Revenue (excluding impairment charge) from foreign jurisdictions     85.00% 85.00%