XML 121 R106.htm IDEA: XBRL DOCUMENT v3.8.0.1
Related Party Transactions (Details)
1 Months Ended 3 Months Ended 12 Months Ended
Jun. 10, 2016
USD ($)
Apr. 01, 2016
USD ($)
Apr. 30, 2016
USD ($)
Jun. 30, 2017
railcar
Dec. 31, 2017
USD ($)
railcar
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Related Party Transaction [Line Items]              
Proceeds from issuance of debt         $ 0 $ 628,800,000 $ 0
Coffeyville Resources Pipeline, LLC | Velocity Pipeline Partners, LLC              
Related Party Transaction [Line Items]              
Joint venture interest         40.00%    
Coffeyville Resources Pipeline, LLC | Midway Pipeline LLC              
Related Party Transaction [Line Items]              
Joint venture interest         50.00%    
IEP              
Related Party Transaction [Line Items]              
Ownership percentage held by controlling stockholder         82.00%    
IEP | CVR Partners, LP | CRLLC Facility | Senior Notes              
Related Party Transaction [Line Items]              
Debt instrument face amount   $ 300,000,000.0          
Loan term   2 years          
Stated interest rate   12.00%          
Interest calculation period   360 days          
Proceeds from issuance of debt     $ 300,000,000        
Repayments of debt $ 300,000,000            
Payment of accrued interest $ 7,000,000            
American Railcar Leasing LLC | Railcar Lease Agreement [Member] | CVR Partners, LP              
Related Party Transaction [Line Items]              
Number of railcars leased | railcar         115    
Number of railcars to be leased | railcar       70      
Rent expense         $ 1,000,000 300,000  
Maintenance expense         200,000    
Insight Portfolio Group              
Related Party Transaction [Line Items]              
Payment to related party         $ 200,000 $ 200,000 $ 100,000