| 6. Goodwill and Intangible Assets, Net (Tables) | 12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dec. 31, 2019 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Warrant weighted average exercise price per share, exercisable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Intangible Asset | The Company had the following intangible assets as of December 31, 2019 and 2018: 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of expected future ingtangible asset amortization | Expected future intangible asset amortization as of December 31, 2019 is as follows: 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Tabular disclosure of goodwill and intangible assets, which may be broken down by segment or major class. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 |