| 7. NOTES PAYABLE (Details Narrative) - USD ($) | 3 Months Ended | 9 Months Ended | |||
|---|---|---|---|---|---|
| Sep. 30, 2017 | Sep. 30, 2016 | Sep. 30, 2017 | Sep. 30, 2016 | Dec. 31, 2016 | |
| Gain on change in derivative liability | $ 10,987 | $ 0 | $ 248,875 | $ 0 | |
| Unsecured note payable balance | 0 | 0 | $ 125,964 | ||
| Iliad Note [Member] | |||||
| Gain on change in derivative liability | 0 | 222,800 | |||
| Iliad Note 2 [Member] | |||||
| Gain on change in derivative liability | 10,987 | 26,075 | |||
| Note 1 and Note 2 [Member] | |||||
| Additional paid-in capital increase/(decrease) | $ 1,655,000 | ||||
| Convertible Notes Payable [Member] | Note 1 and Note 2 [Member] | |||||
| Debt converted, shares issued | 7,903,822 | ||||
| Debt converted, debt value | $ 241,442 | ||||
| Accrued interest converted | 67,198 | ||||
| Unsecured Note Payable [Member] | |||||
| Unsecured note payable balance | 0 | 0 | $ 125,964 | ||
| Unsecured Note Payable [Member] | Warrants [Member] | |||||
| Interest expense | $ 33,350 | $ 33,350 | $ 100,500 | $ 88,933 | |
| X | ||||||||||
| 
- Definition Accrued interest converted No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of other increase (decrease) in additional paid in capital (APIC). No definition available. 
 | 
| X | ||||||||||
| 
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition The amount of the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |