XML 79 R64.htm IDEA: XBRL DOCUMENT
v3.22.4

Securities Available for Sale (Details Textual) | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) Securities | Dec. 31, 2021 USD ($) Securities | Dec. 31, 2020 USD ($)
Schedule Of Available For Sale Securities [Line Items] |  |  |  |
Tax provision related to net realized gain | [1] | $ (87,000) | $ 176,000 | $ (90,000)
Pledged to secure public deposits and repurchase agreements and Pledge to qualify carrying amount of securities |  | $ 479,000,000 | $ 491,000,000 |
Number of securities not more than 10% of stockholder equities | Securities |  | 0 | 0 |
Number of securities | Securities |  | 847 |  |
Number of securities on unrealized loss position | Securities |  | 803 |  |
Allowance for credit losses on available-for-sale securities |  | $ 0 |  |
Small Business Investment Company Partnership Investments |  |  |  |
Schedule Of Available For Sale Securities [Line Items] |  |  |  |
Equity securities |  | 15,000,000.0 | $ 14,700,000 |
Local and Regional Bank Holdings and Other Miscellaneous Equity Funds |  |  |  |
Schedule Of Available For Sale Securities [Line Items] |  |  |  |
Equity securities |  | 196,000 | 228,000 |
Farmers Trust Company |  |  |  |
Schedule Of Available For Sale Securities [Line Items] |  |  |  |
Pledged to secure public deposits and repurchase agreements and Pledge to qualify carrying amount of securities |  | $ 100,000 | $ 102,000 |
[1] | Pre-tax reclassification adjustments relating to available-for-sale securities are reported in security gains and the tax impact is included in income tax expense on the consolidated statements of income.

X
- Definition Number of securities. + References No definition available. + Details
Name: | fmnb_NumberOfSecurities
Namespace Prefix: | fmnb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities on unrealized loss position. + References No definition available. + Details
Name: | fmnb_NumberOfSecuritiesOnUnrealizedLossPosition
Namespace Prefix: | fmnb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities present more than specified percentage. + References No definition available. + Details
Name: | fmnb_NumberOfSecuritiesPresentMoreThanSpecifiedPercentage
Namespace Prefix: | fmnb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 9 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aaa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of restricted investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -URI https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=127002003&loc=SL6242269-115581 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRestricted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740 + Details
Name: | us-gaap_EquitySecuritiesFvNi
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=fmnb_SmallBusinessInvestmentCompanyPartnershipInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=fmnb_LocalAndRegionalBankHoldingsAndOtherMiscellaneousEquityFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=fmnb_FarmersTrustCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |