XML 86 R71.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Goodwill (Details) - USD ($) |  | 12 Months Ended
--- | --- | ---
Aug. 31, 2017 | Dec. 31, 2017 | Dec. 31, 2016
Goodwill [Line Items] |  |  |
Goodwill impairment | $ 0 |  |
CRNF |  |  |
Goodwill [Line Items] |  |  |
Goodwill impairment |  | $ 0 | $ 0
Percentage of fair value in excess of carrying amount | 12.00% |  |

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: |