Subsequent Events [Abstract] Subsequent Event [Table] Subsequent Event [Table] Dividends [Axis] Dividends [Axis] Dividends [Domain] Dividends [Domain] Dividend Declared [Member] Dividend Declared [Member] Subsequent Event [Line Items] Subsequent Event [Line Items] Declaration date, cash dividend Dividends Payable, Date Declared Cash dividend declared, per share Subsequent Event, Specific Amount Amount of identified subsequent event item. Payable date, cash dividend Dividends Payable, Date to be Paid Record date, cash dividend Dividends Payable, Date of Record Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract] Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block] Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block] Schedule of Comprehensive Income (Loss) [Table Text Block] Comprehensive Income (Loss) [Table Text Block] Reclassification out of Accumulated Other Comprehensive Income [Table Text Block] Reclassification out of Accumulated Other Comprehensive Income [Table Text Block] Consolidated Statements of Changes in Stockholders' Equity Parenthetical [Abstract] Consolidated Statements of Changes in Stockholders' Equity Parenthetical [Abstract] Statement [Table] Statement [Table] Statement, Scenario [Axis] Scenario [Axis] Scenario, Unspecified [Domain] Scenario, Unspecified [Domain] Statement [Line Items] Statement [Line Items] Cash dividends declared, per share Common Stock, Dividends, Per Share, Declared Accounting Policies [Abstract] Significant Accounting Policies [Text Block] Significant Accounting Policies [Text Block] Basis of financial statement presentation [Policy Text Block] Basis of Accounting, Policy [Policy Text Block] Earnings per common share [Policy Text Block] Earnings Per Share, Policy [Policy Text Block] Recent accounting pronouncements [Policy Text Block] New Accounting Pronouncements, Policy [Policy Text Block] Intangible assets [Policy Text Block] Goodwill and Intangible Assets, Policy [Policy Text Block] Investment securities [Policy Text Block] Investment, Policy [Policy Text Block] Loans [Policy Text Block] Finance, Loan and Lease Receivables, Held-for-investment, Policy [Policy Text Block] Allowance for loan losses [Policy Text Block] Loans and Leases Receivable, Allowance for Loan Losses Policy [Policy Text Block] Comprehensive income (loss) [Policy Text Block] Comprehensive Income, Policy [Policy Text Block] Fair value measurements [Policy Text Block] Fair Value of Financial Instruments, Policy [Policy Text Block] Accounts, Notes, Loans and Financing Receivable, Gross, Allowance, and Net [Abstract] Schedule of Financing Receivable, Allowance for Credit Losses [Table] Schedule of Financing Receivable, Allowance for Credit Losses [Table] Financing Receivable Portfolio Segment [Axis] Financing Receivable Portfolio Segment [Axis] Financing Receivable Portfolio Segment [Domain] Financing Receivable Portfolio Segment [Domain] Residential Real Estate [Member] Residential Portfolio Segment [Member] Construction Real Estate [Member] Construction Portfolio Segment [Member] Portfolio segment of the company's total financing receivables related to construction. Commercial Real Estate [Member] Commercial Real Estate Portfolio Segment [Member] Commercial [Member] Commercial Portfolio Segment [Member] Consumer [Member] Consumer Portfolio Segment [Member] Municipal [Member] Municipal Portfolio Segment [Member] Portfolio segment of the company's total financing receivables related to municipalities. Unallocated [Member] Unallocated Financing Receivables [Member] Financing Receivable, Allowance for Credit Losses [Line Items] Financing Receivable, Allowance for Credit Losses [Line Items] Individually evaluated for impairment Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment Collectively evaluated for impairment Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment Total allocated Loans and Leases Receivable, Allowance Income Statement [Abstract] Interest and dividend income Interest and Dividend Income, Operating [Abstract] Interest and fees on loans Interest and Fee Income, Loans and Leases Interest on debt securities: Interest and Dividend Income, Securities, by Taxable Status [Abstract] Taxable Interest Income, Securities, Operating, Taxable Tax exempt Interest Income, Securities, Operating, Tax Exempt Dividends Dividend Income, Operating Interest on federal funds sold and overnight deposits Interest Income, Federal Funds Sold Interest on interest bearing deposits in banks Interest Income, Deposits with Financial Institutions Total interest and dividend income Interest and Dividend Income, Operating Interest expense Interest Expense [Abstract] Interest on deposits Interest Expense, Deposits Interest on borrowed funds Interest Expense, Borrowings Total interest expense Interest Expense Net interest income Interest Income (Expense), Net Provision for loan losses Provision for Loan and Lease Losses Net interest income after provision for loan losses Interest Income (Expense), after Provision for Loan Loss Noninterest income Noninterest Income [Abstract] Trust Income Fiduciary and Trust Activities Income Income from services rendered by trust departments acting in a fiduciary capacity, including fees earned for (1) acting as an agent for fiduciary placement and loans and (2) custody or investment advisory services when such fees are not separately billed to the customer. This item excludes commissions and fees received for the accumulation or disbursement of funds deposited to Individual Retirement or Keogh plan accounts when such are not handled by the reporting entity's trust department. Service fees Service fees Total fees and commissions earned from providing services such as leasing of space or maintaining: (1) depositor accounts; (2) merchant program; (3) mortgage; (4) credit cards; (5) correspondent clearing; and (6) other such services and activities performed for others. Net gains on sales of investment securities available-for-sale Available-for-sale Securities, Gross Realized Gain (Loss) Net gains on sales of loans held for sale Gain (Loss) on Sales of Loans, Net Other income Noninterest Income, Other Operating Income Total noninterest income Noninterest Income Noninterest expenses Noninterest Expense [Abstract] Salaries and wages Salary and Wage, Excluding Cost of Good and Service Sold Employee benefits Pension and Other Postretirement Benefits Cost (Reversal of Cost) Occupancy expense, net Occupancy, Net Equipment expense Equipment Expense Other expenses Other Noninterest Expense Total noninterest expenses Noninterest Expense Income before provision for income taxes Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest Provision for income taxes Income Tax Expense (Benefit) Net income Net Income (Loss) Attributable to Parent Earnings per common share Earnings Per Share, Basic Weighted average number of common shares outstanding Weighted Average Number of Shares Outstanding, Basic Dividends per common share Goodwill and Intangible Assets Disclosure [Abstract] Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block] Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block] Schedule of Financing Receivable, Troubled Debt Restructurings [Table] Schedule of Financing Receivable, Troubled Debt Restructurings [Table] Financing Receivable, Modifications [Line Items] Financing Receivable, Modifications [Line Items] Troubled Debt Restructured Loans, Number of Loans Financing Receivable, Modifications, Number of Contracts Troubled Debt Restructured Loans, Principal Balance Financing Receivable, Modifications, Recorded Investment Earnings Per Share [Abstract] Earnings Per Share [Text Block] Earnings Per Share [Text Block] Disclosure of Compensation Related Costs, Share-based Payments [Abstract] Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Investments, Debt and Equity Securities [Abstract] Schedule of Available-for-sale Securities [Table] Schedule of Available-for-sale Securities [Table] Financial Instrument [Axis] Financial Instrument [Axis] Financial Instruments [Domain] Financial Instruments [Domain] Available-for-sale Securities Debt Securities, Available-for-sale [Line Items] Due in one year or less, Amortized Cost Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling within One Year, Amortized Cost Due from one to five years, Amortized Cost Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after One Through Five Years, Amortized Cost Due from five to ten years, Amortized Cost Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after Five Through Ten Years, Amortized Cost Due after ten years, Amortized Cost Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after 10 Years, Amortized Cost Debt securities with single maturity date, Amortized Cost Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Amortized Cost Agency mortgage-backed, Amortized Cost Debt Securities, Available-for-sale, Maturity, without Single Maturity Date, Amortized Cost Total debt securities available-for-sale, Amortized Cost Debt Securities, Available-for-sale, Amortized Cost Due in one year or less, Fair Value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling within One Year, Fair Value Due from one to five years, Fair Value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after One Through Five Years, Fair Value Due from five to ten years, Fair Value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after Five Through Ten Years, Fair Value Due after ten years, Fair Value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Rolling after 10 Years, Fair Value Debt securities with single maturity date, Fair Value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, Fair Value Agency mortgage-backed, Fair Value Debt Securities, Available-for-sale, Maturity, without Single Maturity Date, Fair Value Total debt securities available-for-sale, Fair Value Debt Securities, Available-for-sale Loans and Leases Receivable Disclosure [Abstract] Schedule of Accounts, Notes, Loans and Financing Receivable [Table] Schedule of Accounts, Notes, Loans and Financing Receivable [Table] Accounts, Notes, Loans and Financing Receivable [Line Items] Accounts, Notes, Loans and Financing Receivable [Line Items] Loans Loans and Leases Receivable, Gross Allowance for loan losses Net deferred loan costs Debt Issuance Costs, Net Net loans Loans and Leases Receivable, Net Amount Fair Value Disclosures [Abstract] Fair Value, Assets Measured on Recurring Basis [Table Text Block] Fair Value, Assets Measured on Recurring Basis [Table Text Block] Fair Values and Carrying Amounts, Significant Financial Instruments [Table Text Block] Fair Value, by Balance Sheet Grouping [Table Text Block] Financing Receivables [Text Block] Financing Receivables [Text Block] Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Comprehensive Income (Loss) Note [Text Block] Comprehensive Income (Loss) Note [Text Block] Goodwill and Intangible Assets [Table] Goodwill and Intangible Assets [Table] Amounts related to goodwill and intangible assets disclosures [Table] Business Segments [Axis] Segments [Axis] Segment [Domain] Segments [Domain] Finite-Lived Intangible Assets [Line Items] Finite-Lived Intangible Assets [Line Items] Goodwill at acquisition Goodwill, Gross Core deposit intangible at acquisition Finite-Lived Intangible Assets, Gross Net core deposit intangible Finite-Lived Intangible Assets, Net Amortization of core deposit intangible Amortization of Intangible Assets Share-based Compensation Arrangements by Share-based Payment Award, Restricted Stock Units, Vested and Expected to Vest [Table Text Block] Share-based Compensation Arrangements by Share-based Payment Award, Restricted Stock Units, Vested and Expected to Vest [Table Text Block] Schedule of Financing Receivables Past Due [Table] Schedule of Financing Receivables Past Due [Table] Financing Receivables, Period Past Due [Axis] Financing Receivables, Period Past Due [Axis] Financing Receivables, Period Past Due [Domain] Financing Receivables, Period Past Due [Domain] 30 - 59 Days [Member] Financing Receivables, 30 to 59 Days Past Due [Member] 60 - 89 Days [Member] Financing Receivables, 60 to 89 Days Past Due [Member] 90 Days and Over and Accruing [Member] Financing Receivables, Equal to Greater than 90 Days Past Due [Member] Financing Receivable, Recorded Investment, Past Due [Line Items] Financing Receivable, Recorded Investment, Past Due [Line Items] Loans, Current Financing Receivable, Recorded Investment, Current Loans, Past Due Financing Receivable, Recorded Investment, Past Due Loans, Nonaccrual Financing Receivable, Recorded Investment, Nonaccrual Status Equity Components [Axis] Equity Components [Axis] Equity Component [Domain] Equity Component [Domain] Reclassification adjustment for net gains on investment securities available-for-sale realized in net income, Before Tax Amount Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax Reclassification adjustment for net gains on investment securities available-for-sale realized in net income, Tax Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax Total reclassifications Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax Net unrealized gain (loss) on investment securities available-for-sale Accumulated Other Comprehensive Income (Loss), Debt Securities, Available-for-sale, Adjustment, after Tax Document and Entity Information [Abstract] Document and Entity Information [Abstract] Entities [Table] Entities [Table] Legal Entity [Axis] Legal Entity [Axis] Entity [Domain] Entity [Domain] Entity Information [Line Items] Entity Information [Line Items] Entity Registrant Name Entity Registrant Name Entity Central Index Key Entity Central Index Key Current Fiscal Year End Date Current Fiscal Year End Date Entity Filer Category Entity Filer Category Document Type Document Type Document Period End Date Document Period End Date Document Fiscal Year Focus Document Fiscal Year Focus Document Fiscal Period Focus Document Fiscal Period Focus Amendment Flag Amendment Flag Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Entity Small Business Entity Small Business Entity Emerging Growth Company Entity Emerging Growth Company Entity Shell Company Entity Shell Company Entity Current Reporting Status Entity Current Reporting Status Consolidated Balance Sheets Parenthetical [Abstract] Consolidated Balance Sheets Parenthetical [Abstract] Class of Stock [Axis] Class of Stock [Axis] Class of Stock [Domain] Class of Stock [Domain] Stockholders' Equity Stockholders' Equity Attributable to Parent [Abstract] Common stock, par value Common Stock, Par or Stated Value Per Share Common stock, shares authorized Common Stock, Shares Authorized Common stock, shares issued Common Stock, Shares, Issued Treasury stock, shares Treasury Stock, Shares New TDRs, Number of Loans Financing Receivable, New Modifications, Number of Contracts Number of financing receivables that have been modified by troubled debt restructurings during the reporting period. New TDRs, Pre-Modification Outstanding Recorded Investment Financing Receivable, Modifications, Pre-Modification Recorded Investment New TDRs, Post-Modification Outstanding Recorded Investment Financing Receivable, Modifications, Post-Modification Recorded Investment Schedule of Financing Receivable, Recorded Investment, Credit Quality Indicator [Table] Schedule of Financing Receivable, Recorded Investment, Credit Quality Indicator [Table] Internal Credit Assessment [Axis] Internal Credit Assessment [Axis] Internal Credit Assessment [Domain] Internal Credit Assessment [Domain] Pass [Member] Pass [Member] Satisfactory/Monitor [Member] Satisfactory and Monitor [Member] A category of financing receivables considered to have potential credit weaknesses that are currently marginally acceptable with no loss of principal or interest envisioned. [Member] Substandard [Member] Substandard [Member] Financing Receivable, Recorded Investment [Line Items] Financing Receivable, Recorded Investment [Line Items] US Government-sponsored enterprises [Member] US Government-sponsored Enterprises Debt Securities [Member] Agency mortgage-backed [Member] US Government Agencies Debt Securities [Member] State and political subdivisions [Member] US States and Political Subdivisions Debt Securities [Member] Corporate [Member] Corporate Debt Securities [Member] Amortized Cost Gross Unrealized Gains Available-for-sale Securities, Accumulated Gross Unrealized Gain, before Tax Gross Unrealized Losses Available-for-sale Securities, Accumulated Gross Unrealized Loss, before Tax Fair Value Leases [Abstract] Lessee, Lease, Description [Table] Lessee, Lease, Description [Table] Lease Type [Axis] Lease Type [Axis] Information by type of lease arrangements. Lease Type [Domain] Lease Type [Domain] [Domain] for Information by type of lease arrangements. Lessee, Lease, Description [Line Items] Lessee, Lease, Description [Line Items] Weighted average remaining life of operating lease term Operating Lease, Weighted Average Remaining Lease Term Weighted average remaining life of finance lease term Finance Lease, Weighted Average Remaining Lease Term Weighted average discount rate, operating leases Operating Lease, Weighted Average Discount Rate, Percent Weighted average discount rate, finance leases Finance Lease, Weighted Average Discount Rate, Percent Operating lease right-of-use assets Operating Lease, Right-of-Use Asset Operating lease liabilities Operating Lease, Liability Finance lease right-of-use assets Finance Lease, Right-of-Use Asset Finance lease liabilities Finance Lease, Liability Proceeds Proceeds from Sale of Debt Securities, Available-for-sale Gross gains Available-for-sale Securities, Gross Realized Gains Gross losses Available-for-sale Securities, Gross Realized Losses Net gains on sales of investment securities AFS 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 [Axis] Plan Name [Axis] Plan Name [Domain] Plan Name [Domain] 2014 Equity Plan [Member] 2014 Equity Plan [Member] 2014 Equity Incentive Plan [Member] Award Date [Axis] Award Date [Axis] Award Date [Domain] Award Date [Domain] 2016 Award [Member] 2016 Award [Member] 2016 grant of equity-based compensation. [Member] 2017 Award [Member] 2017 Award [Member] 2017 grant of equity-based compensation. [Member] 2018 Award [Member] 2018 Award [Member] 2018 grant of equity-based compensation. [Member] Award Type [Axis] Award Type [Axis] Equity Award [Domain] Equity Award [Domain] Restricted Stock Units (RSUs) [Member] Restricted Stock Units (RSUs) [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Number of RSUs Granted Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Granted 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 Number of Unvested RSUs Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number Consolidated Statements of Cash Flows [Abstract] Consolidated Statements of Cash Flows [Abstract] Cash Flows From Operating Activities Net Cash Provided by (Used in) Operating Activities [Abstract] Net Income Adjustments to reconcile net income to net cash provided by operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Depreciation Depreciation, Amortization and Accretion, Net Deferred income tax credit Deferred Income Tax Expense (Benefit) Net amortization of investment securities Accretion (Amortization) of Discounts and Premiums, Investments Equity in losses of limited partnerships Amortization Method Qualified Affordable Housing Project Investments, Amortization Stock based compensation expense Share-based Compensation Net increase in unamortized loan costs Amortization of Debt Issuance Costs and Discounts Proceeds from sales of loans held for sale Proceeds from Sale of Loans Held-for-sale Origination of loans held for sale Payments for Origination and Purchases of Loans Held-for-sale Net gains on sales of loans held for sale Net gain on disposals of premises and equipment Gain (Loss) on Disposition of Property Plant Equipment Net gain on sales of investment securities available-for-sale Net gain on sales of other real estate owned Gains (Losses) on Sales of Other Real Estate Decrease (increase) in accrued interest receivable Increase (Decrease) in Accrued Interest Receivable, Net Increase in other assets Increase (Decrease) in Other Operating Assets Contribution to defined benefit pension plan Payment for Pension Benefits Increase in other liabilities Increase (Decrease) in Other Operating Liabilities Net cash provided by operating activities Net Cash Provided by (Used in) Operating Activities Cash Flows From Investing Activities Net Cash Provided by (Used in) Investing Activities [Abstract] Interest bearing deposits in banks Net change in Interest bearing deposits in banks [Abstract] The net cash inflow or outflow in Interest-bearing Deposits by banks in other financial institutions including, for example, certificates of deposits. Proceeds from maturities and redemptions Proceeds from Interest bearing deposits in banks The cash inflow from the maturity and/or redemption of Interest-bearing Deposits by banks in other financial institutions including, for example, certificates of deposits. Purchases Payments for Interest bearing deposits in banks The cash outflow for purchases of Interest-bearing Deposits by banks in other financial institutions, for example, certificates of deposits. Investment securities held-to-maturity Investment securities held-to-maturity [Abstract] Payments for (proceeds from) investment securities held-to-maturity [Abstract] Proceeds from maturities, calls and paydowns Proceeds from Maturities, Prepayments and Calls of Held-to-maturity Securities Investment securities available-for-sale Investment securities available-for-sale [Abstract] Payments for (proceeds from) investment securities available-for-sale [Abstract] Proceeds from sales Proceeds from Sale of Available-for-sale Securities Proceeds from maturities, calls and paydowns Proceeds from Maturities, Prepayments and Calls of Debt Securities, Available-for-sale Purchases Payments to Acquire Available-for-sale Securities Other Investments Other Investment Securities [Abstract] Payments for (proceeds from) other investments. Proceeds from sales Proceeds from Sale and Maturity of Other Investments Purchases Payments to Acquire Other Investments Net increase in nonmarketable stock Payments for (Proceeds from) Federal Home Loan Bank Stock Net increase in loans Payments for (Proceeds from) Loans and Leases Recoveries of loans charged off Proceeds from Recoveries of Loans Previously Charged off Purchases of premises and equipment Payments to Acquire Property, Plant, and Equipment Purchase of Company-owned life insurance Payment to Acquire Life Insurance Policy, Investing Activities Proceeds from Company-owned life insurance death benefit Proceeds from Life Insurance Policy Investments in limited partnerships Payments to Acquire Limited Partnership Interests Proceeds from sales of premises and equipment Proceeds from Sale of Property, Plant, and Equipment Proceeds from sales of other real estate owned Proceeds from Sale of Wholly Owned Real Estate and Real Estate Acquired in Settlement of Loans Net cash used in investing activities Net Cash Provided by (Used in) Investing Activities Cash Flows From Financing Activities Net Cash Provided by (Used in) Financing Activities [Abstract] Advances on long-term borrowings Proceeds from Issuance of Long-term Debt Repayment of long-term debt Repayments of Long-term Debt Net (decrease) increase in short-term borrowings outstanding Proceeds from (Repayments of) Short-term Debt Net increase (decrease) in noninterest bearing deposits Net Change Noninterest-bearing Deposits Net Change in Noninterest-bearing Deposits, domestic and foreign Net decrease in interest bearing deposits Net Change Interest-bearing Non-time Deposits Net Change in Interest-bearing Non-time Deposits, domestic and foreign Net increase in time deposits Increase (Decrease) in Time Deposits Issuance of common stock Proceeds from Issuance of Common Stock Purchase of treasury stock Payments for Repurchase of Common Stock Dividends paid Payments of Ordinary Dividends, Common Stock Net cash provided by financing activities Net Cash Provided by (Used in) Financing Activities Net decrease in cash and cash equivalents Cash and Cash Equivalents, Period Increase (Decrease) Cash and cash equivalents Cash and Cash Equivalents, at Carrying Value [Abstract] Beginning of period Cash, Cash Equivalents, and Federal Funds Sold End of period Supplemental Disclosures of Cash Flow Information Supplemental Cash Flow Information [Abstract] Interest Paid Interest Paid, Excluding Capitalized Interest, Operating Activities Income taxes paid Income Taxes Paid, Net Supplemental Schedule of Noncash Investing Activities Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract] Investment in limited partnerships acquired by capital contributions payable Increase in capital contributions payable for limited partnership investments The net change in capital contributions payable for investment in limited partnerships. Right-of-use operating lease assets obtained in exchange for operating lease liabilities Right-of-Use Asset Obtained in Exchange for Operating Lease Liability Right-of-use finance lease assets obtained in exchange for finance lease liabilities Right-of-Use Asset Obtained in Exchange for Finance Lease Liability Dividends paid on Common Stock: Dividends, Common Stock [Abstract] Dividends declared Dividends Dividends reinvested Stock Issued During Period, Value, Dividend Reinvestment Plan Dividends paid on Common Stock Dividends, Cash Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] Measurement Basis [Axis] Measurement Basis [Axis] Fair Value Measurement [Domain] Fair Value Measurement [Domain] Portion at Fair Value Measurement [Member] Portion at Fair Value Measurement [Member] Fair Value Hierarchy and NAV [Axis] Fair Value Hierarchy and NAV [Axis] Fair Value, Measurements, Fair Value Hierarchy [Domain] Fair Value Hierarchy and NAV [Domain] Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] Fair Value, Inputs, Level 1 [Member] Significant Other Observable Inputs (Level 2) [Member] Fair Value, Inputs, Level 2 [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] Investment securities available-for-sale Available-for-sale Securities Other investments, mutual funds Equity Securities, FV-NI Other Comprehensive Income (Loss), Net of Tax [Abstract] Other Comprehensive Income, before Tax [Abstract] Other Comprehensive Income (Loss), before Tax [Abstract] Net unrealized holding gains (losses) arising during the period on investment securities available-for-sale, Before Tax Amount Other Comprehensive Income (Loss), Securities, Available-for-Sale, Unrealized Holding Gain (Loss) Arising During Period, before Tax Total other comprehensive income (loss), Before Tax Amount Other Comprehensive Income (Loss), before Tax Other Comprehensive Income, Tax [Abstract] Other Comprehensive Income (Loss), Tax [Abstract] Net unrealized holding gains (losses) arising during the period on investment securities available-for-sale, Tax Other Comprehensive Income (Loss), Securities, Available-for-Sale, Unrealized Holding Gain (Loss) Arising During Period, Tax Total other comprehensive income (loss), Tax Other Comprehensive Income (Loss), Tax Net unrealized holding gains (losses) arising during the period on investment securities available-for-sale Other Comprehensive Income (Loss), Securities, Available-for-Sale, Unrealized Holding Gain (Loss) Arising During Period, after Tax Reclassification adjustment for net gains on sales of investment securities available-for-sale realized in net income Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax Total other comprehensive income (loss), Net of Tax Amount Other Comprehensive Income (Loss), Net of Tax Schedule of Finite-Lived Intangible Assets [Table] Schedule of Finite-Lived Intangible Assets [Table] Finite-Lived Intangible Assets by Major Class [Axis] Finite-Lived Intangible Assets by Major Class [Axis] Finite-Lived Intangible Assets, Major Class Name [Domain] Finite-Lived Intangible Assets, Major Class Name [Domain] 2019 Finite-Lived Intangible Assets, Amortization Expense, Remainder of Fiscal Year 2020 Finite-Lived Intangible Assets, Amortization Expense, Year Two 2021 Finite-Lived Intangible Assets, Amortization Expense, Year Three Total Fair Value Disclosures [Text Block] Fair Value Disclosures [Text Block] New Accounting Pronouncements and Changes in Accounting Principles [Abstract] New Accounting Pronouncements and Changes in Accounting Principles [Text Block] New Accounting Pronouncements and Changes in Accounting Principles [Text Block] Consolidated Statements of Comprehensive Income [Abstract] Consolidated Statements of Comprehensive Income [Abstract] Other comprehensive income (loss), net of tax: Investment securities available-for-sale: Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax, Portion Attributable to Parent [Abstract] Net unrealized holding gains (losses) arising during the period on investment securities available-for-sale Reclassification adjustment for net gains on sales of investment securities available-for-sale realized in net income Total other comprehensive income (loss) Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent Total comprehensive income Comprehensive Income (Loss), Net of Tax, Attributable to Parent Investment Securities Investment securities HTM Debt Securities, Held-to-maturity Investment securities pledged as collateral Pledged Financial Instruments, Not Separately Reported, Securities Other than temporary declines in investment securities Other than Temporary Impairment Losses, Investments, Available-for-sale Securities 2008 ISO Plan [Member] 2008 ISO Plan [Member] 2008 Incentive Stock Option Plan of the Company [Member] Shares authorized for equity awards Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized Unrecognized compensation expense, unvested RSUs Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Share-based Awards Other than Options Contingent RSUs provisionally granted Stock Provisionally Granted During Period, Shares, Restricted Stock Award Number of non-option equity instruments provisionally granted to participants. Grant date fair value Unrecognized compensation expense, contingent unvested RSUs Employee Service Share Based Compensation, Nonvested Provisional Awards, Total Compensation Cost Not Yet Recognized Share Based Awards Other Than Options Unrecognized cost of unvested provisionally granted share-based awards, other than options, awarded to employees as compensation. RSUs granted to non-employee directors Share Based Compensation, Nonemployee Director, Restricted Stock Award Granted During Period, Shares The number of non-option equity instruments granted to nonemployee directors. Unrecognized director compensation expense, unvested RSUs Share Based Compensation, Nonemployee Director, Nonvested Awards Total Compensation Cost Not Yet Recognized Share Based Awards Other Than Options Unrecognized cost of unvested share-based awards, other than options, awarded to nonemployee directors as compensation. Stock options outstanding Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number Stock options exercisable Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number Unrecognized compensation expense, stock options Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options Intrinsic value of stock options Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value 2019, Operating Leases Lessee, Operating Lease, Liability, Payments, Remainder of Fiscal Year 2020, Operating Leases Lessee, Operating Lease, Liability, Payments, Due Year Two 2021, Operating Leases Lessee, Operating Lease, Liability, Payments, Due Year Three 2022, Operating Leases Lessee, Operating Lease, Liability, Payments, Due Year Four 2023, Operating Leases Lessee, Operating Lease, Liability, Payments, Due Year Five Thereafter, Operating Leases Lessee, Operating Lease, Liability, Payments, Due after Year Five Undiscounted cash flows, Operating Leases Lessee, Operating Lease, Liability, Payments, Due 2019, Finance Leases Finance Lease, Liability, Payments, Remainder of Fiscal Year 2020, Finance Leases Finance Lease, Liability, Payments, Due Year Two 2021, Finance Leases Finance Lease, Liability, Payments, Due Year Three 2022, Finance Leases Finance Lease, Liability, Payments, Due Year Four 2023, Finance Leases Finance Lease, Liability, Payments, Due Year Five Thereafter, Finance Leases Finance Lease, Liability, Payments, Due after Year Five Undiscounted cash flows, Finance Leases Finance Lease, Liability, Payments, Due Allowance for Credit Losses on Financing Receivables [Table Text Block] Allowance for Credit Losses on Financing Receivables [Table Text Block] Allocation of Allowance for Loan Losses by Impairment Methodology [Table Text Block] Allocation of Allowance for Loan Losses by Impairment Methodology [Table Text Block] Tabular disclosure of the allowance for loan losses based on impairment methodology by class of loan. [Table Text Block] Allocation of Investment in Loans by Impairment Methodology [Table Text Block] Allocation of Investment in Loans by Impairment Methodology [Table Text Block] Tabular disclosure of the total investment in loans based on impairment methodology by class of loan. [Table Text Block] Financing Receivable Credit Quality Indicators [Table Text Block] Financing Receivable Credit Quality Indicators [Table Text Block] Impaired Financing Receivables [Table Text Block] Impaired Financing Receivables [Table Text Block] Troubled Debt Restructurings on Financing Receivables [Table Text Block] Troubled Debt Restructurings on Financing Receivables [Table Text Block] New Troubled Debt Restructurings on Financing Receivables [Table Text Block] New Troubled Debt Restructurings on Financing Receivables [Table Text Block] Tabular disclosure of financing receivables and new troubled debt restructurings during the period. Available-for-sale Securities [Table Text Block] Available-for-sale Securities [Table Text Block] Investments Classified by Contractual Maturity Date [Table Text Block] Investments Classified by Contractual Maturity Date [Table Text Block] Schedule of Unrealized Loss on Investments [Table Text Block] Schedule of Unrealized Loss on Investments [Table Text Block] Schedule of Realized Gain (Loss) [Table Text Block] Schedule of Realized Gain (Loss) [Table Text Block] Commitments and Contingencies Disclosure [Abstract] Legal Matters and Contingencies Disclosure [Text Block] Legal Matters and Contingencies [Text Block] Number of TDR loans modified within the previous twelve months that had subsequently defaulted Financing Receivable, Modifications, Subsequent Default, Number of Contracts Recorded investment of TDR loans modified within the previous twelve months that had subsequently defaulted Financing Receivable, Modifications, Subsequent Default, Recorded Investment Carrying Amount [Member] Reported Value Measurement [Member] Estimated Fair Value [Member] Estimate of Fair Value Measurement [Member] Significant Unobservable Inputs (Level 3) [Member] Fair Value, Inputs, Level 3 [Member] Cash and cash equivalents Interest bearing deposits in banks Investment in interest bearing deposits in banks Investment in interest bearing deposits in banks (such as certificates of deposit) with varying maturity dates. Investment securities Marketable Securities Loans held for sale Loans Receivable Held-for-sale, Net, Not Part of Disposal Group Loans, net Loans, net, Fair Value Loans Receivable, Fair Value Disclosure Accrued interest receivable Interest Receivable Nonmarketable equity securities Nonmarketable equity securities Securities that do not have a readily determinable fair value because its ownership is restricted and it lacks a market (liquidity). Example is Federal Home Loan Bank (FHLB) stock that represents an equity interest in a FHLB. Deposits Deposits [Abstract] Noninterest bearing Noninterest-bearing Deposit Liabilities Interest bearing Interest-bearing Non-time Deposits Interest-bearing Non-time Deposits Time Time Deposits Borrowed funds [Abstract] Debt and Capital Lease Obligations [Abstract] Short-term Short-term Debt Short-term, Fair Value Short-term Debt, Fair Value Long-term Long-term Debt Long-term, Fair Value Long-term Debt, Fair Value Accrued interest payable Interest Payable Lease Cost [Table Text Block] Lease, Cost [Table Text Block] Lease Liability and Maturity [Table Text Block] Lease, Liability, Maturity [Table Text Block] Tabular disclosure of undiscounted cash flows of operating and finance lease liabilities. Lease Liability Reconciliation [Table Text Block] Lease Liability Reconciliation [Table Text Block] Reconciliation of undiscounted cash flows to operating and finance lease liabilities recognized in statement of financial position. Subsequent Events [Text Block] Subsequent Events [Text Block] Individually evaluated for impairment Financing Receivable, Individually Evaluated for Impairment Collectively evaluated for impairment Financing Receivable, Collectively Evaluated for Impairment Total Composition of Net Loans [Table Text Block] Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block] Past Due Financing Receivables [Table Text Block] Past Due Financing Receivables [Table Text Block] Allowance for Credit Losses [Text Block] Allowance for Credit Losses [Text Block] Leases of Lessee Disclosure [Text Block] Leases of Lessee Disclosure [Text Block] Schedule of Impaired Financing Receivable [Table] Schedule of Impaired Financing Receivable [Table] Financing Receivable, Impaired [Line Items] Financing Receivable, Impaired [Line Items] With an alowance recorded, Recorded Investment Impaired Financing Receivable, with Related Allowance, Recorded Investment With an allowance recorded, Principal Balance Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance Related Allowance Impaired Financing Receivable, Related Allowance With no allowance recorded, Recorded Investment Impaired Financing Receivable, with No Related Allowance, Recorded Investment With no allowance recorded, Principal Balance Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance Total, Recorded Investment Impaired Financing Receivable, Recorded Investment Total, Principal Balance Impaired Financing Receivable, Unpaid Principal Balance Total, Average Recorded Investment Impaired Financing Receivable, Average Recorded Investment Total, Interest Income Recognized Impaired Financing Receivable, Interest Income, Accrual Method Government Guarantees on Impaired Loans Government Guarantees on Impaired Loans Amount of government guarantees related to impaired loans. Statement of Financial Position [Abstract] Assets Assets [Abstract] Cash and due from banks Cash and Due from Banks Federal funds sold and overnight deposits Federal Funds Sold Cash and cash equivalents Other investments Total investments Allowance for loan losses Net loans Premises and equipment, net Property, Plant and Equipment, Net Company-owned life insurance Bank Owned Life Insurance Other assets Other Assets Total assets Assets Liabilities and Stockholders’ Equity Liabilities and Equity [Abstract] Liabilities Liabilities [Abstract] Total deposits Deposits Borrowed funds Debt and Capital Lease Obligations Accrued interest and other liabilities Other Liabilities Total liabilities Liabilities Commitments and Contingencies Commitments and Contingencies Stockholders’ Equity Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest [Abstract] Common stock, $2.00 par value; 7,500,000 shares authorized; 4,945,690 shares issued at September 30, 2019 and 4,943,690 shares issued at December 31, 2018 Common Stock, Value, Issued Additional paid-in capital Additional Paid in Capital Retained earnings Retained Earnings (Accumulated Deficit) Treasury stock at cost; 476,647 shares at September 30, 2019 and 477,011 shares at December 31, 2018 Treasury Stock, Value Accumulated other comprehensive income (loss) Accumulated Other Comprehensive Income (Loss), Net of Tax Total stockholders' equity Stockholders' Equity Attributable to Parent Total liabilities and stockholders' equity Liabilities and Equity Balance, Beginning of Period Provision (credit) for loan losses Recoveries of amounts charged off Allowance for Loan and Lease Loss, Recovery of Bad Debts Balance, before amounts charged off Loans and Leases Receivable, Allowance before Write-Offs Amount of allowance to cover probable credit losses on loans and leases before considering amounts of loans and leases that have been written off during the period from both loan receivables and allowance reserve for credit loss. Amounts charged off Allowance for Loan and Lease Losses, Write-offs Balance, End of Period Loans Pledged as Collateral Loans Pledged as Collateral Number of residential real estate loans in process of foreclosure Mortgage Loans in Process of Foreclosure, Number Number of consumer mortgage loans secured by residential real estate properties for which formal foreclosure proceedings are in process. Recorded investment in residential real estate loans in process of foreclosure Mortgage Loans in Process of Foreclosure, Amount Number of commercial real estate loans in process of foreclosure Commercial Real Estate Loans in Process of Foreclosure, Number Number of commercial loans secured by commercial real estate properties for which formal foreclosure proceedings are in process. Recorded investment in commercial real estate loans in process of foreclosure Commercial Real Estate Loans in Process of Foreclosure, Amount Recorded investment of commercial mortgage loan receivables secured by commercial real estate properties for which formal foreclosure proceedings are in process. Aggregate interest on nonaccrual loans not recognized Loans and Leases Receivable, Impaired, Interest Lost on Nonaccrual Loans Goodwill and Intangible Assets Disclosure [Text Block] Goodwill and Intangible Assets Disclosure [Text Block] Consolidated Statements of Changes in Stockholders' Equity [Abstract] Consolidated Statements of Changes in Stockholders' Equity [Abstract] Common Stock Common Stock [Member] Additional paid-in capital Additional Paid-in Capital [Member] Retained earnings Retained Earnings [Member] Treasury stock Treasury Stock [Member] Accumulated other comprehensive income (loss) AOCI Attributable to Parent [Member] Balances Common Stock, Shares, net of treasury Common Stock, Shares, Outstanding Net income Other comprehensive income (loss) Dividend reinvestment plan Dividend reinvestment plan, shares Stock Issued During Period, Shares, Dividend Reinvestment Plan Cash dividends declared ($0.31 and $0.30 per share for the three months ended September 30, 2019 and 2018, respectively, and $0.93 and $0.90 per share for the nine months ended September 30, 2019 and 2018, respectively) Dividends, Common Stock, Cash Stock based compensation expense Stock Granted, Value, Share-based Compensation, Net of Forfeitures Exercise of stock options Stock Issued During Period, Value, Share-based Compensation, Gross Exercise of stock options, shares Stock Issued During Period, Shares, Share-based Compensation, Gross Purchase of treasury stock Treasury Stock, Value, Acquired, Cost Method Purchase of treasury stock, shares Treasury Stock, Shares, Acquired Balances Common Stock, Shares, net of treasury Operating lease cost Operating Lease, Expense Amortization of right-of-use assets Finance Lease, Right-of-Use Asset, Amortization Interest on lease liabilities Finance Lease, Interest Expense Finance lease cost Finance Lease, Expense Amount of total expense on finance lease liability. Less than 12 Months, Number of Securities Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Less than One Year Less than 12 Months, Fair Value Available-for-sale Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value Less than 12 Months, Gross Unrealized Losses Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss 12 Months and over, Number of Securities Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Greater than or Equal to One Year 12 Months and over, Fair Value Available-for-sale Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value 12 Months and over, Gross Unrealized Losses Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss Total, Number of Securities Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions Total, Fair Value Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value Total, Gross Unrealized Losses Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss Discount effect of cash flows, Operating Leases Lessee, Operating Lease, Liability, Undiscounted Excess Amount Lease liabilities, Operating Leases Discounted effect of cash flows, Finance Leases Finance Lease, Liability, Undiscounted Excess Amount Lease liabilities, Finance Leases