XML 40 R27.htm IDEA: XBRL DOCUMENT
v3.21.2

LOANS (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2021
LOANS |
Summary of loans outstanding | Summary of Loans by Type (In Thousands) ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | June 30, |  | December 31,
​ | ​ | 2021 | ​ | 2020
Commercial: | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 544,202 | ​ | $ | 531,810
Commercial and industrial | ​ |  | 158,907 | ​ |  | 159,577
Paycheck Protection Program - 1st Draw | ​ | ​ | 37,902 | ​ | ​ | 132,269
Paycheck Protection Program - 2nd Draw | ​ | ​ | 72,409 | ​ | ​ | 0
Political subdivisions | ​ |  | 48,849 | ​ |  | 53,221
Commercial construction and land | ​ |  | 43,178 | ​ |  | 42,874
Loans secured by farmland | ​ |  | 10,950 | ​ |  | 11,736
Multi-family (5 or more) residential | ​ |  | 51,916 | ​ |  | 55,811
Agricultural loans | ​ |  | 2,379 | ​ |  | 3,164
Other commercial loans | ​ |  | 14,711 | ​ |  | 17,289
Total commercial | ​ |  | 985,403 | ​ |  | 1,007,751
Residential mortgage: |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 507,579 | ​ | ​ | 532,947
Residential mortgage loans - junior liens | ​ |  | 25,287 | ​ |  | 27,311
Home equity lines of credit | ​ |  | 39,432 | ​ |  | 39,301
1-4 Family residential construction | ​ |  | 23,567 | ​ |  | 20,613
Total residential mortgage | ​ |  | 595,865 | ​ |  | 620,172
Consumer | ​ |  | 16,588 | ​ |  | 16,286
Total | ​ |  | 1,597,856 | ​ |  | 1,644,209
Less: allowance for loan losses | ​ |  | (12,375) | ​ |  | (11,385)
Loans, net | ​ | $ | 1,585,481 | ​ | $ | 1,632,824
​
Schedule of quantity and balances of modification | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Deferrals Remaining
​ | ​ | As of June 30, 2021
(Dollars in Thousands) | ​ | Number | ​ | ​ | ​ | ​ | ​ | Purchased | ​ | ​ | ​
​ | ​ | of | ​ | ​ | ​ | Special | ​ | Credit | ​ | ​
​ |  | Loans |  | Pass |  | Mention | ​ | Impaired |  | Total
COVID-19-related loan modifications: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Accommodation and food services - hotels | ​ | 1 | ​ | $ | 0 | ​ | $ | 3,094 | ​ | $ | 0 | ​ | $ | 3,094
Lessors of residential buildings and dwellings | ​ | 3 | ​ | ​ | 113 | ​ | ​ | 0 | ​ | ​ | 1,557 | ​ | ​ | 1,670
Transportation and warehousing | ​ | 4 | ​ | ​ | 1,197 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 1,197
Real estate rental and leasing - other | ​ | 1 | ​ | ​ | 438 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 438
Total commercial | ​ | 9 | ​ | ​ | 1,748 | ​ | ​ | 3,094 | ​ | ​ | 1,557 | ​ | ​ | 6,399
Residential mortgage | ​ | 3 | ​ | ​ | 254 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 254
Total | ​ | 12 | ​ | $ | 2,002 | ​ | $ | 3,094 | ​ | $ | 1,557 | ​ | $ | 6,653
Schedule of adjustments to the initial market rate and credit fair value adjustments recognized | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
​ | ​ | Three Months Ended | ​ | Six Months Ended
​ | ​ | June 30, | ​ | June 30, | ​ | June 30, | ​ | June 30,
​ | ​ | 2021 | ​ | 2020 | ​ | 2021 | ​ | 2020
Market Rate Adjustment |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Adjustments to gross amortized cost of loans at beginning of period | ​ | $ | 352 | ​ | $ | (1,268) | ​ | $ | 718 | ​ | $ | (1,415)
(Amortization) accretion recognized in interest income | ​ | ​ | (357) | ​ | ​ | 165 | ​ | ​ | (723) | ​ | ​ | 312
Adjustments to gross amortized cost of loans at end of period | ​ | $ | (5) | ​ | $ | (1,103) | ​ | $ | (5) | ​ | $ | (1,103)
Credit Adjustment on Non-impaired Loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Adjustments to gross amortized cost of loans at beginning of period | ​ | $ | (5,182) | ​ | $ | (1,011) | ​ | $ | (5,979) | ​ | $ | (1,216)
Accretion recognized in interest income | ​ |  | 680 | ​ |  | 133 | ​ |  | 1,477 | ​ |  | 338
Adjustments to gross amortized cost of loans at end of period | ​ | $ | (4,502) | ​ | $ | (878) | ​ | $ | (4,502) | ​ | $ | (878)
Schedule of PCI loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | June 30, | ​ | December 31,
​ |  | 2021 |  | 2020
Outstanding balance | ​ | $ | 10,189 | ​ | $ | 10,316
Carrying amount | ​ |  | 6,733 | ​ |  | 6,841
Schedule of transactions within the allowance for loan losses | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Three Months Ended June 30, 2021 | ​ | March 31, 2021 |  |  | ​ |  |  | ​ |  |  | ​ |  | June 30, 2021
(In Thousands) |  | Balance |  | Charge-offs |  | Recoveries |  | Provision (Credit) |  | Balance
Allowance for Loan Losses: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 3,350 | ​ | $ | 0 | ​ | $ | 2 | ​ | $ | 100 | ​ | $ | 3,452
Commercial and industrial | ​ |  | 2,187 | ​ |  | 0 | ​ |  | 0 | ​ |  | 594 | ​ |  | 2,781
Commercial construction and land | ​ |  | 476 | ​ |  | 0 | ​ |  | 0 | ​ |  | (24) | ​ |  | 452
Loans secured by farmland | ​ |  | 111 | ​ |  | 0 | ​ |  | 0 | ​ |  | 2 | ​ |  | 113
Multi-family (5 or more) residential | ​ |  | 255 | ​ |  | 0 | ​ |  | 0 | ​ |  | (105) | ​ |  | 150
Agricultural loans | ​ |  | 26 | ​ |  | 0 | ​ |  | 0 | ​ |  | (1) | ​ |  | 25
Other commercial loans | ​ |  | 159 | ​ |  | 0 | ​ |  | 0 | ​ |  | (14) | ​ |  | 145
Total commercial | ​ |  | 6,564 | ​ |  | 0 | ​ |  | 2 | ​ |  | 552 | ​ |  | 7,118
Residential mortgage: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,507 | ​ | ​ | (11) | ​ | ​ | 1 | ​ | ​ | 39 | ​ | ​ | 3,536
Residential mortgage loans - junior liens | ​ |  | 334 | ​ |  | 0 | ​ |  | 0 | ​ |  | (7) | ​ |  | 327
Home equity lines of credit | ​ |  | 281 | ​ |  | 0 | ​ |  | 1 | ​ |  | 12 | ​ |  | 294
1-4 Family residential construction | ​ |  | 78 | ​ |  | 0 | ​ |  | 0 | ​ |  | 120 | ​ |  | 198
Total residential mortgage | ​ |  | 4,200 | ​ |  | (11) | ​ |  | 2 | ​ |  | 164 | ​ | ​ | 4,355
Consumer | ​ |  | 220 | ​ |  | (36) | ​ |  | 13 | ​ |  | 34 | ​ |  | 231
Unallocated | ​ |  | 677 | ​ |  | 0 | ​ |  | 0 | ​ |  | (6) | ​ |  | 671
Total Allowance for Loan Losses | ​ | $ | 11,661 | ​ | $ | (47) | ​ | $ | 17 | ​ | $ | 744 | ​ | $ | 12,375
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Three Months Ended June 30, 2020 | ​ | March 31, 2020 |  |  | ​ |  |  | ​ |  |  | ​ |  | June 30, 2020
(In Thousands) |  | Balance |  | Charge-offs |  | Recoveries |  | Provision (Credit) |  | Balance
Allowance for Loan Losses: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 1,932 | ​ | $ | 0 | ​ | $ | 0 | ​ | $ | 494 | ​ | $ | 2,426
Commercial and industrial | ​ |  | 2,645 | ​ |  | 0 | ​ |  | 0 | ​ |  | (149) | ​ |  | 2,496
Commercial construction and land | ​ |  | 970 | ​ |  | (107) | ​ |  | 0 | ​ |  | (443) | ​ |  | 420
Loans secured by farmland | ​ |  | 144 | ​ |  | 0 | ​ |  | 0 | ​ |  | 2 | ​ |  | 146
Multi-family (5 or more) residential | ​ |  | 199 | ​ |  | 0 | ​ |  | 0 | ​ |  | (36) | ​ |  | 163
Agricultural loans | ​ |  | 39 | ​ |  | 0 | ​ |  | 0 | ​ |  | 1 | ​ |  | 40
Other commercial loans | ​ |  | 160 | ​ |  | 0 | ​ |  | 0 | ​ |  | 7 | ​ |  | 167
Total commercial | ​ |  | 6,089 | ​ |  | (107) | ​ |  | 0 | ​ |  | (124) | ​ |  | 5,858
Residential mortgage: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,572 | ​ | ​ | 0 | ​ | ​ | 1 | ​ | ​ | (42) | ​ | ​ | 3,531
Residential mortgage loans - junior liens | ​ |  | 414 | ​ |  | 0 | ​ |  | 0 | ​ |  | (49) | ​ |  | 365
Home equity lines of credit | ​ |  | 278 | ​ |  | 0 | ​ |  | 1 | ​ |  | 8 | ​ |  | 287
1-4 Family residential construction | ​ |  | 119 | ​ |  | 0 | ​ |  | 0 | ​ |  | 18 | ​ |  | 137
Total residential mortgage | ​ |  | 4,383 | ​ |  | 0 | ​ |  | 2 | ​ |  | (65) | ​ |  | 4,320
Consumer | ​ |  | 273 | ​ |  | (39) | ​ |  | 16 | ​ |  | 13 | ​ |  | 263
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 11,330 | ​ | $ | (146) | ​ | $ | 18 | ​ | $ | (176) | ​ | $ | 11,026
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | June 30,
Six Months Ended June 30, 2021 | ​ | 2020 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Provision | ​ | 2021
(In Thousands) | ​ | Balance | ​ | Charge-offs | ​ | Recoveries | ​ | (Credit) | ​ | Balance
Allowance for Loan Losses: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 3,051 | ​ | $ | 0 | ​ | $ | 2 | ​ | $ | 399 | ​ | $ | 3,452
Commercial and industrial | ​ |  | 2,245 | ​ |  | 0 | ​ |  | 14 | ​ |  | 522 | ​ |  | 2,781
Commercial construction and land | ​ |  | 454 | ​ |  | 0 | ​ |  | 0 | ​ |  | (2) | ​ |  | 452
Loans secured by farmland | ​ |  | 120 | ​ |  | 0 | ​ |  | 0 | ​ |  | (7) | ​ |  | 113
Multi-family (5 or more) residential | ​ |  | 236 | ​ |  | 0 | ​ |  | 0 | ​ |  | (86) | ​ |  | 150
Agricultural loans | ​ |  | 34 | ​ |  | 0 | ​ |  | 0 | ​ |  | (9) | ​ |  | 25
Other commercial loans | ​ |  | 168 | ​ |  | 0 | ​ |  | 0 | ​ |  | (23) | ​ |  | 145
Total commercial | ​ |  | 6,308 | ​ |  | 0 | ​ |  | 16 | ​ |  | 794 | ​ |  | 7,118
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,524 | ​ | ​ | (11) | ​ | ​ | 2 | ​ | ​ | 21 | ​ | ​ | 3,536
Residential mortgage loans - junior liens | ​ |  | 349 | ​ |  | 0 | ​ |  | 0 | ​ |  | (22) | ​ |  | 327
Home equity lines of credit | ​ |  | 281 | ​ |  | 0 | ​ |  | 2 | ​ |  | 11 | ​ |  | 294
1-4 Family residential construction | ​ |  | 99 | ​ |  | 0 | ​ |  | 0 | ​ |  | 99 | ​ |  | 198
Total residential mortgage | ​ |  | 4,253 | ​ |  | (11) | ​ |  | 4 | ​ |  | 109 | ​ |  | 4,355
Consumer | ​ |  | 239 | ​ |  | (47) | ​ |  | 25 | ​ |  | 14 | ​ |  | 231
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 86 | ​ |  | 671
Total Allowance for Loan Losses | ​ | $ | 11,385 | ​ | $ | (58) | ​ | $ | 45 | ​ | $ | 1,003 | ​ | $ | 12,375
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | June 30,
Six Months Ended June 30, 2020 | ​ | 2019 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Provision | ​ | 2020
(In Thousands) | ​ | Balance | ​ | Charge-offs | ​ | Recoveries | ​ | (Credit) | ​ | Balance
Allowance for Loan Losses: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |
Commercial loans secured by real estate | ​ | $ | 1,921 | ​ | $ | 0 | ​ | $ | 0 | ​ | $ | 505 | ​ | $ | 2,426
Commercial and industrial | ​ |  | 1,391 | ​ |  | (17) | ​ |  | 0 | ​ |  | 1,122 | ​ |  | 2,496
Commercial construction and land | ​ |  | 966 | ​ |  | (107) | ​ |  | 0 | ​ |  | (439) | ​ |  | 420
Loans secured by farmland | ​ |  | 158 | ​ |  | 0 | ​ |  | 0 | ​ |  | (12) | ​ |  | 146
Multi-family (5 or more) residential | ​ |  | 156 | ​ |  | 0 | ​ |  | 0 | ​ |  | 7 | ​ |  | 163
Agricultural loans | ​ |  | 41 | ​ |  | 0 | ​ |  | 0 | ​ |  | (1) | ​ |  | 40
Other commercial loans | ​ |  | 155 | ​ |  | 0 | ​ |  | 0 | ​ |  | 12 | ​ |  | 167
Total commercial | ​ |  | 4,788 | ​ |  | (124) | ​ |  | 0 | ​ |  | 1,194 | ​ |  | 5,858
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,405 | ​ | ​ | 0 | ​ | ​ | 2 | ​ | ​ | 124 | ​ | ​ | 3,531
Residential mortgage loans - junior liens | ​ |  | 384 | ​ |  | 0 | ​ |  | 1 | ​ |  | (20) | ​ |  | 365
Home equity lines of credit | ​ |  | 276 | ​ |  | 0 | ​ |  | 2 | ​ |  | 9 | ​ |  | 287
1-4 Family residential construction | ​ |  | 117 | ​ |  | 0 | ​ |  | 0 | ​ |  | 20 | ​ |  | 137
Total residential mortgage | ​ |  | 4,182 | ​ |  | 0 | ​ |  | 5 | ​ |  | 133 | ​ |  | 4,320
Consumer | ​ |  | 281 | ​ |  | (70) | ​ |  | 27 | ​ |  | 25 | ​ |  | 263
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 9,836 | ​ | $ | (194) | ​ | $ | 32 | ​ | $ | 1,352 | ​ | $ | 11,026
​
Schedule of aggregate credit quality classification of outstanding loans by risk | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
June 30, 2021 |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Purchased |  | ​ | ​
(In Thousands) | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Credit | ​ | ​ | ​
​ | ​ | Pass | ​ | Mention | ​ | Substandard | ​ | Doubtful | ​ | Impaired | ​ | Total
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 504,470 | ​ | $ | 15,967 | ​ | $ | 19,529 | ​ | $ | 0 | ​ | $ | 4,236 | ​ | $ | 544,202
Commercial and Industrial | ​ |  | 143,810 | ​ |  | 7,585 | ​ |  | 6,731 | ​ |  | 0 | ​ |  | 781 | ​ |  | 158,907
Paycheck Protection Program - 1st Draw | ​ | ​ | 37,902 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 37,902
Paycheck Protection Program - 2nd Draw | ​ | ​ | 72,409 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 72,409
Political subdivisions | ​ |  | 48,849 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 48,849
Commercial construction and land | ​ |  | 42,415 | ​ |  | 715 | ​ |  | 48 | ​ |  | 0 | ​ |  | 0 | ​ |  | 43,178
Loans secured by farmland | ​ |  | 9,735 | ​ |  | 390 | ​ |  | 825 | ​ |  | 0 | ​ |  | 0 | ​ |  | 10,950
Multi-family (5 or more) residential | ​ |  | 47,089 | ​ |  | 2,367 | ​ |  | 882 | ​ |  | 0 | ​ |  | 1,578 | ​ |  | 51,916
Agricultural loans | ​ |  | 1,810 | ​ |  | 0 | ​ |  | 569 | ​ |  | 0 | ​ |  | 0 | ​ |  | 2,379
Other commercial loans | ​ |  | 14,704 | ​ |  | 7 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 14,711
Total commercial | ​ |  | 923,193 | ​ |  | 27,031 | ​ |  | 28,584 | ​ |  | 0 | ​ |  | 6,595 | ​ |  | 985,403
Residential Mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 492,636 | ​ | ​ | 5,335 | ​ | ​ | 9,535 | ​ | ​ | 0 | ​ | ​ | 73 | ​ | ​ | 507,579
Residential mortgage loans - junior liens | ​ |  | 24,485 | ​ |  | 125 | ​ |  | 612 | ​ |  | 0 | ​ |  | 65 | ​ |  | 25,287
Home equity lines of credit | ​ |  | 38,739 | ​ |  | 59 | ​ |  | 634 | ​ |  | 0 | ​ |  | 0 | ​ |  | 39,432
1-4 Family residential construction | ​ |  | 23,567 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 23,567
Total residential mortgage | ​ |  | 579,427 | ​ |  | 5,519 | ​ |  | 10,781 | ​ |  | 0 | ​ |  | 138 | ​ |  | 595,865
Consumer | ​ |  | 16,476 | ​ |  | 0 | ​ |  | 112 | ​ |  | 0 | ​ |  | 0 | ​ |  | 16,588
Totals | ​ | $ | 1,519,096 | ​ | $ | 32,550 | ​ | $ | 39,477 | ​ | $ | 0 | ​ | $ | 6,733 | ​ | $ | 1,597,856
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
December 31, 2020 |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Purchased |  | ​ | ​
(In Thousands) | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Credit | ​ | ​ | ​
​ | ​ | Pass | ​ | Mention | ​ | Substandard | ​ | Doubtful | ​ | Impaired | ​ | Total
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 494,876 | ​ | $ | 17,374 | ​ | $ | 15,262 | ​ | $ | 0 | ​ | $ | 4,298 | ​ | $ | 531,810
Commercial and Industrial | ​ |  | 143,500 | ​ |  | 8,025 | ​ |  | 7,268 | ​ |  | 0 | ​ |  | 784 | ​ |  | 159,577
Paycheck Protection Program - 1st Draw | ​ | ​ | 132,269 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 132,269
Political subdivisions | ​ |  | 53,221 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 53,221
Commercial construction and land | ​ |  | 42,110 | ​ |  | 715 | ​ |  | 49 | ​ |  | 0 | ​ |  | 0 | ​ |  | 42,874
Loans secured by farmland | ​ |  | 10,473 | ​ |  | 405 | ​ |  | 858 | ​ |  | 0 | ​ |  | 0 | ​ |  | 11,736
Multi-family (5 or more) residential | ​ |  | 50,563 | ​ |  | 2,405 | ​ |  | 1,229 | ​ |  | 0 | ​ |  | 1,614 | ​ |  | 55,811
Agricultural loans | ​ |  | 2,569 | ​ |  | 0 | ​ |  | 595 | ​ |  | 0 | ​ |  | 0 | ​ |  | 3,164
Other commercial loans | ​ |  | 17,289 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,289
Total commercial | ​ |  | 946,870 | ​ |  | 28,924 | ​ |  | 25,261 | ​ |  | 0 | ​ |  | 6,696 | ​ |  | 1,007,751
Residential Mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential Mortgage loans - first liens | ​ | ​ | 516,685 | ​ | ​ | 6,192 | ​ | ​ | 9,994 | ​ | ​ | 0 | ​ | ​ | 76 | ​ | ​ | 532,947
Residential Mortgage loans - junior liens | ​ |  | 26,480 | ​ |  | 141 | ​ |  | 621 | ​ |  | 0 | ​ |  | 69 | ​ |  | 27,311
Home equity lines of credit | ​ |  | 38,529 | ​ |  | 59 | ​ |  | 713 | ​ |  | 0 | ​ |  | 0 | ​ |  | 39,301
1-4 Family residential construction | ​ |  | 20,613 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 20,613
Total residential mortgage | ​ |  | 602,307 | ​ |  | 6,392 | ​ |  | 11,328 | ​ |  | 0 | ​ |  | 145 | ​ |  | 620,172
Consumer | ​ |  | 16,172 | ​ |  | 0 | ​ |  | 114 | ​ |  | 0 | ​ |  | 0 | ​ |  | 16,286
Totals | ​ | $ | 1,565,349 | ​ | $ | 35,316 | ​ | $ | 36,703 | ​ | $ | 0 | ​ | $ | 6,841 | ​ | $ | 1,644,209
Summary of loan balances and the related allowance for loan losses | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
June 30, 2021 |  | Loans: | ​ | Allowance for Loan Losses:
(In Thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Individually | ​ | Collectively | ​ | ​ | ​ | ​ | Individually | ​ | Collectively | ​ |  | ​
​ |  | Evaluated |  | Evaluated |  | Totals |  | Evaluated |  | Evaluated |  | Totals
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 11,400 | ​ | $ | 532,802 | ​ | $ | 544,202 | ​ | $ | 683 | ​ | $ | 2,769 | ​ | $ | 3,452
Commercial and industrial | ​ |  | 4,654 | ​ |  | 154,253 | ​ |  | 158,907 | ​ |  | 654 | ​ |  | 2,127 | ​ |  | 2,781
Paycheck Protection Program - 1st Draw | ​ |  | 0 | ​ |  | 37,902 | ​ |  | 37,902 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Paycheck Protection Program - 2nd Draw | ​ | ​ | 0 | ​ | ​ | 72,409 | ​ | ​ | 72,409 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Political subdivisions | ​ |  | 0 | ​ |  | 48,849 | ​ |  | 48,849 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Commercial construction and land | ​ |  | 0 | ​ |  | 43,178 | ​ |  | 43,178 | ​ |  | 0 | ​ |  | 452 | ​ |  | 452
Loans secured by farmland | ​ |  | 84 | ​ |  | 10,866 | ​ |  | 10,950 | ​ |  | 0 | ​ |  | 113 | ​ |  | 113
Multi-family (5 or more) residential | ​ |  | 1,578 | ​ |  | 50,338 | ​ |  | 51,916 | ​ |  | 0 | ​ |  | 150 | ​ |  | 150
Agricultural loans | ​ |  | 0 | ​ |  | 2,379 | ​ |  | 2,379 | ​ |  | 0 | ​ |  | 25 | ​ |  | 25
Other commercial loans | ​ |  | 0 | ​ |  | 14,711 | ​ |  | 14,711 | ​ |  | 0 | ​ |  | 145 | ​ |  | 145
Total commercial | ​ |  | 17,716 | ​ |  | 967,687 | ​ |  | 985,403 | ​ |  | 1,337 | ​ |  | 5,781 | ​ |  | 7,118
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 1,027 | ​ | ​ | 506,552 | ​ | ​ | 507,579 | ​ | ​ | 0 | ​ | ​ | 3,536 | ​ | ​ | 3,536
Residential mortgage loans - junior liens | ​ |  | 403 | ​ |  | 24,884 | ​ |  | 25,287 | ​ |  | 140 | ​ |  | 187 | ​ |  | 327
Home equity lines of credit | ​ |  | 0 | ​ |  | 39,432 | ​ |  | 39,432 | ​ |  | 0 | ​ |  | 294 | ​ |  | 294
1-4 Family residential construction | ​ |  | 0 | ​ |  | 23,567 | ​ |  | 23,567 | ​ |  | 0 | ​ |  | 198 | ​ |  | 198
Total residential mortgage | ​ |  | 1,430 | ​ |  | 594,435 | ​ |  | 595,865 | ​ |  | 140 | ​ |  | 4,215 | ​ |  | 4,355
Consumer | ​ |  | 0 | ​ |  | 16,588 | ​ |  | 16,588 | ​ |  | 0 | ​ |  | 231 | ​ |  | 231
Unallocated | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | 671
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 19,146 | ​ | $ | 1,578,710 | ​ | $ | 1,597,856 | ​ | $ | 1,477 | ​ | $ | 10,227 | ​ | $ | 12,375
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
December 31, 2020 |  | Loans: | ​ | Allowance for Loan Losses:
(In Thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Individually | ​ | Collectively | ​ | ​ | ​ | ​ | Individually | ​ | Collectively | ​ |  | ​
​ |  | Evaluated |  | Evaluated |  | Totals |  | Evaluated |  | Evaluated |  | Totals
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 11,962 | ​ | $ | 519,848 | ​ | $ | 531,810 | ​ | $ | 692 | ​ | $ | 2,359 | ​ | $ | 3,051
Commercial and industrial | ​ |  | 1,359 | ​ |  | 158,218 | ​ |  | 159,577 | ​ |  | 71 | ​ |  | 2,174 | ​ |  | 2,245
Paycheck Protection Program - 1st Draw | ​ |  | 0 | ​ |  | 132,269 | ​ |  | 132,269 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Political subdivisions | ​ |  | 0 | ​ |  | 53,221 | ​ |  | 53,221 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Commercial construction and land | ​ |  | 0 | ​ |  | 42,874 | ​ |  | 42,874 | ​ |  | 0 | ​ |  | 454 | ​ |  | 454
Loans secured by farmland | ​ |  | 84 | ​ |  | 11,652 | ​ |  | 11,736 | ​ |  | 0 | ​ |  | 120 | ​ |  | 120
Multi-family (5 or more) residential | ​ |  | 1,614 | ​ |  | 54,197 | ​ |  | 55,811 | ​ |  | 0 | ​ |  | 236 | ​ |  | 236
Agricultural loans | ​ |  | 0 | ​ |  | 3,164 | ​ |  | 3,164 | ​ |  | 0 | ​ |  | 34 | ​ |  | 34
Other commercial loans | ​ |  | 0 | ​ |  | 17,289 | ​ |  | 17,289 | ​ |  | 0 | ​ |  | 168 | ​ |  | 168
Total commercial | ​ |  | 15,019 | ​ |  | 992,732 | ​ |  | 1,007,751 | ​ |  | 763 | ​ |  | 5,545 | ​ |  | 6,308
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 2,385 | ​ | ​ | 530,562 | ​ | ​ | 532,947 | ​ | ​ | 9 | ​ | ​ | 3,515 | ​ | ​ | 3,524
Residential mortgage loans - junior liens | ​ |  | 414 | ​ |  | 26,897 | ​ |  | 27,311 | ​ |  | 153 | ​ |  | 196 | ​ |  | 349
Home equity lines of credit | ​ |  | 0 | ​ |  | 39,301 | ​ |  | 39,301 | ​ |  | 0 | ​ |  | 281 | ​ |  | 281
1-4 Family residential construction | ​ |  | 0 | ​ |  | 20,613 | ​ |  | 20,613 | ​ |  | 0 | ​ |  | 99 | ​ |  | 99
Total residential mortgage | ​ |  | 2,799 | ​ |  | 617,373 | ​ |  | 620,172 | ​ |  | 162 | ​ |  | 4,091 | ​ |  | 4,253
Consumer | ​ |  | 0 | ​ |  | 16,286 | ​ |  | 16,286 | ​ |  | 0 | ​ |  | 239 | ​ |  | 239
Unallocated | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | 585
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 17,818 | ​ | $ | 1,626,391 | ​ | $ | 1,644,209 | ​ | $ | 925 | ​ | $ | 9,875 | ​ | $ | 11,385
Summary of information related to impaired loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | June 30, 2021 | ​ | December 31, 2020
​ | ​ | Unpaid | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Principal | ​ | Recorded | ​ | Related | ​ | Principal | ​ | Recorded | ​ | Related
​ |  | Balance |  | Investment |  | Allowance |  | Balance |  | Investment |  | Allowance
With no related allowance recorded: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Commercial loans secured by real estate | ​ | $ | 6,667 | ​ | $ | 4,909 | ​ | $ | 0 | ​ | $ | 7,168 | ​ | $ | 5,398 | ​ | $ | 0
Commercial and industrial | ​ |  | 1,636 | ​ |  | 1,235 | ​ |  | 0 | ​ |  | 1,781 | ​ |  | 1,287 | ​ |  | 0
Residential mortgage loans - first liens | ​ | ​ | 736 | ​ | ​ | 648 | ​ | ​ | 0 | ​ | ​ | 1,248 | ​ | ​ | 1,248 | ​ | ​ | 0
Residential mortgage loans - junior liens | ​ |  | 151 | ​ |  | 98 | ​ |  | 0 | ​ |  | 160 | ​ |  | 105 | ​ |  | 0
Loans secured by farmland | ​ |  | 84 | ​ |  | 84 | ​ |  | 0 | ​ |  | 84 | ​ |  | 84 | ​ |  | 0
Multi-family (5 or more) residential | ​ | ​ | 2,734 | ​ | ​ | 1,578 | ​ | ​ | 0 | ​ | ​ | 2,770 | ​ | ​ | 1,614 | ​ | ​ | 0
Total with no related allowance recorded | ​ |  | 12,008 | ​ |  | 8,552 | ​ |  | 0 | ​ |  | 13,211 | ​ |  | 9,736 | ​ |  | 0
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
With a related allowance recorded: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | ​ | 6,491 | ​ | ​ | 6,491 | ​ | ​ | 683 | ​ | ​ | 6,501 | ​ | ​ | 6,501 | ​ | ​ | 691
Commercial and industrial | ​ |  | 3,419 | ​ |  | 3,419 | ​ |  | 654 | ​ |  | 72 | ​ |  | 72 | ​ |  | 72
Residential mortgage loans - first liens | ​ |  | 379 | ​ |  | 379 | ​ |  | 0 | ​ |  | 1,200 | ​ |  | 1,200 | ​ |  | 9
Residential mortgage loans - junior liens | ​ |  | 305 | ​ |  | 305 | ​ |  | 140 | ​ |  | 309 | ​ |  | 309 | ​ |  | 153
Total with a related allowance recorded | ​ |  | 10,594 | ​ |  | 10,594 | ​ |  | 1,477 | ​ |  | 8,082 | ​ |  | 8,082 | ​ |  | 925
Total | ​ | $ | 22,602 | ​ | $ | 19,146 | ​ | $ | 1,477 | ​ | $ | 21,293 | ​ | $ | 17,818 | ​ | $ | 925
Schedule of average balance of impaired loans and interest income recognized on impaired loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Interest Income Recognized on
​ | ​ | Average Investment in Impaired Loans | ​ | Impaired Loans on a Cash Basis
​ | ​ | Three Months Ended | ​ | Six Months Ended | ​ | Three Months Ended | ​ | Six Months Ended
​ | ​ | June 30, | ​ | June 30, | ​ | June 30, | ​ | June 30,
​ |  | 2021 | ​ | 2020 | ​ | 2021 |  | 2020 | ​ | 2021 | ​ | 2020 | ​ | 2021 |  | 2020
Commercial: | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 12,022 | ​ | $ | 3,771 | ​ | $ | 12,137 | ​ | $ | 2,079 | ​ | $ | 85 | ​ | $ | 12 | ​ | $ | 229 | ​ | $ | 16
Commercial and industrial | ​ | ​ | 2,754 | ​ | ​ | 4,460 | ​ |  | 1,927 | ​ |  | 3,666 | ​ | ​ | 9 | ​ | ​ | 19 | ​ |  | 21 | ​ |  | 20
Commercial construction and land | ​ | ​ | 0 | ​ | ​ | 678 | ​ |  | 0 | ​ |  | 993 | ​ | ​ | 0 | ​ | ​ | 1 | ​ |  | 0 | ​ |  | 13
Loans secured by farmland | ​ | ​ | 84 | ​ | ​ | 422 | ​ |  | 84 | ​ |  | 469 | ​ | ​ | 0 | ​ | ​ | 7 | ​ |  | 1 | ​ |  | 24
Multi-family (5 or more) residential | ​ | ​ | 1,578 | ​ | ​ | 0 | ​ | ​ | 1,587 | ​ | ​ | 0 | ​ | ​ | 30 | ​ | ​ | 0 | ​ | ​ | 91 | ​ | ​ | 0
Agricultural loans | ​ | ​ | 67 | ​ | ​ | 76 | ​ |  | 68 | ​ |  | 76 | ​ | ​ | 1 | ​ | ​ | 2 | ​ |  | 3 | ​ |  | 2
Other commercial loans | ​ | ​ | 0 | ​ | ​ | 25 | ​ |  | 0 | ​ |  | 37 | ​ | ​ | 0 | ​ | ​ | 0 | ​ |  | 0 | ​ |  | 1
Total commercial | ​ | ​ | 16,505 | ​ | ​ | 9,432 | ​ |  | 15,803 | ​ |  | 7,320 | ​ | ​ | 125 | ​ | ​ | 41 | ​ |  | 345 | ​ |  | 76
Residential mortgage: |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  |  | ​ |
Residential mortgage loans - first lien | ​ | ​ | 1,717 | ​ | ​ | 1,398 | ​ | ​ | 2,084 | ​ | ​ | 1,315 | ​ | ​ | 20 | ​ | ​ | 35 | ​ | ​ | 57 | ​ | ​ | 43
Residential mortgage loans - junior lien | ​ | ​ | 430 | ​ | ​ | 391 | ​ |  | 433 | ​ |  | 387 | ​ | ​ | 4 | ​ | ​ | 13 | ​ |  | 9 | ​ |  | 13
Home equity lines of credit | ​ | ​ | 0 | ​ | ​ | 65 | ​ |  | 0 | ​ |  | 65 | ​ | ​ | 0 | ​ | ​ | 1 | ​ |  | 0 | ​ |  | 2
Total residential mortgage | ​ | ​ | 2,147 | ​ | ​ | 1,854 | ​ |  | 2,517 | ​ |  | 1,767 | ​ | ​ | 24 | ​ | ​ | 49 | ​ |  | 66 | ​ |  | 58
Total | ​ | $ | 18,652 | ​ | $ | 11,286 | ​ | $ | 18,320 | ​ | $ | 9,087 | ​ | $ | 149 | ​ | $ | 90 | ​ | $ | 411 | ​ | $ | 134
Schedule of breakdown by portfolio segment and class of non accrual loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | June 30, 2021 | ​ | December 31, 2020
​ | ​ | Past Due | ​ | ​ | ​ | ​ | Past Due | ​ | ​ | ​
​ | ​ | 90+ Days and | ​ | ​ | ​ | ​ | 90+ Days and | ​ | ​ | ​
​ |  | Accruing |  | Nonaccrual |  | Accruing |  | Nonaccrual
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 756 | ​ | $ | 11,300 | ​ | $ | 395 | ​ | $ | 11,550
Commercial and industrial | ​ |  | 91 | ​ |  | 4,282 | ​ |  | 142 | ​ |  | 970
Commercial construction and land | ​ |  | 0 | ​ |  | 48 | ​ |  | 0 | ​ |  | 49
Loans secured by farmland | ​ |  | 188 | ​ |  | 84 | ​ |  | 188 | ​ |  | 84
Multi-family (5 or more) residential | ​ | ​ | 0 | ​ | ​ | 1,578 | ​ | ​ | 0 | ​ | ​ | 1,614
Agricultural loans | ​ | ​ | 66 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Other commercial | ​ |  | 0 | ​ |  | 0 | ​ |  | 71 | ​ |  | 0
Total commercial | ​ |  | 1,101 | ​ |  | 17,292 | ​ |  | 796 | ​ |  | 14,267
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 600 | ​ | ​ | 4,941 | ​ | ​ | 838 | ​ | ​ | 6,387
Residential mortgage loans - junior liens | ​ |  | 61 | ​ |  | 367 | ​ |  | 52 | ​ |  | 378
Home equity lines of credit | ​ |  | 98 | ​ |  | 294 | ​ |  | 233 | ​ |  | 299
Total residential mortgage | ​ |  | 759 | ​ |  | 5,602 | ​ |  | 1,123 | ​ |  | 7,064
Consumer | ​ |  | 21 | ​ |  | 77 | ​ |  | 56 | ​ |  | 85
Totals | ​ | $ | 1,881 | ​ | $ | 22,971 | ​ | $ | 1,975 | ​ | $ | 21,416
Summary of the contractual aging of loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | As of June 30, 2021 | ​ | As of December 31, 2020
​ |  | Current & |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Current & |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ | ​ | ​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ | ​ | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ | ​ | ​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ | ​ | ​
​ | ​ | 30 Days | ​ | Days | ​ | Days | ​ | Total | ​ | 30 Days | ​ | Days | ​ | Days | ​ | Total
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 538,713 | ​ | $ | 110 | ​ | $ | 5,379 | ​ | $ | 544,202 | ​ | $ | 529,998 | ​ | $ | 66 | ​ | $ | 1,746 | ​ | $ | 531,810
Commercial and industrial | ​ |  | 157,967 | ​ |  | 25 | ​ |  | 915 | ​ |  | 158,907 | ​ |  | 158,523 | ​ |  | 55 | ​ |  | 999 | ​ |  | 159,577
Paycheck Protection Program - 1st Draw | ​ | ​ | 37,902 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 37,902 | ​ | ​ | 132,269 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 132,269
Paycheck Protection Program - 2nd Draw | ​ | ​ | 72,409 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 72,409 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Political subdivisions | ​ |  | 48,849 | ​ |  | 0 | ​ |  | 0 | ​ |  | 48,849 | ​ |  | 53,221 | ​ |  | 0 | ​ |  | 0 | ​ |  | 53,221
Commercial construction and land | ​ |  | 42,649 | ​ |  | 529 | ​ |  | 0 | ​ |  | 43,178 | ​ |  | 42,590 | ​ |  | 284 | ​ |  | 0 | ​ |  | 42,874
Loans secured by farmland | ​ |  | 10,647 | ​ |  | 31 | ​ |  | 272 | ​ |  | 10,950 | ​ |  | 11,419 | ​ |  | 95 | ​ |  | 222 | ​ |  | 11,736
Multi-family (5 or more) residential | ​ |  | 51,916 | ​ |  | 0 | ​ |  | 0 | ​ |  | 51,916 | ​ |  | 53,860 | ​ |  | 1,951 | ​ |  | 0 | ​ |  | 55,811
Agricultural loans | ​ |  | 2,313 | ​ |  | 0 | ​ |  | 66 | ​ |  | 2,379 | ​ |  | 3,091 | ​ |  | 2 | ​ |  | 71 | ​ |  | 3,164
Other commercial loans | ​ |  | 14,711 | ​ |  | 0 | ​ |  | 0 | ​ |  | 14,711 | ​ |  | 17,289 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,289
Total commercial | ​ |  | 978,076 | ​ |  | 695 | ​ |  | 6,632 | ​ |  | 985,403 | ​ |  | 1,002,260 | ​ |  | 2,453 | ​ |  | 3,038 | ​ |  | 1,007,751
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 502,311 | ​ | ​ | 3,143 | ​ | ​ | 2,125 | ​ | ​ | 507,579 | ​ | ​ | 523,191 | ​ | ​ | 5,703 | ​ | ​ | 4,053 | ​ | ​ | 532,947
Residential mortgage loans - junior liens | ​ |  | 25,138 | ​ |  | 32 | ​ |  | 117 | ​ |  | 25,287 | ​ |  | 27,009 | ​ |  | 111 | ​ |  | 191 | ​ |  | 27,311
Home equity lines of credit | ​ |  | 39,010 | ​ |  | 280 | ​ |  | 142 | ​ |  | 39,432 | ​ |  | 38,919 | ​ |  | 101 | ​ |  | 281 | ​ |  | 39,301
1-4 Family residential construction | ​ |  | 23,567 | ​ |  | 0 | ​ |  | 0 | ​ |  | 23,567 | ​ |  | 20,457 | ​ |  | 156 | ​ |  | 0 | ​ |  | 20,613
Total residential mortgage | ​ |  | 590,026 | ​ |  | 3,455 | ​ |  | 2,384 | ​ |  | 595,865 | ​ |  | 609,576 | ​ |  | 6,071 | ​ |  | 4,525 | ​ |  | 620,172
Consumer | ​ |  | 16,433 | ​ |  | 57 | ​ |  | 98 | ​ |  | 16,588 | ​ |  | 16,063 | ​ |  | 83 | ​ |  | 140 | ​ |  | 16,286
Totals | ​ | $ | 1,584,535 | ​ | $ | 4,207 | ​ | $ | 9,114 | ​ | $ | 1,597,856 | ​ | $ | 1,627,899 | ​ | $ | 8,607 | ​ | $ | 7,703 | ​ | $ | 1,644,209
Summary of the contractual aging of nonaccrual loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | Current & | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ |  | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ |  | ​
​ |  | 30 Days |  | Days |  | Days |  | Total
June 30, 2021 Nonaccrual Totals | ​ | $ | 14,009 | ​ | $ | 1,729 | ​ | $ | 7,233 | ​ | $ | 22,971
December 31, 2020 Nonaccrual Totals | ​ | $ | 12,999 | ​ | $ | 2,689 | ​ | $ | 5,728 | ​ | $ | 21,416
Summary of troubled debt restructurings | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | Current & | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ |  | ​ | ​ |  | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ |  | ​ | ​ |  | ​
​ |  | 30 Days |  | Days |  | Days |  | Nonaccrual |  | Total
June 30, 2021 Totals | ​ | $ | 174 | ​ | $ | 25 | ​ | $ | 160 | ​ | $ | 5,464 | ​ | $ | 5,823
December 31, 2020 Totals | ​ | $ | 166 | ​ | $ | 0 | ​ | $ | 418 | ​ | $ | 6,867 | ​ | $ | 7,451
Summary of loans for which modifications considered to be TDRs were entered into within the previous 12 months | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Six Months Ended | ​ | Six Months Ended
​ | ​ | June 30, 2021 | ​ | June 30, 2020
​ | ​ | Number | ​ | ​ | ​ | Number | ​ | ​
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Commercial loans secured by real estate | ​ | 1 | ​ | $ | 3,392 | ​ | 0 | ​ | $ | 0
Total |  | 1 | ​ | $ | 3,392 |  | 0 | ​ | $ | 0
​
Schedule of carrying amount of foreclosed residential real estate properties | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | June 30, |  | December 31,
​ | ​ | 2021 | ​ | 2020
Foreclosed residential real estate | ​ | $ | 116 | ​ | $ | 80
Schedule of mortgage loans secured by residential real properties | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | June 30, |  | December 31,
​ | ​ | 2021 | ​ | 2020
Residential real estate in process of foreclosure | ​ | $ | 1,684 | ​ | $ | 1,246
Troubled Debt Restructuring |
LOANS |
Summary of troubled debt restructurings | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Three Months Ended | ​ | Three Months Ended
​ | ​ | June 30, 2021 | ​ | June 30, 2020
​ | ​ | ​ | ​ | Post- | ​ | ​ | ​ | Post-
​ | ​ | Number | ​ | Modification | ​ | Number | ​ | Modification
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Residential mortgage - first liens, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Reduced monthly payments for a fifteen-month period |  | 1 |  | $ | 116 |  | 0 |  | $ | 0
Commercial and industrial, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest only payments for a nine-month period | ​ | 0 | ​ | ​ | 0 | ​ | 1 | ​ | ​ | 240
Total |  | 1 |  | $ | 116 |  | 1 |  | $ | 240
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Six Months Ended | ​ | Six Months Ended
​ | ​ | June 30, 2021 | ​ | June 30, 2020
​ |  | ​ |  | Post- |  | ​ |  | Post-
​ | ​ | Number | ​ | Modification | ​ | Number | ​ | Modification
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Residential mortgage - first liens: |  |  |  | ​ |  |  |  |  | ​ |
Reduced monthly payments and extended maturity date |  | 1 | ​ | $ | 12 |  | 0 | ​ | $ | 0
Reduced monthly payments for a fifteen-month period | ​ | 1 | ​ | ​ | 116 | ​ | 0 | ​ | ​ | 0
Residential mortgage - junior liens, |  |  | ​ | ​ |  |  |  | ​ | ​ |
New loan at lower than risk-adjusted market rate to borrower from whom short sale of other collateral was accepted |  | 0 | ​ |  | 0 |  | 1 | ​ |  | 30
Home equity lines of credit, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Reduced monthly payments and extended maturity date | ​ | 1 | ​ | ​ | 24 | ​ | 0 | ​ | ​ | 0
Commercial and industrial, |  |  | ​ |  |  |  |  | ​ |  |
Interest only payments for a nine-month period | ​ | 0 | ​ | ​ | 0 | ​ | 1 | ​ | ​ | 240
Total |  | 3 | ​ | $ | 152 |  | 2 | ​ | $ | 270

X
- Definition Tabular disclosure of contractual aging of nonaccrual loans. + References No definition available. + Details
Name: | cznc_ContractualAgingOfNonaccrualLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition The tabular disclosure of payments defaults on financing receivable modified as troubled debt restructuring. + References No definition available. + Details
Name: | cznc_FinancingReceivableTroubledDebtRestructuringPaymentDefaultsTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure for impaired financing receivables by portfolio segment. + References No definition available. + Details
Name: | cznc_ImpairedFinancingReceivableByPortfolioSegmentTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of loans which have been modified under programs to alleviate the economic impact of the Coronavirus (Covid-19) Outbreak. + References No definition available. + Details
Name: | cznc_LoansModifiedDueToCoronavirusCovid19OutbreakTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of purchased credit impaired loans. + References No definition available. + Details
Name: | cznc_PurchasedCreditImpairedLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of additional information on impaired loans. + References No definition available. + Details
Name: | cznc_ScheduleOfAdditionalInformationOnImpairedLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of Mortgage Loans in Process of Foreclosure. + References No definition available. + Details
Name: | cznc_ScheduleOfMortgageLoansInProcessOfForeclosureTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of real estate properties and units acquired through foreclosure. + References No definition available. + Details
Name: | cznc_ScheduleOfRealEstateAcquiredThroughForeclosureTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the reconciliation of contractual cash flows to the carrying amount relating to certain loans acquired in a transfer. + References No definition available. + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 29 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953659-111524 + Details
Name: | us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableImpairedLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of impaired financing receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of aging analysis for financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919253-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953401-111524 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524 + Details
Name: | us-gaap_PastDueFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3,4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable on nonaccrual status. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447 + Details
Name: | us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis=cznc_TroubledDebtRestructuringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |