v3.20.4

Summary of Significant Accounting Policies - Property, Plant and Equipment, net and Impairment of Long-Lived Assets (Details) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2020 USD ($) product | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($) | Dec. 31, 2018 USD ($)
Property, Plant, and Equipment |  |  |  |
Gross property, plant and equipment |  | $ 1,450,892,000 | $ 1,433,588,000 |
Less: Accumulated depreciation |  | 553,045,000 | 481,629,000 |
Total Property, plant and equipment, net |  | 897,847,000 | 951,959,000 |
Goodwill [Line Items] |  |  |  |
Goodwill |  | 0 | 40,969,000 |
Goodwill impairment | $ 41,000,000.0 | 40,969,000 | 0 | $ 0
Approximate percentage by which fair value of Coffeyville reporting unit exceeded carrying value |  |  |  | 36.00%
Coffeyville Facility |  |  |  |
Goodwill [Line Items] |  |  |  |
Goodwill |  |  | 41,000,000.0 |
Number of primary products that experienced significant pricing declines | product | 2 |  |  |
Machinery and equipment |  |  |  |
Property, Plant, and Equipment |  |  |  |
Gross property, plant and equipment |  | $ 1,388,735,000 | 1,378,651,000 |
Machinery and equipment | Minimum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 2 years |  |
Machinery and equipment | Maximum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 30 years |  |
Buildings and improvements |  |  |  |
Property, Plant, and Equipment |  |  |  |
Gross property, plant and equipment |  | $ 17,598,000 | 17,221,000 |
Buildings and improvements | Minimum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 3 years |  |
Buildings and improvements | Maximum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 30 years |  |
Automotive equipment |  |  |  |
Property, Plant, and Equipment |  |  |  |
Gross property, plant and equipment |  | $ 16,608,000 | 16,691,000 |
Automotive equipment | Minimum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 5 years |  |
Automotive equipment | Maximum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 30 years |  |
Land and improvements |  |  |  |
Property, Plant, and Equipment |  |  |  |
Gross property, plant and equipment |  | $ 14,132,000 | 14,075,000 |
Land and improvements | Minimum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 10 years |  |
Land and improvements | Maximum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 30 years |  |
Construction in progress |  |  |  |
Property, Plant, and Equipment |  |  |  |
Gross property, plant and equipment |  | $ 12,098,000 | 5,198,000 |
Other |  |  |  |
Property, Plant, and Equipment |  |  |  |
Gross property, plant and equipment |  | $ 1,721,000 | $ 1,752,000 |
Other | Minimum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 3 years |  |
Other | Maximum |  |  |  |
Property, Plant, and Equipment |  |  |  |
Useful life (in years) |  | 10 years |  |

X
- Definition Goodwill, Impairment, Number Of Primary Products Experiencing Significant Pricing Declines + References No definition available. + Details
Name: | cvi_GoodwillImpairmentNumberOfPrimaryProductsExperiencingSignificantPricingDeclines
Namespace Prefix: | cvi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.14) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of loss 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 Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 + Details
Name: | us-gaap_GoodwillImpairmentLoss
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 Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.13) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PropertyPlantAndEquipmentGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(14)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(8)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(13)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PropertyPlantAndEquipmentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
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: | us-gaap_StatementBusinessSegmentsAxis=cvi_CoffeyvilleFacilitySegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_MachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_TransportationEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandAndLandImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_ConstructionInProgressMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_PropertyPlantAndEquipmentOtherTypesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |