| 8. Accrued Liabilities - Current (Tables) | 12 Months Ended | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||
| Payables and Accruals [Abstract] | |||||||||||||||||||||||||||||||||||||
| Schedule of other accrued liabilities | As of December 31, 2019, and 2018, the Company had the following current accrued liabilities: 
 
 | ||||||||||||||||||||||||||||||||||||
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Tabular disclosure of the components of accrued liabilities. No definition available. 
 |