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%

X
- References No definition available. + Details
Name: | us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax of loss recognized that results from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References No definition available. + Details
Name: | us-gaap_GoodwillImpairmentLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_GoodwillLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of fair value of reporting unit in excess of carrying amount. + References No definition available. + Details
Name: | us-gaap_ReportingUnitPercentageOfFairValueInExcessOfCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | dei_LegalEntityAxis=cvi_CoffeyvilleResourcesNitrogenFertilizersLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |