(14) Commitments and Contingencies The Company issues financial instruments with off-balance-sheet risk in the normal course of business of meeting the financing needs of its customers. These financial instruments include commitments to extend credit and standby letters of credit. These instruments may involve, to varying degrees, elements of credit and interest rate risk in excess of the amounts recognized in the consolidated balance sheets. The Companys extent of involvement and maximum potential exposure to credit loss in the event of nonperformance by the other party to the financial instrument for commitments to extend credit and standby letters of credit is represented by the contractual amount of these instruments. The Company uses the same credit policies in making commitments and conditional obligations as it does for financial instruments included on its consolidated balance sheets. At June 30, 2019, no amounts have been accrued for any estimated losses for these financial instruments. The contractual amount of off-balance-sheet financial instruments were as follows as of the dates indicated: June 30, December 31, (in thousands) 2019 2018 Commitments to extend credit $ 236,653 $ 267,314 Commitments to originate residential first and second mortgage loans 5,966 1,759 Standby letters of credit 120,699 82,895 Total 363,318 351,968 Commitments Commitments to extend credit are agreements to lend to a customer as long as there is no violation of any condition established in the contract. Commitments generally have fixed expiration dates or other termination clauses and may require payment of a fee. Since certain of the commitments and letters of credit are expected to expire without being drawn upon, the total commitment amounts do not necessarily represent future cash requirements. The Company evaluates each customers creditworthiness on a case-by-case basis. The amount of collateral obtained, if deemed necessary by the Company upon extension of credit, is based on managements credit evaluation of the customer. Collateral held varies, but may include accounts receivable, inventory, furniture and equipment, and real estate. Standby letters of credit are conditional commitments issued by the Company to guarantee the performance of a customer to a third party. These standby letters of credit are primarily issued to support contractual obligations of the Companys customers. The approximate remaining term of standby letters of credit range from one month to five years at June 30, 2019. Pending Litigation The Company and its subsidiaries are defendants in various legal actions incidental to the Companys past and current business activities. Based on the Companys analysis, and considering the inherent uncertainties associated with litigation, management does not believe that it is reasonably possible that these legal actions will materially adversely affect the Companys consolidated financial condition or results of operations in the near term. The Company records a loss accrual for all legal matters for which it deems a loss is probable and can be reasonably estimated. Some legal matters, which are at early stages in the legal process, have not yet progressed to the point where a loss is deemed probable or an amount can be estimated.