INVENTORIES.  | 
6 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2019  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Inventory Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| INVENTORIES. | 
 
 Inventories consisted primarily of bulk ethanol, specialty alcohols, corn, co-products, low-carbon and Renewable Identification Number (“RIN”) credits and unleaded fuel, and are valued at the lower-of-cost-or-net realizable value, with cost determined on a first-in, first-out basis. Inventory is net of a $1,285,000 and $2,328,000 valuation adjustment as of June 30, 2019 and December 31, 2018, respectively. Inventory balances consisted of the following (in thousands): 
 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||