2.4.0.8090100 - Disclosure - Significant Accounting Policies (Details)truefalsefalse1false falsefalsec20130101to20130630http://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00U006Standardhttp://fmbonline.com/20130630RiskFactorfmcb0U008Standardhttp://fmbonline.com/20130630Segmentfmcb0U007Standardhttp://www.xbrl.org/2003/instancepurexbrli0U004Standardhttp://fmbonline.com/20130630Componentfmcb0U005Standardhttp://fmbonline.com/20130630Categoryfmcb01true 2us-gaap_CashAndCashEquivalentsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 3fmcb_PeriodOfTransactionsForCashAndCashEquivalentsfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse001 dayfalsefalsefalsexbrli:durationItemTypenaThis line item represents the maturity period of all highly liquid investments from the time of purchase that are considered to be cash and cash equivalents.No definition available.false03true 2us-gaap_MarketableSecuritiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse04false 3fmcb_NumberOfComponentsIntoWhichAmountOfImpairmentIsSplitfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse22falsefalsefalsexbrli:integerItemTypeintegerRepresents the number of components into which amount of impairment is split.No definition available.false2565true 2us-gaap_LoansPayableAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false 3fmcb_MinimumPeriodAfterWhichLoansArePlacedOnNonAccrualStatusfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse0090 daysfalsefalsefalsexbrli:durationItemTypenaRepresents the minimum period after which loans are placed on non accrual status.No definition available.false07true 2us-gaap_AllowanceForLoanAndLeaseLossesProvisionForLossNetAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false 3fmcb_NumberOfPrimaryComponentsOfOverallAllowanceForCreditLossesfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse22falsefalsefalsexbrli:integerItemTypeintegerRepresents the number of primary components of overall allowance for credit losses.No definition available.false2569false 3fmcb_NumberOfCategoriesIntoWhichRiskRatingsAreGroupedfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse55falsefalsefalsexbrli:integerItemTypeintegerRepresents the number of categories into which risk ratings are grouped.No definition available.false25610false 3fmcb_NumberOfRiskFactorsOnAgriculturalLoansfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse22falsefalsefalsexbrli:integerItemTypeintegerRepresents the number of risk factors on agricultural loans.No definition available.false25611false 3fmcb_ResidentialRealEstateValuesfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse005 yearsfalsefalsefalsexbrli:durationItemTypenaThis represents the number of years for residential real estate values.No definition available.false012true 2us-gaap_IncomeTaxDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false 3fmcb_MinimumPercentageLikelyOfBeingRealizedUponSettlementWithApplicableTaxingAuthorityfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.50.5falsefalsefalsenum:percentItemTypepureRepresents the minimum percentage likely of being realized upon settlement with the applicable taxing authority.No definition available.false014true 2us-gaap_SegmentReportingAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false 3us-gaap_NumberOfReportableSegmentsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse11falsefalsefalsexbrli:integerItemTypeintegerNumber of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.No definition available.false25616false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2false truefalsec20130101to20130630_PropertyPlantAndEquipmentByTypeAxis_BuildingMember_RangeAxis_MinimumMemberhttp://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseBuildings [Member]us-gaap_PropertyPlantAndEquipmentByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_BuildingMemberus-gaap_PropertyPlantAndEquipmentByTypeAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse017true 3us-gaap_PropertyPlantAndEquipmentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 4us-gaap_PropertyPlantAndEquipmentUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse0030 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.No definition available.false019false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3false truefalsec20130101to20130630_PropertyPlantAndEquipmentByTypeAxis_BuildingMember_RangeAxis_MaximumMemberhttp://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseBuildings [Member]us-gaap_PropertyPlantAndEquipmentByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_BuildingMemberus-gaap_PropertyPlantAndEquipmentByTypeAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse020true 3us-gaap_PropertyPlantAndEquipmentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false 4us-gaap_PropertyPlantAndEquipmentUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse0040 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.No definition available.false022false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse4false truefalsec20130101to20130630_PropertyPlantAndEquipmentByTypeAxis_FurnitureAndFixturesMember_RangeAxis_MinimumMemberhttp://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseFurniture and Equipment [Member]us-gaap_PropertyPlantAndEquipmentByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FurnitureAndFixturesMemberus-gaap_PropertyPlantAndEquipmentByTypeAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse023true 3us-gaap_PropertyPlantAndEquipmentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false 4us-gaap_PropertyPlantAndEquipmentUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse003 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.No definition available.false025false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse5false truefalsec20130101to20130630_PropertyPlantAndEquipmentByTypeAxis_FurnitureAndFixturesMember_RangeAxis_MaximumMemberhttp://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseFurniture and Equipment [Member]us-gaap_PropertyPlantAndEquipmentByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FurnitureAndFixturesMemberus-gaap_PropertyPlantAndEquipmentByTypeAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse026true 3us-gaap_PropertyPlantAndEquipmentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false 4us-gaap_PropertyPlantAndEquipmentUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse007 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.No definition available.false028false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse6false truefalsec20130101to20130630_PropertyPlantAndEquipmentByTypeAxis_LeaseholdImprovementsMember_RangeAxis_MinimumMemberhttp://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseLeasehold Improvements [Member]us-gaap_PropertyPlantAndEquipmentByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LeaseholdImprovementsMemberus-gaap_PropertyPlantAndEquipmentByTypeAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse029true 3us-gaap_PropertyPlantAndEquipmentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse030false 4us-gaap_PropertyPlantAndEquipmentUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse005 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.No definition available.false031false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse7false truefalsec20130101to20130630_PropertyPlantAndEquipmentByTypeAxis_LeaseholdImprovementsMember_RangeAxis_MaximumMemberhttp://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseLeasehold Improvements [Member]us-gaap_PropertyPlantAndEquipmentByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LeaseholdImprovementsMemberus-gaap_PropertyPlantAndEquipmentByTypeAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse032true 3us-gaap_PropertyPlantAndEquipmentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse033false 4us-gaap_PropertyPlantAndEquipmentUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse0010 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.No definition available.false0falseSignificant Accounting Policies (Details)UnKnownUnKnownUnKnownUnKnowntruefalsefalseSheethttp://fmbonline.com/role/SignificantAccountingPoliciesDetails133