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