XML 102 R87.htm IDEA: XBRL DOCUMENT v3.8.0.1
INCOME TAXES (Reconciliation of Unrecognized Benefits) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Balance at the beginning of the year $ 10,340 $ 5,049 $ 3,276
Increase based on tax positions related to the prior year 667 1,381  
Decrease based on tax positions related to the prior year     (31)
Increase based on tax positions related to the current year 7,209 4,131 1,804
Lapse of statute of limitations (1) (221) 0
Balance at the end of the year $ 18,215 $ 10,340 $ 5,049