QUARTERLY RESULTS OF OPERATIONS (UNAUDITED) (Details) - USD ($) $ / shares in Units, $ in Thousands, shares in Millions |
3 Months Ended | 12 Months Ended | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jul. 31, 2016 |
Dec. 31, 2016 |
Sep. 30, 2016 |
[1] | Jun. 30, 2016 |
[2] | Mar. 31, 2016 |
Dec. 31, 2015 |
Sep. 30, 2015 |
Jun. 30, 2015 |
Mar. 31, 2015 |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
|||||||||||||||
Quarterly results of operations [Abstract] | ||||||||||||||||||||||||||||
Revenues | $ 54,203 | $ 57,142 | $ 48,854 | $ 52,200 | $ 60,545 | $ 66,938 | $ 59,350 | $ 55,143 | $ 212,399 | $ 241,976 | $ 289,643 | |||||||||||||||||
Gross profit | 7,652 | 8,905 | 11,574 | 11,771 | 11,257 | 16,035 | 14,594 | 15,123 | 39,902 | 57,009 | 43,503 | |||||||||||||||||
Net Income | $ (847) | $ 2,799 | $ 10,252 | $ 7,224 | $ 1,122 | $ 5,318 | $ 6,374 | $ 5,784 | $ 19,428 | $ 18,598 | $ 15,571 | |||||||||||||||||
Basic EPS (in dollars per share) | $ (0.03) | [3] | $ 0.12 | [3] | $ 0.42 | [3] | $ 0.30 | [3] | $ 0.05 | [3] | $ 0.21 | [3] | $ 0.26 | [3] | $ 0.24 | [3] | $ 0.80 | [3] | $ 0.76 | [3] | $ 0.64 | |||||||
Diluted EPS (in dollars per share) | $ (0.03) | [3] | $ 0.11 | [3] | $ 0.41 | [3] | $ 0.29 | [3] | $ 0.05 | [3] | $ 0.21 | [3] | $ 0.25 | [3] | $ 0.23 | [3] | $ 0.78 | [3] | $ 0.74 | [3] | $ 0.63 | |||||||
Bargain purchase gain from acquisition | $ 11,549 | $ 0 | $ 0 | |||||||||||||||||||||||||
Shares issued by AMAK (in shares) | 4 | |||||||||||||||||||||||||||
Gain from equity issuance by AMAK | $ 3,168 | $ 0 | $ 0 | |||||||||||||||||||||||||
|
X | ||||||||||
- Definition The gain from additional equity issued by cost method investee. No definition available.
|
X | ||||||||||
- Definition In a business combination in which the amount of net identifiable assets acquired and liabilities assumed exceeds the aggregate consideration transferred or to be transferred (as defined), this element represents the amount of gain recognized by the entity. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Number of new stock issued during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|