Common Stock (Details Narrative) - USD ($) $ / shares in Units, $ in Thousands | Jun. 07, 2016 | Jun. 03, 2016 | Apr. 08, 2016 | Apr. 04, 2016 | Feb. 04, 2016 | Feb. 03, 2016 | Jan. 08, 2016 | Dec. 18, 2015 | Nov. 17, 2015 | Mar. 06, 2015 | Oct. 31, 2011 | Feb. 28, 2014 | Jun. 30, 2016 | Jun. 30, 2015 | Dec. 31, 2015 | Mar. 07, 2016 |
Common stock, shares outstanding | | | | | | | | | | | | | 7,518,857 | | 4,522,186 | |
Common stock, shares authorized | | | | | | | | | | | | | 100,000,000 | | 100,000,000 | |
Proceeds from direct offering | | | | $ 1,250 | $ 800 | | | $ 6,100 | | $ 6,100 | | $ 9,300 | | | | |
Purchase of common stock | | | | | | | | | | | | | $ 5,108 | $ 5,654 | | |
Number of common stock issuance during the period | | | | | | | | | | | | | $ 4,588 | | | |
Anatolia Energy Limited [Member] | | | | | | | | | | | | | | | | |
Common stock issued for acquisition related fees, shares | | | | | | | 117,097 | | | | | | 47,229 | | | |
Shares issued price per share | | | | | | | $ 6 | | | | | | $ 1.60 | | | |
Common stock issued for acquisition related fees | | | | | | | $ 700 | | | | | | $ 100 | | | |
Common Stock Purchase Agreement [Member] | | | | | | | | | | | | | | | | |
Sale of common stock, shares | | | | | | | | | | | | | 1,000,000 | | | |
Proceeds from sales of common stock | | | | | | | | | | | | | $ 1,700 | | | |
Common Stock Purchase Agreement [Member] | August 11, 2016 [Member] | | | | | | | | | | | | | | | | |
Proceeds from future sale of equity | | | | | | | | | | | | | 8,900 | | | |
Available for future sales | | | | | | | | | | | | | $ 12,000 | | | |
Common Stock Purchase Agreement One [Member] | | | | | | | | | | | | | | | | |
Sale of common stock, shares | | | | | | | | | | | | | 995,100 | | | |
Proceeds from sales of common stock | | | | | | | | | | | | | $ 1,400 | | | |
ATM Sales Agreement [Member] | | | | | | | | | | | | | | | | |
Available for future sales | | | | | | | | | | | | | 4,500 | | | |
ATM Sales Agreement [Member] | August 11, 2016 [Member] | | | | | | | | | | | | | | | | |
Available for future sales | | | | | | | | | | | | | $ 4,500 | | | |
ATM Sales Agreement [Member] | BTIG, LLC [Member] | | | | | | | | | | | | | | | | |
Sale of common stock, shares | | | | | | | | | | | | | 599,896 | | | |
Proceeds from direct offering | | | | | | | | | $ 6,000 | | $ 15,000 | | | | | |
Proceeds from sales of common stock | | | | | | | | | | | | | $ 1,400 | | | |
Percentage of commission to be paid on gross proceeds | | | | | | | | | | | 3.00% | | | | | |
ATM Sales Agreement [Member] | BTIG, LLC [Member] | August 11, 2016 [Member] | | | | | | | | | | | | | | | | |
Proceeds from sales of common stock | | | | | | | | | | | | | 4,500 | | | |
Proceeds from future sale of equity | | | | | | | | | | | | | $ 15,000 | | | |
Option Agreement [Member] | Aspire Capital [Member] | | | | | | | | | | | | | | | | |
Number of common stock shares issued during the period | | | | | | 75,000 | | | | | | | | | | |
Agreement term | | | | | | 24 months | | | | | | | | | | |
Purchase of common stock | | | | | | $ 10,000 | | | | | | | | | | |
Number of common stock issuance during the period | | | | | | $ 300 | | | | | | | | | | |
Loan Agreement [Member] | Resource Capital Fund V LP [Member] | | | | | | | | | | | | | | | | |
Issuance of common stock for payment of accrued interest and fees, shares | | | | | | | | | | | | | 38,086 | | | |
Issuance of common stock for payment of accrued interest and fees | | | | | | | | | | | | | | | $ 200 | |
URI and Aspire Capital [Member] | | | | | | | | | | | | | | | | |
Sale of common stock, shares | | | | 375,000 | | | | | | | | | | | | |
Proceeds from direct offering | | | | $ 1,200 | | | | | | | | | | | | |
Sale of stock price per share | | | | $ 2.17 | | | | | | | | | | | | |
Pre-funded common stock purchase warrants | | | | 200,000 | | | | | | | | | | | | |
Pre-funded warrants price per share | | | | $ 2.16 | | | | | | | | | | | | |
Warrants exercise price per share | | | | $ 0.01 | | | | | | | | | | | | |
Warrants term | | | | 3 years | | | | | | | | | | | | |
URI and Aspire Capital [Member] | Stock Purchase Agreements [Member] | | | | | | | | | | | | | | | | |
Sale of common stock, shares | | | | | | 296,666 | | | | | | | | | | |
Proceeds from direct offering | | | | | | $ 800 | | | | | | | | | | |
Aspire Capital [Member] | | | | | | | | | | | | | | | | |
Number of common stock shares issued during the period | | 200,000 | | | | | | | | | | | | | | |
Aspire Capital [Member] | Common Stock Purchase Agreement [Member] | | | | | | | | | | | | | | | | |
Number of common stock shares issued during the period | | | 240,000 | | | | | | | | | | | | | |
Agreement term | | | 30 months | | | | | | | | | | | | | |
Purchase of common stock | $ 5,000 | | $ 12,000 | | | | | | | | | | | | | |
Maximum [Member] | | | | | | | | | | | | | | | | |
Common stock, shares outstanding | | | | | | | | | | | | | | | | 61,800,000 |
Common stock, shares authorized | | | | | | | | | | | | | | | | 200,000,000 |
Maximum [Member] | ATM Sales Agreement [Member] | | | | | | | | | | | | | | | | |
Proceeds from direct offering | | | | | | | | | | | | | $ 15,000 | | | |
Minimum [Member] | | | | | | | | | | | | | | | | |
Common stock, shares outstanding | | | | | | | | | | | | | | | | 5,200,000 |
Common stock, shares authorized | | | | | | | | | | | | | | | | 100,000,000 |