| 15. Stock Options (Details Narrative) | 9 Months Ended | 
|---|---|
| Sep. 30, 2020  USD ($)  shares | |
| Share-based compensation | $ | $ 764,136 | 
| Unvested share based compensation | $ | $ 2,028,123 | 
| 2015 Plan [Member] | |
| Shares authorized for issuance | shares | 2,167,667 | 
| 2020 Plan [Member] | |
| Shares authorized for issuance | shares | 32,167,667 | 
| X | ||||||||||
| 
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of noncash expense for share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Number of shares authorized for issuance under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |