Loans and allowance for loan losses (Details 5) - USD ($) $ in Thousands |
Sep. 30, 2016 |
Dec. 31, 2015 |
Sep. 30, 2015 |
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
$ 13,221
|
$ 15,485
|
$ 89
|
| Commercial [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
484
|
1,699
|
|
| Construction and Land Development [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
484
|
1,699
|
|
| Commercial Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
7,585
|
8,596
|
|
| Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
5,036
|
5,730
|
|
| Non-Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
2,549
|
2,866
|
|
| Consumer Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
4,785
|
5,063
|
|
| Home equity lines [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
|
87
|
|
| First Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
4,233
|
4,283
|
|
| Second Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
552
|
693
|
|
| Commercial and industrial loans (except those secured by real estate) [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
367
|
127
|
|
| Performing Financing Receivable [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
11,542
|
14,260
|
|
| Performing Financing Receivable [Member] | Commercial [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
484
|
1,699
|
|
| Performing Financing Receivable [Member] | Construction and Land Development [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
484
|
1,699
|
|
| Performing Financing Receivable [Member] | Commercial Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
7,347
|
8,324
|
|
| Performing Financing Receivable [Member] | Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
4,798
|
5,458
|
|
| Performing Financing Receivable [Member] | Non-Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
2,549
|
2,866
|
|
| Performing Financing Receivable [Member] | Consumer Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
3,712
|
4,237
|
|
| Performing Financing Receivable [Member] | Home equity lines [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
|
0
|
|
| Performing Financing Receivable [Member] | First Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
3,160
|
3,544
|
|
| Performing Financing Receivable [Member] | Second Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
552
|
693
|
|
| Performing Financing Receivable [Member] | Commercial and industrial loans (except those secured by real estate) [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
0
|
0
|
|
| Nonperforming Financing Receivable [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
1,678
|
1,225
|
|
| Nonperforming Financing Receivable [Member] | Commercial [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
0
|
0
|
|
| Nonperforming Financing Receivable [Member] | Construction and Land Development [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
0
|
0
|
|
| Nonperforming Financing Receivable [Member] | Commercial Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
238
|
272
|
|
| Nonperforming Financing Receivable [Member] | Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
238
|
272
|
|
| Nonperforming Financing Receivable [Member] | Non-Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
0
|
0
|
|
| Nonperforming Financing Receivable [Member] | Consumer Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
1,073
|
825
|
|
| Nonperforming Financing Receivable [Member] | Home equity lines [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
|
87
|
|
| Nonperforming Financing Receivable [Member] | First Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
1,073
|
739
|
|
| Nonperforming Financing Receivable [Member] | Second Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
0
|
0
|
|
| Nonperforming Financing Receivable [Member] | Commercial and industrial loans (except those secured by real estate) [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
367
|
127
|
|
| Specific Valuation Allowance [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
281
|
467
|
|
| Specific Valuation Allowance [Member] | Commercial [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
11
|
2
|
|
| Specific Valuation Allowance [Member] | Construction and Land Development [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
11
|
2
|
|
| Specific Valuation Allowance [Member] | Commercial Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
102
|
210
|
|
| Specific Valuation Allowance [Member] | Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
102
|
184
|
|
| Specific Valuation Allowance [Member] | Non-Owner Occupied [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
0
|
26
|
|
| Specific Valuation Allowance [Member] | Consumer Real Estate [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
168
|
237
|
|
| Specific Valuation Allowance [Member] | Home equity lines [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
|
0
|
|
| Specific Valuation Allowance [Member] | First Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
168
|
236
|
|
| Specific Valuation Allowance [Member] | Second Deed of Trust [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
0
|
1
|
|
| Specific Valuation Allowance [Member] | Commercial and industrial loans (except those secured by real estate) [Member] |
|
|
|
| Information concerning Troubled Debt Restructurings [Abstract] |
|
|
|
| Recorded Investment |
$ 0
|
$ 18
|
|