OTHER CONSOLIDATED BALANCE SHEET COMPONENTS (CURRENT) - Other Current Assets (Details) - USD ($) $ in Thousands |
Sep. 30, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||
| Inventory, net | $ 44,690 | $ 28,627 |
| Processing costs receivable | 63,652 | 46,102 |
| Prepaid expenses | 17,341 | 21,782 |
| Accounts receivable, net | 37,564 | 22,393 |
| Assets held for sale | 13,657 | 0 |
| Other | 38,902 | 46,062 |
| Total | $ 215,806 | $ 164,966 |
| X | ||||||||||
- Definition Assets Held-For-Sale, Part Of Disposal Group, Current No definition available.
|
| X | ||||||||||
- Definition Processing Costs Receivable, Current No definition available.
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current assets classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of other miscellaneous assets expected to be realized or consumed within one year or operating cycle, if longer. No definition available.
|
| X | ||||||||||
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|