| FAIR VALUE MEASUREMENTS (Tables) | 12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dec. 31, 2018 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair Value Measurements Tables | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair value hierarchy financial assets measured | This was due to adoption of ASU 2017-11, which resulted in the reclassification of conversion feature derivative liabilities to equity as of January 1, 2018: 
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair value of the derivative liabilities using | The following table presents a reconciliation of the derivative liabilities measured at fair value on a recurring basis using significant unobservable inputs (Level 3): 
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reconciliation of the derivative liabilities measured | The following table presents a reconciliation of the Black Oak Contingent Consideration liability measured at fair value on a recurring basis using significant unobservable inputs (Level 3): 
 Roll forward of derivative liabilities - Contingent Consideration 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reconciliation of the contingent consideration liability | The Company estimated the fair value of the derivative liabilities as of December 31, 2017 using the Black-Scholes-Merton option pricing model using the following assumptions: 
 
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||