10. Stockholders Equity (Details-Warrants) - Warrant [Member] - $ / shares |
12 Months Ended | |
|---|---|---|
Dec. 31, 2016 |
Dec. 31, 2015 |
|
| Number of warrants | ||
| Warrants outstanding, beginning balance | 229,953 | 0 |
| Warrants issued | 1,054,176 | 215,054 |
| Warrants assumed in the merger | 14,899 | |
| Cashless exercises | (3,079) | |
| Exchange of warrants | (215,054) | |
| Exchange warrants issued | 341,651 | |
| Warrants outstanding, ending balance | 1,407,647 | 229,953 |
| Weighed average exercise price of warrants | ||
| Warrants outstanding, beginning balance | $ 1.83 | $ 0 |
| Weighed average exercise price of warrants - Warrants issued | 11.21 | 58.13 |
| Weighed average exercise price of warrants - Warrants assumed in the merger | 6.90 | |
| Weighed average exercise price of warrants - Cashless exercises | 6.90 | |
| Weighed average exercise price of warrants - Exchange of warrants | 58.13 | |
| Weighed average exercise price of warrants - Exchange of warrants issued | 13.50 | |
| Warrants outstanding, ending balance | $ 11.70 | $ 1.83 |
| X | ||||||||||
- Definition Cashless exercises No definition available.
|
| X | ||||||||||
- Definition Exchange of warrants No definition available.
|
| X | ||||||||||
- Definition Exchange warrants issued No definition available.
|
| X | ||||||||||
- Definition Number of warrants [Abstract] No definition available.
|
| X | ||||||||||
- Definition Warrants assumed in the merger No definition available.
|
| X | ||||||||||
- Definition Warrants issued No definition available.
|
| X | ||||||||||
- Definition Weighed average exercise price of warrants [Abstract] No definition available.
|
| X | ||||||||||
- Definition Weighed average exercise price of warrants - Cashless exercises No definition available.
|
| X | ||||||||||
- Definition Weighed average exercise price of warrants - Exchange of warrants No definition available.
|
| X | ||||||||||
- Definition Weighed average exercise price of warrants - Exchange of warrants issued No definition available.
|
| X | ||||||||||
- Definition Weighed average exercise price of warrants - Warrants assumed in the merger No definition available.
|
| X | ||||||||||
- Definition Weighed average exercise price of warrants - Warrants issued No definition available.
|
| X | ||||||||||
- Definition Exercise price per share or per unit of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Number of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Details
|