| 15. Income Taxes (Details Narrative) | 12 Months Ended | 
|---|---|
| Dec. 31, 2019  USD ($) | |
| Operating loss carryforward beginnng expiration date | Dec. 31, 2028 | 
| Federal [Member] | |
| Net operating loss carry forwards | $ 36,406,000 | 
| State [Member] | |
| Net operating loss carry forwards | $ 34,702,000 | 
| X | ||||||||||
| 
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Expiration date of each operating loss carryforward included in operating loss carryforward, in CCYY-MM-DD format. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |