v3.3.1.900
Related Party Transactions (Details 3)
$ in Thousands
3 Months Ended 12 Months Ended
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 ($)
T
$ / T
Dec. 31, 2014
USD ($)
Dec. 31, 2013
USD ($)
Related Party Transaction [Line Items]                      
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
Liability included in other current liabilities | $ 1,940       2,279       1,940 2,279  
Petroleum coke | Coke Supply Agreement | 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  
Petroleum coke | Coke Supply Agreement | CRNF | CRRM                      
Related Party Transaction [Line Items]                      
Percentage of annual production of pet coke to be delivered                 100.00%    
Annual production of pet coke | T                 500,000    
Period for which average percentage of product obtained                 5 years    
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton)                 25    
UAN-based netback price, exclusive of transportation cost, under the related party agreement (in dollars per ton)                 205    
Pet coke price adjustment for every $1.00 change in the UAN netback price, exclusive of transportation cost, used to calculate the UAN-based price under the related party agreement (in dollars per ton)                 0.5    
UAN-based netback price change, exclusive of transportation cost, under the related party agreement (in dollars per ton)                 1    
Initial term of agreement (in years)                 20 years    
Renewal period of agreement (in years)                 5 years    
Notice period for termination of agreement                 3 years    
Minimum | Petroleum coke | Coke Supply Agreement | CRNF | CRRM                      
Related Party Transaction [Line Items]                      
Monthly production volume of product which allows for the purchasing party the option to purchase any excess at rates stated in the agreement (more than) | T                 41,667    
Average percentage of pet coke obtained during the last five years from CRRM's adjacent crude oil refinery                 70.00%    
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton)                 5    
Maximum | Petroleum coke | Coke Supply Agreement | CRNF | CRRM                      
Related Party Transaction [Line Items]                      
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton)                 40