LOANS AND ALLOWANCE FOR LOAN LOSSES - Summary of information pertaining to impaired loans (Details 6) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment $ 19,217 $ 3,566
Without a related allowance: Unpaid Principal Balance 33,422 7,795
Without a related allowance: Average Recorded Investment 19,883 3,948
Without a related allowance: Interest Income Recognized 1,789 475
Retail & other    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment
Without a related allowance: Unpaid Principal Balance 36 12
Without a related allowance: Average Recorded Investment
Without a related allowance: Interest Income Recognized 1
Commercial Portfolio Segment | Commercial & industrial    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 338 142
Without a related allowance: Unpaid Principal Balance 720 142
Without a related allowance: Average Recorded Investment 348 144
Without a related allowance: Interest Income Recognized 34 10
Commercial Portfolio Segment | Owner-occupied CRE    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 2,588 950
Without a related allowance: Unpaid Principal Balance 4,661 1,688
Without a related allowance: Average Recorded Investment 2,700 1,111
Without a related allowance: Interest Income Recognized 271 135
Commercial Portfolio Segment | AG Production    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 41 39
Without a related allowance: Unpaid Principal Balance 163 53
Without a related allowance: Average Recorded Investment 48 38
Without a related allowance: Interest Income Recognized 6 4
Commercial Real Estate Portfolio Segment | AG real estate    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 240 252
Without a related allowance: Unpaid Principal Balance 332 348
Without a related allowance: Average Recorded Investment 245 260
Without a related allowance: Interest Income Recognized 26 27
Commercial Real Estate Portfolio Segment | CRE investment    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 12,552 1,301
Without a related allowance: Unpaid Principal Balance 19,695 3,109
Without a related allowance: Average Recorded Investment 12,982 1,432
Without a related allowance: Interest Income Recognized 1,051 175
Commercial Real Estate Portfolio Segment | Construction & land development    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 694 280
Without a related allowance: Unpaid Principal Balance 2,122 822
Without a related allowance: Average Recorded Investment 752 301
Without a related allowance: Interest Income Recognized 112 18
Residential | First mortgage    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 2,204 460
Without a related allowance: Unpaid Principal Balance 3,706 1,150
Without a related allowance: Average Recorded Investment 2,312 515
Without a related allowance: Interest Income Recognized 190 79
Residential | Junior mortgage    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 299 142
Without a related allowance: Unpaid Principal Balance 639 471
Without a related allowance: Average Recorded Investment 209 147
Without a related allowance: Interest Income Recognized 17 26
Residential | Residential construction    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment 261
Without a related allowance: Unpaid Principal Balance 1,348
Without a related allowance: Average Recorded Investment 287
Without a related allowance: Interest Income Recognized $ 82
Originated    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   387
Without a related allowance: Unpaid Principal Balance   387
Without a related allowance: Average Recorded Investment   387
Without a related allowance: Interest Income Recognized   29
Originated | Retail & other    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Commercial Portfolio Segment | Commercial & industrial    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Commercial Portfolio Segment | Owner-occupied CRE    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Commercial Portfolio Segment | AG Production    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Commercial Real Estate Portfolio Segment | AG real estate    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Commercial Real Estate Portfolio Segment | CRE investment    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   387
Without a related allowance: Unpaid Principal Balance   387
Without a related allowance: Average Recorded Investment   387
Without a related allowance: Interest Income Recognized   29
Originated | Commercial Real Estate Portfolio Segment | Construction & land development    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Residential | First mortgage    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Residential | Junior mortgage    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Originated | Residential | Residential construction    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized  
Acquired    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   3,179
Without a related allowance: Unpaid Principal Balance   7,408
Without a related allowance: Average Recorded Investment   3,561
Without a related allowance: Interest Income Recognized   446
Acquired | Retail & other    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance   12
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized   1
Acquired | Commercial Portfolio Segment | Commercial & industrial    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   142
Without a related allowance: Unpaid Principal Balance   142
Without a related allowance: Average Recorded Investment   144
Without a related allowance: Interest Income Recognized   10
Acquired | Commercial Portfolio Segment | Owner-occupied CRE    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   950
Without a related allowance: Unpaid Principal Balance   1,688
Without a related allowance: Average Recorded Investment   1,111
Without a related allowance: Interest Income Recognized   135
Acquired | Commercial Portfolio Segment | AG Production    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   39
Without a related allowance: Unpaid Principal Balance   53
Without a related allowance: Average Recorded Investment   38
Without a related allowance: Interest Income Recognized   4
Acquired | Commercial Real Estate Portfolio Segment | AG real estate    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   252
Without a related allowance: Unpaid Principal Balance   348
Without a related allowance: Average Recorded Investment   260
Without a related allowance: Interest Income Recognized   27
Acquired | Commercial Real Estate Portfolio Segment | CRE investment    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   914
Without a related allowance: Unpaid Principal Balance   2,722
Without a related allowance: Average Recorded Investment   1,045
Without a related allowance: Interest Income Recognized   146
Acquired | Commercial Real Estate Portfolio Segment | Construction & land development    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   280
Without a related allowance: Unpaid Principal Balance   822
Without a related allowance: Average Recorded Investment   301
Without a related allowance: Interest Income Recognized   18
Acquired | Residential | First mortgage    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   460
Without a related allowance: Unpaid Principal Balance   1,150
Without a related allowance: Average Recorded Investment   515
Without a related allowance: Interest Income Recognized   79
Acquired | Residential | Junior mortgage    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment   142
Without a related allowance: Unpaid Principal Balance   471
Without a related allowance: Average Recorded Investment   147
Without a related allowance: Interest Income Recognized   26
Acquired | Residential | Residential construction    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Without a related allowance: Recorded Investment  
Without a related allowance: Unpaid Principal Balance  
Without a related allowance: Average Recorded Investment  
Without a related allowance: Interest Income Recognized