FAIR VALUE OF FINANCIAL INSTRUMENTS- Unobservable inputs (Level 3) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Corporate securities    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Transferred from Level 2 $ 6,749  
Transferred to Level 2 (2,000)  
Purchases of investment securities recognized as Level 3 3,000  
Total realized in earnings 343  
Total unrealized in other comprehensive income (305)  
Net settlements (principal and interest) (307)  
Ending balance 7,480  
Non-agency mortgage-backed securities    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Transferred from Level 2 2  
Net settlements (principal and interest) (1)  
Ending balance $ 1  
Covered non-agency mortgage-backed securities    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance   $ 56,437
Transferred to Level 2   (55,910)
Total realized in earnings   1,487
Net settlements (principal and interest)   $ (2,014)