12. STOCK BASED COMPENSATION (Details Stock Option Activity) - Options [Member] $ / shares in Units, shares in Thousands, $ in Thousands |
12 Months Ended |
|
Dec. 31, 2016
USD ($)
$ / shares
shares
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] |
|
| Options outstanding, beginning balance | shares |
511
|
| Options granted | shares |
1,011
|
| Options exercised | shares |
(1)
|
| Options expired | shares |
(6)
|
| Options outstanding, ending balance | shares |
1,515
|
| Options exercisable | shares |
480
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Prices [Roll Forward] |
|
| Weighted average exercise price, options outstanding beginning balance | $ / shares |
$ 7.05
|
| Weighted average exercise price, options granted | $ / shares |
7.47
|
| Weighted average exercise price, options exercised | $ / shares |
5.70
|
| Weighted average exercise price, options expired | $ / shares |
31.61
|
| Weighted average exercise price, options outstanding, ending balance | $ / shares |
7.21
|
| Weighted average exercise price, options exercisable | $ / shares |
$ 7.48
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Weighted-Average Remaining Contractual Term [Roll Forward] |
|
| Weighted average remaining contractual term, options outstanding |
8 years 9 months 18 days
|
| Weighted average remaining contractual term, options exercisable |
8 years 6 months
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Intrinsic Value [Roll Forward] |
|
| Intrinsic value, options outstanding ending balance | $ |
$ 382
|
| Intrinsic value, options exercisable | $ |
$ 125
|