| 10. Senior Secured Convertible Notes (Details Narrative) - USD ($) | 3 Months Ended | ||
|---|---|---|---|
| Mar. 11, 2020 | Mar. 31, 2020 | Mar. 31, 2019 | |
| Proceeds from convertible debt | $ 6,098,000 | $ 0 | |
| Interest expenses | 721,003 | $ 529,202 | |
| Secured Convertible Notes [Member] | |||
| Interest expenses | 631,855 | ||
| Unamortized discount | $ 13,749,996 | ||
| Purchase Agreement [Member] | Secured Convertible Notes [Member] | |||
| Debt carrying amount | $ 13,750,000 | ||
| Proceeds from convertible debt | $ 7,000,000 | ||
| Warrants issued, shares | 65,476,190 | ||
| Warrant exercise price | $ 0.26 | ||
| Purchase Agreement [Member] | Investor Notes [Member] | |||
| Debt carrying amount | $ 4,000,000 | ||
| X | ||||||||||
| 
- Definition Warrants issued, shares No definition available. 
 | 
| X | ||||||||||
| 
- Definition Exercise price per share or per unit of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of debt discount to be amortized within one year or within the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of the cost of borrowed funds accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |