XML 49 R35.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Loans (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2017
Receivables [Abstract] |
Schedule of Loan Balances | Loans at year end were as follows:
|  | 2017 |  |  | 2016 |
Originated loans: |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |
Owner occupied |  | $ | 140,321 |  |  | $ | 109,750 |
Non-owner occupied |  |  | 199,080 |  |  |  | 165,861 |
Farmland |  |  |  |  | 70,534 |  |  |  | 34,155 |
Other |  |  | 89,025 |  |  |  | 70,823 |
Commercial |  |  |  |  |  |  |  |
Commercial and industrial |  |  |  |  | 193,347 |  |  |  | 171,145 |
Agricultural |  |  |  |  | 32,587 |  |  |  | 24,598 |
Residential real estate |  |  |  |  |  |  |  |
1-4 family residential |  |  | 272,421 |  |  |  | 224,222 |
Home equity lines of credit |  |  | 71,507 |  |  |  | 59,642 |
Consumer |  |  |  |  |  |  |  |
Indirect |  |  | 155,950 |  |  |  | 156,633 |
Direct |  |  | 28,519 |  |  |  | 26,663 |
Other |  |  | 8,876 |  |  |  | 7,611 |
Total originated loans |  | $ | 1,262,167 |  |  | $ | 1,051,103 |
Acquired loans: |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |
Owner occupied |  | $ | 53,031 |  |  | $ | 60,928 |
Non-owner occupied |  |  | 20,286 |  |  |  | 24,949 |
Farmland |  |  |  |  | 47,754 |  |  |  | 54,204 |
Other |  |  | 11,964 |  |  |  | 14,665 |
Commercial |  |  |  |  |  |  |  |
Commercial and industrial |  |  |  |  | 27,094 |  |  |  | 33,626 |
Agricultural |  |  |  |  | 12,206 |  |  |  | 16,024 |
Residential real estate |  |  |  |  |  |  |  |
1-4 family residential |  |  | 96,759 |  |  |  | 112,015 |
Home equity lines of credit |  |  | 28,755 |  |  |  | 34,795 |
Consumer |  |  |  |  |  |  |  |
Direct |  |  | 14,378 |  |  |  | 21,681 |
Other |  |  | 128 |  |  |  | 247 |
Total acquired loans |  |  | 312,355 |  |  |  | 373,134 |
Net deferred loan costs |  |  | 2,859 |  |  |  | 3,398 |
Allowance for loan losses |  |  | (12,315 | ) |  |  | (10,852 | )
Net loans |  | $ | 1,565,066 |  |  | $ | 1,416,783 |
Purchased Credit Impaired Loans | As part of the NBOH acquisition in 2015 the Company acquired various loans that displayed evidence of deterioration of credit quality since origination and which was probable that all contractually required payments would not be collected. The carrying amounts and contractually required payments of these loans which are included in the loan balances above are summarized in the following tables:
|  | 2017 |  |  | 2016 |
Commercial real estate |  |  |  |  |  |  |  |
Owner occupied |  | $ | 670 |  |  | $ | 689 |
Non-owner occupied |  |  | 387 |  |  |  | 436 |
Commercial |  |  |  |  |  |  |  |
Commercial and industrial |  |  |  |  | 1,072 |  |  |  | 1,213 |
Total outstanding balance |  | $ | 2,129 |  |  | $ | 2,338 |
Carrying amount, net of allowance of $0 in 2017 and 2016 |  | $ | 1,733 |  |  | $ | 2,181 |
Schedule of Accretable Yield or Income Expected to be Collected | Accretable yield, or income expected to be collected, is shown in the table below:
|  |  |  | 2017 |  |  | 2016 |
Beginning balance |  |  |  | $ | 247 |  |  | $ | 323 |
New loans purchased |  |  |  |  | 0 |  |  |  | 0 |
Accretion of income |  |  |  |  | (77 | ) |  |  | (76 | )
Ending balance |  |  |  | $ | 170 |  |  | $ | 247 |
Activity in the Allowance for Loan Losses by Portfolio Segment | The following tables present the activity in the allowance for loan losses by portfolio segment for years ended December 31, 2017, 2016 and 2015:
December 31, 2017 |  | Commercial Real Estate |  |  | Commercial |  |  | Residential Real Estate |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan losses |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance |  | $ | 3,577 |  |  | $ | 1,874 |  |  | $ | 2,205 |  |  | $ | 2,766 |  |  | $ | 430 |  |  | $ | 10,852 |
Provision for loan losses |  |  | 298 |  |  |  | 446 |  |  |  | 378 |  |  |  | 1,983 |  |  |  | 245 |  |  |  | 3,350 |
Loans charged off |  |  | (207 | ) |  |  | (375 | ) |  |  | (162 | ) |  |  | (2,542 | ) |  |  | 0 |  |  |  | (3,286 | )
Recoveries |  |  | 592 |  |  |  | 66 |  |  |  | 100 |  |  |  | 641 |  |  |  | 0 |  |  |  | 1,399 |
Total ending allowance balance |  | $ | 4,260 |  |  | $ | 2,011 |  |  | $ | 2,521 |  |  | $ | 2,848 |  |  | $ | 675 |  |  | $ | 12,315 |
December 31, 2016 |  | Commercial Real Estate |  |  | Commercial |  |  | Residential Real Estate |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan losses |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance |  | $ | 3,127 |  |  | $ | 1,373 |  |  | $ | 1,845 |  |  | $ | 2,160 |  |  | $ | 473 |  |  | $ | 8,978 |
Provision for loan losses |  |  | 784 |  |  |  | 701 |  |  |  | 436 |  |  |  | 1,992 |  |  |  | (43 | ) |  |  | 3,870 |
Loans charged off |  |  | (349 | ) |  |  | (245 | ) |  |  | (188 | ) |  |  | (2,019 | ) |  |  | 0 |  |  |  | (2,801 | )
Recoveries |  |  | 15 |  |  |  | 45 |  |  |  | 112 |  |  |  | 633 |  |  |  | 0 |  |  |  | 805 |
Total ending allowance balance |  | $ | 3,577 |  |  | $ | 1,874 |  |  | $ | 2,205 |  |  | $ | 2,766 |  |  | $ | 430 |  |  | $ | 10,852 |
December 31, 2015 |  | Commercial Real Estate |  |  | Commercial |  |  | Residential Real Estate |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan losses |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance |  | $ | 2,676 |  |  | $ | 1,420 |  |  | $ | 1,689 |  |  | $ | 1,663 |  |  | $ | 184 |  |  | $ | 7,632 |
Provision for loan losses |  |  | 857 |  |  |  | 234 |  |  |  | 354 |  |  |  | 1,776 |  |  |  | 289 |  |  |  | 3,510 |
Loans charged off |  |  | (536 | ) |  |  | (290 | ) |  |  | (320 | ) |  |  | (2,058 | ) |  |  | 0 |  |  |  | (3,204 | )
Recoveries |  |  | 130 |  |  |  | 9 |  |  |  | 122 |  |  |  | 779 |  |  |  | 0 |  |  |  | 1,040 |
Total ending allowance balance |  | $ | 3,127 |  |  | $ | 1,373 |  |  | $ | 1,845 |  |  | $ | 2,160 |  |  | $ | 473 |  |  | $ | 8,978 |
Allowance for Loan Losses and Recorded Investment in Loans by Portfolio Segment, Based on Impairment Method | The following tables present the balance in the allowance for loan losses and the recorded investment in loans by portfolio segment, based on impairment method as of December 31, 2017 and 2016. The recorded investment in loans includes the unpaid principal balance and unamortized loan origination fees and costs, but excludes accrued interest receivable which is not considered to be material:
December 31, 2017 |  | Commercial Real Estate |  |  | Commercial |  |  | Residential Real Estate |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending allowance balance attributable to loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Individually evaluated for impairment |  | $ | 0 |  |  | $ | 4 |  |  | $ | 158 |  |  | $ | 0 |  |  | $ | 0 |  |  | $ | 162 |
Collectively evaluated for impairment |  |  | 4,214 |  |  |  | 1,993 |  |  |  | 2,322 |  |  |  | 2,844 |  |  |  | 675 |  |  |  | 12,048 |
Acquired loans collectively evaluated for impairment |  |  | 46 |  |  |  | 14 |  |  |  | 41 |  |  |  | 4 |  |  |  | 0 |  |  |  | 105 |
Acquired with deteriorated credit quality |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |
Total ending allowance balance |  | $ | 4,260 |  |  | $ | 2,011 |  |  | $ | 2,521 |  |  | $ | 2,848 |  |  | $ | 675 |  |  | $ | 12,315 |
Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loans individually evaluated for impairment |  | $ | 658 |  |  | $ | 260 |  |  | $ | 4,559 |  |  | $ | 59 |  |  | $ | 0 |  |  | $ | 5,536 |
Loans collectively evaluated for impairment |  |  | 497,168 |  |  |  | 225,312 |  |  |  | 339,143 |  |  |  | 198,370 |  |  |  | 0 |  |  |  | 1,259,993 |
Acquired loans |  |  | 131,926 |  |  |  | 38,503 |  |  |  | 125,182 |  |  |  | 14,507 |  |  |  | 0 |  |  |  | 310,118 |
Acquired with deteriorated credit quality |  |  | 948 |  |  |  | 786 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 1,734 |
Total ending loans balance |  | $ | 630,700 |  |  | $ | 264,861 |  |  | $ | 468,884 |  |  | $ | 212,936 |  |  | $ | 0 |  |  | $ | 1,577,381 |
December 31, 2016 |  | Commercial Real Estate |  |  | Commercial |  |  | Residential Real Estate |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending allowance balance attributable to loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Individually evaluated for impairment |  | $ | 86 |  |  | $ | 111 |  |  | $ | 52 |  |  | $ | 0 |  |  | $ | 0 |  |  | $ | 249 |
Collectively evaluated for impairment |  |  | 3,491 |  |  |  | 1,763 |  |  |  | 2,153 |  |  |  | 2,766 |  |  |  | 430 |  |  |  | 10,603 |
Acquired loans collectively evaluated for impairment |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |
Acquired with deteriorated credit quality |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |
Total ending allowance balance |  | $ | 3,577 |  |  | $ | 1,874 |  |  | $ | 2,205 |  |  | $ | 2,766 |  |  | $ | 430 |  |  | $ | 10,852 |
Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loans individually evaluated for impairment |  | $ | 3,457 |  |  | $ | 477 |  |  | $ | 3,308 |  |  | $ | 96 |  |  | $ | 0 |  |  | $ | 7,338 |
Loans collectively evaluated for impairment |  |  | 376,632 |  |  |  | 195,146 |  |  |  | 280,215 |  |  |  | 196,081 |  |  |  | 0 |  |  |  | 1,048,074 |
Acquired loans |  |  | 153,228 |  |  |  | 48,536 |  |  |  | 146,672 |  |  |  | 21,923 |  |  |  | 0 |  |  |  | 370,359 |
Acquired with deteriorated credit quality |  |  | 968 |  |  |  | 896 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 1,864 |
Total ending loans balance |  | $ | 534,285 |  |  | $ | 245,055 |  |  | $ | 430,195 |  |  | $ | 218,100 |  |  | $ | 0 |  |  | $ | 1,427,635 |
Loans Individually Evaluated for Impairment by Class of Loans | The following tables present information related to impaired loans by class of loans as of and for years ended December 31, 2017, 2016 and 2015. The recorded investment in loans excludes accrued interest receivable due to immateriality.
December 31, 2017 |  | Unpaid Principal Balance |  |  | Recorded Investment |  |  | Allowance for Loan Losses Allocated |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 659 |  |  | $ | 658 |  |  | $ | 0 |  |  | $ | 767 |  |  | $ | 10 |
Non-owner occupied |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 68 |  |  |  | 2 |
Farmland |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 12 |  |  |  | 0 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 214 |  |  |  | 192 |  |  |  | 0 |  |  |  | 184 |  |  |  | 4 |
Agricultural |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 10 |  |  |  | 0 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 2,923 |  |  |  | 2,697 |  |  |  | 0 |  |  |  | 2,343 |  |  |  | 138 |
Home equity lines of credit |  |  | 341 |  |  |  | 319 |  |  |  | 0 |  |  |  | 299 |  |  |  | 15 |
Consumer |  |  | 145 |  |  |  | 59 |  |  |  | 0 |  |  |  | 74 |  |  |  | 11 |
Subtotal |  |  | 4,282 |  |  |  | 3,925 |  |  |  | 0 |  |  |  | 3,757 |  |  |  | 180 |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 134 |  |  |  | 6 |
Non-owner occupied |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 640 |  |  |  | 28 |
Farmland |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 63 |  |  |  | 0 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 68 |  |  |  | 68 |  |  |  | 4 |  |  |  | 71 |  |  |  | 4 |
Agricultural |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 50 |  |  |  | 0 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 1,409 |  |  |  | 1,387 |  |  |  | 84 |  |  |  | 837 |  |  |  | 29 |
Home equity lines of credit |  |  | 159 |  |  |  | 156 |  |  |  | 74 |  |  |  | 95 |  |  |  | 3 |
Consumer |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 2 |  |  |  | 0 |
Subtotal |  |  | 1,636 |  |  |  | 1,611 |  |  |  | 162 |  |  |  | 1,892 |  |  |  | 70 |
Total |  | $ | 5,918 |  |  | $ | 5,536 |  |  | $ | 162 |  |  | $ | 5,649 |  |  | $ | 250 |
December 31, 2016 |  | Unpaid Principal Balance |  |  | Recorded Investment |  |  | Allowance for Loan Losses Allocated |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 1,974 |  |  | $ | 1,456 |  |  | $ | 0 |  |  | $ | 1,601 |  |  | $ | 70 |
Non-owner occupied |  |  | 332 |  |  |  | 331 |  |  |  | 0 |  |  |  | 334 |  |  |  | 5 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 205 |  |  |  | 184 |  |  |  | 0 |  |  |  | 641 |  |  |  | 15 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 2,650 |  |  |  | 2,403 |  |  |  | 0 |  |  |  | 2,302 |  |  |  | 145 |
Home equity lines of credit |  |  | 195 |  |  |  | 179 |  |  |  | 0 |  |  |  | 221 |  |  |  | 10 |
Consumer |  |  | 205 |  |  |  | 96 |  |  |  | 0 |  |  |  | 97 |  |  |  | 13 |
Subtotal |  |  | 5,561 |  |  |  | 4,649 |  |  |  | 0 |  |  |  | 5,196 |  |  |  | 258 |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  |  | 173 |  |  |  | 173 |  |  |  | 14 |  |  |  | 874 |  |  |  | 29 |
Non-owner occupied |  |  | 1,118 |  |  |  | 1,118 |  |  |  | 30 |  |  |  | 1,283 |  |  |  | 67 |
Farmland |  |  | 380 |  |  |  | 379 |  |  |  | 42 |  |  |  | 127 |  |  |  | 0 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 75 |  |  |  | 75 |  |  |  | 4 |  |  |  | 103 |  |  |  | 4 |
Agricultural |  |  | 219 |  |  |  | 218 |  |  |  | 107 |  |  |  | 73 |  |  |  | 0 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 661 |  |  |  | 642 |  |  |  | 51 |  |  |  | 828 |  |  |  | 36 |
Home equity lines of credit |  |  | 84 |  |  |  | 84 |  |  |  | 1 |  |  |  | 85 |  |  |  | 4 |
Consumer |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 1 |  |  |  | 0 |
Subtotal |  |  | 2,710 |  |  |  | 2,689 |  |  |  | 249 |  |  |  | 3,374 |  |  |  | 140 |
Total |  | $ | 8,271 |  |  | $ | 7,338 |  |  | $ | 249 |  |  | $ | 8,570 |  |  | $ | 398 |
December 31, 2015 |  | Unpaid Principal Balance |  |  | Recorded Investment |  |  | Allowance for Loan Losses Allocated |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 2,956 |  |  | $ | 2,436 |  |  | $ | 0 |  |  | $ | 2,080 |  |  | $ | 106 |
Non-owner occupied |  |  | 343 |  |  |  | 342 |  |  |  | 0 |  |  |  | 372 |  |  |  | 30 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 834 |  |  |  | 631 |  |  |  | 0 |  |  |  | 433 |  |  |  | 23 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 2,575 |  |  |  | 2,310 |  |  |  | 0 |  |  |  | 2,174 |  |  |  | 147 |
Home equity lines of credit |  |  | 283 |  |  |  | 268 |  |  |  | 0 |  |  |  | 260 |  |  |  | 15 |
Consumer |  |  | 214 |  |  |  | 103 |  |  |  | 0 |  |  |  | 81 |  |  |  | 14 |
Subtotal |  |  | 7,205 |  |  |  | 6,090 |  |  |  | 0 |  |  |  | 5,400 |  |  |  | 335 |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  |  | 1,597 |  |  |  | 1,595 |  |  |  | 379 |  |  |  | 2,008 |  |  |  | 70 |
Non-owner occupied |  |  | 1,480 |  |  |  | 1,480 |  |  |  | 50 |  |  |  | 1,511 |  |  |  | 79 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 81 |  |  |  | 81 |  |  |  | 5 |  |  |  | 540 |  |  |  | 4 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 769 |  |  |  | 749 |  |  |  | 61 |  |  |  | 919 |  |  |  | 39 |
Home equity lines of credit |  |  | 87 |  |  |  | 87 |  |  |  | 2 |  |  |  | 96 |  |  |  | 4 |
Subtotal |  |  | 4,014 |  |  |  | 3,992 |  |  |  | 497 |  |  |  | 5,074 |  |  |  | 196 |
Total |  | $ | 11,219 |  |  | $ | 10,082 |  |  | $ | 497 |  |  | $ | 10,474 |  |  | $ | 531 |
Schedule of Investment in Nonaccrual and Loans Past Due 90 Days or More Still on Accrual by Class of Loans | Nonaccrual loans and loans past due 90 days still on accrual include both smaller balance homogeneous loans that are collectively evaluated for impairment and individually classified impaired loans. The following table presents the recorded investment in nonaccrual and loans past due 90 days or more still on accrual by class of loans as of December 31, 2017 and 2016:
|  | 2017 |  |  | 2016 |
|  | Nonaccrual |  |  | Loans Past Due 90 Days or More Still Accruing |  |  | Nonaccrual |  |  | Loans Past Due 90 Days or More Still Accruing |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 501 |  |  | $ | 0 |  |  | $ | 958 |  |  | $ | 0 |
Non-owner occupied |  |  | 0 |  |  |  | 0 |  |  |  | 343 |  |  |  | 0 |
Farmland |  |  | 45 |  |  |  | 0 |  |  |  | 58 |  |  |  | 0 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 249 |  |  |  | 0 |  |  |  | 400 |  |  |  | 0 |
Agricultural |  |  | 2 |  |  |  | 0 |  |  |  | 12 |  |  |  | 0 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 2,653 |  |  |  | 393 |  |  |  | 1,929 |  |  |  | 295 |
Home equity lines of credit |  |  | 602 |  |  |  | 8 |  |  |  | 202 |  |  |  | 118 |
Consumer |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Indirect |  |  | 457 |  |  |  | 361 |  |  |  | 298 |  |  |  | 438 |
Direct |  |  | 63 |  |  |  | 153 |  |  |  | 9 |  |  |  | 65 |
Other |  |  | 0 |  |  |  | 14 |  |  |  | 0 |  |  |  | 16 |
Total originated loans |  | $ | 4,572 |  |  | $ | 929 |  |  | $ | 4,209 |  |  | $ | 932 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 0 |  |  | $ | 0 |  |  | $ | 85 |  |  | $ | 0 |
Non-owner occupied |  |  | 216 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |
Other |  |  | 0 |  |  |  | 0 |  |  |  | 24 |  |  |  | 0 |
Farmland |  |  | 0 |  |  |  | 0 |  |  |  | 380 |  |  |  | 0 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 943 |  |  |  | 19 |  |  |  | 961 |  |  |  | 0 |
Agricultural |  |  | 9 |  |  |  | 0 |  |  |  | 236 |  |  |  | 0 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 613 |  |  |  | 69 |  |  |  | 386 |  |  |  | 545 |
Home equity lines of credit |  |  | 170 |  |  |  | 0 |  |  |  | 119 |  |  |  | 109 |
Consumer |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct |  |  | 140 |  |  |  | 15 |  |  |  | 89 |  |  |  | 95 |
Total acquired loans |  | $ | 2,091 |  |  | $ | 103 |  |  | $ | 2,280 |  |  | $ | 749 |
Total loans |  | $ | 6,663 |  |  | $ | 1,032 |  |  | $ | 6,489 |  |  | $ | 1,681 |
Schedule of Investment in Past Due Loans | The following tables present the aging of the recorded investment in past due loans as of December 31, 2017 and 2016 by class of loans:
December 31, 2017 |  | 30-59 Days Past Due |  |  | 60-89 Days Past Due |  |  | 90 Days or More Past Due and Nonaccrual |  |  | Total Past Due |  |  | Loans Not Past Due |  |  | Total |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 4 |  |  | $ | 340 |  |  | $ | 501 |  |  | $ | 845 |  |  | $ | 139,081 |  |  | $ | 139,926 |
Non-owner occupied |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 198,588 |  |  |  | 198,588 |
Farmland |  |  | 0 |  |  |  | 0 |  |  |  | 45 |  |  |  | 45 |  |  |  | 70,398 |  |  |  | 70,443 |
Other |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 88,703 |  |  |  | 88,703 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 292 |  |  |  | 3 |  |  |  | 249 |  |  |  | 544 |  |  |  | 192,335 |  |  |  | 192,879 |
Agricultural |  |  | 74 |  |  |  | 0 |  |  |  | 2 |  |  |  | 76 |  |  |  | 32,605 |  |  |  | 32,681 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 2,044 |  |  |  | 403 |  |  |  | 3,046 |  |  |  | 5,493 |  |  |  | 266,338 |  |  |  | 271,831 |
Home equity lines of credit |  |  | 155 |  |  |  | 18 |  |  |  | 610 |  |  |  | 783 |  |  |  | 70,754 |  |  |  | 71,537 |
Consumer |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Indirect |  |  | 2,429 |  |  |  | 829 |  |  |  | 818 |  |  |  | 4,076 |  |  |  | 156,772 |  |  |  | 160,848 |
Direct |  |  | 632 |  |  |  | 250 |  |  |  | 216 |  |  |  | 1,098 |  |  |  | 27,608 |  |  |  | 28,706 |
Other |  |  | 115 |  |  |  | 11 |  |  |  | 14 |  |  |  | 140 |  |  |  | 8,736 |  |  |  | 8,876 |
Total originated loans: |  | $ | 5,745 |  |  | $ | 1,854 |  |  | $ | 5,501 |  |  | $ | 13,100 |  |  | $ | 1,251,918 |  |  | $ | 1,265,018 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 0 |  |  | $ | 0 |  |  | $ | 0 |  |  | $ | 0 |  |  | $ | 53,051 |  |  | $ | 53,051 |
Non-owner occupied |  |  | 0 |  |  |  | 0 |  |  |  | 216 |  |  |  | 216 |  |  |  | 20,042 |  |  |  | 20,258 |
Farmland |  |  | 454 |  |  |  | 0 |  |  |  | 0 |  |  |  | 454 |  |  |  | 47,301 |  |  |  | 47,755 |
Other |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 11,976 |  |  |  | 11,976 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 327 |  |  |  | 96 |  |  |  | 962 |  |  |  | 1,385 |  |  |  | 25,709 |  |  |  | 27,094 |
Agricultural |  |  | 87 |  |  |  | 0 |  |  |  | 9 |  |  |  | 96 |  |  |  | 12,111 |  |  |  | 12,207 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 858 |  |  |  | 77 |  |  |  | 682 |  |  |  | 1,617 |  |  |  | 95,144 |  |  |  | 96,761 |
Home equity lines of credit |  |  | 161 |  |  |  | 0 |  |  |  | 170 |  |  |  | 331 |  |  |  | 28,424 |  |  |  | 28,755 |
Consumer |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct |  |  | 380 |  |  |  | 151 |  |  |  | 155 |  |  |  | 686 |  |  |  | 13,692 |  |  |  | 14,378 |
Other |  |  | 0 |  |  |  | 1 |  |  |  | 0 |  |  |  | 1 |  |  |  | 127 |  |  |  | 128 |
Total acquired loans |  | $ | 2,267 |  |  | $ | 325 |  |  | $ | 2,194 |  |  | $ | 4,786 |  |  | $ | 307,577 |  |  | $ | 312,363 |
Total loans |  | $ | 8,012 |  |  | $ | 2,179 |  |  | $ | 7,695 |  |  | $ | 17,886 |  |  | $ | 1,559,495 |  |  | $ | 1,577,381 |
December 31, 2016 |  | 30-59 Days Past Due |  |  | 60-89 Days Past Due |  |  | 90 Days or More Past Due and Nonaccrual |  |  | Total Past Due |  |  | Loans Not Past Due |  |  | Total |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 0 |  |  | $ | 0 |  |  | $ | 958 |  |  | $ | 958 |  |  | $ | 108,475 |  |  | $ | 109,433 |
Non-owner occupied |  |  | 0 |  |  |  | 0 |  |  |  | 343 |  |  |  | 343 |  |  |  | 165,105 |  |  |  | 165,448 |
Farmland |  |  | 0 |  |  |  | 0 |  |  |  | 58 |  |  |  | 58 |  |  |  | 34,057 |  |  |  | 34,115 |
Other |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 0 |  |  |  | 70,542 |  |  |  | 70,542 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 90 |  |  |  | 0 |  |  |  | 400 |  |  |  | 490 |  |  |  | 170,242 |  |  |  | 170,732 |
Agricultural |  |  | 0 |  |  |  | 29 |  |  |  | 12 |  |  |  | 41 |  |  |  | 24,632 |  |  |  | 24,673 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 3,368 |  |  |  | 356 |  |  |  | 2,224 |  |  |  | 5,948 |  |  |  | 217,752 |  |  |  | 223,700 |
Home equity lines of credit |  |  | 77 |  |  |  | 37 |  |  |  | 320 |  |  |  | 434 |  |  |  | 59,248 |  |  |  | 59,682 |
Consumer |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Indirect |  |  | 2,844 |  |  |  | 696 |  |  |  | 736 |  |  |  | 4,276 |  |  |  | 157,437 |  |  |  | 161,713 |
Direct |  |  | 744 |  |  |  | 213 |  |  |  | 74 |  |  |  | 1,031 |  |  |  | 25,815 |  |  |  | 26,846 |
Other |  |  | 92 |  |  |  | 28 |  |  |  | 16 |  |  |  | 136 |  |  |  | 7,476 |  |  |  | 7,612 |
Total originated loans: |  | $ | 7,215 |  |  | $ | 1,359 |  |  | $ | 5,141 |  |  | $ | 13,715 |  |  | $ | 1,040,781 |  |  | $ | 1,054,496 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 8 |  |  | $ | 205 |  |  | $ | 85 |  |  | $ | 298 |  |  | $ | 60,630 |  |  | $ | 60,928 |
Non-owner occupied |  |  | 134 |  |  |  | 0 |  |  |  | 0 |  |  |  | 134 |  |  |  | 24,815 |  |  |  | 24,949 |
Farmland |  |  | 83 |  |  |  | 0 |  |  |  | 380 |  |  |  | 463 |  |  |  | 53,741 |  |  |  | 54,204 |
Other |  |  | 0 |  |  |  | 0 |  |  |  | 24 |  |  |  | 24 |  |  |  | 14,642 |  |  |  | 14,666 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 278 |  |  |  | 0 |  |  |  | 961 |  |  |  | 1,239 |  |  |  | 32,387 |  |  |  | 33,626 |
Agricultural |  |  | 21 |  |  |  | 0 |  |  |  | 236 |  |  |  | 257 |  |  |  | 15,767 |  |  |  | 16,024 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 1,556 |  |  |  | 504 |  |  |  | 931 |  |  |  | 2,991 |  |  |  | 109,027 |  |  |  | 112,018 |
Home equity lines of credit |  |  | 152 |  |  |  | 9 |  |  |  | 228 |  |  |  | 389 |  |  |  | 34,406 |  |  |  | 34,795 |
Consumer |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct |  |  | 938 |  |  |  | 184 |  |  |  | 184 |  |  |  | 1,306 |  |  |  | 20,376 |  |  |  | 21,682 |
Other |  |  | 100 |  |  |  | 0 |  |  |  | 0 |  |  |  | 100 |  |  |  | 147 |  |  |  | 247 |
Total acquired loans |  | $ | 3,270 |  |  | $ | 902 |  |  | $ | 3,029 |  |  | $ | 7,201 |  |  | $ | 365,938 |  |  | $ | 373,139 |
Total loans |  | $ | 10,485 |  |  | $ | 2,261 |  |  | $ | 8,170 |  |  | $ | 20,916 |  |  | $ | 1,406,719 |  |  | $ | 1,427,635 |
Schedule of Loans By Class Modified as Troubled Debt Restructurings | The following tables present loans by class modified as troubled debt restructurings that occurred during the years ending December 31, 2017, 2016 and 2015:
|  |  |  |  |  | Pre- Modification |  |  | Post- Modification |
December 31, 2017 |  | Number of |  |  | Outstanding Recorded |  |  | Outstanding Recorded |
Troubled Debt Restructurings: |  | Loans |  |  | Investment |  |  | Investment |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 15 |  |  | $ | 910 |  |  | $ | 917 |
Home equity lines of credit |  |  | 10 |  |  |  | 234 |  |  |  | 234 |
Indirect |  |  | 29 |  |  |  | 161 |  |  |  | 161 |
Total originated loans |  |  | 54 |  |  | $ | 1,305 |  |  | $ | 1,312 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |
Commercial |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 1 |  |  | $ | 13 |  |  | $ | 13 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 3 |  |  |  | 85 |  |  |  | 85 |
Home equity lines of credit |  |  | 1 |  |  |  | 57 |  |  |  | 57 |
Consumer |  |  | 2 |  |  |  | 55 |  |  |  | 55 |
Total acquired loans |  |  | 7 |  |  | $ | 210 |  |  | $ | 210 |
Total loans |  |  | 61 |  |  | $ | 1,515 |  |  | $ | 1,522 |
|  |  |  |  |  | Pre- Modification |  |  | Post- Modification |
December 31, 2016 |  | Number of |  |  | Outstanding Recorded |  |  | Outstanding Recorded |
Troubled Debt Restructurings: |  | Loans |  |  | Investment |  |  | Investment |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 15 |  |  | $ | 436 |  |  | $ | 437 |
Home equity lines of credit |  |  | 1 |  |  |  | 40 |  |  |  | 40 |
Indirect |  |  | 26 |  |  |  | 182 |  |  |  | 182 |
Consumer |  |  | 2 |  |  |  | 12 |  |  |  | 12 |
Total originated loans |  |  | 44 |  |  | $ | 670 |  |  | $ | 671 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 4 |  |  |  | 153 |  |  |  | 153 |
Home equity lines of credit |  |  | 1 |  |  |  | 18 |  |  |  | 18 |
Consumer |  |  | 2 |  |  |  | 40 |  |  |  | 40 |
Total acquired loans |  |  | 7 |  |  | $ | 211 |  |  | $ | 211 |
Total loans |  |  | 51 |  |  | $ | 881 |  |  | $ | 882 |
|  |  |  |  |  | Pre- Modification |  |  | Post- Modification |
December 31, 2015 |  | Number of |  |  | Outstanding Recorded |  |  | Outstanding Recorded |
Troubled Debt Restructurings: |  | Loans |  |  | Investment |  |  | Investment |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  |  | 2 |  |  | $ | 801 |  |  | $ | 801 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 1 |  |  |  | 8 |  |  |  | 8 |
Residential real estate |  |  |  |  |  |  |  |  |  |  |  |
1-4 family residential |  |  | 13 |  |  |  | 760 |  |  |  | 760 |
Home equity lines of credit |  |  | 2 |  |  |  | 60 |  |  |  | 60 |
Indirect |  |  | 12 |  |  |  | 104 |  |  |  | 104 |
Consumer |  |  | 1 |  |  |  | 8 |  |  |  | 8 |
Total originated loans |  |  | 31 |  |  | $ | 1,741 |  |  | $ | 1,741 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |
Commercial |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 2 |  |  |  | 957 |  |  |  | 957 |
Total loans |  |  | 33 |  |  | $ | 2,698 |  |  | $ | 2,698 |
Risk Category of Loans by Class of Loans | Based on the most recent analysis performed, the risk category of loans by class of loans is as follows:
December 31, 2017 |  | Pass |  |  | Special Mention |  |  | Sub standard |  |  | Total |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 137,913 |  |  | $ | 442 |  |  | $ | 1,571 |  |  | $ | 139,926 |
Non-owner occupied |  |  | 198,043 |  |  |  | 419 |  |  |  | 126 |  |  |  | 198,588 |
Farmland |  |  | 70,354 |  |  |  | 44 |  |  |  | 45 |  |  |  | 70,443 |
Other |  |  | 88,421 |  |  |  | 36 |  |  |  | 246 |  |  |  | 88,703 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 184,444 |  |  |  | 5,326 |  |  |  | 3,109 |  |  |  | 192,879 |
Agricultural |  |  | 32,291 |  |  |  | 192 |  |  |  | 198 |  |  |  | 32,681 |
Total originated loans |  | $ | 711,466 |  |  | $ | 6,459 |  |  | $ | 5,295 |  |  | $ | 723,220 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 51,133 |  |  | $ | 466 |  |  | $ | 1,452 |  |  | $ | 53,051 |
Non-owner occupied |  |  | 19,823 |  |  |  | 63 |  |  |  | 372 |  |  |  | 20,258 |
Farmland |  |  | 43,694 |  |  |  | 3,304 |  |  |  | 757 |  |  |  | 47,755 |
Other |  |  | 11,299 |  |  |  | 567 |  |  |  | 110 |  |  |  | 11,976 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 25,286 |  |  |  | 2 |  |  |  | 1,806 |  |  |  | 27,094 |
Agricultural |  |  | 11,200 |  |  |  | 554 |  |  |  | 453 |  |  |  | 12,207 |
Total acquired loans |  | $ | 162,435 |  |  | $ | 4,956 |  |  | $ | 4,950 |  |  | $ | 172,341 |
Total loans |  | $ | 873,901 |  |  | $ | 11,415 |  |  | $ | 10,245 |  |  | $ | 895,561 |
December 31, 2016 |  | Pass |  |  | Special Mention |  |  | Sub standard |  |  | Total |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 106,448 |  |  | $ | 490 |  |  | $ | 2,495 |  |  | $ | 109,433 |
Non-owner occupied |  |  | 162,465 |  |  |  | 522 |  |  |  | 2,461 |  |  |  | 165,448 |
Farmland |  |  | 34,057 |  |  |  | 0 |  |  |  | 58 |  |  |  | 34,115 |
Other |  |  | 69,947 |  |  |  | 325 |  |  |  | 270 |  |  |  | 70,542 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 167,062 |  |  |  | 2,720 |  |  |  | 950 |  |  |  | 170,732 |
Agricultural |  |  | 24,395 |  |  |  | 253 |  |  |  | 25 |  |  |  | 24,673 |
Total originated loans |  | $ | 564,374 |  |  | $ | 4,310 |  |  | $ | 6,259 |  |  | $ | 574,943 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Owner occupied |  | $ | 58,655 |  |  | $ | 707 |  |  | $ | 1,566 |  |  | $ | 60,928 |
Non-owner occupied |  |  | 23,577 |  |  |  | 1,195 |  |  |  | 177 |  |  |  | 24,949 |
Farmland |  |  | 53,039 |  |  |  | 0 |  |  |  | 1,165 |  |  |  | 54,204 |
Other |  |  | 14,060 |  |  |  | 464 |  |  |  | 142 |  |  |  | 14,666 |
Commercial |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | 30,543 |  |  |  | 311 |  |  |  | 2,772 |  |  |  | 33,626 |
Agricultural |  |  | 14,856 |  |  |  | 685 |  |  |  | 483 |  |  |  | 16,024 |
Total acquired loans |  | $ | 194,730 |  |  | $ | 3,362 |  |  | $ | 6,305 |  |  | $ | 204,397 |
Total loans |  | $ | 759,104 |  |  | $ | 7,672 |  |  | $ | 12,564 |  |  | $ | 779,340 |
Investment in Residential, Consumer and Indirect Auto Loans Based on Payment Activity | The following table presents the recorded investment in residential, consumer and indirect auto loans based on payment activity. Nonperforming loans are loans past due 90 days and still accruing interest and nonaccrual loans.
|  | Residential Real Estate |  |  | Consumer |
December 31, 2017 |  | 1-4 Family Residential |  |  | Home Equity Lines of Credit |  |  | Indirect |  |  | Direct |  |  | Other |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Performing |  | $ | 268,785 |  |  | $ | 70,927 |  |  | $ | 160,030 |  |  | $ | 28,490 |  |  | $ | 8,862 |
Nonperforming |  |  | 3,046 |  |  |  | 610 |  |  |  | 818 |  |  |  | 216 |  |  |  | 14 |
Total originated loans |  | $ | 271,831 |  |  | $ | 71,537 |  |  | $ | 160,848 |  |  | $ | 28,706 |  |  | $ | 8,876 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Performing |  |  | 96,079 |  |  |  | 28,585 |  |  |  | 0 |  |  |  | 14,223 |  |  |  | 128 |
Nonperforming |  |  | 682 |  |  |  | 170 |  |  |  | 0 |  |  |  | 155 |  |  |  | 0 |
Total acquired loans |  | $ | 96,761 |  |  | $ | 28,755 |  |  | $ | 0 |  |  | $ | 14,378 |  |  | $ | 128 |
Total loans |  | $ | 368,592 |  |  | $ | 100,292 |  |  | $ | 160,848 |  |  | $ | 43,084 |  |  | $ | 9,004 |
|  | Residential Real Estate |  |  | Consumer |
December 31, 2016 |  | 1-4 Family Residential |  |  | Home Equity Lines of Credit |  |  | Indirect |  |  | Direct |  |  | Other |
Originated loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Performing |  | $ | 221,476 |  |  | $ | 59,362 |  |  | $ | 160,977 |  |  | $ | 26,772 |  |  | $ | 7,596 |
Nonperforming |  |  | 2,224 |  |  |  | 320 |  |  |  | 736 |  |  |  | 74 |  |  |  | 16 |
Total originated loans |  | $ | 223,700 |  |  | $ | 59,682 |  |  | $ | 161,713 |  |  | $ | 26,846 |  |  | $ | 7,612 |
Acquired loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Performing |  |  | 111,087 |  |  |  | 34,567 |  |  |  | 0 |  |  |  | 21,498 |  |  |  | 247 |
Nonperforming |  |  | 931 |  |  |  | 228 |  |  |  | 0 |  |  |  | 184 |  |  |  | 0 |
Total acquired loans |  | $ | 112,018 |  |  | $ | 34,795 |  |  | $ | 0 |  |  | $ | 21,682 |  |  | $ | 247 |
Total loans |  | $ | 335,718 |  |  | $ | 94,477 |  |  | $ | 161,713 |  |  | $ | 48,528 |  |  | $ | 7,859 |

X
- Definition Impaired loans acquired Accretable yield change. + References No definition available. + Details
Name: | fmnb_ImpairedLoansAcquiredAccretableYieldChangeTableTextBlock
Namespace Prefix: | fmnb_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment in residential, consumer and indirect auto loans based on payment activity. + References No definition available. + Details
Name: | fmnb_InvestmentInResidentialConsumerAndIndirectAutoLoansBasedOnPaymentActivityTableTextBlock
Namespace Prefix: | fmnb_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchased credit impaired loans. + References No definition available. + Details
Name: | fmnb_PurchasedCreditImpairedLoansTableTextBlock
Namespace Prefix: | fmnb_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivables (examples of financing receivables include loans, trade accounts receivable and notes receivable) and activity in the allowance for credit losses account. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953423-111524 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
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/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 55 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=82894031&loc=SL6953803-111525 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 29 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953659-111524 + Details
Name: | us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of impaired financing receivables. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84173941&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 financing receivables that are past due but not impaired, financing receivables that are 90 days past due and still accruing, and financing receivables on nonaccrual status. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953401-111524 + Details
Name: | us-gaap_PastDueFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ReceivablesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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://www.xbrl.org/2003/role/presentationRef -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=6877327&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 the activity in the total allowance for credit losses related to financing receivables (such as loans or lease receivables) for entities that have an unclassified balance sheet, including the balance in the allowance at the beginning and end of each period, additions charged to operations, direct write-downs charged against the allowance, and recoveries of amounts previously charged off. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953423-111524 + Details
Name: | us-gaap_ScheduleOfCreditLossesRelatedToFinancingReceivablesCurrentAndNoncurrentTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of nonaccrual and past due financing receivables (such as loans and trade receivables), including: (a) the recorded investment in loans and trade receivables, if applicable, on nonaccrual status as of each balance sheet date (b) the recorded investment in loans and trade receivables, if applicable, past due 90 days or more and still accruing. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5111-111524 + 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 receivables and troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953676-111524 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration