XML 25 R13.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Loans | 6 Months Ended
--- | ---
Jun. 30, 2018
Receivables [Abstract] |
LOANS | LOANS Total net loans at June 30, 2018 and December 31, 2017 are summarized as follows:
| June 30, 2018 |  | December 31, 2017
Commercial, industrial, and agricultural | $ | 808,565 |  |  | $ | 749,138 |
Commercial mortgages | 702,443 |  |  | 600,065 |
Residential real estate | 738,839 |  |  | 713,347 |
Consumer | 82,089 |  |  | 80,193 |
Credit cards | 7,414 |  |  | 6,753 |
Overdrafts | 299 |  |  | 352 |
Less: unearned discount | (4,357 | ) |  | (3,889 | )
allowance for loan losses | (22,122 | ) |  | (19,693 | )
Loans, net | $ | 2,313,170 |  |  | $ | 2,126,266 |
At June 30, 2018 and December 31, 2017, net unamortized loan fees of $2,952 and $2,574, respectively, have been included in the carrying value of loans. The Corporation’s outstanding loans and related unfunded commitments are primarily concentrated within Central and Western Pennsylvania, Central and Northeastern Ohio, and Western New York. The Bank attempts to limit concentrations within specific industries by utilizing dollar limitations to single industries or customers, and by entering into participation agreements with third parties. Collateral requirements are established based on management’s assessment of the customer. The Corporation maintains lending policies to control the quality of the loan portfolio. These policies delegate the authority to extend loans under specific guidelines and underwriting standards. These policies are prepared by the Corporation’s management and reviewed and ratified annually by the Corporation’s Board of Directors. Pursuant to the Corporation’s lending policies, management considers a variety of factors when determining whether to extend credit to a customer, including loan-to-value ratios, FICO scores, quality of the borrower’s financial statements, and the ability to obtain personal guarantees. Commercial, industrial, and agricultural loans comprised 35% of the Corporation’s total loan portfolio at both June 30, 2018 and December 31, 2017. Commercial mortgage loans comprised 30% and 28% of the Corporation’s total loan portfolio at June 30, 2018 and December 31, 2017, respectively. Management assigns a risk rating to all commercial loans at loan origination. The loan-to-value policy guidelines for commercial, industrial, and agricultural loans are generally a maximum of 80% of the value of business equipment, a maximum of 75% of the value of accounts receivable, and a maximum of 60% of the value of business inventory at loan origination. The loan-to-value policy guideline for commercial mortgage loans is generally a maximum of 85% of the appraised value of the real estate. Residential real estate loans comprised 32% and 33% of the Corporation’s total loan portfolio at June 30, 2018 and December 31, 2017, respectively. The loan-to-value policy guidelines for residential real estate loans vary depending on the collateral position and the specific type of loan. Higher loan-to-value terms may be approved with the appropriate private mortgage insurance coverage. The Corporation also originates and prices loans for sale into the secondary market. Loans so originated are classified as loans held for sale and are excluded from residential real estate loans reported above. The rationale for these sales is to mitigate interest rate risk associated with holding lower rate, long-term residential mortgages in the loan portfolio and to generate fee revenue from sales and servicing the loan. The Corporation also offers a variety of unsecured and secured consumer loan and credit card products which represented less than 10% of the total loan portfolio at both June 30, 2018 and December 31, 2017. Terms and collateral requirements vary depending on the size and nature of the loan. Transactions in the allowance for loan losses for the three months ended June 30, 2018 were as follows:
| Commercial, Industrial, and Agricultural |  | Commercial Mortgages |  | Residential Real Estate |  | Consumer |  | Credit Cards |  | Overdrafts |  | Total
Allowance for loan losses, April 1, 2018 | $ | 6,282 |  |  | $ | 10,020 |  |  | $ | 2,052 |  |  | $ | 2,065 |  |  | $ | 123 |  |  | $ | 214 |  |  | $ | 20,756 |
Charge-offs | — |  |  | — |  |  | (77 | ) |  | (551 | ) |  | (26 | ) |  | (56 | ) |  | (710 | )
Recoveries | 94 |  |  | — |  |  | 9 |  |  | 35 |  |  | 17 |  |  | 16 |  |  | 171 |
Provision (benefit) for loan losses | 767 |  |  | 595 |  |  | (84 | ) |  | 607 |  |  | (13 | ) |  | 33 |  |  | 1,905 |
Allowance for loan losses, June 30, 2018 | $ | 7,143 |  |  | $ | 10,615 |  |  | $ | 1,900 |  |  | $ | 2,156 |  |  | $ | 101 |  |  | $ | 207 |  |  | $ | 22,122 |
Transactions in the allowance for loan losses for the six months ended June 30, 2018 were as follows:
| Commercial, Industrial, and Agricultural |  | Commercial Mortgages |  | Residential Real Estate |  | Consumer |  | Credit Cards |  | Overdrafts |  | Total
Allowance for loan losses, January 1, 2018 | $ | 6,160 |  |  | $ | 9,007 |  |  | $ | 2,033 |  |  | $ | 2,179 |  |  | $ | 120 |  |  | $ | 194 |  |  | $ | 19,693 |
Charge-offs | (31 | ) |  | — |  |  | (77 | ) |  | (1,141 | ) |  | (45 | ) |  | (142 | ) |  | (1,436 | )
Recoveries | 162 |  |  | — |  |  | 12 |  |  | 84 |  |  | 24 |  |  | 47 |  |  | 329 |
Provision (benefit) for loan losses | 852 |  |  | 1,608 |  |  | (68 | ) |  | 1,034 |  |  | 2 |  |  | 108 |  |  | 3,536 |
Allowance for loan losses, June 30, 2018 | $ | 7,143 |  |  | $ | 10,615 |  |  | $ | 1,900 |  |  | $ | 2,156 |  |  | $ | 101 |  |  | $ | 207 |  |  | $ | 22,122 |
Transactions in the allowance for loan losses for the three months ended June 30, 2017 were as follows:
| Commercial, Industrial, and Agricultural |  | Commercial Mortgages |  | Residential Real Estate |  | Consumer |  | Credit Cards |  | Overdrafts |  | Total
Allowance for loan losses, April 1, 2017 | $ | 4,785 |  |  | $ | 7,357 |  |  | $ | 2,022 |  |  | $ | 2,089 |  |  | $ | 105 |  |  | $ | 188 |  |  | $ | 16,546 |
Charge-offs | (29 | ) |  | — |  |  | (130 | ) |  | (531 | ) |  | (14 | ) |  | (60 | ) |  | (764 | )
Recoveries | 119 |  |  | 192 |  |  | 2 |  |  | 12 |  |  | 4 |  |  | 24 |  |  | 353 |
Provision (benefit) for loan losses | 688 |  |  | 92 |  |  | (224 | ) |  | 498 |  |  | 47 |  |  | 33 |  |  | 1,134 |
Allowance for loan losses, June 30, 2017 | $ | 5,563 |  |  | $ | 7,641 |  |  | $ | 1,670 |  |  | $ | 2,068 |  |  | $ | 142 |  |  | $ | 185 |  |  | $ | 17,269 |
Transactions in the allowance for loan losses for the six months ended June 30, 2017 were as follows:
| Commercial, Industrial, and Agricultural |  | Commercial Mortgages |  | Residential Real Estate |  | Consumer |  | Credit Cards |  | Overdrafts |  | Total
Allowance for loan losses, January 1, 2017 | $ | 5,428 |  |  | $ | 6,753 |  |  | $ | 1,653 |  |  | $ | 2,215 |  |  | $ | 93 |  |  | $ | 188 |  |  | $ | 16,330 |
Charge-offs | (30 | ) |  | — |  |  | (198 | ) |  | (1,266 | ) |  | (72 | ) |  | (129 | ) |  | (1,695 | )
Recoveries | 131 |  |  | 194 |  |  | 73 |  |  | 14 |  |  | 15 |  |  | 57 |  |  | 484 |
Provision (benefit) for loan losses | 34 |  |  | 694 |  |  | 142 |  |  | 1,105 |  |  | 106 |  |  | 69 |  |  | 2,150 |
Allowance for loan losses, June 30, 2017 | $ | 5,563 |  |  | $ | 7,641 |  |  | $ | 1,670 |  |  | $ | 2,068 |  |  | $ | 142 |  |  | $ | 185 |  |  | $ | 17,269 |
The following table presents the balance in the allowance for loan losses and the recorded investment in loans by portfolio segment and is based on the Corporation’s impairment method as of June 30, 2018 and December 31, 2017. The recorded investment in loans excludes accrued interest and unearned discounts due to their insignificance. June 30, 2018
| Commercial, Industrial, and Agricultural |  | Commercial Mortgages |  | Residential Real Estate |  | Consumer |  | Credit Cards |  | Overdrafts |  | Total
Allowance for loan losses: |  |  |  |  |  |  |  |  |  |  |  |  |
Ending allowance balance attributable to loans: |  |  |  |  |  |  |  |  |  |  |  |  |
Individually evaluated for impairment | $ | 762 |  |  | $ | 1 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 763 |
Collectively evaluated for impairment | 6,124 |  |  | 4,348 |  |  | 1,900 |  |  | 2,156 |  |  | 101 |  |  | 207 |  |  | 14,836 |
Acquired with deteriorated credit quality | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Modified in a troubled debt restructuring | 257 |  |  | 6,266 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 6,523 |
Total ending allowance balance | $ | 7,143 |  |  | $ | 10,615 |  |  | $ | 1,900 |  |  | $ | 2,156 |  |  | $ | 101 |  |  | $ | 207 |  |  | $ | 22,122 |
Loans: |  |  |  |  |  |  |  |  |  |  |  |  |
Individually evaluated for impairment | $ | 6,887 |  |  | $ | 1,845 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 8,732 |
Collectively evaluated for impairment | 796,806 |  |  | 686,881 |  |  | 738,839 |  |  | 82,089 |  |  | 7,414 |  |  | 299 |  |  | 2,312,328 |
Acquired with deteriorated credit quality | — |  |  | 587 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 587 |
Modified in a troubled debt restructuring | 4,872 |  |  | 13,130 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 18,002 |
Total ending loans balance | $ | 808,565 |  |  | $ | 702,443 |  |  | $ | 738,839 |  |  | $ | 82,089 |  |  | $ | 7,414 |  |  | $ | 299 |  |  | $ | 2,339,649 |
December 31, 2017
| Commercial, Industrial, and Agricultural |  | Commercial Mortgages |  | Residential Real Estate |  | Consumer |  | Credit Cards |  | Overdrafts |  | Total
Allowance for loan losses: |  |  |  |  |  |  |  |  |  |  |  |  |
Ending allowance balance attributable to loans: |  |  |  |  |  |  |  |  |  |  |  |  |
Individually evaluated for impairment | $ | 47 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 47 |
Collectively evaluated for impairment | 5,868 |  |  | 3,563 |  |  | 2,033 |  |  | 2,179 |  |  | 120 |  |  | 194 |  |  | 13,957 |
Acquired with deteriorated credit quality | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Modified in a troubled debt restructuring | 245 |  |  | 5,444 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 5,689 |
Total ending allowance balance | $ | 6,160 |  |  | $ | 9,007 |  |  | $ | 2,033 |  |  | $ | 2,179 |  |  | $ | 120 |  |  | $ | 194 |  |  | $ | 19,693 |
Loans: |  |  |  |  |  |  |  |  |  |  |  |  |
Individually evaluated for impairment | $ | 1,187 |  |  | $ | 51 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 1,238 |
Collectively evaluated for impairment | 742,738 |  |  | 586,845 |  |  | 713,347 |  |  | 80,193 |  |  | 6,753 |  |  | 352 |  |  | 2,130,228 |
Acquired with deteriorated credit quality | — |  |  | 1,079 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 1,079 |
Modified in a troubled debt restructuring | 5,213 |  |  | 12,090 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 17,303 |
Total ending loans balance | $ | 749,138 |  |  | $ | 600,065 |  |  | $ | 713,347 |  |  | $ | 80,193 |  |  | $ | 6,753 |  |  | $ | 352 |  |  | $ | 2,149,848 |
The following tables present information related to loans individually evaluated for impairment, including loans modified in troubled debt restructurings, by portfolio segment as of June 30, 2018 and December 31, 2017 and for the three and six months ended June 30, 2018 and 2017: June 30, 2018
| Unpaid Principal Balance |  | Recorded Investment |  | Allowance for Loan Losses Allocated
With an allowance recorded: |  |  |  |  |
Commercial, industrial, and agricultural | $ | 5,828 |  |  | $ | 5,824 |  |  | $ | 1,019 |
Commercial mortgage | 9,753 |  |  | 9,091 |  |  | 6,267 |
Residential real estate | — |  |  | — |  |  | — |
With no related allowance recorded: |  |  |  |  |
Commercial, industrial, and agricultural | 6,853 |  |  | 5,935 |  |  | — |
Commercial mortgage | 6,890 |  |  | 5,884 |  |  | — |
Residential real estate | — |  |  | — |  |  | — |
Total | $ | 29,324 |  |  | $ | 26,734 |  |  | $ | 7,286 |
December 31, 2017
| Unpaid Principal Balance |  | Recorded Investment |  | Allowance for Loan Losses Allocated
With an allowance recorded: |  |  |  |  |
Commercial, industrial, and agricultural | $ | 1,915 |  |  | $ | 1,915 |  |  | $ | 292 |
Commercial mortgage | 9,940 |  |  | 9,731 |  |  | 5,444 |
Residential real estate | — |  |  | — |  |  | — |
With no related allowance recorded: |  |  |  |  |
Commercial, industrial, and agricultural | 5,264 |  |  | 4,485 |  |  | — |
Commercial mortgage | 3,211 |  |  | 2,410 |  |  | — |
Residential real estate | — |  |  | — |  |  | — |
Total | $ | 20,330 |  |  | $ | 18,541 |  |  | $ | 5,736 |
The unpaid principal balance of impaired loans includes the Corporation’s recorded investment in the loan and amounts that have been charged off.
| Three months ended June 30, 2018 |  | Three months ended June 30, 2017
| Average Recorded Investment |  | Interest Income Recognized |  | Cash Basis Interest Recognized |  | Average Recorded Investment |  | Interest Income Recognized |  | Cash Basis Interest Recognized
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |
Commercial, industrial, and agricultural | $ | 3,838 |  |  | $ | 21 |  |  | $ | 21 |  |  | $ | 1,398 |  |  | $ | 18 |  |  | $ | 18 |
Commercial mortgage | 8,738 |  |  | 56 |  |  | 56 |  |  | 12,505 |  |  | 71 |  |  | 71 |
Residential real estate | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |
Commercial, industrial, and agricultural | 5,326 |  |  | 45 |  |  | 45 |  |  | 1,833 |  |  | 34 |  |  | 34 |
Commercial mortgage | 5,490 |  |  | 33 |  |  | 33 |  |  | 2,447 |  |  | 67 |  |  | 67 |
Residential real estate | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Total | $ | 23,392 |  |  | $ | 155 |  |  | $ | 155 |  |  | $ | 18,183 |  |  | $ | 190 |  |  | $ | 190 |
| Six months ended June 30, 2018 |  | Six months ended June 30, 2017
| Average Recorded Investment |  | Interest Income Recognized |  | Cash Basis Interest Recognized |  | Average Recorded Investment |  | Interest Income Recognized |  | Cash Basis Interest Recognized
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |
Commercial, industrial, and agricultural | $ | 3,197 |  |  | $ | 43 |  |  | $ | 43 |  |  | $ | 1,480 |  |  | $ | 36 |  |  | $ | 36 |
Commercial mortgage | 9,069 |  |  | 74 |  |  | 74 |  |  | 13,459 |  |  | 216 |  |  | 216 |
Residential real estate | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |
Commercial, industrial, and agricultural | 5,045 |  |  | 91 |  |  | 91 |  |  | 1,812 |  |  | 50 |  |  | 50 |
Commercial mortgage | 4,463 |  |  | 46 |  |  | 46 |  |  | 1,631 |  |  | 67 |  |  | 67 |
Residential real estate | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Total | $ | 21,774 |  |  | $ | 254 |  |  | $ | 254 |  |  | $ | 18,382 |  |  | $ | 369 |  |  | $ | 369 |
The following table presents the recorded investment in nonaccrual loans and loans past due over 90 days still accruing interest by class of loans as of June 30, 2018 and December 31, 2017:
| June 30, 2018 |  | December 31, 2017
| Nonaccrual |  | Past Due Over 90 Days Still on Accrual |  | Nonaccrual |  | Past Due Over 90 Days Still on Accrual
Commercial, industrial, and agricultural | $ | 8,193 |  |  | $ | — |  |  | $ | 1,869 |  |  | $ | 78 |
Commercial mortgages | 10,207 |  |  | — |  |  | 11,065 |  |  | — |
Residential real estate | 5,272 |  |  | 301 |  |  | 5,470 |  |  | 338 |
Consumer | 646 |  |  | 10 |  |  | 828 |  |  | 17 |
Credit cards | — |  |  | 34 |  |  | — |  |  | 44 |
Total | $ | 24,318 |  |  | $ | 345 |  |  | $ | 19,232 |  |  | $ | 477 |
Nonaccrual loans and loans past due over 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 aging of the recorded investment in past due loans as of June 30, 2018 and December 31, 2017 by class of loans. June 30, 2018
| 30-59 Days Past Due |  | 60-89 Days Past Due |  | Greater Than 89 Days Past Due |  | Total Past Due |  | Loans Not Past Due |  | Total
Commercial, industrial, and agricultural | $ | 4,207 |  |  | $ | 2,245 |  |  | $ | 958 |  |  | $ | 7,410 |  |  | $ | 801,155 |  |  | $ | 808,565 |
Commercial mortgages | 54 |  |  | — |  |  | — |  |  | 54 |  |  | 702,389 |  |  | 702,443 |
Residential real estate | 1,408 |  |  | 975 |  |  | 4,258 |  |  | 6,641 |  |  | 732,198 |  |  | 738,839 |
Consumer | 1,125 |  |  | 26 |  |  | 148 |  |  | 2,111 |  |  | 79,978 |  |  | 82,089 |
Credit cards | 30 |  |  | 14 |  |  | — |  |  | 44 |  |  | 7,370 |  |  | 7,414 |
Overdrafts | — |  |  | — |  |  | — |  |  | — |  |  | 299 |  |  | 299 |
Total | $ | 6,824 |  |  | $ | 3,260 |  |  | $ | 5,364 |  |  | $ | 16,260 |  |  | $ | 2,323,389 |  |  | $ | 2,339,649 |
December 31, 2017
| 30-59 Days Past Due |  | 60-89 Days Past Due |  | Greater Than 89 Days Past Due |  | Total Past Due |  | Loans Not Past Due |  | Total
Commercial, industrial, and agricultural | $ | 2,745 |  |  | $ | 646 |  |  | $ | 748 |  |  | $ | 4,139 |  |  | $ | 744,999 |  |  | $ | 749,138 |
Commercial mortgages | 233 |  |  | — |  |  | 292 |  |  | 525 |  |  | 599,540 |  |  | 600,065 |
Residential real estate | 2,290 |  |  | 1,494 |  |  | 4,655 |  |  | 8,439 |  |  | 704,908 |  |  | 713,347 |
Consumer | 454 |  |  | 307 |  |  | 812 |  |  | 1,573 |  |  | 78,620 |  |  | 80,193 |
Credit cards | 31 |  |  | 10 |  |  | 44 |  |  | 85 |  |  | 6,668 |  |  | 6,753 |
Overdrafts | — |  |  | — |  |  | — |  |  | — |  |  | 352 |  |  | 352 |
Total | $ | 5,753 |  |  | $ | 2,457 |  |  | $ | 6,551 |  |  | $ | 14,761 |  |  | $ | 2,135,087 |  |  | $ | 2,149,848 |
Troubled Debt Restructurings The terms of certain loans have been modified as troubled debt restructurings. The modification of the terms of such loans included either or both of the following: a reduction of the stated interest rate of the loan or an extension of the maturity date at a stated rate of interest lower than the current market rate for new debt with similar risk. The following table presents the number of loans, loan balances, and specific reserves for loans that have been restructured in a troubled debt restructuring as of June 30, 2018 and December 31, 2017.
| June 30, 2018 |  | December 31, 2017
| Number of Loans |  | Loan Balance |  | Specific Reserve |  | Number of Loans |  | Loan Balance |  | Specific Reserve
Commercial, industrial, and agricultural | 11 |  |  | $ | 4,872 |  |  | $ | 257 |  |  | 11 |  |  | $ | 5,213 |  |  | $ | 245 |
Commercial mortgages | 13 |  |  | 13,130 |  |  | 6,266 |  |  | 9 |  |  | 12,090 |  |  | 5,444 |
Residential real estate | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Consumer | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Credit cards | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Total | 24 |  |  | $ | 18,002 |  |  | $ | 6,523 |  |  | 20 |  |  | $ | 17,303 |  |  | $ | 5,689 |
There were four loans modified as troubled debt restructurings during the three and six months ended June 30, 2018 and no loans modified as troubled debt restructurings during the three and six months ended June 30, 2017.
| Three and six months ended June 30, 2018
| Number of Loans |  | Pre-Modification Outstanding Recorded Investment |  | Post-Modification Outstanding Recorded Investment
Commercial, industrial, and agricultural | — |  |  | $ | — |  |  | $ | — |
Commercial mortgages | 4 |  |  | 1,091 |  |  | 1,091 |
Residential real estate | — |  |  | — |  |  | — |
Consumer | — |  |  | — |  |  | — |
Credit cards | — |  |  | — |  |  | — |
Total | 4 |  |  | $ | 1,091 |  |  | $ | 1,091 |
The troubled debt restructurings described above increased the allowance for loan losses by $129 during the three and six months ended June 30, 2018. A loan is considered to be in payment default once it is 90 days contractually past due under the modified terms. All loans modified in troubled debt restructurings are performing in accordance with their modified terms as of June 30, 2018 and December 31, 2017 and no principal balances were forgiven in connection with the loan restructurings. In order to determine whether a borrower is experiencing financial difficulty, the Corporation performs an evaluation using its internal underwriting policies of the probability that the borrower will be in payment default on any of its debt in the foreseeable future without a loan modification. The Corporation has no further loan commitments to customers whose loans are classified as a troubled debt restructuring. Generally, non-performing troubled debt restructurings are restored to accrual status when the obligation is brought current, has performed in accordance with the contractual terms for a reasonable period of time (generally six months) and the ultimate collectability of the total contractual principal and interest is no longer in doubt. Credit Quality Indicators The Corporation classifies commercial, industrial, and agricultural loans and commercial mortgage loans into risk categories based on relevant information about the ability of borrowers to service their debt, such as current financial information, historical payment experience, credit documentation, public information, and current economic trends, among other factors. Loans with outstanding balances greater than $1 million are analyzed at least semiannually and loans with outstanding balances of less than $1 million are analyzed at least annually. The Corporation uses the following definitions for risk ratings: Special Mention: Loans classified as special mention have a potential weakness that deserves management’s close attention. If left uncorrected, these potential weaknesses may result in deterioration of the repayment prospects for the loan or of the Corporation’s credit position at some future date. Substandard: Loans classified as substandard are inadequately protected by the current net worth and paying capacity of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the Corporation will sustain some loss if the deficiencies are not corrected. Doubtful: Loans classified as doubtful have all the weaknesses inherent in those classified as substandard, with the added characteristic that the weaknesses make collection or liquidation in full, on the basis of currently existing facts, conditions, and values, highly questionable and improbable. Loans not rated as special mention, substandard, or doubtful are considered to be pass rated loans. All loans included in the following tables have been assigned a risk rating within 12 months of the balance sheet date. June 30, 2018
| Pass |  | Special Mention |  | Substandard |  | Doubtful |  | Total
Commercial, industrial, and agricultural | $ | 776,022 |  |  | $ | 11,255 |  |  | $ | 21,288 |  |  | $ | — |  |  | $ | 808,565 |
Commercial mortgages | 681,587 |  |  | 5,961 |  |  | 14,895 |  |  | — |  |  | 702,443 |
Total | $ | 1,457,609 |  |  | $ | 17,216 |  |  | $ | 36,183 |  |  | $ | — |  |  | $ | 1,511,008 |
December 31, 2017
| Pass |  | Special Mention |  | Substandard |  | Doubtful |  | Total
Commercial, industrial, and agricultural | $ | 713,102 |  |  | $ | 16,726 |  |  | $ | 19,310 |  |  | $ | — |  |  | $ | 749,138 |
Commercial mortgages | 581,631 |  |  | 4,419 |  |  | 14,015 |  |  | — |  |  | 600,065 |
Total | $ | 1,294,733 |  |  | $ | 21,145 |  |  | $ | 33,325 |  |  | $ | — |  |  | $ | 1,349,203 |
The Corporation considers the performance of the loan portfolio and its impact on the allowance for loan losses. For residential real estate, consumer, and credit card loan classes, the Corporation also evaluates credit quality based on the aging status of the loan, which was previously presented, and by payment activity. The following table presents the recorded investment in residential, consumer, and credit card loans based on payment activity as of June 30, 2018 and December 31, 2017:
| June 30, 2018 |  | December 31, 2017
| Residential Real Estate |  | Consumer |  | Credit Cards |  | Residential Real Estate |  | Consumer |  | Credit Cards
Performing | $ | 733,266 |  |  | $ | 81,433 |  |  | $ | 7,380 |  |  | $ | 707,539 |  |  | $ | 79,348 |  |  | $ | 6,709 |
Nonperforming | 5,573 |  |  | 656 |  |  | 34 |  |  | 5,808 |  |  | 845 |  |  | 44 |
Total | $ | 738,839 |  |  | $ | 82,089 |  |  | $ | 7,414 |  |  | $ | 713,347 |  |  | $ | 80,193 |  |  | $ | 6,753 |
The Corporation’s portfolio of consumer loans maintained within Holiday Financial Services Corporation (“Holiday”) are considered to be subprime loans. Holiday is a subsidiary that offers small balance unsecured and secured loans primarily collateralized by automobiles and equipment, to borrowers with higher risk characteristics than are typical in the Bank’s consumer loan portfolio. Holiday’s loan portfolio is summarized as follows at June 30, 2018 and December 31, 2017:
| June 30, 2018 |  | December 31, 2017
Consumer | $ | 24,322 |  |  | $ | 23,428 |
Less: unearned discount | (4,357 | ) |  | (3,889 | )
Total | $ | 19,965 |  |  | $ | 19,539 |

X
- Definition The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5074-111524 Reference 2: 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(4)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(5)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5162-111524 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5066-111524 Reference 6: 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)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(7)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(6)) -URI http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996 + Details
Name: | us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock
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