INVENTORIES.  | 
6 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2020  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Inventory Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| INVENTORIES. | 
 
 Inventories consisted primarily of bulk high quality alcohol, ethanol, 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 $0 and $1,290,000 valuation adjustment as of June 30, 2020 and December 31, 2019, respectively. Inventory balances consisted of the following (in thousands): 
 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||