XML 21 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Income (Loss) and Comprehensive Income (Loss) (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Income Statement [Abstract]    
Unrealized gains on investment, tax portion $ 0 $ 38
Realized (gains) losses on investments, tax portion $ 0 $ 6