v3.5.0.2
Related Party Transactions - Coke Supply Agreement (Details)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2016
USD ($)
Jun. 30, 2015
USD ($)
Jun. 30, 2016
USD ($)
T
$ / T
Jun. 30, 2015
USD ($)
Dec. 31, 2015
USD ($)
Related Party Transaction [Line Items]          
Cost of product sold | $ $ 36,049 $ 15,424 $ 52,430 $ 41,193  
Accounts payable, due to affiliates | $ 2,075   2,075   $ 1,940
Coke Supply Agreement | Petroleum coke          
Related Party Transaction [Line Items]          
Cost of product sold | $ 500 $ 2,100 1,300 $ 3,900  
Accounts payable, due to affiliates | $ $ 200   $ 200   $ 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