XML 96 R65.htm IDEA: XBRL DOCUMENT v3.10.0.1
Other Assets - Narrative (Details) - USD ($)
3 Months Ended 12 Months Ended
Jul. 31, 2018
May 31, 2017
Aug. 31, 2018
Aug. 31, 2017
Aug. 31, 2016
Goodwill [Line Items]          
Goodwill     $ 138,464,000 $ 138,454,000 $ 144,284,000
Goodwill impairment, result of annual impairment analysis $ 0        
Goodwill impairment charge $ 0 $ 5,500,000   5,542,000  
Disposal group impairment charges       78,800,000  
Amortization of intangible assets     3,400,000 $ 4,300,000 $ 6,100,000
Nitrogen Production          
Goodwill [Line Items]          
Goodwill     $ 0    
Minimum | Other Intangible Assets          
Goodwill [Line Items]          
Intangible asset useful lives     2 years    
Maximum | Other Intangible Assets          
Goodwill [Line Items]          
Intangible asset useful lives     30 years