v3.5.0.2
Related Party Transactions - Coke Supply Agreement (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
USD ($)
Sep. 30, 2015
USD ($)
Sep. 30, 2016
USD ($)
T
$ / T
Sep. 30, 2015
USD ($)
Dec. 31, 2015
USD ($)
Related Party Transaction [Line Items]          
Cost of product sold | $ $ 19,811 $ 14,501 $ 72,241 $ 55,694  
Accounts payable, due to affiliates | $ 1,980   1,980   $ 1,940
Coke Supply Agreement | Petroleum coke          
Related Party Transaction [Line Items]          
Cost of product sold | $ 500 $ 1,100 1,700 $ 5,000  
Accounts payable, due to affiliates | $ $ 0   $ 0   $ 300
Coke Supply Agreement | Petroleum coke | 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 pet coke is obtained from CRRM's adjacent crude oil refinery     5 years    
Pet coke price used to calculate the UAN-based price under the related party agreement (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    
Coke Supply Agreement | Petroleum coke | Minimum | 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 | T     41,667    
Average percentage of pet coke obtained during the last five years from CRRM's adjacent crude oil refinery (over)     70.00%    
Pet coke price used to calculate the UAN-based price under the related party agreement (in dollars per ton)     5    
Coke Supply Agreement | Petroleum coke | Maximum | CRNF | CRRM          
Related Party Transaction [Line Items]          
Pet coke price used to calculate the UAN-based price under the related party agreement (in dollars per ton)     40