GOODWILL AND INTANGIBLE ASSETS (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Goodwill [Line Items]    
Goodwill $ 48,836 $ 46,519
Amount of increase in goodwill as a result of sterling acquisition 2,300  
Goodwill, Impairment Loss 0  
Banking    
Goodwill [Line Items]    
Goodwill 35,627 35,627
Commercial FHA Origination and Servicing    
Goodwill [Line Items]    
Goodwill 10,892 $ 10,892
Other    
Goodwill [Line Items]    
Goodwill $ 2,317