Earnings (loss) per share (Tables)
|12 Months Ended|
Dec. 31, 2018
|Earnings Per Share [Abstract]|
|Schedule of Earnings Per Share, Basic and Diluted||
For the years ended December 31, 2018 and 2017, the earnings (loss) per share was calculated as follows (in thousands, except earnings (loss) per share and related share data):
Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef