Discontinued Operations (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2017 |
Dec. 31, 2016 |
|
| Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] | ||
| Revenue, net of returns, allowances and discounts | $ 1,242 | $ 3,655 |
| Cost of revenues | 396 | 1,140 |
| Gross profit | 846 | 2,515 |
| Selling, general and administrative | 392 | 1,030 |
| Income from discontinued operations, net of tax | $ 454 | $ 1,485 |
| X | ||||||||||
- Definition Amount after tax of income (loss) from operations classified as a discontinued operation. Excludes gain (loss) on disposal and provision for gain (loss) until disposal. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of costs of goods sold attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of general and administrative expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of gross profit attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|