XML 82 R70.htm IDEA: XBRL DOCUMENT
v3.22.4

Loans and Allowance for Credit Losses - Credit Risk Profile of Loan Portfolio Based on Risk Rating Category and Payment Activity (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Credit Quality Information [Abstract] |  |
Current fiscal year | $ 1,535,342 | $ 1,200,288
Fiscal year before current fiscal year | 973,016 | 818,943
Two years before current fiscal year | 669,475 | 547,593
Three years before current fiscal year | 387,967 | 374,575
Four years before current fiscal year | 354,435 | 247,554
Prior | 862,255 | 763,077
Revolving Loans | 43,722 | 43,493
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 4,826,212 | 3,995,523
Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,524,905 | 1,177,678
Fiscal year before current fiscal year | 969,145 | 815,269
Two years before current fiscal year | 656,609 | 527,037
Three years before current fiscal year | 382,543 | 367,606
Four years before current fiscal year | 335,886 | 225,557
Prior | 832,814 | 726,479
Revolving Loans | 43,722 | 42,800
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 4,745,624 | 3,882,426
Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 5,126 | 18,807
Fiscal year before current fiscal year | 2,163 | 2,354
Two years before current fiscal year | 11,356 | 11,947
Three years before current fiscal year | 4,118 | 2,519
Four years before current fiscal year | 8,814 | 13,769
Prior | 12,891 | 16,798
Revolving Loans | 0 | 41
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 44,468 | 66,235
Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 5,311 | 3,803
Fiscal year before current fiscal year | 1,708 | 1,320
Two years before current fiscal year | 1,510 | 8,609
Three years before current fiscal year | 1,306 | 4,450
Four years before current fiscal year | 9,735 | 8,228
Prior | 16,550 | 19,800
Revolving Loans | 0 | 652
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 36,120 | 46,862
Agricultural Loans |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 138,558 | 119,453
Fiscal year before current fiscal year | 18,783 | 18,357
Two years before current fiscal year | 3,433 | 8,260
Three years before current fiscal year | 4,720 | 2,972
Four years before current fiscal year | 981 | 937
Prior | 363 | 1,505
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 166,838 | 151,484
Agricultural Loans | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 137,327 | 105,378
Fiscal year before current fiscal year | 18,783 | 17,903
Two years before current fiscal year | 3,433 | 5,612
Three years before current fiscal year | 3,918 | 2,822
Four years before current fiscal year | 915 | 924
Prior | 254 | 1,316
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 164,630 | 133,955
Agricultural Loans | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,178 | 13,725
Fiscal year before current fiscal year | 0 | 436
Two years before current fiscal year | 0 | 2,648
Three years before current fiscal year | 756 | 150
Four years before current fiscal year | 66 | 13
Prior | 109 | 64
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 2,109 | 17,036
Agricultural Loans | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 53 | 350
Fiscal year before current fiscal year | 0 | 18
Two years before current fiscal year | 0 | 0
Three years before current fiscal year | 46 | 0
Four years before current fiscal year | 0 | 0
Prior | 0 | 125
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 99 | 493
Commercial Industrial And Other Portfolio Segment |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 450,816 | 280,933
Fiscal year before current fiscal year | 227,096 | 168,095
Two years before current fiscal year | 182,487 | 121,298
Three years before current fiscal year | 64,511 | 76,825
Four years before current fiscal year | 69,366 | 23,389
Prior | 248,195 | 305,214
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,242,471 | 975,754
Commercial Industrial And Other Portfolio Segment | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 450,001 | 279,814
Fiscal year before current fiscal year | 226,038 | 167,662
Two years before current fiscal year | 172,208 | 119,702
Three years before current fiscal year | 63,906 | 76,022
Four years before current fiscal year | 61,929 | 22,888
Prior | 247,404 | 302,962
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,221,486 | 969,050
Commercial Industrial And Other Portfolio Segment | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 469 | 613
Fiscal year before current fiscal year | 640 | 399
Two years before current fiscal year | 10,095 | 1,463
Three years before current fiscal year | 570 | 182
Four years before current fiscal year | 7,280 | 477
Prior | 158 | 819
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 19,212 | 3,953
Commercial Industrial And Other Portfolio Segment | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 346 | 506
Fiscal year before current fiscal year | 418 | 34
Two years before current fiscal year | 184 | 133
Three years before current fiscal year | 35 | 621
Four years before current fiscal year | 157 | 24
Prior | 633 | 1,433
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,773 | 2,751
Consumer Loans |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 48,669 | 28,601
Fiscal year before current fiscal year | 21,352 | 19,145
Two years before current fiscal year | 12,105 | 17,324
Three years before current fiscal year | 8,011 | 6,192
Four years before current fiscal year | 2,002 | 4,340
Prior | 5,636 | 2,840
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 97,775 | 78,442
Consumer Loans | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 48,600 | 27,948
Fiscal year before current fiscal year | 21,088 | 19,033
Two years before current fiscal year | 12,101 | 16,978
Three years before current fiscal year | 7,968 | 5,505
Four years before current fiscal year | 1,945 | 4,297
Prior | 5,630 | 1,244
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 97,332 | 75,005
Consumer Loans | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 68
Fiscal year before current fiscal year | 18 | 54
Two years before current fiscal year | 1 | 38
Three years before current fiscal year | 0 | 9
Four years before current fiscal year | 5 | 0
Prior | 0 | 0
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 24 | 169
Consumer Loans | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 69 | 585
Fiscal year before current fiscal year | 246 | 58
Two years before current fiscal year | 3 | 308
Three years before current fiscal year | 43 | 678
Four years before current fiscal year | 52 | 43
Prior | 6 | 1,596
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 419 | 3,268
Real Estate Loan |  |
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 3,319,128 | 2,789,843
Real Estate Loan | Construction and Land Development |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 63,846 | 38,766
Fiscal year before current fiscal year | 39,790 | 34,774
Two years before current fiscal year | 12,558 | 23,505
Three years before current fiscal year | 15,801 | 34,841
Four years before current fiscal year | 1,210 | 3,760
Prior | 11,059 | 9,472
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 144,264 | 145,118
Real Estate Loan | Construction and Land Development | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 63,846 | 38,656
Fiscal year before current fiscal year | 39,790 | 34,774
Two years before current fiscal year | 12,558 | 23,505
Three years before current fiscal year | 15,787 | 34,358
Four years before current fiscal year | 1,210 | 3,760
Prior | 10,601 | 9,433
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 143,792 | 144,486
Real Estate Loan | Construction and Land Development | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 110
Fiscal year before current fiscal year | 0 | 0
Two years before current fiscal year | 0 | 0
Three years before current fiscal year | 0 | 0
Four years before current fiscal year | 0 | 0
Prior | 0 | 0
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 0 | 110
Real Estate Loan | Construction and Land Development | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 0
Fiscal year before current fiscal year | 0 | 0
Two years before current fiscal year | 0 | 0
Three years before current fiscal year | 14 | 483
Four years before current fiscal year | 0 | 0
Prior | 458 | 39
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 472 | 522
Real Estate Loan | Agricultural |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 172,956 | 79,665
Fiscal year before current fiscal year | 67,115 | 64,418
Two years before current fiscal year | 58,773 | 30,133
Three years before current fiscal year | 25,060 | 30,774
Four years before current fiscal year | 29,229 | 12,268
Prior | 57,194 | 62,014
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 410,327 | 279,272
Real Estate Loan | Agricultural | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 171,833 | 78,793
Fiscal year before current fiscal year | 67,115 | 64,159
Two years before current fiscal year | 58,283 | 25,713
Three years before current fiscal year | 23,820 | 30,203
Four years before current fiscal year | 27,573 | 12,142
Prior | 52,799 | 54,808
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 401,423 | 265,818
Real Estate Loan | Agricultural | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,123 | 872
Fiscal year before current fiscal year | 0 | 259
Two years before current fiscal year | 490 | 4,028
Three years before current fiscal year | 1,240 | 384
Four years before current fiscal year | 273 | 69
Prior | 3,121 | 6,087
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 6,247 | 11,699
Real Estate Loan | Agricultural | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 0
Fiscal year before current fiscal year | 0 | 0
Two years before current fiscal year | 0 | 392
Three years before current fiscal year | 0 | 187
Four years before current fiscal year | 1,383 | 57
Prior | 1,274 | 1,119
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 2,657 | 1,755
Real Estate Loan | Commercial And Multifamily Portfolio Segment |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 564,891 | 573,392
Fiscal year before current fiscal year | 511,379 | 419,254
Two years before current fiscal year | 320,612 | 308,051
Three years before current fiscal year | 241,945 | 176,922
Four years before current fiscal year | 217,851 | 166,066
Prior | 467,679 | 321,455
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 2,324,357 | 1,965,140
Real Estate Loan | Commercial And Multifamily Portfolio Segment | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 558,921 | 568,200
Fiscal year before current fiscal year | 509,614 | 417,334
Two years before current fiscal year | 319,049 | 299,973
Three years before current fiscal year | 239,564 | 174,448
Four years before current fiscal year | 211,505 | 150,811
Prior | 453,076 | 304,585
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 2,291,729 | 1,915,351
Real Estate Loan | Commercial And Multifamily Portfolio Segment | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 2,187 | 3,185
Fiscal year before current fiscal year | 1,287 | 1,206
Two years before current fiscal year | 769 | 1,836
Three years before current fiscal year | 1,508 | 1,295
Four years before current fiscal year | 952 | 10,609
Prior | 8,503 | 8,632
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 15,206 | 26,763
Real Estate Loan | Commercial And Multifamily Portfolio Segment | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 3,783 | 2,007
Fiscal year before current fiscal year | 478 | 714
Two years before current fiscal year | 794 | 6,242
Three years before current fiscal year | 873 | 1,179
Four years before current fiscal year | 5,394 | 4,646
Prior | 6,100 | 8,238
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 17,422 | 23,026
1-4 Family | Real Estate Loan |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 95,606 | 79,478
Fiscal year before current fiscal year | 87,501 | 94,900
Two years before current fiscal year | 79,507 | 39,022
Three years before current fiscal year | 27,919 | 46,049
Four years before current fiscal year | 33,796 | 36,794
Prior | 72,129 | 60,577
Revolving Loans | 43,722 | 43,493
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 440,180 | 400,313
1-4 Family | Real Estate Loan | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 94,377 | 78,889
Fiscal year before current fiscal year | 86,717 | 94,404
Two years before current fiscal year | 78,977 | 35,554
Three years before current fiscal year | 27,580 | 44,248
Four years before current fiscal year | 30,809 | 30,735
Prior | 63,050 | 52,131
Revolving Loans | 43,722 | 42,800
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 425,232 | 378,761
1-4 Family | Real Estate Loan | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 169 | 234
Fiscal year before current fiscal year | 218 | 0
Two years before current fiscal year | 1 | 1,934
Three years before current fiscal year | 44 | 499
Four years before current fiscal year | 238 | 2,601
Prior | 1,000 | 1,196
Revolving Loans | 0 | 41
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,670 | 6,505
1-4 Family | Real Estate Loan | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,060 | 355
Fiscal year before current fiscal year | 566 | 496
Two years before current fiscal year | 529 | 1,534
Three years before current fiscal year | 295 | 1,302
Four years before current fiscal year | 2,749 | 3,458
Prior | 8,079 | 7,250
Revolving Loans | 0 | 652
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | $ 13,278 | $ 15,047

X
- Definition Financing receivable including held for sale net of deferred income. + References No definition available. + Details
Name: | fmbh_FinancingReceivableIncludingHeldForSaleNetOfDeferredIncome
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing Receivable, Recorded Investments, Aging. + References No definition available. + Details
Name: | fmbh_FinancingReceivableRecordedInvestmentsAgingAbstract
Namespace Prefix: | fmbh_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CreditQualityInformationAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 + Details
Name: | us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 + Details
Name: | us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 + Details
Name: | us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + Details
Name: | us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 + Details
Name: | us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 + Details
Name: | us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + Details
Name: | us-gaap_FinancingReceivableRevolving
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_PassMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmbh_AgriculturalExcludingAgriculturalRealEstatePortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmbh_CommercialIndustrialAndOtherPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmbh_ConstructionAndLandDevelopmentPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmbh_AgriculturalPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmbh_CommercialAndMultifamilyPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis=fmbh_OneToFourFamilyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |