v3.3.1.900
Related Party Transactions (Details 2)
$ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Apr. 30, 2011
Dec. 31, 2015
USD ($)
Sep. 30, 2015
USD ($)
Jun. 30, 2015
USD ($)
Mar. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Sep. 30, 2014
USD ($)
Jun. 30, 2014
USD ($)
Mar. 31, 2014
USD ($)
Dec. 31, 2015
USD ($)
affiliate
Dec. 31, 2014
USD ($)
Dec. 31, 2013
USD ($)
Related Party Transaction [Line Items]                        
Number of parties | affiliate                   2    
Revenue from related party   $ 66,004 $ 49,325 $ 80,815 $ 93,050 $ 74,401 $ 66,733 $ 77,215 $ 80,316 $ 289,194 $ 298,665 $ 323,672
Cost of product sold (exclusive of depreciation and amortization)   9,495 $ 14,501 $ 15,424 $ 25,769 15,374 $ 15,434 $ 19,436 $ 21,708 65,189 71,952 58,075
Receivables   883       1,848       883 1,848  
Asset included in other non-current assets   777       957       777 957  
Liability included in other current liabilities   1,940       2,279       $ 1,940 2,279  
Tail gas | CRNF | CRRM                        
Related Party Transaction [Line Items]                        
Initial term of agreement (in years)                   20 years    
Renewal period of agreement (in years)                   5 years    
Notice period for termination of agreement                   3 years    
Feedstock and Shared Services Agreement | CRNF | CRRM                        
Related Party Transaction [Line Items]                        
Related party transaction amount incurred                   $ 200   300
Feedstock and Shared Services Agreement | Hydrogen | CRRM                        
Related Party Transaction [Line Items]                        
Cost of product sold (exclusive of depreciation and amortization)                   8 41 600
Feedstock and Shared Services Agreement | Hydrogen | CRNF | CRRM                        
Related Party Transaction [Line Items]                        
Revenue from related party                   11,800 10,100 11,400
Feedstock and Shared Services Agreement | Hydrogen | Prepaid Expenses and Other Current Assets                        
Related Party Transaction [Line Items]                        
Receivables   500       1,300       500 1,300  
Feedstock and Shared Services Agreement | Nitrogen | CRRM                        
Related Party Transaction [Line Items]                        
Related party transaction amount incurred                     1,000 500
Feedstock and Shared Services Agreement | Tail gas | CRNF | CRRM                        
Related Party Transaction [Line Items]                        
Receivables   200       200       200 $ 200  
Period for payment of cost of installation of pipe (in years) 3 years                      
Percentage of payment agreed to be paid for cost of capital in fourth year                     15.00%  
Asset included in other non-current assets   800       1,000       800 $ 1,000  
Liability included in other current liabilities           100         100  
Feedstock and Shared Services Agreement | Products and services excluding hydrogen and tail gas                        
Related Party Transaction [Line Items]                        
Receivables           200         200  
Feedstock and Shared Services Agreement | Products and services excluding hydrogen and tail gas | CRRM                        
Related Party Transaction [Line Items]                        
Receivables   200               200    
Liability included in other current liabilities   700       1,100       700 1,100  
Coke Supply Agreement | Petroleum coke | CRRM                        
Related Party Transaction [Line Items]                        
Cost of product sold (exclusive of depreciation and amortization)                   6,600 9,200 $ 9,800
Liability included in other current liabilities   $ 300       $ 500       $ 300 $ 500  
Coke Supply Agreement | Petroleum coke | CRNF | CRRM                        
Related Party Transaction [Line Items]                        
Initial term of agreement (in years)                   20 years    
Renewal period of agreement (in years)                   5 years    
Notice period for termination of agreement                   3 years