XML 63 R52.htm IDEA: XBRL DOCUMENT v3.8.0.1
Goodwill (Details)
Aug. 31, 2017
USD ($)
Goodwill and Intangible Assets Disclosure [Abstract]  
Goodwill impairment $ 0
Coffeyville Resources Nitrogen Fertilizers LLC  
Goodwill [Line Items]  
Percentage of fair value in excess of carrying amount 12.00%