| 5. Condensed Consolidated Balance Sheets (Details - Operating lease information) - USD ($) | Dec. 31, 2020 | Mar. 31, 2020 | 
|---|---|---|
| Inventory Disclosure [Abstract] | ||
| Operating lease right-of-use assets | $ 671,000 | $ 963,000 | 
| Operating lease liabilities - current | 200,000 | 251,000 | 
| Operating lease liabilities - non- current | $ 471,000 | $ 746,000 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of lessee's right to use underlying asset under operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 |