12. Share-Based Compensation (Details - Non-Vested employee Option activity) - Employee Stock Options [Member] - $ / shares |
12 Months Ended | |
|---|---|---|
Dec. 31, 2016 |
Dec. 31, 2015 |
|
| Options granted | 603,622 | 493,945 |
| Options exercised | 0 | 0 |
| Options vested | (212,472) | (161,657) |
| Options forfeited/expired | (29,169) | (1,548) |
| Weighted-average grant date fair value per share, options granted | $ 2.94 | $ 9.35 |
| Weighted-average grant date fair value per share, options vested | $ 4.43 | |
| Non-Vested [Member] | ||
| Options outstanding, beginning balance | 379,440 | |
| Options granted | 603,622 | |
| Options vested | (212,472) | |
| Options forfeited/expired | (16,970) | |
| Options outstanding, ending balance | 753,620 | 379,440 |
| Weighted-average grant date fair value per share, beginning balance | $ 9.14 | |
| Weighted-average grant date fair value per share, options granted | 2.94 | |
| Weighted-average grant date fair value per share, options vested | 8.00 | |
| Weighted-average grant date fair value per share, ending balance | $ 4.49 | $ 9.14 |
| X | ||||||||||
- Definition Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Net number of share options (or share units) granted during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition As of the balance sheet date, the weighted-average exercise price (at which grantees can acquire the shares reserved for issuance) for exercisable stock options that are fully vested or expected to vest. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Number of non-vested options outstanding. No definition available.
|
| X | ||||||||||
- Definition Weighted average grant-date fair value of non-vested options outstanding. No definition available.
|
| X | ||||||||||
- Definition Number of options vested. No definition available.
|
| X | ||||||||||
- Definition Number of share options (or share units) exercised during the current period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|