Amendment Flag Current Fiscal Year End Date Document Period End Date Entity [Domain] Entity Well-known Seasoned Issuer Entity Voluntary Filers Entity Current Reporting Status Entity Filer Category Entity Public Float Entity Registrant Name Entity Central Index Key Entity Common Stock, Shares Outstanding Document Fiscal Year Focus Document Fiscal Period Focus Legal Entity [Axis] Document Type Notional/contract amount Derivative, Notional Amount Changes In Accumulated Other Comprehensive Income [Roll Forward] Award Type [Axis] Year in which investments are expected to be paid Affordable Housing Tax Credits Commitment, Year to be Paid Capital call for investments in affordable housing projects Investment in Affordable Housing Projects [Abstract] Affordable Housing Program [Roll Forward] Investment in Affordable Housing Projects Tax credits and other benefits recognized Affordable Housing Tax Credits and Other Tax Benefits, Amount Number of securities in a loss position Pooled Trust Preferred Securities [Abstract] Available-for-sale Securities, Other Disclosure Items [Abstract] Nature of Banking Activities and Significant Accounting Policies [Abstract] Loans and Allowance for Loan Losses [Abstract] Amortization of security premiums, net Accretion (Amortization) of Discounts and Premiums, Investments Accrued interest payable Accrued Liabilities, Fair Value Disclosure Accumulated Other Comprehensive Income Loss [Table] Amount recognized Accumulated other comprehensive income (loss) Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, after Tax Gains and Losses on Cash Flow Hedges [Member] Accumulated Other Comprehensive Income Loss [Line Items] Accumulated other comprehensive (loss), net Accumulated other comprehensive income (loss) Accumulated Other Comprehensive Income (Loss), Net of Tax Accumulated Other Comprehensive Income [Abstract] Unrealized Gains and Losses on Available-for-Sale Securities [Member] Accumulated depreciation and amortization Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment Supplemental Executive Retirement Plans [Member] Accumulated Other Comprehensive Income (Loss) [Member] Adjustments to reconcile net income (loss) to net cash provided by operating activities: Adjustments to reconcile net income (loss) to net cash provided by operating activities [Abstract] Adjustments for New Accounting Pronouncements [Axis] Amortization of unearned compensation, restricted stock awards Federal Home Loan Bank advances Total FHLB advances Advances from Federal Home Loan Banks Federal Home Loan Bank Advances and Other Borrowings [Abstract] Advances from Federal Home Loan Banks [Abstract] Marketing Advertising Cost, Policy, Expensed Advertising Cost [Policy Text Block] Compensation expense Allocated Share-based Compensation Expense Charge-offs Allowance for Loan and Lease Losses, Write-offs Recoveries Allowance for Loan Losses by Portfolio Segment Reserve for loan losses Charge-offs, other than loan charge-offs Allowance for Loan Losses [Roll Forward] Investments in affordable housing projects Amortization Method Qualified Affordable Housing Project Investments Total recognized in net periodic benefit costs and other comprehensive (income) loss before income tax Defined Benefit Plan, Amount Recognized in Net Periodic Benefit Cost (Credit) and Other Comprehensive (Income) Loss, before Tax Assets [Abstract] Assets, Fair Value Disclosure [Abstract] Assets [Member] Total financial assets Fair value Assets, Fair Value Disclosure Assets Assets [Abstract] Assets [Abstract] Total assets Assets Less than 12 months, unrealized (losses) Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss 12 months or more, unrealized (losses) Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss Total, unrealized (losses) Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss Mutual funds Available-for-sale Equity Securities, Amortized Cost Basis Gross unrealized gains Available-for-sale Securities, Accumulated Gross Unrealized Gain, before Tax Amortized Cost and Fair Value of Securities Available for Sale Available-for-sale Securities [Table Text Block] Due after five years through ten years Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Amortized Cost Basis 12 months or more, fair value Total, fair value Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value Securities available for sale, at fair value Available for sale securities Fair value Total fair value Gross unrealized (losses) Available-for-sale Securities, Accumulated Gross Unrealized Loss, before Tax Less than 12 months, fair value Available-for-sale Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value Due after five years through ten years Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Fair Value Securities in Continuous Unrealized Loss Position Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value [Table Text Block] Amortized cost Cost, net of OTTI loss Available-for-sale Securities, Amortized Cost Basis Securities in Continuous Unrealized Loss Position [Abstract] Available-for-sale Securities, Continuous Unrealized Loss Position [Abstract] Securities Available for Sale [Abstract] Amortized Cost [Abstract] Due after ten years Due after ten years Available-for-sale Securities, Debt Maturities, after Ten Years, Amortized Cost Basis Due after one year through five years Available-for-sale Securities, Debt Maturities, Year Two Through Five, Amortized Cost Basis Due after one year through five years Available-for-sale Securities, Debt Maturities, Year Two Through Five, Fair Value Mutual funds Available-for-sale Securities, Equity Securities Fair Value [Abstract] Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract] Due in one year or less Available-for-sale Securities, Debt Maturities, Next Twelve Months, Amortized Cost Basis Due in one year or less Available-for-sale Securities, Debt Maturities, Next Twelve Months, Fair Value Balance Sheet Location [Domain] Balance Sheet Location [Axis] Bank-owned life insurance Noninterest income from change in cash surrender value of life insurance policies Bank-owned life insurance Bank-owned life insurance income Federal Home Loan Bank Advances and Other Borrowings [Abstract] Principles of Consolidation Brokerage fees Brokerage Commissions Revenue Buildings and Improvements [Member] Total Capital (to Risk-Weighted Assets) [Abstract] Capital [Abstract] Actual amount Capital Minimum capital requirement ratio Capital Required for Capital Adequacy to Risk Weighted Assets Well capitalized under prompt corrective action provisions amount Capital Required to be Well Capitalized Minimum capital requirement amount Capital Required for Capital Adequacy Actual ratio Capital to Risk Weighted Assets Well capitalized under prompt corrective action provisions ratio Capital Required to be Well Capitalized to Risk Weighted Assets Carrying Value [Member] Cash and due from banks Cash Cash and Cash Equivalents Cash and Cash Equivalents, Policy [Policy Text Block] Cash and Cash Equivalents [Abstract] Cash and Cash Equivalents Increase (decrease) in cash and cash equivalents Cash and Cash Equivalents, Period Increase (Decrease) Cash and short-term investments Cash and Cash Equivalents, Fair Value Disclosure Cash Segregated under Federal Regulations [Abstract] Daily average required cash balances with the Federal Reserve Bank Cash Reserve Deposit Required and Made Cash Flow Hedging [Member] Cash surrender value of life insurance policies Cash Surrender Value of Life Insurance BOLI Cash Surrender Value, Fair Value Disclosure Ending Beginning Cash, Cash Equivalents, and Federal Funds Sold Cash on deposit in excess of federally insured limits Change in Benefit Obligations Changes in Projected Benefit Obligations, Fair Value of Plan Assets, and Funded Status of Plan [Table Text Block] Mortgage Secured by Business Assets and Inventory [Member] Collateralized Mortgage Obligations [Member] Commercial and Industrial [Member] Commercial Portfolio Segment [Member] Commercial Real Estate [Member] Commercial Real Estate Portfolio Segment [Member] Commitments and Contingent Liabilities Commitments and Contingencies Disclosure [Text Block] Commitments and contingencies Commitments to Extend Credit [Member] Commitments and Contingent Liabilities [Abstract] Common Stock and Additional Paid-In Capital [Member] Dividends per Share (in dollars per share) Cash dividends (in dollars per share) Common stock, shares authorized (in shares) Common stock, shares issued (in shares) Common Equity Tier 1 Capital (to Risk-Weighted Assets) [Abstract] Common Equity Tier One Capital [Abstract] Actual amount Common Equity Tier One Capital Actual ratio Common Equity Tier One Capital Ratio Minimum capital requirement amount Common Equity Tier One Capital Required for Capital Adequacy Well capitalized under prompt corrective action provisions amount Common Equity Tier One Capital Required to be Well-Capitalized Common stock, par value, $3.13, and additional paid-in capital; authorized 8,000,000 shares; issued and outstanding 2017: 3,762,677 shares including 18,062 non-vested shares; 2016: 3,753,919 shares including 18,045 non-vested shares Common stock, par value (in dollars per share) Common stock Common Stock, Value, Issued Common stock, shares outstanding (in shares) Telephone Employee Benefit Plans [Abstract] Compliance with Regulatory Capital Requirements under Banking Regulations [Line Items] Components of Net Deferred Tax Assets [Abstract] Comprehensive Income (Loss) Comprehensive Income (Loss) Comprehensive Income (Loss), Net of Tax, Attributable to Parent Accumulated Other Comprehensive Income Concentration Risk Concentration Risk Disclosure [Text Block] Condensed Income Statements, Captions [Line Items] Condensed Income Statement [Table] Condensed Balance Sheet Statements, Captions [Line Items] Condensed Balance Sheet Statement [Table] Condensed Cash Flow Statement [Table] Parent Company Only Financial Statements Condensed Financial Information of Parent Company Only Disclosure [Text Block] Condensed Cash Flow Statements, Captions [Line Items] Parent Company Only Financial Statements Consolidated Entities [Domain] Consolidated Entities [Domain] Consolidated Entities [Axis] Consolidated Entities [Axis] Consumer [Member] Consumer Portfolio Segment [Member] 2018 Contractual Obligation, Due in Next Fiscal Year Financial Instruments Whose Contract Amount Represent Credit Risk [Abstract] 2020 Contractual Obligation, Due in Third Year 2022 Contractual Obligation, Due in Fifth Year Thereafter 2021 Contractual Obligation, Due in Fourth Year Total Contractual Obligation 2019 Contractual Obligation, Due in Second Year Corporate Bonds [Member] Credit Facility [Domain] Credit Facility [Axis] Current tax expense Current Income Tax Expense (Benefit) Doubtful [Member] Basis spread on variable rate Debt Instrument, Basis Spread on Variable Rate Junior Subordinated Debt Debt Disclosure [Text Block] Junior Subordinated Debt [Abstract] Maturity date Schedule of Long-term Debt Instruments [Table] Debt Instrument [Line Items] Face amount Securities available for sale Deferred Tax Assets, Unrealized Losses on Available-for-Sale Securities, Gross Accumulated depreciation Deferred Tax Assets, Property, Plant and Equipment Deferred compensation expense Deferred Compensation Plan [Abstract] Accrued liability for deferred compensation program Deferred Compensation Cash-based Arrangements, Liability, Current Deferred Compensation Arrangement with Individual, Excluding Share-based Payments and Postretirement Benefits [Line Items] Deferred tax expense (benefit) Deferred taxes Total Deferred Tax Liabilities, Gross Other Deferred Tax Assets, Other Net deferred tax assets Deferred Tax Assets, Net Total Deferred Tax Assets, Gross Deferred tax assets [Abstract] Impairment on securities SERP obligation Other assets, deferred income tax benefit Valuation allowance Allowance for loan losses Restricted stock Accrued vacation Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Compensated Absences Accumulated depreciation Deferred tax liabilities [Abstract] Other Benefits paid Defined Benefit Plan, Benefit Obligation, Benefits Paid December 31, 2021 Defined Benefit Plan, Expected Future Benefit Payment, Year Four Amounts Recognized in Accumulated Other Comprehensive Income (Loss) [Abstract] Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, after Tax [Abstract] Amortization of net obligation at transition Defined Benefit Plan, Amortization of Transition Asset (Obligation) Defined Contribution Plan Disclosure [Line Items] Thereafter Defined Benefit Plan, Expected Future Benefit Payment, Five Fiscal Years Thereafter Maximum annual contribution per employee Prior service cost Defined Contribution Plan [Table] Percent of employee's compensation deferred that receives company match Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay Employer matching contribution December 31, 2022 Defined Benefit Plan, Expected Future Benefit Payment, Year Five December 31, 2020 Defined Benefit Plan, Expected Future Benefit Payment, Year Three Net gain (loss) Accumulated Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), after Tax December 31, 2019 Defined Benefit Plan, Expected Future Benefit Payment, Year Two Net obligation at transition Accumulated Other Comprehensive Income (Loss), Defined Benefit Plan, Transition Asset (Obligation), after Tax December 31, 2018 Defined Benefit Plan, Expected Future Benefit Payment, Next Twelve Months Actuarial (gain) Defined Benefit Plan, Benefit Obligation, Actuarial Gain (Loss) Recognized net actuarial loss (gain) Defined Benefit Plan, Amortization of Gain (Loss) Rate of compensation increase Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase Amortization of prior service cost Defined Benefit Plan, Amortization of Prior Service Cost (Credit) Defined Benefit Plan Disclosure [Line Items] Amounts Recognized on the Balance Sheets [Abstract] Discount rate used for net periodic benefit cost Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate Discount rate used for disclosures Expected return on plan assets Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-term Rate of Return on Plan Assets Other Changes in Plan Assets and Benefit Obligations Recognized in Other Comprehensive Income (Loss) [Abstract] Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract] Rate of compensation increase Benefit obligation Benefit obligation, ending Projected benefit obligation, beginning Defined Benefit Plan, Benefit Obligation Estimated Future Benefit Payments [Abstract] Fair value of assets Fair value of plan assets, ending Defined Benefit Plan, Fair Value of Plan Assets Expected return on plan assets Defined Benefit Plan, Expected Return (Loss) on Plan Assets Interest cost Funded Status [Abstract] Funded status, ending Defined Benefit Plan, Funded (Unfunded) Status of Plan Changes in Benefit Obligations [Roll Forward] Weighted-Average Assumptions [Abstract] Weighted-Average Assumptions for Net Periodic Benefit Cost [Abstract] 401(k) Plan [Abstract] Defined Contribution Plan [Abstract] 401(k) expenses Service cost Net periodic benefit cost Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Components of Net Periodic Benefit Cost [Abstract] Overdraft deposits reclassified to loans Deposit Liabilities Reclassified as Loans Receivable Deposits Deposit Liabilities Disclosures [Text Block] Deposits: Deposits [Abstract] Total deposits Deposits Checking Deposits, Negotiable Order of Withdrawal (NOW) Deposits Deposits, Fair Value Disclosure Savings and money market accounts Depreciation and amortization Depreciation and amortization Interest rate swaps Derivative [Line Items] Expiration date Derivative, Maturity Date Cash collateral Derivative, Collateral, Right to Reclaim Cash Derivative Instrument [Axis] Derivative [Table] Derivative Instruments and Hedging Activities [Abstract] Derivative Instruments and Hedging Activities [Abstract] Derivative Instrument Detail [Abstract] Interest rate swaps Derivative Liability Derivative Instruments and Hedging Activities Derivative Instruments and Hedging Activities Disclosure [Text Block] Estimated net fair value Derivative, Fair Value, Net Basis spread on variable rate Fixed interest rate Hedging Relationship [Axis] Ineffectiveness on hedges Derivative Instruments, Gain (Loss) Recognized in Income, Ineffective Portion and Amount Excluded from Effectiveness Testing, Net Number of swap agreements Derivative, Number of Instruments Held Gain (loss) on hedges recognized in other comprehensive income (loss), net of tax Derivative Instruments, Gain (Loss) Recognized in Other Comprehensive Income (Loss), Effective Portion, Net Derivative Contract [Domain] Derivatives, Fair Value [Line Items] Non Employee Director [Member] Director [Member] Dividend Limitations on Affiliate Bank [Abstract] Stock Based Compensation [Abstract] Stock Based Compensation Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Dividends Dividend Income, Operating Cash dividends Dividends, Common Stock, Cash Earnings (Loss) per Share, assuming dilution (in dollars per share) Diluted earnings per share (in dollars per share) Earnings Per Share, Diluted Earnings Per Share Earnings Per Share [Text Block] Per Share Amount [Abstract] Earnings Per Share Reconciliation [Abstract] Earnings (Loss) per Share, basic (in dollars per share) Basic earnings per share (in dollars per share) Earnings Per Share Earnings Per Share [Abstract] Corporate tax rate Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent Stock Options [Member] Unrecognized compensation cost Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized Recognition period for total unrecognized compensation costs Furniture and equipment Equity Component [Domain] Fair Value [Member] Tax effect of restricted stock awards Excess Tax Benefit from Share-based Compensation, Operating Activities Certain Executive Officers [Member] Quantitative Information About Level 3 Fair Value Measurements [Abstract] Total gains (losses) realized/unrealized included in net income Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings Financial Assets Recorded on a Nonrecurring Basis [Abstract] Unobservable input Fair Value Measurements, Valuation Techniques Fair Value Measurements Total gains (losses) realized/unrealized included in other comprehensive income (loss) Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Other Comprehensive Income (Loss) Quantitative Information About Level 3 Fair Value Measurements Fair Value Inputs, Assets, Quantitative Information [Table Text Block] Weighted average Fair Value Inputs, Discount Rate Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Line Items] Measurement Basis [Axis] Fair Value, Hierarchy [Axis] Measurement Frequency [Axis] Fair Value on a Nonrecurring Basis [Member] Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] Fair Value, Measurement Frequency [Domain] Fair Value Measurements [Abstract] Financial instruments whose contract amounts represent credit risk Fair Value on a Recurring Basis [Member] Fair Value, Measurements, Fair Value Hierarchy [Domain] Fair Value Measurements Fair Value Disclosures [Text Block] Financial Assets Measured at Fair Value on a Nonrecurring Basis Fair Value Measurements, Nonrecurring [Table Text Block] Change in Level 3 Assets Measured at Fair Value on a Recurring Basis Fair Value, by Balance Sheet Grouping [Table] Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table] Estimated Fair Values of Financial Instruments Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward] Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] Fair Value, Disclosure Item Amounts [Domain] Level 1 [Member] Fair Value, Inputs, Level 1 [Member] Level 2 [Member] Level 3 [Member] Fair Value, Inputs, Level 3 [Member] Balance, end of period Balance, beginning of period Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value Off-balance Sheet Risks, Disclosure Information [Line Items] Transfers in (out) of Level 3 Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net Fair Value Hedging [Member] Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table] Federal Deposit Insurance Corporation Investment In Affordable Housing Projects [Abstract] Federal funds purchased lines of credit in use Federal Funds Purchased Book value of eligible loans for collateral Federal Home Loan Bank, Advances, General Debt Obligations, Disclosures, Collateral Pledged FHLB advances Federal Home Loan Bank Borrowings, Fair Value Disclosure Federal funds sold Federal Home Loan Bank Advances and Other Borrowings Federal Home Loan Bank Advances, Disclosure [Text Block] Federal Home Loan Bank Advances [Member] Therafter Due in 2019 Due in 2020 Due in 2022 Maximum borrowing limit Interest rate Due in 2021 Contractual Maturities of FHLB Advances [Abstract] Due in 2018 Federal Home Loan Bank, Advances, Maturities Summary, Due in Next Twelve Months Trust and estate Fees and Commissions, Fiduciary and Trust Activities Service charges on deposit accounts Fees and Commissions, Depositor Accounts Other service charges, commissions and other income Fees and Commissions, Other Allowance for Loan Losses Finance, Loan and Lease Receivables, Held-for-investment, Allowance and Nonperforming Loans, Allowance Policy [Policy Text Block] Loans Finance, Loans and Leases Receivable, Policy [Policy Text Block] Mortgage Loans Held for Sale Finance, Loan and Lease Receivables, Held-for-sale, Policy [Policy Text Block] Other Real Estate Owned Finance, Loan and Lease Receivables, Held for Investments, Foreclosed Assets Policy [Policy Text Block] Financial Instruments Owned and Pledged as Collateral by Type [Axis] Total financial liabilities Financial Liabilities Fair Value Disclosure Financial Instruments Owned and Pledged as Collateral, Type [Domain] Financial Instrument [Axis] Financial Instrument Performance Status [Axis] Financial Instrument Performance Status [Domain] Standby Letter of Credit [Member] Assets [Abstract] Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract] Financing Receivable, Recorded Investment, Past Due [Line Items] Age Analysis of Past Due Loans Receivable [Abstract] Financing Receivable, Modifications [Line Items] TDR loans in the portfolio Number of TDRs with defaults occurring within 12 months of modification Loans, collectively evaluated for impairment Financing Receivable, Collectively Evaluated for Impairment Ending balances individually evaluated for impairment Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment Financing Receivable, Recorded Investment [Line Items] Greater than 90 days and accruing Greater than 90 Days [Member] Loans, individually evaluated for impairment Financing Receivable, Individually Evaluated for Impairment 60-89 Days Past Due [Member] Financing Receivable Portfolio Segment [Domain] Financing Receivable Portfolio Segment [Axis] Recorded Investment in Loans by Class of Loan Ending balances collectively evaluated for impairment Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment 30-59 Days Past Due [Member] Additional Information on Allowance for Loan Losses and Recorded Investment in Loans Receivable [Abstract] Financing Receivable, Allowance for Credit Loss, Additional Information [Abstract] Financing Receivable, Impaired [Line Items] Financing Receivable, Impaired [Line Items] Financing Receivables, Period Past Due [Domain] Financing Receivables, Period Past Due [Axis] Troubled debt restructurings, number of contracts Financing Receivable, Modifications, Number of Contracts Current Past due Financing Receivable, Recorded Investment, Past Due Nonaccruals Financing Receivable, Recorded Investment, Nonaccrual Status Loss on disposal of fixed assets Gain (Loss) on Disposition of Property Plant Equipment, Excluding Oil and Gas Property and Timber Property Gain on sale of securities Gain on Sale of Investments Gain on sale or impairment of other real estate owned Gain (Loss) on Sale of Assets and Asset Impairment Charges Gain (loss) on hedges Gain (Loss) on Fair Value Hedges Recognized in Earnings Gain on interest rate swaps Gain (Loss) on Sale of Derivatives Gain on sale of mortgage loans held for sale, net Gain on mortgage loans held for sale Gain (Loss) on Sale of Mortgage Loans Gain on sale and call of securities Gain on sale and call of securities Other real estate owned Gains (Losses) on Sales of Other Real Estate Hedging Relationship [Domain] Home Equity [Member] Home Equity Lines of Credit [Member] Interest income recognized, with no specific allowance recorded Impaired Financing Receivable, with No Related Allowance, Interest Income, Accrual Method Interest income recognized, total Impaired Financing Receivable, Interest Income, Accrual Method Recorded investment, with no specific allowance recorded Impaired Financing Receivable, with No Related Allowance, Recorded Investment Related allowance Unpaid Principal Balance [Abstract] Average recorded investment, with no specific allowance recorded Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment Interest income recognized, with an allowance recorded Impaired Financing Receivable, with Related Allowance, Interest Income, Accrual Method Unpaid principal balance, with no specific allowance recorded Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance Recorded Investment [Abstract] Impaired Financing Receivable, Recorded Investment [Abstract] Impaired Loans Recorded investment, total Impaired Financing Receivable, Recorded Investment Recorded investment, with an allowance recorded Impaired Financing Receivable, with Related Allowance, Recorded Investment Average recorded investment, total Impaired Financing Receivable, Average Recorded Investment Unpaid principal balance, with an allowance recorded Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance Interest Income Recognized [Abstract] Impaired Financing Receivable, Interest Income, Accrual Method [Abstract] Unpaid principal balance, total Impaired Financing Receivable, Unpaid Principal Balance Average recorded investment, with an allowance recorded Impaired Financing Receivable, with Related Allowance, Average Recorded Investment Average Recorded Investment [Abstract] Income Taxes [Abstract] Income Statement Location [Axis] Income (loss) before income taxes Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest Income Statement Location [Domain] Losses from investments in affordable housing projects Loss on housing funds (Undistributed) distributed earnings of subsidiaries Equity in undistributed (distributed) net income (loss) of subsidiaries Consolidated Statements of Operations [Abstract] Statements of Operations [Abstract] Income Taxes Income Tax Disclosure [Text Block] Computed "expected" tax expense (benefit) Allocation of Federal Income Taxes Between Current and Deferred [Abstract] Income Tax Expense (Benefit), Continuing Operations [Abstract] Reconciliation of Statutory to Effective Tax Rates [Abstract] Impact of the Tax Act Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Amount Income tax expense (benefit) Income tax benefit Provision for income taxes Other Effective Income Tax Rate Reconciliation, Other Adjustments, Amount Income Taxes Income Tax, Policy [Policy Text Block] Income Taxes [Abstract] Income Tax Uncertainties [Abstract] Tax-exempt interest income Effective Income Tax Rate Reconciliation, Tax Exempt Income, Amount Income taxes Tax credits Effective Income Tax Rate Reconciliation, Tax Credit, Other, Amount Decrease in income taxes resulting from [Abstract] Increase in demand deposits, NOW accounts and savings accounts Increase (Decrease) in Deposits Changes in assets and liabilities: Increase in other assets (Increase) decrease in other assets Increase (Decrease) in Other Operating Assets Decrease in other liabilities Increase in other liabilities Increase (Decrease) in Other Operating Liabilities Increase (decrease) in time deposits Increase (Decrease) in Stockholders' Equity [Roll Forward] Effect of dilutive stock awards (in shares) Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements Data processing Data processing expense Interest and fees on loans Interest income Interest Income Interest and dividends on securities available for sale: Total interest income Interest income Interest and Dividend Income, Operating Interest Expense Interest Expense [Abstract] Junior subordinated debt Interest expense Interest Expense, Junior Subordinated Debentures Interest on federal funds purchased Interest on Federal Home Loan Bank advances Interest Expense, Federal Home Loan Bank and Federal Reserve Bank Advances, Long-term Interest on deposits Total interest expense Interest expense Net interest income after provision for (recovery of) loan losses Interest Income (Expense), after Provision for Loan Loss Net interest income Interest Income (Expense), Net Tax-exempt interest Interest Income [Member] Taxable interest income Interest on deposits in other banks Derivative Instruments and Hedging Activities [Abstract] Interest Rate Derivatives [Abstract] Interest-bearing: Interest Rate Swap [Member] Interest Brokered balances Total interest-bearing Interest-bearing Deposit Liabilities Accrued interest receivable Interest-bearing deposits in other banks Interest-bearing deposits in other banks Internal Credit Assessment [Axis] Internal Credit Assessment [Domain] Dividends from subsidiaries Investment Income, Dividend Investment Type Categorization [Domain] Investment Type [Axis] Securities Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Investment in subsidiaries Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures Securities Available for Sale by Contractual Maturity Investments Classified by Contractual Maturity Date [Table Text Block] Securities [Abstract] Issuance of vested restricted stock Issuance of Stock and Warrants for Services or Claims Junior Subordinated Notes [Abstract] Junior Subordinated Notes [Abstract] Junior subordinated debt Junior Subordinated Notes LIBOR [Member] Long-term Debt, Type [Domain] Long-term Debt, Type [Axis] Salaries and benefits Land [Member] Lease Arrangement, Type [Axis] Rent expense Lease Arrangement, Type [Domain] Leasehold Improvements [Member] Banking Facility Leases [Abstract] Legal and professional fees Total liabilities and shareholders' equity Liabilities and Equity Liabilities Liabilities [Abstract] Total liabilities Liabilities Liabilities and Shareholders' Equity Liabilities and Shareholders' Equity [Abstract] Liabilities [Abstract] Liabilities, Fair Value Disclosure [Abstract] Uncertain tax positions Line of Credit Facility [Table] Available federal funds purchased lines of credit Line of Credit Facility [Line Items] Total principal payments Loans and Leases Receivable, Related Parties, Proceeds Loans [Abstract] Loans and Leases Receivable Disclosure [Abstract] Loans and Leases Receivable Disclosure [Line Items] Allowance for loan losses Beginning balance Ending balance Loans and Leases Receivable, Allowance Loans and Leases Receivable Disclosure [Table] Impairment of Loans Loans, net Loans and Leases Receivable, Net Amount Loans Total financing receivables Loans to related parties Loans, net Loans Receivable, Fair Value Disclosure Total principal additions Loans and Leases Receivable, Related Parties, Additions Loans and Allowance for Loan Losses Loans, Notes, Trade and Other Receivables Disclosure [Text Block] Mutual Funds [Member] Mutual Fund [Member] Major Types of Debt and Equity Securities [Domain] Major Types of Debt and Equity Securities [Axis] Executive [Member] Junior subordinated debt Mandatorily Redeemable Preferred Stock, Fair Value Disclosure Market Values [Member] Market Approach Valuation Technique [Member] Securities Marketable Securities, Policy [Policy Text Block] Marketing Maximum [Member] Minimum [Member] Number of loans Recorded investment of foreclosed properties in possession or in process of foreclosure Net cash provided by (used in) financing activities Net Cash Provided by (Used in) Financing Activities Cash Flows from Financing Activities Cash Flows from Financing Activities [Abstract] Cash Flows from Investing Activities Cash Flows from Operating Activities Cash Flows from Operating Activities [Abstract] Net cash used in investing activities Net Cash Provided by (Used in) Investing Activities Net cash provided by operating activities Net Cash Provided by (Used in) Operating Activities Net income (loss) Net Income (Loss) Net Income (Loss) New Accounting Pronouncements or Change in Accounting Principle [Table] Recent Accounting Pronouncements Recent Accounting Pronouncements [Abstract] New Accounting Pronouncements and Changes in Accounting Principles [Abstract] New Accounting Pronouncements or Change in Accounting Principle [Line Items] Supplemental Disclosures of Noncash Investing Activities Noninterest Income Noninterest Income [Abstract] Noninterest Expenses Noninterest Expense [Abstract] Directors' fees Directors' compensation Total noninterest income Noninterest Income Noninterest-bearing Total noninterest expenses Noninterest Expense Occupancy Expenses [Abstract] Operating Expenses [Abstract] Future Minimum Lease Requirements and Contractual Obligations [Abstract] Operating Leased Assets [Line Items] Nature of Banking Activities and Significant Accounting Policies Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Text Block] Other comprehensive income (loss) before reclassifications Other Comprehensive Income (Loss), before Reclassifications, Net of Tax Other Commitments [Line Items] Other Operating Expenses Other Operating Income and Expense [Text Block] Other Commitments [Domain] Other Commitments [Axis] Amortization of net obligation at transition Other Comprehensive Income (Loss), Defined Benefit Plan, Transition Asset (Obligation), Reclassification Adjustment from AOCI, before Tax Amortization of prior service cost Reclassification adjustment for gain on sale of securities available for sale, net of tax of $0, $0 and $1, respectively Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax Net gain Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss) Arising During Period, before Tax Data Processing Contractual Obligations [Abstract] Other Commitments [Abstract] Other Commitments [Table] Reclassification adjustment for gain on sale of securities available for sale, tax Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax Change in fair value of interest rate swap, net of tax of $(1), $(107) and $(5), respectively Change in fair value of interest rate swap, tax Impairment losses on securities Other than Temporary Impairment Losses, Investments, Portion Recognized in Earnings, Net Unrealized gain (loss) on securities available for sale, net of tax effect Total recognized Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, before Tax Change in unrecognized beneficial obligation for SERP plan, tax Other Comprehensive (Income) Loss, Defined Benefit Plan, before Reclassification Adjustment, Tax Other comprehensive income (loss) net of tax effect Total other comprehensive income (loss), net of tax of $(412), $144 and $185, respectively Net amount recognized in other comprehensive income (loss) Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, after Tax Less: Income tax effect Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, Tax Change in unrecognized benefit obligation for SERP plan, net of tax of $(27), $(26) and $(10), respectively Other Comprehensive (Income) Loss, Defined Benefit Plan, before Reclassification Adjustment, after Tax Credit Losses Recognized in Earnings [Roll Forward] Beginning balance Ending balance Cumulative amount of OTTI loss Less: Increases in cash flows expected to be collected that are recognized over the remaining life of the security Other than Temporary Impairment, Credit Losses Recognized in Earnings, Reductions, Cash Flows Impaired Securities [Abstract] Other than Temporary Impairment Losses, Investments, Available-for-sale Securities, Reportable Items [Abstract] Credit Losses Recognized in Earnings Prior service cost Other Comprehensive (Income) Loss, Defined Benefit Plan, Prior Service Cost (Credit), before Tax Other assets Changes in benefit obligations and plan assets for defined benefit and post-retirement benefit plans, net of tax effect Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss) Arising During Period, after Tax Other comprehensive income (loss), net of tax: Other Comprehensive Income (Loss), Net of Tax [Abstract] Other comprehensive income (loss), tax effect Other comprehensive income (loss), tax Other Operating Expenses [Abstract] Change in fair value of securities available for sale, tax Other Other Cost and Expense, Operating Change in fair value of securities available for sale, net of tax of $(384), $277 and $199, respectively Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Net of Tax Other liabilities Other operating expenses Miscellaneous Other operating expenses Other real estate owned, net Other real estate owned Other Liabilities [Member] Other Assets [Member] Net current-period other comprehensive income (loss) Performing [Member] Performing Financial Instruments [Member] Aging of Recorded Investment in Past Due Loans and Nonaccrual Loans Pass [Member] Fauquier Bankshares, Inc. [Member] (Issuance) redemptions of restricted securities, net Payments for (Proceeds from) Investments Loan originations, net Payments for (Proceeds from) Loans and Leases Origination of mortgage loans held for sale Payments for Origination of Mortgage Loans Held-for-sale Cash dividends paid on common stock Cash dividends paid Payments of Ordinary Dividends, Common Stock Purchase of securities available for sale Payments to Acquire Available-for-sale Securities Repurchase of common stock Repurchase of common stock Payments for Repurchase of Common Stock Purchase of premises and equipment Payments to Acquire Property, Plant, and Equipment Accrued benefit cost included in other liabilities Other liabilities Liability, Defined Benefit Plan Employee Benefit Plans Pension and Other Postretirement Benefits Disclosure [Text Block] Pension expense 401(k) Plan [Member] Pension Plan [Member] Supplemental Executive Retirement Plan [Abstract] Pension and Other Postretirement Benefits Cost (Reversal of Cost) [Abstract] Performance-Based Stock Rights [Member] Performance Shares [Member] Plan Name [Axis] Plan Name [Domain] Carrying value of pledged securities Pledged Assets Separately Reported, Securities Pledged as Collateral, at Fair Value Portion at Fair Value Measurement [Member] Postage and courier Reclassifications Proceeds from calls and principal payments of securities available for sale Proceeds from maturities, calls and principal payments of securities available for sale Proceeds from mortgage loans held for sale Proceeds from sale of other real estate owned Legal, audit and consulting Professional Fees Premises and Equipment Property, Plant and Equipment, Policy [Policy Text Block] Cost and Accumulated Depreciation of Premises and Equipment Premises and Equipment, Net [Abstract] Property, Plant and Equipment, Net [Abstract] Premises and Equipment [Abstract] Premises and Equipment, Net [Abstract] Premises and equipment, net Premises and equipment, net Property, Plant and Equipment, Net Premises and equipment Premises and Equipment, Net Property, Plant and Equipment Disclosure [Text Block] Property, Plant and Equipment [Line Items] Property, Plant and Equipment [Line Items] Useful lives Property, Plant and Equipment, Type [Axis] Property, Plant and Equipment, Type [Domain] Provision for (recovery of) loan losses Provision (recovery) Range [Domain] Range [Axis] Troubled Debt Restructurings [Abstract] Receivables [Abstract] Amounts reclassified from accumulated other comprehensive (loss) Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax Capital Requirements [Abstract] Capital Requirements Regulatory Capital Requirements under Banking Regulations [Text Block] Deposits of executive officers and directors Related Party Deposit Liabilities Related Party Transactions Related Party Transactions Disclosure [Text Block] Related Party Transactions [Abstract] Decrease in Federal Home Loan Bank advances Repayments of Federal Home Loan Bank Borrowings Mortgage Secured by Real Estate [Member] Residential Mortgage [Member] Residential One-to-four Unit Single Family [Member] Residential Real Estate [Member] Restricted Shares [Member] Restricted Stock [Member] Restricted investments Restricted Investments, at Fair Value Restricted investments Dividend Limitations on Affiliate Bank Restrictions on Dividends, Loans and Advances [Text Block] Retained earnings Retained Earnings [Member] Retirement Plan Type [Domain] Retirement Plan Type [Axis] Income [Abstract] Revenues [Abstract] Concentration Risk [Abstract] Substandard [Member] Award term Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period Scenario, Unspecified [Domain] Plan [Member] Parent Company Statements of Operations Condensed Income Statement [Table Text Block] Net Deferred Tax Assets Schedule of Financing Receivables Past Due [Table] Other Changes in Plan Assets and Benefit Obligations Recognized in Other Comprehensive Income (Loss) Schedule of Amounts Recognized in Other Comprehensive Income (Loss) [Table Text Block] Parent Company Balance Sheets Condensed Balance Sheet [Table Text Block] Schedule of Operating Leased Assets [Table] Parent Company Statements of Cash Flows Condensed Cash Flow Statement [Table Text Block] Schedule of Financing Receivable, Recorded Investment, Credit Quality Indicator [Table] Reconciliation of Statutory to Effective Tax Rates Weighted Average Assumptions Schedule of Assumptions Used [Table Text Block] Schedule of Financing Receivable, Troubled Debt Restructurings [Table] Non-Vested Restricted Shares Amounts Recognized on Balance Sheet Schedule of Amounts Recognized in Balance Sheet [Table Text Block] Financial Assets and Liabilities Measured at Fair Value on a Recurring Basis Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] Schedule of Impaired Financing Receivable [Table] Effects of Derivative Instruments on Consolidated Balance Sheets Contractual Maturities of FHLB Advances Future Minimum Lease Requirements and Contractual Obligations Under Long-Term Non-Cancellable Agreements Non-Vested Performance-Based Stock Rights Weighted Average Number of Shares Used in Computing Earnings Per Share Schedule of Weighted Average Number of Shares [Table Text Block] Current and Deferred Federal Income Taxes Estimated Future Benefit Payments Schedule of Expected Benefit Payments [Table Text Block] Components of Net Periodic Benefit Cost Schedule of Net Benefit Costs [Table Text Block] Compliance with Regulatory Capital Requirements under Banking Regulations [Table] Schedule of Available-for-sale Securities [Table] Capital Amounts and Ratios Schedule of Available-for-sale Securities [Line Items] Changes in Accumulated Other Comprehensive Income (Loss) Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block] Schedule of Deferred Compensation Arrangement with Individual, Excluding Share-based Payments and Postretirement Benefits, by Title of Individual and by Type of Deferred Compensation [Table] Schedule of Defined Benefit Plans Disclosures [Table] Schedule of Fair Value, Off-balance Sheet Risks [Table] Financial Instruments Whose Contract Amounts Represent Credit Risk Schedule of Fair Value, Off-balance Sheet Risks [Table Text Block] Other Operating Expenses Schedule of Other Operating Cost and Expense, by Component [Table Text Block] Schedule of Property, Plant and Equipment [Table] Property, Plant and Equipment [Table] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Non-Vested Restricted Shares, Weighted Average Fair Value [Roll Forward] Non-Vested Performance-Based Stock Rights, Weighted Average Fair Value [Roll Forward] Stock Compensation Plans [Abstract] Stock Based Compensation [Abstract] Amortization of unearned compensation, net of forfeiture Amortization of unearned compensation Award vesting period Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Forfeited (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period Options granted (in shares) Stock options granted (in shares) Vested (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period Granted (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value Granted (in shares) Granted (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period Nonvested at end of period (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value Nonvested at beginning of period (in shares) Nonvested at end of period (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number Number of shares authorized (in shares) Non-Vested Restricted Shares [Roll Forward] Non-Vested Performance-Based Stock Rights [Roll Forward] Stock options outstanding (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number Award Type [Domain] Stock Compensation Plans Software [Member] Special Mention [Member] Statement [Line Items] Consolidated Statements of Changes in Shareholders' Equity [Abstract] Consolidated Statements of Cash Flows [Abstract] Statements of Cash Flows [Abstract] Consolidated Statements of Comprehensive Income (Loss) [Abstract] Consolidated Balance Sheets [Abstract] Balance Sheets [Abstract] Scenario [Axis] Statement [Table] Statement, Equity Components [Axis] Aggregate amount of unrestricted funds available for dividend without prior regulatory approval Statutory Accounting Practices, Statutory Amount Available for Dividend Payments without Regulatory Approval New shares issued (in shares) Repurchase of common stock Stock Repurchased During Period, Value Repurchase of common stock (in shares) Stock Repurchased During Period, Shares Total shareholders' equity Balance Balance Stockholders' Equity Attributable to Parent Shareholders' Equity Shareholders' Equity [Abstract] The Fauquier Bank [Member] Subsidiaries [Member] Supplemental Executive Retirement Plan [Member] Supplemental Employee Retirement Plan [Member]