GOODWILL AND INTANGIBLE ASSETS AND MORTGAGE SERVICING RIGHTS (Details 1) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Finite-Lived Intangible Assets [Line Items]      
Amortization during the period $ 3,458 $ 1,027 $ 1,209
Core deposits      
Finite-Lived Intangible Assets [Line Items]      
Gross carrying amount 25,345 8,086  
Accumulated amortization (8,244) (5,055)  
Net book value 17,101 3,031  
Additions during the period 17,259  
Amortization during the period 3,189 1,027  
Customer list intangibles      
Finite-Lived Intangible Assets [Line Items]      
Gross carrying amount 4,363  
Accumulated amortization (269)  
Net book value 4,094  
Additions during the period 4,363  
Amortization during the period $ 269