Entity Central Index Key Financing receivable allowance for credit loss acquired loans collectively evaluated for impairment. Financing receivable allowance for credit loss acquired with deteriorated credit quality. Financing receivable acquired loans. Income tax reconciliation bank owned life insurance income. Income tax reconciliation effect of nontaxable insurance premiums. Income tax rate reconciliation nondeductible acquisition costs. Service fees, security gains and other noninterest income. Noninterest expense excluding amortization and depreciation. Merger related costs (income). Noninterest expense excluding merger costs. Gain (loss) on disposition of fixed assets. Proceeds from sale of equity securities. Purchase of equity securities. Purchase of restricted stock. Cover [Abstract] Entity Registrant Name Entity Registrant Name Entity Central Index Key Entity Current Reporting Status Entity Current Reporting Status Entity Interactive Data Current Entity Interactive Data Current Document Type Document Type Document Period End Date Document Period End Date Amendment Flag Amendment Flag Document Fiscal Year Focus Document Fiscal Year Focus Document Fiscal Period Focus Document Fiscal Period Focus Current Fiscal Year End Date Current Fiscal Year End Date Title of 12(b) Security Security12b Title Trading Symbol Trading Symbol Security Exchange Name Security Exchange Name Entity Well-known Seasoned Issuer Entity Well Known Seasoned Issuer Entity Voluntary Filers Entity Voluntary Filers Entity Filer Category Entity Filer Category Entity Small Business Entity Small Business Entity Emerging Growth Company Entity Emerging Growth Company Entity Common Stock, Shares Outstanding Entity Common Stock Shares Outstanding Entity Public Float Entity Public Float Document Annual Report Document Annual Report Document Transition Report Document Transition Report Entity Shell Company Entity Shell Company Entity File Number Entity File Number Entity Tax Identification Number Entity Tax Identification Number Entity Address, Address Line One Entity Address Address Line1 Entity Address, City or Town Entity Address City Or Town Entity Address, State or Province Entity Address State Or Province Entity Address, Postal Zip Code Entity Address Postal Zip Code City Area Code City Area Code Local Phone Number Local Phone Number Entity Incorporation, State or Country Code Entity Incorporation State Country Code Federal funds sold and other. Brokered time deposits. Statement Of Financial Position [Abstract] ASSETS Assets [Abstract] Cash and due from banks Cash And Due From Banks Federal funds sold and other Federal Funds Sold And Other TOTAL CASH AND CASH EQUIVALENTS Cash Cash Equivalents And Federal Funds Sold Securities available for sale Available For Sale Securities Debt Securities Equity securities Equity Securities Fv Ni Loans held for sale Loans Receivable Held For Sale Net Not Part Of Disposal Group Loans Loans And Leases Receivable Net Of Deferred Income Less allowance for loan losses Loans And Leases Receivable Allowance NET LOANS Loans And Leases Receivable Net Reported Amount Premises and equipment, net Property Plant And Equipment Net Goodwill Goodwill Other intangibles, net Finite Lived Intangible Assets Net Bank owned life insurance Bank Owned Life Insurance Other assets Other Assets TOTAL ASSETS Assets LIABILITIES AND STOCKHOLDERS' EQUITY Liabilities And Stockholders Equity [Abstract] Deposits: Deposits [Abstract] Noninterest-bearing Noninterest Bearing Deposit Liabilities Interest-bearing Interest Bearing Deposit Liabilities Brokered time deposits Brokered Time Deposits TOTAL DEPOSITS Deposits Short-term borrowings Short Term Borrowings Long-term borrowings Long Term Debt Other liabilities Other Liabilities TOTAL LIABILITIES Liabilities Commitments and contingent liabilities (Note 14) Commitments And Contingencies Stockholders' equity Stockholders Equity [Abstract] Common Stock - Authorized 50,000,000 shares in 2019 and 2018; issued 28,179,598 in 2019 and 2018 Common Stock Value Retained earnings Retained Earnings Accumulated Deficit Accumulated other comprehensive income (loss) Accumulated Other Comprehensive Income Loss Net Of Tax Treasury stock, at cost; 508,859 shares in 2019 and 387,697 shares in 2018 Treasury Stock Value TOTAL STOCKHOLDERS' EQUITY Stockholders Equity TOTAL LIABILITIES AND STOCKHOLDERS' EQUITY Liabilities And Stockholders Equity Common stock, shares authorized Common Stock Shares Authorized Common stock, shares issued Common Stock Shares Issued Treasury stock, shares Treasury Stock Shares Federal funds sold and other interest income. Core processing charges. Income Statement [Abstract] Statement [Table] Statement [Table] Product and Service Product Or Service [Axis] Product and Service Products And Services [Domain] Service Charges on Deposit Accounts Deposit Account [Member] Trust Fees Fiduciary And Trust [Member] Insurance agency commissions. Insurance Agency Commissions Insurance Agency Commissions [Member] Retirement plan consulting fees. Retirement Plan Consulting Fees Retirement Plan Consulting Fees [Member] Investment commissions. Investment Commissions Investment Commissions [Member] Debit card and electronic funds transfer fees. Debit Card and EFT Fees Debit Card And Electronic Funds Transfer Fees [Member] Statement [Line Items] Statement [Line Items] INTEREST AND DIVIDEND INCOME Interest And Dividend Income Operating [Abstract] Loans, including fees Interest And Fee Income Loans And Leases Taxable securities Interest Income Securities Taxable Tax exempt securities Interest Income Securities Tax Exempt Dividends Dividend Income Operating Federal funds sold and other interest income Federal Funds Sold And Other Interest Income TOTAL INTEREST AND DIVIDEND INCOME Interest And Dividend Income Operating INTEREST EXPENSE Interest Expense [Abstract] Deposits Interest Expense Deposits Short-term borrowings Interest Expense Short Term Borrowings Long-term borrowings Interest Expense Long Term Debt TOTAL INTEREST EXPENSE Interest Expense NET INTEREST INCOME Interest Income Expense Net Provision for loan losses Provision For Loan Losses Expensed NET INTEREST INCOME AFTER PROVISION FOR LOAN LOSSES Interest Income Expense After Provision For Loan Loss NONINTEREST INCOME Noninterest Income [Abstract] Noninterest income Revenue From Contract With Customer Excluding Assessed Tax Bank owned life insurance income, including death benefits Bank Owned Life Insurance Income Security gains, including change in fair value for equity securities Debt And Equity Securities Gain Loss Net gains on sale of loans Gain Loss On Sales Of Loans Net Other operating income Noninterest Income Other Operating Income TOTAL NONINTEREST INCOME Noninterest Income NONINTEREST EXPENSE Noninterest Expense [Abstract] Salaries and employee benefits Labor And Related Expense Occupancy and equipment Occupancy Net State and local taxes State And Local Income Tax Expense Benefit Continuing Operations Professional fees Professional Fees Merger related costs (income) Merger Related Costs Income Advertising Advertising Expense FDIC insurance Federal Deposit Insurance Corporation Premium Expense Intangible amortization Amortization Of Intangible Assets Core processing charges Core Processing Charges Telephone and data Communications And Information Technology Other operating expenses Other Noninterest Expense TOTAL NONINTEREST EXPENSE Noninterest Expense INCOME BEFORE INCOME TAXES Income Loss From Continuing Operations Before Income Taxes Extraordinary Items Noncontrolling Interest INCOME TAXES Income Tax Expense Benefit NET INCOME Net Income Loss Basic Earnings Per Share Basic Diluted Earnings Per Share Diluted Statement Of Income And Comprehensive Income [Abstract] NET INCOME Other comprehensive income: Other Comprehensive Income Loss Net Of Tax Period Increase Decrease [Abstract] Net unrealized holding gains (losses) on available for sale securities Other Comprehensive Income Unrealized Holding Gain Loss On Securities Arising During Period Before Tax Reclassification adjustment for (gains) losses realized in income Other Comprehensive Income Loss Reclassification Adjustment From A O C I For Sale Of Securities Before Tax Net unrealized holding gains (losses) Other Comprehensive Income Loss Available For Sale Securities Adjustment Before Tax Income tax effect Other Comprehensive Income Loss Available For Sale Securities Tax Unrealized holding gains (losses), net of reclassification and tax Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Tax Change in funded status of post-retirement health plan Other Comprehensive Income Loss Pension And Other Postretirement Benefit Plans Net Unamortized Gain Loss Arising During Period Before Tax Income tax effect Other Comprehensive Income Defined Benefit Plans Net Unamortized Gain Loss Arising During Period Tax Change in funded status of post-retirement health plan, net of tax Other Comprehensive Income Defined Benefit Plans Net Unamortized Gain Loss Arising During Period Net Of Tax Other comprehensive income (loss), net of tax Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent TOTAL COMPREHENSIVE INCOME Comprehensive Income Net Of Tax Stock issued during period value treasury stock reissued under long term incentive plan. Shares issued under long term incentive plan. Stockholders equity adjusted balance. Statement Of Stockholders Equity [Abstract] Equity Components Statement Equity Components [Axis] Equity Component Equity Component [Domain] COMMON STOCK Common Stock [Member] RETAINED EARNINGS Retained Earnings [Member] ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) Accumulated Other Comprehensive Income [Member] TREASURY STOCK, AT COST Treasury Stock [Member] Balance at beginning of year Cumulative effect adjustment upon adoption of ASU 2016-01 Cumulative Effect Of New Accounting Principle In Period Of Adoption Beginning balance adjusted Stockholders Equity Adjusted Balance Net income Issued treasury shares under the Long Term Incentive Plan Stock Issued During Period Value Treasury Stock Reissued Under Long Term Incentive Plan Shares issued in contingent payments as part of a business combination Stock Issued During Period Value Acquisitions Stock compensation expense for unvested shares Stock Issued During Period Value Share Based Compensation Reclassification of disproportionate tax effects Tax Cuts And Jobs Act Of2017 Reclassification From Aoci To Retained Earnings Tax Effect Other comprehensive income (loss) Dividends declared Dividends Common Stock Cash Purchased shares Treasury Stock Value Acquired Cost Method Issued shares under the Long Term Incentive Plan Shares Issued Under Long Term Incentive Plan Retained shares to cover tax withholdings under the Long Term Incentive Plan Adjustments Related To Tax Withholding For Share Based Compensation Balance at end of year Stock issued during period shares under long term incentive plan. Stock issued during period shares treasury stock reissued under long term incentive plan. Treasury shares issued under the Long Term Incentive Plan Stock Issued During Period Shares Treasury Stock Reissued Under Long Term Incentive Plan Shares issued in contingent payments as part of a business combination, shares Stock Issued During Period Shares Acquisitions Cash dividend declared per share of common stock Common Stock Dividends Per Share Declared Shares issued under long term incentive plan Stock Issued During Period Shares Under Long Term Incentive Plan Treasury stock repurchased Treasury Stock Shares Acquired Shares retained to cover tax withholdings under the Long Term Incentive Plan Shares Paid For Tax Withholding For Share Based Compensation Issuance of stock awards. Security purchases not settled. Statement Of Cash Flows [Abstract] CASH FLOWS FROM OPERATING ACTIVITIES Net Cash Provided By Used In Operating Activities [Abstract] Adjustments to reconcile net income to net cash from operating activities: Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract] Depreciation and amortization Depreciation Amortization And Accretion Net Net amortization of securities Amortization Of Debt Discount Premium Available for sale security loss (gains) Debt Securities Gain Loss Realized and unrealized (gains) losses on equity securities Equity Securities Fv Ni Realized Gain Loss Loss on land and building sales, net Gain Loss On Sale Of Property Plant Equipment Stock compensation expense Share Based Compensation Loss (gains) on sale of other real estate owned Gain Loss On Sale Of Properties Earnings on bank owned life insurance Loss on fixed asset disposal Gain Loss On Disposition Of Fixed Assets Origination of loans held for sale Payments For Origination Of Mortgage Loans Held For Sale Proceeds from loans held for sale Proceeds From Sale Of Loans Held For Sale Net gains on sale of loans Net change in other assets and liabilities Increase Decrease In Other Operating Capital Net NET CASH FROM OPERATING ACTIVITIES Net Cash Provided By Used In Operating Activities CASH FLOWS FROM INVESTING ACTIVITIES Net Cash Provided By Used In Investing Activities [Abstract] Proceeds from maturities and repayments of securities available for sale Proceeds From Maturities Prepayments And Calls Of Available For Sale Securities Proceeds from sales of securities available for sale Proceeds From Sale Of Available For Sale Securities Debt Purchases of securities available for sale Payments To Acquire Available For Sale Securities Debt Proceeds from sale of equity securities Proceeds From Sale Of Equity Securities Purchases of equity securities Purchase Of Equity Securities Purchases of restricted stock Purchase Of Restricted Stock Redemption of restricted stock Proceeds From Sale Of Restricted Investments Loan originations and payments, net Payments For Proceeds From Loans And Leases Proceeds from sale of other real estate owned Proceeds From Sale Of Wholly Owned Real Estate And Real Estate Acquired In Settlement Of Loans Proceeds from BOLI death benefits Proceeds From Insurance Settlement Investing Activities Purchase of bank owned life insurance Payments For Proceeds From Life Insurance Policies Proceeds from land and building sales Proceeds From Sale Of Productive Assets Additions to premises and equipment Payments To Acquire Property Plant And Equipment Net cash received in business combinations Payments To Acquire Businesses Net Of Cash Acquired NET CASH FROM INVESTING ACTIVITIES Net Cash Provided By Used In Investing Activities CASH FLOWS FROM FINANCING ACTIVITIES Net Cash Provided By Used In Financing Activities [Abstract] Net change in deposits Increase Decrease In Deposits Net change in short-term borrowings Proceeds From Repayments Of Short Term Debt Repayments of long-term borrowings Repayments Of Long Term Debt And Capital Securities Proceeds from long term borrowings Proceeds From Issuance Of Long Term Debt And Capital Securities Net Cash dividends paid Payments Of Dividends Common Stock Repurchase of common shares Payments For Repurchase Of Common Stock NET CASH FROM FINANCING ACTIVITIES Net Cash Provided By Used In Financing Activities NET CHANGE IN CASH AND CASH EQUIVALENTS Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Including Exchange Rate Effect Beginning cash and cash equivalents Ending cash and cash equivalents Supplemental cash flow information: Supplemental Cash Flow Information [Abstract] Interest paid Interest Paid Net Income taxes paid Income Taxes Paid Supplemental noncash disclosures: Cash Flow Noncash Investing And Financing Activities Disclosure [Abstract] Transfer of loans and property to other real estate owned Transfer To Other Real Estate Issuance of stock for business combinations Stock Issued1 Issuance of stock awards Issuance Of Stock Awards Security purchases not settled Security Purchases Not Settled Contingent consideration for business combination Business Combination Contingent Consideration Arrangements Change In Amount Of Contingent Consideration Liability1 Documents Incorporated by Reference Documents Incorporated By Reference [Text Block] Accounting Policies [Abstract] Summary of Significant Accounting Policies Significant Accounting Policies [Text Block] Business Combinations [Abstract] Business Combinations Business Combination Disclosure [Text Block] Investments Debt And Equity Securities [Abstract] Securities Available for Sale Investments In Debt And Marketable Equity Securities And Certain Trading Assets Disclosure [Text Block] Receivables [Abstract] Loans Loans Notes Trade And Other Receivables Disclosure [Text Block] Revenue From Contract With Customer [Abstract] Revenue from Contracts with Customers Revenue From Contract With Customer [Text Block] Transfers And Servicing [Abstract] Loan Servicing Transfers And Servicing Of Financial Assets [Text Block] Fair Value Disclosures [Abstract] Fair Value Fair Value Disclosures [Text Block] Property Plant And Equipment [Abstract] Premises and Equipment Property Plant And Equipment Disclosure [Text Block] Leases [Abstract] Leases Leases Of Lessee Disclosure [Text Block] Goodwill And Intangible Assets Disclosure [Abstract] Goodwill and Intangible Assets Goodwill And Intangible Assets Disclosure [Text Block] Interest bearing deposits. Interest bearing deposits. Interest Bearing Deposits [Abstract] Interest Bearing Deposits Interest Bearing Deposits [Text Block] Debt Disclosure [Abstract] Short-term Borrowings Short Term Debt [Text Block] Long-Term Borrowings Long Term Debt [Text Block] Commitments And Contingencies Disclosure [Abstract] Commitments and Contingent Liabilities Commitments And Contingencies Disclosure [Text Block] Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Stock Based Compensation Disclosure Of Compensation Related Costs Share Based Payments [Text Block] Regulatory Capital Requirements [Abstract] Regulatory Matters Regulatory Capital Requirements Under Banking Regulations [Text Block] Compensation And Retirement Disclosure [Abstract] Employee Benefit Plans Pension And Other Postretirement Benefits Disclosure [Text Block] Income Tax Disclosure [Abstract] Income Taxes Income Tax Disclosure [Text Block] Comprehensive Income Net Of Tax [Abstract] Other Comprehensive Income (Loss) Comprehensive Income Note [Text Block] Related Party Transactions [Abstract] Related Party Transactions Related Party Transactions Disclosure [Text Block] Earnings Per Share [Abstract] Earnings Per Share Earnings Per Share [Text Block] Derivative Instruments And Hedging Activities Disclosure [Abstract] Interest Rate Swaps Derivative Instruments And Hedging Activities Disclosure [Text Block] Segment Reporting [Abstract] Segment Information Segment Reporting Disclosure [Text Block] Contingencies Loss Contingency Disclosures Quarterly Financial Information Disclosure [Abstract] Quarterly Financial Data (Unaudited) Quarterly Financial Information [Text Block] Condensed Financial Information Of Parent Company Only Disclosure [Abstract] Parent Company Only Condensed Financial Information Condensed Financial Information Of Parent Company Only Disclosure [Text Block] Principles of Consolidation Consolidation Policy [Text Block] Corporate reorganization. Corporate Reorganization Corporate Reorganization Policy [Text Block] Nature of operations. Nature of Operations Nature Of Operations Policy [Text Block] Estimates Use Of Estimates Cash Flows Cash And Cash Equivalents Policy [Text Block] Securities Marketable Securities Policy Loans Held for Sale Finance Loan And Lease Receivables Held For Sale Policy Loans Finance Loans And Leases Receivable Policy Purchased Credit Impaired Loans Impaired Financing Receivable Policy Policy [Text Block] Derivatives Derivatives Policy [Text Block] Concentration of Credit Risk Concentration Risk Credit Risk Allowance for Loan Losses Loans And Leases Receivable Allowance For Loan Losses Policy Servicing rights. Servicing Rights Servicing Rights Policy [Text Block] Foreclosed Assets Finance Loan And Lease Receivables Held For Investments Foreclosed Assets Policy Premises and Equipment Property Plant And Equipment Policy [Text Block] Restricted stock. Restricted Stock Restricted Stock Policy [Text Block] Bank owned life insurance. Bank Owned Life Insurance Bank Owned Life Insurance Policy [Text Block] Long-term Assets Impairment Or Disposal Of Long Lived Assets Policy [Text Block] Goodwill and Other Intangible Assets Goodwill And Intangible Assets Policy [Text Block] Loan commitments and related financial instruments. Loan Commitments and Related Financial Instruments Loan Commitments And Related Financial Instruments Policy [Text Block] Stock-Based Compensation Share Based Compensation Option And Incentive Plans Policy Income Taxes Income Tax Policy [Text Block] Retirement Plans Pension And Other Postretirement Plans Policy Earnings Per Common Share Earnings Per Share Policy [Text Block] Comprehensive Income Comprehensive Income Policy Policy [Text Block] Loss Contingencies Commitments And Contingencies Policy [Text Block] Restrictions on Cash Cash And Cash Equivalents Restricted Cash And Cash Equivalents Policy Equity Stockholders Equity Policy [Text Block] Dividend restriction. Dividend Restriction Dividend Restriction Policy [Text Block] Fair Value of Financial Instruments Fair Value Of Financial Instruments Policy Operating Segments Segment Reporting Policy Policy [Text Block] Reclassification Prior Period Reclassification Adjustment Description Adoption of New Accounting Standards and Newly Issued, Not Yet Effective Accounting Standards New Accounting Pronouncements Policy Policy [Text Block] Business Acquisition Business Acquisition [Axis] Business Acquisition, Acquiree Business Acquisition Acquiree [Domain] Monitor Bancorp, Inc. Monitor Bancorp, Inc. Monitor Bancorp Inc [Member] Summary of Consideration Paid and Amounts of Assets Acquired and Liabilities Assumed Schedule Of Recognized Identified Assets Acquired And Liabilities Assumed Table [Text Block] Pro Forma Information Business Acquisition Pro Forma Information [Text Block] Summary of the Amortized Cost and Fair Value of Available-for-Sale Investment Securities Corresponding Amounts of Unrealized Gains and Losses Debt Securities Available For Sale Table [Text Block] Proceeds from Sales of Available-for-Sale Securities and the Associated Gains and Losses Unrealized Gain Loss On Investments Table [Text Block] Amortized Cost and Fair Value of the Debt Securities Maturity Investments Classified By Contractual Maturity Date Table [Text Block] Investment Securities with Unrealized Losses Debt Securities Available For Sale Unrealized Loss Position Fair Value Table [Text Block] Schedule of Loan by Class Schedule Of Accounts Notes Loans And Financing Receivable [Text Block] Purchased credit impaired loans. Purchased Credit Impaired Loans Purchased Credit Impaired Loans Table [Text Block] Impaired loans acquired Accretable yield change. Schedule of Accretable Yield or Income Expected to be Collected Impaired Loans Acquired Accretable Yield Change Table [Text Block] Schedule of allowance for loan loss by portfolio segment. Activity in the Allowance for Loan Losses by Portfolio Segment Schedule Of Allowance For Loan Loss By Portfolio Segment Table [Text Block] Allowance for Loan Losses and Recorded Investment in Loans by Portfolio Segment, Based on Impairment Method Allowance For Credit Losses On Financing Receivables Table [Text Block] Loans Individually Evaluated for Impairment by Class of Loans Impaired Financing Receivables Table [Text Block] Schedule of Investment in Nonaccrual and Loans Past Due 90 Days or More Still on Accrual by Class of Loans Schedule Of Financing Receivables Non Accrual Status Table [Text Block] Schedule of Investment in Past Due Loans Past Due Financing Receivables Table [Text Block] Schedule of Loans By Class Modified as Troubled Debt Restructurings Troubled Debt Restructurings On Financing Receivables Table [Text Block] Risk Category of Loans by Class of Loans Financing Receivable Credit Quality Indicators Table [Text Block] Investment in residential, consumer and indirect auto loans based on payment activity. Investment in Residential, Consumer and Indirect Auto Loans Based on Payment Activity Investment In Residential Consumer And Indirect Auto Loans Based On Payment Activity Table [Text Block] Summary of Noninterest Income by Revenue Stream and Reportable Segment, Net of Eliminations Disaggregation Of Revenue Table [Text Block] Mortgage loans portfolios serviced table text block. Summary of Principal Balance for Mortgage Loans Mortgage Loans Portfolios Serviced Table [Text Block] Summary of Activity for Mortgage Servicing Rights Schedule Of Servicing Assets At Amortized Value [Text Block] Assets Measured at Fair Value on Recurring Basis Fair Value Assets Measured On Recurring Basis [Text Block] Reconciliation of All Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Text Block] Assets Measured at Fair Value on Non-Recurring Basis Fair Value Assets Measured On Nonrecurring Basis [Text Block] Fair Value Measurements for Financial Instruments Fair Value Assets Measured On Nonrecurring Basis Valuation Techniques [Text Block] Carrying Amounts and Estimated Fair Values of Financial Instruments Fair Value By Balance Sheet Grouping [Text Block] Premises and Equipment Property Plant And Equipment [Text Block] Schedule of premises and equipment subject to lease agreements. Schedule of Premises and Equipment Subject to Lease Agreements Schedule Of Premises And Equipment Subject To Lease Agreements Table [Text Block] Maturities of Lease Liabilities Lessee Operating Lease Liability Maturity Table [Text Block] Acquired Intangible Assets Schedule Of Finite Lived Intangible Assets Table [Text Block] Estimated Amortization Expense Scheduleof Finite Lived Intangible Assets Future Amortization Expense Table [Text Block] Time deposits by maturity. Summary of Scheduled Maturities of Certificates of Deposit and Brokered Time Deposits Time Deposits By Maturity Table [Text Block] Schedule of interest bearing deposits. Summary of Year-end Interest Bearing Deposits Schedule Of Interest Bearing Deposits Table [Text Block] Collateral Collateral [Axis] Collateral Collateral [Domain] Pledged Collateral Pledged [Member] Summary of Long-term Advances from the Federal Home Loan Bank Federal Home Loan Bank Advances Table [Text Block] Summary of securities sold under agreements to repurchase. Summary of Securities Sold under Agreements to Repurchase Summary Of Securities Sold Under Agreements To Repurchase Table [Text Block] Schedule Disaggregation of the Obligation by the Class of Collateral Pledged for Short-Term Financing Obtained Through the Sales of Repurchase Agreements Schedule Of Repurchase Agreements Schedule of federal home loan bank advances maturities. Schedule Of Federal Home Loan Bank Advances Maturities Table Text Block Schedule Of Federal Home Loan Bank Advances Maturities Table [Text Block] The Contractual Amounts of Financial Instruments with Off-Balance-Sheet Risk at Year End Schedule Of Fair Value Off Balance Sheet Risks [Text Block] Summary of Award Activity under Plan Schedule Of Share Based Compensation Restricted Stock Units Award Activity Table [Text Block] Schedule of Actual and Required Capital Amounts (Not Including Capital Conservation Buffer) and Ratios Schedule Of Compliance With Regulatory Capital Requirements Under Banking Regulations [Text Block] Provision for Income Taxes (Credit) Schedule Of Components Of Income Tax Expense Benefit Table [Text Block] Effective Tax Rates Differ from Federal Statutory Rate Schedule Of Effective Income Tax Rate Reconciliation Table [Text Block] Deferred Tax Assets (Liabilities) Schedule Of Deferred Tax Assets And Liabilities Table [Text Block] Schedule of Other Comprehensive Income (Loss) Schedule Of Comprehensive Income Loss Table [Text Block] Schedule of loans and leases receivable related parties. Loans to Principal Officers, Directors, and Their Affiliates Schedule Of Loans And Leases Receivable Related Parties Table [Text Block] Computation of Basic and Diluted Earnings Per Share Schedule Of Earnings Per Share Basic And Diluted Table [Text Block] Summary Information about Interest-Rate Swaps Schedule Of Interest Rate Derivatives Table [Text Block] Schedule of Segment Reporting Information Schedule Of Segment Reporting Information By Segment [Text Block] Quarterly Financial Data (Unaudited) Schedule Of Quarterly Financial Information Table [Text Block] Schedule of Parent Company Only Condensed Financial Information Schedule Of Condensed Financial Statements Table [Text Block] Summary of significant accounting policies additional textual. Summary of significant accounting policies. Summary of significant accounting policies. Summary Of Significant Accounting Policies [Table] Summary Of Significant Accounting Policies [Table] National associates incorporated. NAI National Associates Incorporated [Member] Geographical Statement Geographical [Axis] Geographical Segment Geographical [Domain] Southwestern Pennsylvania. Southwestern Pennsylvania Southwestern Pennsylvania [Member] Retained Earnings Accumulated Other Comprehensive Income Adjustments for New Accounting Pronouncements Adjustments For New Accounting Pronouncements [Axis] Type of Adoption Type Of Adoption [Member] ASU 2016-01 Accounting Standards Update201601 [Member] Financing Receivable Portfolio Segment Financing Receivable Portfolio Segment [Axis] Financing Receivable Portfolio Segment Financing Receivable Portfolio Segment [Domain] Residential Real Estate Residential Portfolio Segment [Member] Financial Instrument Financial Instrument [Axis] Financial Instruments Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain] Mortgage servicing rights. Mortgage Servicing Rights Mortgage Servicing Rights [Member] Property, Plant and Equipment, Type Property Plant And Equipment By Type [Axis] Property, Plant and Equipment, Type Property Plant And Equipment Type [Domain] Buildings Building [Member] Furniture Fixtures and Equipment Furniture And Fixtures [Member] Statistical Measurement Range [Axis] Statistical Measurement Range [Member] Minimum Minimum [Member] Maximum [Member] Maximum [Member] Finite-Lived Intangible Assets by Major Class Finite Lived Intangible Assets By Major Class [Axis] Finite-Lived Intangible Assets, Major Class Name Finite Lived Intangible Assets Major Class Name [Domain] Core Deposits Core Deposits [Member] Customer Relationships Customer Relationships [Member] Maximum ASU 2016-13 Accounting Standards Update201613 [Member] Subsequent Event Type Subsequent Event Type [Axis] Subsequent Event Type Subsequent Event Type [Domain] Subsequent Event Subsequent Event [Member] ASU 2016-02 Accounting Standards Update201602 [Member] Summary Of Significant Accounting Policies [Line Items] Summary Of Significant Accounting Policies [Line Items] Summary of Significant Accounting Policies (Additional Textual) [Abstract] Summary Of Significant Accounting Policies Additional Textual [Abstract] Number of reporting units Number Of Reporting Units Number of reportable segments Number Of Reportable Segments Number of locations served by bank. Number of locations served by bank Number Of Locations Served By Bank Period of federal fund purchased and sold. Purchased and sold period of federal fund Period Of Federal Fund Purchased And Sold Cumulative effect adjustment upon adoption of new accounting principle Delinquent period of loans after which interest income is discontinued. Delinquent period of loans after which interest income is discontinued Delinquent Period Of Loans After Which Interest Income Is Discontinued Number of county economy consider for credit risk purpose. Percentage of portfolio loans secured by real estate. Number of county economy from which credit risk exposure effected Number Of County Economy Consider For Credit Risk Purpose Percentage of portfolio loans secured by real estate Percentage Of Portfolio Loans Secured By Real Estate Minimum amount of commercial and commercial real estate loans on which impairment to be made. Impairment on loan Minimum Amount Of Commercial And Commercial Real Estate Loans On Which Impairment To Be Made Maximum loan financing period. Summary of significant accounting policies. Summary of Significant Accounting Policies (Textual) [Abstract] Summary Of Significant Accounting Policies Textual [Abstract] Loan financing period Maximum Loan Financing Period Valuation allowance impairment against servicing assets Valuation Allowance For Impairment Of Recognized Servicing Assets Balance Other real estate owned Other Real Estate Range of buildings and furniture depreciated Property Plant And Equipment Useful Life Restricted stock Federal Home Loan Bank Stock And Federal Reserve Bank Stock Intangible assets amortized period Finite Lived Intangible Asset Useful Life Percentage of tax benefit likelihood to be realized upon examination. Recognized tax amount Percentage Of Tax Benefit Likelihood To Be Realized Upon Examination Charge accrued relating to pending settlement of legal contingency Loss Contingency Accrual Provision Deposits with Federal Reserve Bank Restricted Cash And Cash Equivalents At Carrying Value Operating segments of business Number Of Operating Segments increase in percentage of allowance for loan losses. Increase in percentage of allowance for loan losses Increase In Percentage Of Allowance For Loan Losses Capitalization of leases as an asset Capital Leases Balance Sheet Assets By Major Class Net Operating lease, right-of-use asset Operating Lease Right Of Use Asset Operating lease, liability Operating Lease Liability Schedule Of Business Acquisitions By Acquisition [Table] Schedule Of Business Acquisitions By Acquisition [Table] Maple leaf. Maple Leaf Maple Leaf [Member] Business Acquisition [Line Items] Business Acquisition [Line Items] Business acquisition, date of merger agreement Business Acquisition Date Of Acquisition Agreement1 Shares of stock issued for acquisition Business Acquisition Equity Interests Issued Or Issuable Number Of Shares Issued Fair value of total consideration transferred Business Combination Consideration Transferred1 Cash consideration per share | $ / shares Business Acquisition Share Price Exercise price of warrants Class Of Warrant Or Right Exercise Price Of Warrants Or Rights1 Total assets Gross loans Debt Instrument Carrying Amount Deposits Equity Business acquisition, maximum shares being exchanged for stock. Business acquisition, maximum shares being exchanged for cash. Multiplier used to calculate per share cash consideration. Volume weighted average closing price per share of common shares. Business combination final stock exchange ratio. Period of trading days considered for volume weighted average closing price. Maximum shares exchanged for stock Business Acquisition Maximum Shares Being Exchanged For Stock Maximum shares exchanged for cash Business Acquisition Maximum Shares Being Exchanged For Cash Multiplier used to calculate per share cash consideration Multiplier Used To Calculate Per Share Cash Consideration Period of trading days considered for volume weighted average closing price Period Of Trading Days Considered For Volume Weighted Average Closing Price Volume weighted average closing price per share of common shares Volume Weighted Average Closing Price Per Share Of Common Shares Final stock exchange ratio Business Combination Final Stock Exchange Ratio Fair value of other intangible assets Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles Business combination recognized identifiable assets acquired securities available-for-sale. Business combination recognized identifiable assets acquired and liabilities assumed core deposit intangibles. Business combination recognized identifiable assets and liabilities deposits assumed. Business combination recognized identifiable assets acquired and liabilities assumed accrued interest payable and other liabilities. Consideration Business Combination Contingent Consideration Arrangements [Abstract] Cash Payments To Acquire Businesses Gross Stock Business Combination Consideration Transferred Equity Interests Issued And Issuable Fair value of total consideration transferred Fair value of assets acquired Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Assets [Abstract] Cash and due from financial institutions Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Cash And Equivalents Securities available for sale Business Combination Recognized Identifiable Assets Acquired Securities Available For Sale Loans, net Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Financial Assets Premises and equipment Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Property Plant And Equipment Core deposit intangible Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Core Deposit Intangibles Other assets Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Other Noncurrent Assets Total assets acquired Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Assets Fair value of liabilities assumed Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Liabilities [Abstract] Deposits Business Combination Recognized Identifiable Assets And Liabilities Deposits Assumed Accrued interest payable and other liabilities Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Accrued Interest Payable And Other Liabilities Total liabilities Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Liabilities Net assets acquired Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Net Goodwill created Total net assets acquired Business Combination Recognized Identifiable Assets Acquired Goodwill And Liabilities Assumed Net Business acquisitions pro forma interest income expense net. Business acquisition pro forma earnings per share basic and diluted. Net interest income Business Acquisitions Pro Forma Interest Income Expense Net Net income Business Acquisitions Pro Forma Net Income Loss Basic and diluted earnings per share Business Acquisition Pro Forma Earnings Per Share Basic And Diluted Schedule Of Available For Sale Securities [Table] Schedule Of Available For Sale Securities [Table] Investment Type Investment Type [Axis] Investments Investment Type Categorization [Member] Corporate bonds Corporate Bond Securities [Member] Small business administration. Small Business Administration Small Business Administration [Member] U.S. Treasury and U.S. government sponsored entities U S Treasury And Government [Member] State and political subdivisions U S States And Political Subdivisions [Member] Mortgage-backed securities - residential Residential Mortgage Backed Securities [Member] Collateralized mortgage obligations Collateralized Mortgage Obligations [Member] Schedule Of Available For Sale Securities [Line Items] Schedule Of Available For Sale Securities [Line Items] Amortized Cost Available For Sale Debt Securities Amortized Cost Basis Gross Unrealized Gains Available For Sale Debt Securities Accumulated Gross Unrealized Gain Before Tax Gross Unrealized Losses Available For Sale Debt Securities Accumulated Gross Unrealized Loss Before Tax Fair Value Proceeds from sales of available-for-sale securities and the associated gains and losses Available For Sale Securities Gross Realized Gain Loss [Abstract] Proceeds Gross gains Debt Securities Available For Sale Realized Gain Gross losses Debt Securities Available For Sale Realized Loss Legal Entity Legal Entity [Axis] Entity Entity [Domain] Farmers trust company. Farmers Trust Company Farmers Trust Company [Member] Small business investment company partnership investments. Small Business Investment Company Partnership Investments Small Business Investment Company Partnership Investments [Member] Local and regional bank holdings and other miscellaneous equity funds. Local and Regional Bank Holdings and Other Miscellaneous Equity Funds Local And Regional Bank Holdings And Other Miscellaneous Equity Funds [Member] Tax provision related to net realized gain Other Comprehensive Income Loss Reclassification Adjustment From A O C I For Sale Of Securities Tax Amortized cost and fair value of the debt securities maturity Available For Sale Securities Debt Maturities [Abstract] Amortized Cost, Within one year Available For Sale Securities Debt Maturities Within One Year Amortized Cost Amortized Cost, One to five years Available For Sale Securities Debt Maturities After One Through Five Years Amortized Cost Amortized Cost, Five to ten years Available For Sale Securities Debt Maturities After Five Through Ten Years Amortized Cost Amortized Cost, Beyond ten years Available For Sale Securities Debt Maturities After Ten Years Amortized Cost Amortized Cost, Mortgage-backed securities, collateralized mortgage obligations and Small Business Administration Available For Sale Securities Debt Maturities Without Single Maturity Date Amortized Cost Fair Value, Within one year Available For Sale Securities Debt Maturities Within One Year Fair Value Fair Value, One to five years Available For Sale Securities Debt Maturities After One Through Five Years Fair Value Fair Value, Five to ten years Available For Sale Securities Debt Maturities After Five Through Ten Years Fair Value Fair Value, Beyond ten years Available For Sale Securities Debt Maturities After Ten Years Fair Value Fair Value, Mortgage-backed securities, collateralized mortgage obligations and Small Business Administration Available For Sale Securities Debt Maturities Without Single Maturity Date Fair Value Fair Value, Total Pledged to secure public deposits and repurchase agreements and Pledge to qualify carrying amount of securities Debt Securities Available For Sale Restricted Number of securities present more than specified percentage. Number of securities not more than 10% of stockholder equities Number Of Securities Present More Than Specified Percentage Debt securities available for sale securities continuous unrealized loss position fair value. Investment securities with unrealized losses Debt Securities Available For Sale Securities Continuous Unrealized Loss Position Fair Value [Abstract] Fair Value, Less Than 12 Months Debt Securities Available For Sale Continuous Unrealized Loss Position Less Than12 Months Unrealized Losses, Less Than 12 Months Debt Securities Available For Sale Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss Fair Value, 12 Months or Longer Debt Securities Available For Sale Continuous Unrealized Loss Position12 Months Or Longer Unrealized Losses, 12 Months or Longer Debt Securities Available For Sale Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss Fair Value, Total Debt Securities Available For Sale Unrealized Loss Position Unrealized Losses, Total Debt Securities Available For Sale Unrealized Loss Position Accumulated Loss Equity securities Other than temporary impairment charges recognized Other Than Temporary Impairment Loss Debt Securities Available For Sale Recognized In Earnings Number of securities. Number of securities on unrealized loss position. Number of securities Number Of Securities Number of securities on unrealized loss position Number Of Securities On Unrealized Loss Position Schedule Of Accounts Notes Loans And Financing Receivable [Table] Schedule Of Accounts Notes Loans And Financing Receivable [Table] Originated loans. Originated Loans Originated Loans [Member] Acquired loans. Acquired Loans Acquired Loans [Member] Class of Financing Receivable Financing Receivable Recorded Investment By Class Of Financing Receivable [Axis] Class of Financing Receivable Financing Receivable Recorded Investment Class Of Financing Receivable [Domain] Commercial real estate owner occupied. Commercial real estate, Owner occupied Commercial Real Estate Owner Occupied [Member] Commercial real estate non owner occupied. Commercial real estate, Non-owner occupied Commercial Real Estate Non Owner Occupied [Member] Commercial real estate farmland. Commercial real estate, Farmland Commercial Real Estate Farmland [Member] Commercial real estate other. Commercial real estate, Other Commercial Real Estate Other [Member] Commercial commercial and industrial. Commercial, Commercial and industrial Commercial Commercial And Industrial [Member] Residential real estate 1-4 family residential. Residential real estate, 1-4 family residential Residential Real Estate One To Four Family Residential [Member] Commercial agricultural. Commercial, Agricultural Commercial Agricultural [Member] Residential real estate home equity. Residential real estate, Home equity lines of credit Residential Real Estate Home Equity [Member] Consumer indirect. Consumer, Indirect Consumer Indirect [Member] Consumer direct. Consumer, Direct Consumer Direct [Member] Consumer other member. Consumer, Other Consumer Other [Member] Commercial real estate Commercial Real Estate Portfolio Segment [Member] Commercial Commercial Portfolio Segment [Member] Residential real estate Consumer Consumer Portfolio Segment [Member] Accounts Notes And Loans Receivable [Line Items] Accounts Notes And Loans Receivable [Line Items] Schedule of loan balances Loans And Leases Receivable Disclosure [Abstract] Loan balances Loans And Leases Receivable Gross Carrying Amount Total loans Net deferred loan costs Unamortized Loan Commitment And Origination Fees And Unamortized Discounts Or Premiums Allowance for loan losses Certain loans acquired in transfer accounted for as debt securities acquired during period contractually required payments receivable at acquisition outstanding balance. Certain loans acquired in transfer accounted for as debt securities acquired during period contractually required payments receivable at acquisition net carrying value. Schedule Of Impaired Financing Receivable [Table] Schedule Of Impaired Financing Receivable [Table] National Bancshares Corporation. National Bancshares Corporation National Bancshares Corporation [Member] Financing Receivable Impaired [Line Items] Financing Receivable Impaired [Line Items] Loans acquired with deteriorated credit quality Certain Loans Acquired In Transfer Accounted For As Debt Securities Acquired During Period Contractually Required Payments Receivable At Acquisition Total outstanding balance Certain Loans Acquired In Transfer Accounted For As Debt Securities Acquired During Period Contractually Required Payments Receivable At Acquisition Outstanding Balance Carrying amount, net of allowance Certain Loans Acquired In Transfer Accounted For As Debt Securities Acquired During Period Contractually Required Payments Receivable At Acquisition Net Carrying Value Credit Loss Status Credit Loss Status [Axis] Credit Loss Status Credit Loss Status [Domain] Receivables Acquired with Deteriorated Credit Quality Financial Asset Acquired With Credit Deterioration [Member] Acquired with deteriorated credit quality, allowances Financing Receivable Allowance For Credit Losses Beginning balance Certain Loans Acquired In Transfer Not Accounted For As Debt Securities Accretable Yield New loans purchased Certain Loans Acquired In Transfer Not Accounted For As Debt Securities Accretable Yield Additions Accretion of income Certain Loans Acquired In Transfer Not Accounted For As Debt Securities Accretable Yield Accretion Ending balance Schedule Of Financing Receivable Allowance For Credit Losses [Table] Schedule Of Financing Receivable Allowance For Credit Losses [Table] Unallocated Unallocated Financing Receivables [Member] Financing Receivable Allowance For Credit Losses [Line Items] Financing Receivable Allowance For Credit Losses [Line Items] Allowance for loan losses Financing Receivable Allowance For Credit Losses Roll Forward Beginning balance Loans charged off Financing Receivable Allowance For Credit Losses Write Offs Recoveries Financing Receivable Allowance For Credit Losses Recovery Ending balance Ending allowance balance attributable to loans: Financing Receivable Allowance For Credit Loss Additional Information [Abstract] Individually evaluated for impairment Financing Receivable Allowance For Credit Losses Individually Evaluated For Impairment1 Collectively evaluated for impairment Financing Receivable Allowance For Credit Losses Collectively Evaluated For Impairment Acquired loans collectively evaluated for impairment Financing Receivable Allowance For Credit Loss Acquired Loans Collectively Evaluated For Impairment Acquired with deteriorated credit quality Financing Receivable Allowance For Credit Loss Acquired With Deteriorated Credit Quality Total ending allowance balance Loans: Loans And Leases Receivable Net Of Deferred Income [Abstract] Loans individually evaluated for impairment Financing Receivable Individually Evaluated For Impairment Loans collectively evaluated for impairment Financing Receivable Collectively Evaluated For Impairment Acquired loans Financing Receivable Acquired Loans Acquired with deteriorated credit quality Notes Receivable Net Loans Unpaid Principal Balance, With no related allowance recorded Impaired Financing Receivable With No Related Allowance Unpaid Principal Balance Unpaid Principal Balance, With an allowance recorded Impaired Financing Receivable With Related Allowance Unpaid Principal Balance Unpaid Principal Balance Impaired Financing Receivable Unpaid Principal Balance Recorded Investment, With no related allowance recorded Impaired Financing Receivable With No Related Allowance Recorded Investment Recorded Investment, With an allowance recorded Impaired Financing Receivable With Related Allowance Recorded Investment Recorded Investment Impaired Financing Receivable Recorded Investment Allowance for Loan Losses Allocated Impaired Financing Receivable Related Allowance Average Recorded Investment, With no related allowance recorded Impaired Financing Receivable With No Related Allowance Average Recorded Investment Average Recorded Investment, With an allowance recorded Impaired Financing Receivable With Related Allowance Average Recorded Investment Average Recorded Investment Impaired Financing Receivable Average Recorded Investment Interest Income Recognized, With no related allowance recorded Impaired Financing Receivable With No Related Allowance Interest Income Accrual Method Interest Income Recognized, With related allowance recorded Impaired Financing Receivable With Related Allowance Interest Income Accrual Method Interest Income Recognized Impaired Financing Receivable Interest Income Accrual Method Schedule Of Financing Receivables Past Due [Table] Schedule Of Financing Receivables Past Due [Table] Financing Receivable Recorded Investment Past Due [Line Items] Financing Receivable Recorded Investment Past Due [Line Items] Schedule of investment in nonaccrual and loans past due over 90 days still on accrual by class of loans Financing Receivable Recorded Investment Aging [Abstract] Nonaccrual Financing Receivable Recorded Investment Nonaccrual Status Loans Past Due 90 Days or More Still Accruing Financing Receivable Recorded Investment90 Days Past Due And Still Accruing Financial Asset, Period Past Due Financing Receivables Period Past Due [Axis] Financial Asset, Period Past Due Financing Receivables Period Past Due [Domain] Financing Receivables, 30 to 59 Days Past Due Financing Receivables30 To59 Days Past Due [Member] Financing Receivables, 60 to 89 Days Past Due Financing Receivables60 To89 Days Past Due [Member] Financing Receivables, Equal to Greater than 90 Days Past Due Financing Receivables Equal To Greater Than90 Days Past Due [Member] Schedule of investment in past due loans Total Past Due Financing Receivable Recorded Investment Past Due Loans Not Past Due Financing Receivable Recorded Investment Current Schedule Of Financing Receivable Troubled Debt Restructurings [Table] Schedule Of Financing Receivable Troubled Debt Restructurings [Table] Loan Restructuring Modification Loan Restructuring Modification [Axis] Loan Restructuring Modification Loan Restructuring Modification [Domain] Troubled debt restructurings. Troubled debt restructurings Troubled Debt Restructurings [Member] Contractual Interest Rate Reduction Contractual Interest Rate Reduction [Member] Extended Maturity Extended Maturity [Member] Residential real estate loan Residential Mortgage [Member] Financing Receivable Modifications [Line Items] Financing Receivable Modifications [Line Items] Total troubled debt restructurings Financing Receivable Modifications Recorded Investment Specific reserves to customers Commitments to lend additional amounts to borrowers classified as troubled debt restructurings Loans And Leases Receivable Impaired Commitment To Lend Debt instrument interest rate reduction percentage. Debt instrument maturity date length of extension period. Reduction of the notes stated interest rate Debt Instrument Interest Rate Reduction Percentage Maturity period loans Debt Instrument Maturity Date Length Of Extension Period Number of Loans Financing Receivable Modifications Number Of Contracts2 Pre-Modification Outstanding Recorded Investment Financing Receivable Modifications Pre Modification Recorded Investment2 Post-Modification Outstanding Recorded Investment Financing Receivable Modifications Post Modification Recorded Investment2 Allowance for loan losses period increase decrease. Allowance adjustment charge offs Financing Receivables Impaired Troubled Debt Restructuring Write Down Increase in the allowance for loan losses as a result of the allowance Allowance For Loan Losses Period Increase Decrease Financing receivable period of modified contractually past due loans to be considered as payment default. Troubled debt restructured loans with subsequent payment defaults | Loans Financing Receivable Modifications Subsequent Default Number Of Contracts1 Loans default payment past due period Financing Receivable Period Of Modified Contractually Past Due Loans To Be Considered As Payment Default Commercial loan and commercial real estate risk maximum. Maximum commercial loan and commercial real estate relationships Commercial Loan And Commercial Real Estate Risk Maximum Credit quality indicators. Credit Quality Indicators [Abstract] Schedule Of Financing Receivable Recorded Investment Credit Quality Indicator [Table] Schedule Of Financing Receivable Recorded Investment Credit Quality Indicator [Table] Internal Credit Assessment Internal Credit Assessment [Axis] Internal Credit Assessment Internal Credit Assessment [Domain] Pass Pass [Member] Special Mention Special Mention [Member] Substandard Substandard [Member] Commercial farmland. Commercial farmland Commercial Farmland [Member] Commercial and industrial. Commercial and industrial Commercial And Industrial [Member] Financing Receivable Recorded Investment [Line Items] Financing Receivable Recorded Investment [Line Items] Total risk category of loans by class of loans Financial Instrument Performance Status Financial Instrument Performance Status [Axis] Financial Instrument Performance Status Financial Instrument Performance Status [Domain] Performing Financing Receivable Performing Financing Receivable [Member] Nonperforming Financing Receivable Nonperforming Financing Receivable [Member] Disaggregation Of Revenue [Abstract] Disaggregation Of Revenue [Table] Disaggregation Of Revenue [Table] Consolidation Items Consolidation Items [Axis] Consolidation Items Consolidation Items [Domain] Operating Segments Operating Segments [Member] Segments Statement Business Segments [Axis] Segments Segment [Domain] Trust segment. Trust Segment Trust Segment [Member] Bank segment. Bank Segment Bank Segment [Member] Other Financial Service Other [Member] Disaggregation Of Revenue [Line Items] Disaggregation Of Revenue [Line Items] Noninterest income Other (outside the scope of ASC 606) Revenue Not From Contract With Customer Contingent fees and commissions debit cards receivable. Revenue from contract with customer. Revenue from contract with customer. Revenue From Contract With Customer [Table] Revenue From Contract With Customer [Table] ASC 606 Accounting Standards Update201409 [Member] Counterparty Name Counterparty Name [Axis] Counterparty Name Repurchase Agreement Counterparty Name [Domain] Cetera. Cetera Cetera [Member] Revenue From Contract With Customer [Line Items] Revenue From Contract With Customer [Line Items] Contingent debit card interchange fees Contingent Fees And Commissions Debit Cards Receivable Contingent fees and commissions fiduciary and trust activities receivable. Contingent incentive fees Contingent Fees And Commissions Fiduciary And Trust Activities Receivable Contingent insurance commissions and fees receivable. Contingent commission Contingent Insurance Commissions And Fees Receivable Percentage of insurance commissions on revenues. Percentage of insurance agency commissions representing total revenue Percentage Of Insurance Commissions On Revenues Percentage of retirement plan consulting fees on revenues. Percentage of retirement plan consulting fees representing total revenue Percentage Of Retirement Plan Consulting Fees On Revenues Contingent brokerage commissions revenue payable. Percentage of investment commissions on revenues. Contingent investment commissions to be refunded Contingent Brokerage Commissions Revenue Payable Percentage of investment commissions representing total revenue Percentage Of Investment Commissions On Revenues Mortgage loan portfolios serviced for. Servicing Liabilities At Fair Value [Table] Servicing Liabilities At Fair Value [Table] Loans Insured or Guaranteed by Government Authorities Loans Insured Or Guaranteed By Government Authorities [Axis] Loans Insured or Guaranteed by Government Authorities Loans Insured Or Guaranteed By Government Authorities [Domain] FHLMC Federal Home Loan Mortgage Corporation Fhlmc Insured Loans [Member] Servicing Liabilities At Fair Value [Line Items] Servicing Liabilities At Fair Value [Line Items] Mortgage loan portfolio serviced for: Mortgage Loan Portfolios Serviced For [Abstract] Loan Portfolio Expense Continuing Involvement With Transferred Financial Assets Principal Amount Outstanding Escrow balances maintained in connection with serviced loans Escrow Deposit Servicing rights: Servicing Asset At Amortized Value Balance Roll Forward Beginning balance Servicing Asset At Amortized Value Additions Servicing Asset At Amortized Value Additions Amortization to expense Servicing Asset At Amortized Value Amortization1 Ending balance Mortgage servicing rights, valuation allowance Available for sale securities debt and equity. Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table] Fair Value Hierarchy and NAV Fair Value By Fair Value Hierarchy Level [Axis] Fair Value Hierarchy and NAV Fair Value Measurements Fair Value Hierarchy [Domain] Quoted Prices in Active Markets for Identical Assets (Level 1) Fair Value Inputs Level1 [Member] Significant Other Observable Inputs (Level 2) Fair Value Inputs Level2 [Member] Significant Unobservable Inputs (Level 3) Fair Value Inputs Level3 [Member] Derivative Instrument Derivative Instrument Risk [Axis] Derivative Contract Derivative Contract Type [Domain] Interest rate swaps Interest Rate Swap [Member] Equity securities at fair value Equity Securities [Member] Collateralized mortgage obligations Other equity investments measured at net asset value Other Aggregated Investments [Member] Measurement Frequency Fair Value By Measurement Frequency [Axis] Measurement Frequency Fair Value Measurement Frequency [Domain] Fair Value, Measurements, Recurring Fair Value Measurements Recurring [Member] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] Financial Assets Financial Instruments Financial Assets Balance Sheet Groupings [Abstract] Securities available for sale Total investment securities Available For Sale Securities Debt And Equity Loan yield maintenance provisions Derivative Assets Financial Liabilities Financial Instruments Financial Liabilities Balance Sheet Groupings [Abstract] Derivative liabilities Derivative Liabilities Fair value assets liabilities level 1 and level 2 transfers amount. Collateral dependent impaired loans. Collateral Dependent Impaired Loans Collateral Dependent Impaired Loans [Member] Valuation Approach and Technique Valuation Technique [Axis] Valuation Approach and Technique Valuation Technique [Domain] Measured Using Present Value of Cash Flows Income Approach Valuation Technique [Member] Fair value assets liabilities transfers amount between level 1 and level 2 Fair Value Assets And Liabilities Level1 And Level2 Transfers Amount Fair value measurement with unobservable inputs reconciliation recurring basis asset repayments calls and maturities. Reconciliation for all assets measured at fair value on a recurring basis using significant unobservable inputs Fair Value Assets And Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Abstract] Beginning Balance Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Value Repayments, calls and maturities Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Repayments Calls And Maturities Acquired and/or purchased Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Purchases Ending Balance Fair Value, Measurements, Nonrecurring Fair Value Measurements Nonrecurring [Member] Recorded Investment Impaired loans, unpaid principal balance with allowance recorded Impaired loans, allowance Troubled debt restructurings Write down of other real estate owned. Other real estate owned measured at fair value net. Other real estate owned measured at fair value less costs to sell Other Real Estate Owned Measured At Fair Value Net Write down of other real estate owned Write Down Of Other Real Estate Owned Sales Comparison Valuation Market Approach Valuation Technique [Member] Weighted Average Weighted Average [Member] Measurement Input Type Measurement Input Type [Axis] Measurement Input Type Measurement Input Type [Domain] Measurement Input Comparability Adjustment Measurement Input Comparability Adjustment [Member] Fair value measurements for financial instruments Impaired Financing Receivable Recorded Investment [Abstract] Fair Value Measurements Valuation Technique(s) Description Fair Value Measurements Valuation Processes Description Adjustment for differences between earning multiplier and comparable sales, Percent Alternative Investment Measurement Input Level 1 Level 2 Level 3 Financial assets Cash and cash equivalents, Carrying Amount Restricted stock, Carrying Amount Sharebased Compensation Arrangement By Sharebased Payment Award Equity Instruments Other Than Options Aggregate Intrinsic Value Outstanding Loans held for sale, Carrying Amount Loans, net, Carrying Amount Accrued interest receivable, Carrying Amount Interest Receivable Financial liabilities Deposits, Carrying Amount Short-term borrowings, Carrying Amount Accrued interest payable, Carrying Amount Interest Payable Current And Noncurrent Cash cash equivalents and federal funds sold fair value. Restricted stock fair value. Accrued interest receivable fair value. Accrued interest payable fair value. Cash and cash equivalents, Fair Value Cash Cash Equivalents And Federal Funds Sold Fair Value Restricted stock, Fair Value Restricted Stock Fair Value Loans held for sale, Fair Value Loans Held For Sale Fair Value Disclosure Loans, net, Fair Value Loans Receivable Fair Value Disclosure Accrued interest receivable, Fair Value Accrued Interest Receivable Fair Value Deposits, Fair Value Deposits Fair Value Disclosure Short-term borrowings, Fair Value Shortterm Debt Fair Value Long-term borrowings, Fair Value Long Term Debt Fair Value Accrued interest payable, Fair value Accrued Interest Payable Fair Value Maximum maturity period of short term borrowings. Maximum maturity period of short term borrowings Maximum Maturity Period Of Short Term Borrowings Schedule Of Property Plant And Equipment [Table] Schedule Of Property Plant And Equipment [Table] Land Land [Member] Leasehold Improvements Leasehold Improvements [Member] Right of use assets. Right of use assets Right Of Use Assets [Member] Property Plant And Equipment [Line Items] Property Plant And Equipment [Line Items] Premises and equipment Property Plant And Equipment Net By Type [Abstract] Premises and equipment, gross Property Plant And Equipment Gross Less accumulated depreciation Accumulated Depreciation Depletion And Amortization Property Plant And Equipment NET BOOK VALUE Premises and Equipment (Textual) [Abstract]. Premises and Equipment (Textual) [Abstract] Premises And Equipment Textual [Abstract] Depreciation expense Depreciation Nonproduction Operating lease right-of-use asset gross. Operating lease right-of-use asset accumulated amortization. Equipment Equipment [Member] Premises and equipment, gross Operating Lease Right Of Use Asset Gross Less: accumulated amortization Operating Lease Right Of Use Asset Accumulated Amortization TOTAL Lessee Lease Description [Table] Lessee Lease Description [Table] Lessee Lease Description [Line Items] Lessee Lease Description [Line Items] Operating leases remaining lease terms Lessee Operating Lease Term Of Contract Operating leases options to extend Lessee Operating Lease Option To Extend Operating leases options to extend [true false] Lessee Operating Lease Existence Of Option To Extend Operating leases options to terminate the lease Lease Expiration Date1 Operating lease, description Lessee Operating Lease Description Weighted average remaining lease term for operating lease and financing lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Discount rate used by lessee to determine present value of operating lease and finacing lease payments. Operating lease, payments Operating Lease Payments Finance leases, interest expense Finance Lease Interest Expense Finance leases, amortization expense Finance Lease Right Of Use Asset Amortization Weighted average remaining lease term Operating Lease And Financing Lease Weighted Average Remaining Lease Term Weighted-average discount rate Lessee Operating Lease And Financing Lease Discount Rate 2020 Lessee Operating Lease Liability Payments Due Next Twelve Months 2021 Lessee Operating Lease Liability Payments Due Year Two 2022 Lessee Operating Lease Liability Payments Due Year Three 2023 Lessee Operating Lease Liability Payments Due Year Four 2024 Lessee Operating Lease Liability Payments Due Year Five Thereafter Lessee Operating Lease Liability Payments Due After Year Five Total Payments Lessee Operating Lease Liability Payments Due Less: Imputed Interest Lessee Operating Lease Liability Undiscounted Excess Amount Total Goodwill associated with the Company's purchase and other past acquisitions Schedule Of Acquired Finite Lived Intangible Asset By Major Class [Table] Schedule Of Acquired Finite Lived Intangible Asset By Major Class [Table] Non-compete contracts Noncompete Agreements [Member] Trade Name Trade Names [Member] Acquired Finite Lived Intangible Assets [Line Items] Acquired Finite Lived Intangible Assets [Line Items] Acquired intangible assets Finite Lived Intangible Assets Net [Abstract] Gross Carrying Amount Finite Lived Intangible Assets Gross Accumulated Amortization Finite Lived Intangible Assets Accumulated Amortization Aggregate intangible amortization expense Finite Lived Intangible Assets Future Amortization Expense [Abstract] Finite Lived Intangible Assets Future Amortization Expense [Abstract] 2020 Finite Lived Intangible Assets Amortization Expense Next Twelve Months 2021 Finite Lived Intangible Assets Amortization Expense Year Two 2022 Finite Lived Intangible Assets Amortization Expense Year Three 2023 Finite Lived Intangible Assets Amortization Expense Year Four 2024 Finite Lived Intangible Assets Amortization Expense Year Five Thereafter Finite Lived Intangible Assets Amortization Expense After Year Five TOTAL Interest Bearing Deposits (Textual) [Abstract] Minimum time deposits. Interest Bearing Deposits (Textual) [Abstract] Interest Bearing Deposits Textual [Abstract] Minimum time deposits amount Minimum Time Deposits Time deposits of $100 thousand or more Time Deposits100000 Or More Schedule Of Assets Sold Under Agreements To Repurchase [Table] Schedule Of Assets Sold Under Agreements To Repurchase [Table] Certificates of deposit and brokered time deposits. Certificates of Deposit and Brokered Time Deposits Certificates Of Deposit And Brokered Time Deposits [Member] Assets Sold Under Agreements To Repurchase [Line Items] Assets Sold Under Agreements To Repurchase [Line Items] Summary of scheduled maturities of certificates of deposit Time Deposits By Maturity [Abstract] 2020 Time Deposit Maturities Year One 2021 Time Deposit Maturities Year Two 2022 Time Deposit Maturities Year Three 2023 Time Deposit Maturities Year Four 2024 Time Deposit Maturities Year Five Thereafter Time Deposit Maturities After Year Five TOTAL Time Deposits Summary of year-end interest bearing deposits Interest Bearing Deposit Liabilities Domestic By Component [Abstract] Demand Interest Bearing Domestic Deposit Demand Money market Interest Bearing Domestic Deposit Money Market Savings Interest Bearing Domestic Deposit Savings Brokered time deposits Interest Bearing Domestic Deposit Brokered Certificates of deposit Interest Bearing Domestic Deposit Certificates Of Deposits TOTAL Interest Bearing Deposit Liabilities Domestic Disclosure Of Repurchase Agreements [Abstract] Repurchase Advance. Repurchase advance Repurchase Advance [Member] Fixed rate advances. Fixed rate advances Fixed Rate Advances [Member] Amount of Advances Advances From Federal Home Loan Banks Weighted Average Interest Rate Federal Home Loan Bank Advances General Debt Obligations Disclosures Interest Rate At Period End Pledged securities, percentage of repurchase agreement balances. Line Of Credit Facility [Table] Line Of Credit Facility [Table] US Treasury and Government Short-term Debt Securities U S Treasury And Government Shortterm Debt Securities [Member] Credit Facility Credit Facility [Axis] Credit Facility Credit Facility [Domain] Domestic Line of Credit Domestic Line Of Credit [Member] Consolidated Entities Consolidated Entities [Axis] Consolidated Entities Consolidated Entities [Domain] Farmers National Banc Corp Parent Company [Member] Revolving Credit Facility Revolving Credit Facility [Member] Letter of Credit Letter Of Credit [Member] Long-term Debt, Type Longterm Debt Type [Axis] Long-term Debt, Type Longterm Debt Type [Domain] Unsecured Debt Unsecured Debt [Member] Line Of Credit Facility [Line Items] Line Of Credit Facility [Line Items] Pledged securities, percentage of repurchase agreement balances Pledged Securities Percentage Of Repurchase Agreement Balances Carrying amount of securities sold under repurchase agreement Securities Sold Under Agreements To Repurchase Maturity period of repurchase agreement. Maturity of repurchase agreements Maturity Period Of Repurchase Agreement Assets sold under agreements to repurchase average during year. Assets sold under agreements to repurchase average interest rate during year. Assets sold under agreements to repurchase maximum month end during year. Assets sold under agreements to repurchase weighted average year end interest rate. Summary of securities sold under agreements to repurchase. Summary of securities sold under agreements to repurchase Summary Of Securities Sold Under Agreements To Repurchase [Abstract] Average balance during the year Assets Sold Under Agreements To Repurchase Average During Year Average interest rate during the year Assets Sold Under Agreements To Repurchase Average Interest Rate During Year Maximum month-end balance during the year Assets Sold Under Agreements To Repurchase Maximum Month End During Year Weighted average year-end interest rate Assets Sold Under Agreements To Repurchase Weighted Average Year End Interest Rate Balance at year-end Assets Sold Under Agreements To Repurchase Carrying Amounts Repurchase agreement Repurchase Agreements [Member] Short-term Debt, Type Short Term Debt Type [Axis] Short-term Debt, Type Short Term Debt Type [Domain] Total borrowings Number of domestic bank. Access to lines of credit at domestic banks Line Of Credit Facility Maximum Borrowing Capacity Number of domestic banks Number Of Domestic Bank Unsecured revolving line of credit, outstanding balance Line Of Credit Securities Sold under Agreements to Repurchase and Other Short Term Borrowings (Additional Textual) [Abstract] Debt Instrument, Interest Rate, Stated Percentage Debt Instrument Interest Rate Stated Percentage Securities Sold under Agreements to Repurchase and Other Short Term Borrowings (Additional Textual) [Abstract] Securities Sold Under Agreements To Repurchase And Other Short Term Borrowings Additional Textual [Abstract] Interest rate, effective percentage Debt Instrument Interest Rate Effective Percentage Federal home loan bank advances branch of FHLB. Banking And Thrift [Abstract] Federal Home Loan Bank Advances [Table] Federal Home Loan Bank Advances [Table] Fixed rate constant payment advances. Fixed-rate constant payment advances Fixed Rate Constant Payment Advances [Member] Convertible and putable fixed-rate advance. Convertible and putable fixed-rate advance Convertible And Putable Fixed Rate Advance [Member] Federal Home Loan Bank Advances [Line Items] Federal Home Loan Bank Advances [Line Items] Summary of long-term advances from the Federal Home Loan Bank Federal Home Loan Bank Advances Branch Of F H L B [Abstract] Additional federal home loan bank advances to be borrow under collateral pledge. Debt Instrument [Table] Debt Instrument [Table] Debt Instrument Debt Instrument [Axis] Debt Instrument, Name Debt Instrument Name [Domain] Trust preferred debenture. Trust Preferred Debenture Trust Preferred Debenture [Member] Debt Instrument [Line Items] Debt Instrument [Line Items] Residential mortgage, commercial real estate, and multi-family loans Federal Home Loan Bank Advances General Debt Obligations Disclosures Collateral Pledged1 Additional borrowing limit Additional Federal Home Loan Bank Advances To Be Borrow Under Collateral Pledge Maturing in: Federal Home Loan Bank Advances Maturities Summary [Abstract] 2020 Federal Home Loan Bank Advances Maturities Summary Due Within One Year Of Balance Sheet Date 2021 Federal Home Loan Bank Advances Maturities Summary Due From One To Two Years Of Balance Sheet Date 2022 Federal Home Loan Bank Advances Maturities Summary Due From Two To Three Years Of Balance Sheet Date 2023 Federal Home Loan Bank Advances Maturities Summary Due From Three To Four Years Of Balance Sheet Date 2024 Federal Home Loan Bank Advances Maturities Summary Due From Four To Five Years Of Balance Sheet Date Thereafter Federal Home Loan Bank Advances Maturities Summary Due After Five Years Of Balance Sheet Date TOTAL Long-term investments Long Term Investments Interest rate Long Term Debt Percentage Bearing Variable Interest Rate Debt interest rate payment description Debt Instrument Frequency Of Periodic Payment Debenture maturity date Debt Instrument Maturity Date Fair value off balance sheet risks disclosure information. Schedule Of Fair Value Off Balance Sheet Risks [Table] Schedule Of Fair Value Off Balance Sheet Risks [Table] Commitments and unused lines of credit. Commitments and Unused Lines of Credit Commitments And Unused Lines Of Credit [Member] Fixed rate. Fixed Rate Fixed Rate [Member] Variable rate. Variable Rate Variable Rate [Member] Fair Value Off Balance Sheet Risks Disclosure Information [Line Items] Fair Value Off Balance Sheet Risks Disclosure Information [Line Items] The contractual amounts of financial instruments with off-balance-sheet risk at year end Fair Value Off Balance Sheet Risks Disclosure Information [Abstract] Total contractual amounts of financial instruments with off-balance-sheet risk Fair Value Disclosure Offbalance Sheet Risks Amount Liability Commitments and Contingent Liabilities (Additional Textual) [Abstract] Maximum commitment period to make loans. Commitments and Contingent Liabilities (Textual) [Abstract] Commitments and Contingent Liabilities (Additional Textual) [Abstract] Commitments And Contingent Liabilities Additional Textual [Abstract] Maximum commitment period to make loans Maximum Commitment Period To Make Loans Commitments and Contingent Liabilities (Textual) [Abstract] Commitments And Contingent Liabilities Textual [Abstract] Standby letters of credit contractual amount. Standby letters of credit contractual value Standby Letters Of Credit Contractual Amount Maximum subscription amount committed in SBIC investment funds. Maximum subscription amount committed in SBIC investment funds Maximum Subscription Amount Committed In S B I C Investment Funds Investment in SBIC funds Payments To Acquire Investments Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table] Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table] Plan Name Plan Name [Axis] Plan Name Plan Name [Domain] Two thousand and seventeen incentive plan. 2017 Incentive Plan Two Thousand And Seventeen Incentive Plan [Member] Award Type Award Type [Axis] Award Type Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain] Restricted Stock Awards Restricted Stock [Member] Time based award restricted stock awards. Time Based Restricted Stock Awards Time Based Restricted Stock Awards [Member] Performance based restricted stock awards. Performance Based Restricted Stock Awards Performance Based Restricted Stock Awards [Member] Share Based Compensation Arrangement By Share Based Payment Award [Line Items] Share Based Compensation Arrangement By Share Based Payment Award [Line Items] Maximum shares available under equity incentive plan Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Authorized Share awards granted under equity incentive plan Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Number of shares available for grant Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grant Stock based compensation expense Allocated Share Based Compensation Expense Unrecognized compensation expense Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Share Based Awards Other Than Options Compensation cost not yet recognized, period for recognition Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Period For Recognition1 Service Units Performance Units Beginning balance - non-vested shares, Maximum Awarded Unit Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number Granted, Maximum Awarded Units Vested, Maximum Awarded Units Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Forfeited, Maximum Awarded Units Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited In Period Ending balance - non-vested shares, Maximum Awarded Unit Beginning balance - non-vested shares, Weighted Average Grant Date Fair Value Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value Granted, Weighted Average Grant Date Fair Value Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value Vested, Weighted Average Grant Date Fair Value Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Weighted Average Grant Date Fair Value Forfeited, Weighted Average Grant Date Fair Value Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeitures Weighted Average Grant Date Fair Value Ending balance - non-vested shares, Weighted Average Grant Date Fair Value Number of shares vested Number of shares vested, weighted average fair value Regulatory Matters (Additional Textual) [Abstract] Tier one risk based common capital required for capital adequacy to risk weighted assets capital conservation buffer ratio. Tier one risk based capital required for capital adequacy to risk weighted assets capital conservation buffer ratio. Capital required for capital adequacy to risk weighted assets capital conservation buffer ratio. Capital conservation buffer ratio. Capital conservation buffer, additional capital amount required. Tier one risk based common capital required for capital adequacy to risk weighted assets. Regulatory Matters (Additional Textual) [Abstract] Regulatory Matters Additional Textual [Abstract] Common equity tier 1 capital to risk-weighted assets, capital conservation buffer ratio Tier One Risk Based Common Capital Required For Capital Adequacy To Risk Weighted Assets Capital Conservation Buffer Ratio Tier 1 capital to risk-weighted assets, capital conservation buffer ratio Tier One Risk Based Capital Required For Capital Adequacy To Risk Weighted Assets Capital Conservation Buffer Ratio Total capital to risk-weighted assets, capital conservation buffer ratio Capital Required For Capital Adequacy To Risk Weighted Assets Capital Conservation Buffer Ratio Capital conservation buffer ratio Capital Conservation Buffer Ratio Capital conservation buffer, additional capital amount required Capital Conservation Buffer Additional Capital Amount Required Minimum ratio of common equity tier 1 capital to risk-weighted assets Tier One Risk Based Common Capital Required For Capital Adequacy To Risk Weighted Assets Minimum ratio of tier 1 capital to risk-weighted assets Tier One Risk Based Capital Required For Capital Adequacy To Risk Weighted Assets Minimum ratio of total capital to risk-weighted assets Capital Required For Capital Adequacy To Risk Weighted Assets Minimum leverage ratio Tier One Leverage Capital Required For Capital Adequacy To Average Assets Minimum capital maintained by trust Minimum Net Capital Required For Entity1 Dividends that can be declared without prior approval Statutory Accounting Practices Statutory Amount Available For Dividend Payments Without Regulatory Approval Tier one common capital ratio Tier one common capital. Tier one common capital ratio. Tier one common capital required for capital adequacy. Tier one risk based common capital required to be well capitalized. Tier one common capital required to be well capitalized to risk weighted assets. Common equity tier 1 capital ratio Tier One Common Capital Ratio [Abstract] Actual, Amount Tier One Common Capital Actual, Ratio Tier One Common Capital Ratio Requirement for Capital Adequacy Purposes, Amount Tier One Risk Based Common Capital Required For Capital Adequacy Requirement for Capital Adequacy Purposes, Ratio To be Well Capitalized Under Prompt Corrective Action Provisions, Amount Tier One Risk Based Common Capital Required To Be Well Capitalized To be Well Capitalized Under Prompt Corrective Action Provisions, Ratio Tier One Risk Based Common Capital Required To Be Well Capitalized To Risk Weighted Assets Total risk based capital ratio Capital [Abstract] Actual, Amount Capital Actual, Ratio Capital To Risk Weighted Assets Requirement for Capital Adequacy Purposes, Amount Capital Required For Capital Adequacy Requirement for Capital Adequacy Purposes, Ratio To be Well Capitalized Under Prompt Corrective Action Provisions, Amount Capital Required To Be Well Capitalized To be Well Capitalized Under Prompt Corrective Action Provisions, Ratio Capital Required To Be Well Capitalized To Risk Weighted Assets Tier 1 risk based capital ratio Tier One Risk Based Capital [Abstract] Actual, Amount Tier One Risk Based Capital Actual, Ratio Tier One Risk Based Capital To Risk Weighted Assets Requirement for Capital Adequacy Purposes, Amount Tier One Risk Based Capital Required For Capital Adequacy Requirement for Capital Adequacy Purposes, Ratio To be Well Capitalized Under Prompt Corrective Action Provisions, Amount Tier One Risk Based Capital Required To Be Well Capitalized To be Well Capitalized Under Prompt Corrective Action Provisions, Ratio Tier One Risk Based Capital Required To Be Well Capitalized To Risk Weighted Assets Tier 1 leverage ratio Tier One Leverage Capital [Abstract] Actual, Amount Tier One Leverage Capital Actual, Ratio Tier One Leverage Capital To Average Assets Requirement for Capital Adequacy Purposes, Amount Tier One Leverage Capital Required For Capital Adequacy Requirement for Capital Adequacy Purposes, Ratio To be Well Capitalized Under Prompt Corrective Action Provisions, Amount Tier One Leverage Capital Required To Be Well Capitalized To be Well Capitalized Under Prompt Corrective Action Provisions, Ratio Tier One Leverage Capital Required To Be Well Capitalized To Average Assets Maximum completed service period for participation under savings plan. Schedule Of Defined Benefit Plans Disclosures [Table] Schedule Of Defined Benefit Plans Disclosures [Table] Retirement Plan Type Retirement Plan Type [Axis] Retirement Plan Type Retirement Plan Type [Domain] Retirement savings plan. Retirement Savings Plan Retirement Savings Plan [Member] Profit sharing plan. Profit Sharing Plan Profit Sharing Plan [Member] Deferred compensation plan. Deferred Compensation Plan Deferred Compensation Plan [Member] Defined Benefit Postretirement Health Coverage Defined Benefit Postretirement Health Coverage [Member] Defined Benefit Plan Disclosure [Line Items] Defined Benefit Plan Disclosure [Line Items] Employees who have completed no days of service Maximum Completed Service Period For Participation Under Savings Plan Percentage of the participants' voluntary contributions of gross wages Defined Contribution Plan Employer Matching Contribution Percent Percentage of matching contribution by company Defined Contribution Plan Employer Matching Contribution Percent Of Match (Benefit) expense under the plan Pension And Other Postretirement Benefit Expense Annual compensation for associates, Percent Defined Contribution Plan Maximum Annual Contributions Per Employee Percent Liability under the Plan Pension And Other Postretirement Defined Benefit Plans Liabilities Current And Noncurrent Director age for annual retirement benefit plan. Pension and other postretirement maximum years for benefit payment. Deferred compensation plan asset recorded Deferred Compensation Plan Assets Deferred compensation plan liability recorded Deferred Compensation Arrangement With Individual Recorded Liability Director age for eligibility for annual retirement benefit plan Director Age For Annual Retirement Benefit Plan Maximum years for benefit payment under the plan Pension And Other Postretirement Maximum Years For Benefit Payment The accrued postretirement benefit liability due to termination of plan Other Postretirement Defined Benefit Plan Liabilities Current And Noncurrent Provision for income taxes (credit) Income Tax Expense Benefit Continuing Operations [Abstract] Current expense Current Income Tax Expense Benefit Deferred expense (benefit) Deferred Income Tax Expense Benefit TOTALS Income Taxes (Textual) [Abstract] Income tax. Income tax. Income Tax [Table] Income Tax [Table] Tax Period Tax Period [Axis] Tax Period Tax Period [Domain] Earliest Tax Year Earliest Tax Year [Member] Latest Tax Year Latest Tax Year [Member] Income Tax [Line Items] Income Tax [Line Items] Income Taxes (Textual) [Abstract] Income Taxes Textual [Abstract] Federal statutory income tax rate Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate Effective Income Tax Rate Reconciliation, Amount [Abstract] Income Tax Expense Benefit Continuing Operations Income Tax Reconciliation [Abstract] Statutory tax Income Tax Reconciliation Income Tax Expense Benefit At Federal Statutory Income Tax Rate Effect of nontaxable interest Income Tax Reconciliation Tax Exempt Income Bank owned life insurance, net Income Tax Reconciliation Bank Owned Life Insurance Income Tax credits Income Tax Credits And Adjustments Effect of nontaxable insurance premiums Income Tax Reconciliation Effect Of Nontaxable Insurance Premiums Stock compensation Effective Income Tax Rate Reconciliation Share Based Compensation Excess Tax Benefit Amount Impact of enactment of federal tax reform Tax Cuts And Jobs Act Of2017 Change In Tax Rate Income Tax Expense Benefit Nondeductible acquisition costs Income Tax Rate Reconciliation Nondeductible Acquisition Costs Other Income Tax Reconciliation Other Adjustments Deferred tax assets tax deferred expense deferred loan fees. Deferred tax assets nonaccrual loan interest income. Deferred tax assets other than temporary impairment. Deferred tax assets lease liabilities. Deferred tax liabilities depreciation and amortization. Deferred tax liabilities federal home loan bank stock dividends. Deferred tax liability purchase accounting adjustment. Deferred tax liabilities lease right of use asset. Deferred tax assets: Components Of Deferred Tax Assets [Abstract] Allowance for credit losses Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Provision For Loan Losses Net unrealized loss on securities available for sale Deferred Tax Assets Other Comprehensive Loss Deferred and accrued compensation Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Employee Compensation Deferred loan fees and costs Deferred Tax Assets Tax Deferred Expense Deferred Loan Fees Nonaccrual loan interest income Deferred Tax Assets Nonaccrual Loan Interest Income Other-than-temporary impairment Deferred Tax Assets Other Than Temporary Impairment Restricted stock Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Lease liabilities Deferred Tax Assets Lease Liabilities Other Deferred Tax Assets Other Gross deferred tax assets Deferred Tax Assets Gross Deferred tax liabilities: Components Of Deferred Tax Liabilities [Abstract] Depreciation and amortization Deferred Tax Liabilities Depreciation And Amortization Net unrealized gain on securities available for sale Deferred Tax Liabilities Other Comprehensive Income Federal Home Loan Bank dividends Deferred Tax Liabilities Federal Home Loan Bank Stock Dividends Purchase accounting adjustments Deferred Tax Liability Purchase Accounting Adjustment Mortgage servicing rights Deferred Tax Liabilities Mortgage Servicing Rights Prepaid expenses Deferred Tax Liabilities Prepaid Expenses Lease right of use asset Deferred Tax Liabilities Lease Right Of Use Asset Other Deferred Tax Liabilities Other Gross deferred tax liabilities Deferred Income Tax Liabilities NET DEFERRED TAX ASSET Deferred Tax Assets Liabilities Net Valuation allowance for deferred tax assets Deferred Tax Assets Valuation Allowance Unrecognized tax benefits Unrecognized Tax Benefits Open tax year Open Tax Year Unrealized holding gains (losses) on available-for-sale securities during the year, pre-tax Reclassification adjustment for gains included in net income, pre-tax Change in funded status of post-retirement health plan, pre-tax Net other comprehensive income (loss), pre-tax Other Comprehensive Income Loss Before Tax Portion Attributable To Parent Unrealized holding gains (losses) on available-for-sale securities during the year, tax Other Comprehensive Income Unrealized Holding Gain Loss On Securities Arising During Period Tax Reclassification adjustment for gains included in net income, tax Net unrealized gains (losses) on available-for-sale securities, tax Change in funded status of post-retirement health plan, tax Net other comprehensive income (loss), tax Other Comprehensive Income Loss Tax Portion Attributable To Parent1 Unrealized holding gains (losses) on available-for-sale securities during the year, after tax Other Comprehensive Income Unrealized Holding Gain Loss On Securities Arising During Period Net Of Tax Reclassification adjustment for gains included in net income, after-tax Other Comprehensive Income Loss Reclassification Adjustment From A O C I For Sale Of Securities Net Of Tax Change in funded status of post-retirement health plan, after-tax Loans and leases receivable related parties repayments. Schedule Of Related Party Transactions By Related Party [Table] Schedule Of Related Party Transactions By Related Party [Table] Related Party Related Party Transactions By Related Party [Axis] Related Party Related Party [Domain] Affiliated Entity Affiliated Entity [Member] Related Party Transaction [Line Items] Related Party Transaction [Line Items] Loans to principal officers, directors, and their affiliates Loans And Leases Receivable Related Parties Roll Forward Beginning balance Loans And Leases Receivable Related Parties New loans Loans And Leases Receivable Related Parties Additions Effect of changes in composition of related parties Loans And Leases Receivable Related Parties Period Increase Decrease Repayments Loans And Leases Receivable Related Parties Repayments Ending balance Related Party Transactions (Textual) [Abstract] Related Party Transactions (Textual) [Abstract] Related Party Transactions Textual [Abstract] Deposits from principal officers, directors, and their affiliates Due To Related Parties Current And Noncurrent Basic EPS Earnings Per Share Basic [Abstract] Weighted average shares outstanding Weighted Average Number Of Shares Outstanding Basic Basic earnings per share Diluted EPS Earnings Per Share Diluted [Abstract] Average unvested restricted stock awards Weighted Average Number Of Shares Restricted Stock Weighted average shares for diluted earnings per share Weighted Average Number Of Diluted Shares Outstanding Diluted earnings per share Schedule Of Earnings Per Share Basic By Common Class [Table] Schedule Of Earnings Per Share Basic By Common Class [Table] Earnings Per Share Basic [Line Items] Earnings Per Share Basic [Line Items] Anti-dilutive securities excluded from computation of earnings per share Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount Weighted average pay rate on interest rate swaps. Weighted average interest rate received interest rate swaps. Interest Rate Derivatives [Abstract] Derivative [Table] Derivative [Table] Derivative [Line Items] Derivative [Line Items] Notional amounts Derivative Notional Amount Weighted average pay rate on interest-rate swaps Weighted Average Pay Rate On Interest Rate Swaps Weighted average receive rate on interest-rate swaps Weighted Average Interest Rate Received Interest Rate Swaps Weighted average maturity (years) Derivative Average Remaining Maturity1 Fair value of interest-rate swaps Interest Rate Derivatives At Fair Value Net Fair value of loan yield maintenance provisions Net Gain or Loss recognized in earnings Derivative Gain Loss On Derivative Net Schedule Of Segment Reporting Information By Segment [Table] Schedule Of Segment Reporting Information By Segment [Table] Represents the aggregate total of reconciling items and elimination items. Eliminations And Others Eliminations And Reconciling Items [Member] Segment Reporting Information [Line Items] Segment Reporting Information [Line Items] Goodwill and other intangibles Intangible Assets Net Including Goodwill Net interest income Service fees, security gains and other noninterest income Service Fees Security Gains And Other Noninterest Income Noninterest expense Noninterest Expense Excluding Amortization And Depreciation Amortization and depreciation expense Depreciation And Amortization Income tax Expected insurance recovery Estimated Insurance Recoveries Quarterly Financial Data Abstract Quarterly Financial Data [Abstract] Total interest income Total interest expense Noninterest income Noninterest expense Noninterest Expense Excluding Merger Costs Income taxes Earnings per share - basic and diluted Earnings Per Share Basic And Diluted Farmers National Captive Inc. Captive Insurance Farmers National Captive Inc [Member] Farmers Trust Assets: Cash Cash Investment in subsidiaries Investments In Affiliates Subsidiaries Associates And Joint Ventures Other Liabilities: Liabilities [Abstract] Note payable Notes Payable Subordinate debt Subordinated Debt TOTAL STOCKHOLDERS' EQUITY Gain (loss) on sale of securities net including impairment of securities. Income: Income Amounts Attributable To Reporting Entity Disclosures [Abstract] Dividends from subsidiaries Interest and dividends on securities Interest And Dividend Income Securities Security gains/(losses) Gain Loss On Sale Of Securities Net Including Impairment Of Securities TOTAL INCOME Income Loss Attributable To Parent Interest on borrowings Interest Expense Borrowings Other expenses Other Nonoperating Expense Income before income tax benefit and undistributed subsidiary income Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investments Income tax benefit Equity in undistributed net income of subsidiaries (dividends in excess of net income) Income Loss From Equity Method Investments Net Of Dividends Or Distributions Cash flows from operating activities: Dividends in excess of net income (Equity in undistributed net income of subsidiary) Other Other Operating Activities Cash Flow Statement Cash flows from investing activities: Net cash paid in business combinations Payments To Acquire Businesses And Interest In Affiliates Cash flows from financing activities: NET CHANGE IN CASH AND CASH EQUIVALENTS Cash And Cash Equivalents Period Increase Decrease Beginning cash and cash equivalents Cash And Cash Equivalents At Carrying Value Ending cash and cash equivalents