LOANS - TDRs by portfolio (Details) - USD ($)
Dec. 31, 2016
Dec. 31, 2015
TDRs by portfolio    
TDRs, individually impaired for impairment $ 28,432,000 $ 22,528,000
Allowance for loan losses on TDRs 203,000 109,000
Unfunded commitments 0 0
Minimum | Performing    
TDRs by portfolio    
TDRs, individually impaired for impairment 50,000  
Non-PCI loans    
TDRs by portfolio    
TDR's Accruing 12,327,000 5,287,000
TDR's Nonaccrual 5,625,000 5,755,000
Total 17,952,000 11,042,000
Commercial | Commercial loan portfolio | Non-PCI loans    
TDRs by portfolio    
TDR's Accruing 611,000 3,000
TDR's Nonaccrual   40,000
Total 611,000 43,000
Non residential real estate | Commercial loan portfolio | Non-PCI loans    
TDRs by portfolio    
TDR's Accruing 11,253,000 4,873,000
TDR's Nonaccrual 5,098,000 5,332,000
Total 16,351,000 10,205,000
Construction and land development | Commercial loan portfolio | Non-PCI loans    
TDRs by portfolio    
TDR's Accruing 63,000  
Total 63,000  
Residential real estate | Other loan portfolio | Non-PCI loans    
TDRs by portfolio    
TDR's Accruing 400,000 411,000
TDR's Nonaccrual 527,000 383,000
Total $ 927,000 $ 794,000