XML 58 R51.htm IDEA: XBRL DOCUMENT
v3.25.3

Loans and Allowance for Credit Losses - Credit Risk Profile of Loan Portfolio on Amortized Cost Basis Based on Risk Rating Category and Year of Origination (Details) - USD ($) $ in Thousands | Sep. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Credit Quality Information [Abstract] |  |
Current fiscal year | $ 1,007,885 | $ 862,051
Fiscal year before current fiscal year | 696,754 | 653,404
Two years before current fiscal year | 464,744 | 1,261,147
Three years before current fiscal year | 1,105,651 | 891,374
Four years before current fiscal year | 831,783 | 546,507
Prior | 1,627,731 | 1,377,588
Revolving Loans | 89,490 | 80,391
Current period gross write-offs, current fiscal year | 0 | 108
Current period gross write-offs, fiscal year before current fiscal year | 999 | 2,369
Current period gross write-offs, two year before current fiscal year | 1,386 | 625
Current period gross write-offs, three year before current fiscal year | 1,498 | 602
Current period gross write-offs, four year before current fiscal year | 846 | 69
Current period gross write-offs, prior | 1,706 | 1,975
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 5,824,038 | 5,672,462
Current period gross write-offs, total loans receivables | 6,435 | 5,748
Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,005,132 | 859,452
Fiscal year before current fiscal year | 676,049 | 626,738
Two years before current fiscal year | 434,662 | 1,245,490
Three years before current fiscal year | 1,083,546 | 885,295
Four years before current fiscal year | 823,567 | 542,310
Prior | 1,576,107 | 1,340,099
Revolving Loans | 88,471 | 79,714
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 5,687,534 | 5,579,098
Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,743 | 1,505
Fiscal year before current fiscal year | 16,090 | 17,281
Two years before current fiscal year | 11,443 | 6,668
Three years before current fiscal year | 13,593 | 4,213
Four years before current fiscal year | 4,422 | 3,488
Prior | 13,904 | 24,634
Revolving Loans | 0 | 59
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 61,195 | 57,848
Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,010 | 1,094
Fiscal year before current fiscal year | 4,615 | 9,385
Two years before current fiscal year | 18,639 | 8,989
Three years before current fiscal year | 8,512 | 1,866
Four years before current fiscal year | 3,794 | 709
Prior | 37,720 | 12,855
Revolving Loans | 1,019 | 618
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 75,309 | 35,516
Agricultural Loans |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 199,072 | 176,862
Fiscal year before current fiscal year | 63,115 | 33,324
Two years before current fiscal year | 15,634 | 16,332
Three years before current fiscal year | 17,585 | 9,262
Four years before current fiscal year | 12,435 | 1,585
Prior | 3,753 | 2,306
Revolving Loans | 0 | 0
Current period gross write-offs, current fiscal year | 0 | 0
Current period gross write-offs, fiscal year before current fiscal year | 280 | 2,213
Current period gross write-offs, two year before current fiscal year | 1,081 | 100
Current period gross write-offs, three year before current fiscal year | 836 | 52
Current period gross write-offs, four year before current fiscal year | 306 | 0
Current period gross write-offs, prior | 0 | 45
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 311,594 | 239,671
Current period gross write-offs, total loans receivables | 2,503 | 2,410
Agricultural Loans | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 197,424 | 175,402
Fiscal year before current fiscal year | 62,560 | 24,024
Two years before current fiscal year | 13,421 | 13,147
Three years before current fiscal year | 16,830 | 9,162
Four years before current fiscal year | 12,412 | 1,585
Prior | 3,753 | 2,306
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 306,400 | 225,626
Agricultural Loans | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 1,355 | 617
Fiscal year before current fiscal year | 76 | 2,208
Two years before current fiscal year | 11 | 976
Three years before current fiscal year | 0 | 100
Four years before current fiscal year | 23 | 0
Prior | 0 | 0
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,465 | 3,901
Agricultural Loans | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 293 | 843
Fiscal year before current fiscal year | 479 | 7,092
Two years before current fiscal year | 2,202 | 2,209
Three years before current fiscal year | 755 | 0
Four years before current fiscal year | 0 | 0
Prior | 0 | 0
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 3,729 | 10,144
Commercial Industrial And Other Portfolio Segment |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 362,509 | 307,904
Fiscal year before current fiscal year | 243,881 | 230,970
Two years before current fiscal year | 112,837 | 280,911
Three years before current fiscal year | 230,988 | 184,236
Four years before current fiscal year | 163,610 | 132,123
Prior | 399,768 | 369,008
Revolving Loans | 0 | 0
Current period gross write-offs, current fiscal year | 0 | 10
Current period gross write-offs, fiscal year before current fiscal year | 0 | 47
Current period gross write-offs, two year before current fiscal year | 163 | 207
Current period gross write-offs, three year before current fiscal year | 225 | 378
Current period gross write-offs, four year before current fiscal year | 497 | 10
Current period gross write-offs, prior | 769 | 36
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,513,593 | 1,505,152
Current period gross write-offs, total loans receivables | 1,654 | 688
Commercial Industrial And Other Portfolio Segment | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 362,349 | 307,785
Fiscal year before current fiscal year | 228,578 | 228,411
Two years before current fiscal year | 101,224 | 278,845
Three years before current fiscal year | 228,885 | 183,042
Four years before current fiscal year | 159,932 | 131,005
Prior | 377,237 | 360,610
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,458,205 | 1,489,698
Commercial Industrial And Other Portfolio Segment | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 160 | 54
Fiscal year before current fiscal year | 15,055 | 1,149
Two years before current fiscal year | 9,367 | 1,277
Three years before current fiscal year | 578 | 748
Four years before current fiscal year | 3,340 | 1,020
Prior | 5,108 | 7,583
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 33,608 | 11,831
Commercial Industrial And Other Portfolio Segment | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 65
Fiscal year before current fiscal year | 248 | 1,410
Two years before current fiscal year | 2,246 | 789
Three years before current fiscal year | 1,525 | 446
Four years before current fiscal year | 338 | 98
Prior | 17,423 | 815
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 21,780 | 3,623
Consumer Loans |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 4,727 | 5,110
Fiscal year before current fiscal year | 3,006 | 5,159
Two years before current fiscal year | 3,270 | 24,703
Three years before current fiscal year | 15,520 | 12,026
Four years before current fiscal year | 6,868 | 4,548
Prior | 2,926 | 2,414
Revolving Loans | 0 | 0
Current period gross write-offs, current fiscal year | 0 | 98
Current period gross write-offs, fiscal year before current fiscal year | 20 | 63
Current period gross write-offs, two year before current fiscal year | 26 | 154
Current period gross write-offs, three year before current fiscal year | 99 | 139
Current period gross write-offs, four year before current fiscal year | 43 | 59
Current period gross write-offs, prior | 781 | 1,491
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 36,317 | 53,960
Current period gross write-offs, total loans receivables | 969 | 2,004
Consumer Loans | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 4,722 | 5,098
Fiscal year before current fiscal year | 2,978 | 5,138
Two years before current fiscal year | 3,253 | 24,430
Three years before current fiscal year | 15,325 | 11,810
Four years before current fiscal year | 6,736 | 4,494
Prior | 2,864 | 2,385
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 35,878 | 53,355
Consumer Loans | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 0
Fiscal year before current fiscal year | 0 | 0
Two years before current fiscal year | 0 | 14
Three years before current fiscal year | 44 | 0
Four years before current fiscal year | 0 | 0
Prior | 0 | 0
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 44 | 14
Consumer Loans | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 5 | 12
Fiscal year before current fiscal year | 28 | 21
Two years before current fiscal year | 17 | 259
Three years before current fiscal year | 151 | 216
Four years before current fiscal year | 132 | 54
Prior | 62 | 29
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 395 | 591
Real Estate Loan |  |
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 3,962,534 | 3,873,679
Real Estate Loan | Construction and Land Development |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 72,819 | 82,696
Fiscal year before current fiscal year | 120,295 | 101,715
Two years before current fiscal year | 103,131 | 14,396
Three years before current fiscal year | 9,558 | 15,817
Four years before current fiscal year | 15,038 | 4,735
Prior | 15,954 | 16,734
Revolving Loans | 0 | 0
Current period gross write-offs, current fiscal year | 0 | 0
Current period gross write-offs, fiscal year before current fiscal year | 0 | 0
Current period gross write-offs, two year before current fiscal year | 107 | 0
Current period gross write-offs, three year before current fiscal year | 0 | 0
Current period gross write-offs, four year before current fiscal year | 0 | 0
Current period gross write-offs, prior | 0 | 0
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 336,795 | 236,093
Current period gross write-offs, total loans receivables | 107 | 0
Real Estate Loan | Construction and Land Development | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 72,819 | 82,696
Fiscal year before current fiscal year | 120,295 | 101,715
Two years before current fiscal year | 103,131 | 14,390
Three years before current fiscal year | 9,553 | 15,817
Four years before current fiscal year | 15,038 | 4,735
Prior | 15,589 | 16,342
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 336,425 | 235,695
Real Estate Loan | Construction and Land Development | Special Mention |  |
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 | 0 | 0
Four years before current fiscal year | 0 | 0
Prior | 357 | 382
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 357 | 382
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 | 6
Three years before current fiscal year | 5 | 0
Four years before current fiscal year | 0 | 0
Prior | 8 | 10
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 13 | 16
Real Estate Loan | Agricultural |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 30,232 | 25,824
Fiscal year before current fiscal year | 22,947 | 17,625
Two years before current fiscal year | 14,687 | 160,506
Three years before current fiscal year | 134,180 | 56,069
Four years before current fiscal year | 60,132 | 50,455
Prior | 105,295 | 80,281
Revolving Loans | 0 | 0
Current period gross write-offs, current fiscal year | 0 | 0
Current period gross write-offs, fiscal year before current fiscal year | 0 | 0
Current period gross write-offs, two year before current fiscal year | 0 | 0
Current period gross write-offs, three year before current fiscal year | 0 | 0
Current period gross write-offs, four year before current fiscal year | 0 | 0
Current period gross write-offs, prior | 0 | 0
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 367,473 | 390,760
Current period gross write-offs, total loans receivables | 0 | 0
Real Estate Loan | Agricultural | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 29,421 | 25,824
Fiscal year before current fiscal year | 22,408 | 17,292
Two years before current fiscal year | 12,699 | 159,433
Three years before current fiscal year | 132,936 | 55,083
Four years before current fiscal year | 59,142 | 48,700
Prior | 98,280 | 73,592
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 354,886 | 379,924
Real Estate Loan | Agricultural | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 228 | 0
Fiscal year before current fiscal year | 539 | 192
Two years before current fiscal year | 1,988 | 107
Three years before current fiscal year | 1,139 | 986
Four years before current fiscal year | 990 | 1,755
Prior | 2,600 | 5,630
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 7,484 | 8,670
Real Estate Loan | Agricultural | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 583 | 0
Fiscal year before current fiscal year | 0 | 141
Two years before current fiscal year | 0 | 966
Three years before current fiscal year | 105 | 0
Four years before current fiscal year | 0 | 0
Prior | 4,415 | 1,059
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 5,103 | 2,166
Real Estate Loan | Commercial And Multifamily Portfolio Segment |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 289,806 | 216,956
Fiscal year before current fiscal year | 208,414 | 227,485
Two years before current fiscal year | 183,487 | 688,599
Three years before current fiscal year | 630,575 | 537,576
Four years before current fiscal year | 503,891 | 290,568
Prior | 946,556 | 789,045
Revolving Loans | 0 | 0
Current period gross write-offs, current fiscal year | 0 | 0
Current period gross write-offs, fiscal year before current fiscal year | 699 | 0
Current period gross write-offs, two year before current fiscal year | 0 | 151
Current period gross write-offs, three year before current fiscal year | 338 | 0
Current period gross write-offs, four year before current fiscal year | 0 | 0
Current period gross write-offs, prior | 70 | 300
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 2,762,729 | 2,750,229
Current period gross write-offs, total loans receivables | 1,107 | 451
Real Estate Loan | Commercial And Multifamily Portfolio Segment | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 289,806 | 216,297
Fiscal year before current fiscal year | 204,644 | 213,704
Two years before current fiscal year | 169,816 | 680,665
Three years before current fiscal year | 613,889 | 535,056
Four years before current fiscal year | 501,485 | 289,855
Prior | 932,382 | 774,516
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 2,712,022 | 2,710,093
Real Estate Loan | Commercial And Multifamily Portfolio Segment | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 659
Fiscal year before current fiscal year | 420 | 13,732
Two years before current fiscal year | 77 | 4,090
Three years before current fiscal year | 11,589 | 2,053
Four years before current fiscal year | 0 | 713
Prior | 5,092 | 10,462
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 17,178 | 31,709
Real Estate Loan | Commercial And Multifamily Portfolio Segment | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 0
Fiscal year before current fiscal year | 3,350 | 49
Two years before current fiscal year | 13,594 | 3,844
Three years before current fiscal year | 5,097 | 467
Four years before current fiscal year | 2,406 | 0
Prior | 9,082 | 4,067
Revolving Loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 33,529 | 8,427
1-4 Family | Real Estate Loan |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 48,720 | 46,699
Fiscal year before current fiscal year | 35,096 | 37,126
Two years before current fiscal year | 31,698 | 75,700
Three years before current fiscal year | 67,245 | 76,388
Four years before current fiscal year | 69,809 | 62,493
Prior | 153,479 | 117,800
Revolving Loans | 89,490 | 80,391
Current period gross write-offs, current fiscal year | 0 | 0
Current period gross write-offs, fiscal year before current fiscal year | 0 | 46
Current period gross write-offs, two year before current fiscal year | 9 | 13
Current period gross write-offs, three year before current fiscal year | 0 | 33
Current period gross write-offs, four year before current fiscal year | 0 | 0
Current period gross write-offs, prior | 86 | 103
Current period gross write-offs, revolving loans | 0 | 0
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 495,537 | 496,597
Current period gross write-offs, total loans receivables | 95 | 195
1-4 Family | Real Estate Loan | Pass |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 48,591 | 46,350
Fiscal year before current fiscal year | 34,586 | 36,454
Two years before current fiscal year | 31,118 | 74,580
Three years before current fiscal year | 66,128 | 75,325
Four years before current fiscal year | 68,822 | 61,936
Prior | 146,002 | 110,348
Revolving Loans | 88,471 | 79,714
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 483,718 | 484,707
1-4 Family | Real Estate Loan | Special Mention |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 0 | 175
Fiscal year before current fiscal year | 0 | 0
Two years before current fiscal year | 0 | 204
Three years before current fiscal year | 243 | 326
Four years before current fiscal year | 69 | 0
Prior | 747 | 577
Revolving Loans | 0 | 59
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | 1,059 | 1,341
1-4 Family | Real Estate Loan | Substandard |  |
Credit Quality Information [Abstract] |  |
Current fiscal year | 129 | 174
Fiscal year before current fiscal year | 510 | 672
Two years before current fiscal year | 580 | 916
Three years before current fiscal year | 874 | 737
Four years before current fiscal year | 918 | 557
Prior | 6,730 | 6,875
Revolving Loans | 1,019 | 618
Loans Receivable Aging Analysis [Abstract] |  |
Total Loans Receivable | $ 10,760 | $ 10,549

X
- Definition Financing Receivable Current Period Gross Writeoffs Five Or More Years Before Latest Fiscal Year. + References No definition available. + Details
Name: | fmbh_FinancingReceivableCurrentPeriodGrossWriteoffsFiveOrMoreYearsBeforeLatestFiscalYear
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing Receivable Current Period Gross Writeoffs Four Years Before Latest Fiscal Year. + References No definition available. + Details
Name: | fmbh_FinancingReceivableCurrentPeriodGrossWriteoffsFourYearsBeforeLatestFiscalYear
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing Receivable Current Period Gross Writeoffs In Current Fiscal Year + References No definition available. + Details
Name: | fmbh_FinancingReceivableCurrentPeriodGrossWriteoffsInCurrentFiscalYear
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing Receivable Current Period Gross Writeoffs In Fiscal Year Before Latest Fiscal Year. + References No definition available. + Details
Name: | fmbh_FinancingReceivableCurrentPeriodGrossWriteoffsInFiscalYearBeforeLatestFiscalYear
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Financing Receivable Current Period Gross Writeoffs Revolving. + References No definition available. + Details
Name: | fmbh_FinancingReceivableCurrentPeriodGrossWriteoffsRevolving
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing Receivable Current Period Gross Writeoffs Three Years Before Latest Fiscal Year. + References No definition available. + Details
Name: | fmbh_FinancingReceivableCurrentPeriodGrossWriteoffsThreeYearsBeforeLatestFiscalYear
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing Receivable Current Period Gross Writeoffs Two Years Before Latest Fiscal Year + References No definition available. + Details
Name: | fmbh_FinancingReceivableCurrentPeriodGrossWriteoffsTwoYearsBeforeLatestFiscalYear
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + 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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + 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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + 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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + 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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + 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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + 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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + 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: |