| 11. Commitments (Tables) | 9 Months Ended | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sep. 30, 2019 | |||||||||||||||||||||||||||||||
| Commitments and Contingencies Disclosure [Abstract] | |||||||||||||||||||||||||||||||
| Supplemental cash flow information | Supplemental cash flow information and non-cash activity related to our operating leases are as follows: 
 
 | ||||||||||||||||||||||||||||||
| Supplemental balance sheet information | Supplemental balance sheet information related to our operating leases is as follows: 
 
 | ||||||||||||||||||||||||||||||