{
 "instance": {
  "func-20200930x10q.htm": {
   "axisCustom": 0,
   "axisStandard": 33,
   "contextCount": 757,
   "dts": {
    "calculationLink": {
     "local": [
      "func-20200930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "func-20200930_def.xml"
     ],
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-eedm-def-2020-01-31.xml",
      "http://xbrl.fasb.org/srt/2020/elts/srt-eedm1-def-2020-01-31.xml"
     ]
    },
    "inline": {
     "local": [
      "func-20200930x10q.htm"
     ]
    },
    "labelLink": {
     "local": [
      "func-20200930_lab.xml"
     ],
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-doc-2020-01-31.xml",
      "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "func-20200930_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-ref-2020-01-31.xml",
      "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "func-20200930.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2020/elts/us-roles-2020-01-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd",
      "http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://xbrl.fasb.org/srt/2020/elts/srt-types-2020-01-31.xsd",
      "http://xbrl.fasb.org/srt/2020/elts/srt-roles-2020-01-31.xsd",
      "https://xbrl.sec.gov/country/2020/country-2020-01-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2020/elts/us-types-2020-01-31.xsd",
      "https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "http://xbrl.fasb.org/us-gaap/2020/elts/us-parts-codification-2020-01-31.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 670,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2020-01-31": 11,
    "http://xbrl.sec.gov/dei/2019-01-31": 5,
    "total": 16
   },
   "keyCustom": 76,
   "keyStandard": 403,
   "memberCustom": 63,
   "memberStandard": 56,
   "nsprefix": "func",
   "nsuri": "http://www.mybankfirstunited.com/20200930",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "00090 - Document - Document and Entity Information",
     "role": "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnusualOrInfrequentItemsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10201 - Disclosure - Significant Event",
     "role": "http://www.mybankfirstunited.com/role/DisclosureSignificantEvent",
     "shortName": "Significant Event",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnusualOrInfrequentItemsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10301 - Disclosure - Earnings Per Common Share",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShare",
     "shortName": "Earnings Per Common Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "func:GainLossTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10401 - Disclosure - Net Gains",
     "role": "http://www.mybankfirstunited.com/role/DisclosureNetGains",
     "shortName": "Net Gains",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "func:GainLossTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10501 - Disclosure - Investments",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestments",
     "shortName": "Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10601 - Disclosure - Loans and Related Allowance for Loan Losses",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowanceForLoanLosses",
     "shortName": "Loans and Related Allowance for Loan Losses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10701 - Disclosure - Other Real Estate Owned, Net",
     "role": "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNet",
     "shortName": "Other Real Estate Owned, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10801 - Disclosure - Fair Value of Financial Instruments",
     "role": "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstruments",
     "shortName": "Fair Value of Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10901 - Disclosure - Accumulated Other Comprehensive Loss",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLoss",
     "shortName": "Accumulated Other Comprehensive Loss",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11001 - Disclosure - Borrowed Funds",
     "role": "http://www.mybankfirstunited.com/role/DisclosureBorrowedFunds",
     "shortName": "Borrowed Funds",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11101 - Disclosure - Employee Benefit Plans",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlans",
     "shortName": "Employee Benefit Plans",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00100 - Statement - Consolidated Statement of Financial Condition",
     "role": "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition",
     "shortName": "Consolidated Statement of Financial Condition",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11201 - Disclosure - Equity Compensation Plan Information",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformation",
     "shortName": "Equity Compensation Plan Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11301 - Disclosure - Derivative Financial Instruments",
     "role": "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstruments",
     "shortName": "Derivative Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11401 - Disclosure - Assets and Liabilities Subject to Enforceable Master Netting Arrangements",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangements",
     "shortName": "Assets and Liabilities Subject to Enforceable Master Netting Arrangements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11501 - Disclosure - Goodwill",
     "role": "http://www.mybankfirstunited.com/role/DisclosureGoodwill",
     "shortName": "Goodwill",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11601 - Disclosure - Adoption of New Accounting Standards and Effects of New Accounting Pronouncements",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAdoptionOfNewAccountingStandardsAndEffectsOfNewAccountingPronouncements",
     "shortName": "Adoption of New Accounting Standards and Effects of New Accounting Pronouncements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerSharePolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "20302 - Disclosure - Earnings Per Common Share (Policy)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonSharePolicy",
     "shortName": "Earnings Per Common Share (Policy)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerSharePolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "20502 - Disclosure - Investments (Policy)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestmentsPolicy",
     "shortName": "Investments (Policy)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansNonperformingLoansPolicy",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "20602 - Disclosure - Loans And Related Allowances For Loan Losses (Policy)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPolicy",
     "shortName": "Loans And Related Allowances For Loan Losses (Policy)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansNonperformingLoansPolicy",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnusualRisksAndUncertaintiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30203 - Disclosure - Significant Event (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureSignificantEventTables",
     "shortName": "Significant Event (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnusualRisksAndUncertaintiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30303 - Disclosure - Earnings Per Common Share (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareTables",
     "shortName": "Earnings Per Common Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesFairValue",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00105 - Statement - Consolidated Statement of Financial Condition (Parenthetical)",
     "role": "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialConditionParenthetical",
     "shortName": "Consolidated Statement of Financial Condition (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockParOrStatedValuePerShare",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit19",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "func:NetGainLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30403 - Disclosure - Net Gains (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureNetGainsTables",
     "shortName": "Net Gains (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "func:NetGainLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30503 - Disclosure - Investments (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30603 - Disclosure - Loans And Related Allowances For Loan Losses (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables",
     "shortName": "Loans And Related Allowances For Loan Losses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30703 - Disclosure - Other Real Estate Owned, Net (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetTables",
     "shortName": "Other Real Estate Owned, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30803 - Disclosure - Fair Value of Financial Instruments (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables",
     "shortName": "Fair Value of Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30903 - Disclosure - Accumulated Other Comprehensive Loss (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables",
     "shortName": "Accumulated Other Comprehensive Loss (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShortTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31003 - Disclosure - Borrowed Funds (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsTables",
     "shortName": "Borrowed Funds (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShortTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31103 - Disclosure - Employee Benefit Plans (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables",
     "shortName": "Employee Benefit Plans (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31303 - Disclosure - Derivative Financial Instruments (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsTables",
     "shortName": "Derivative Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OffsettingLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31403 - Disclosure - Assets and Liabilities Subject to Enforceable Master Netting Arrangements (Tables)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsTables",
     "shortName": "Assets and Liabilities Subject to Enforceable Master Netting Arrangements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OffsettingLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00200 - Statement - Consolidated Statement of Operations",
     "role": "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations",
     "shortName": "Consolidated Statement of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020_us-gaap_UnusualRiskOrUncertaintyByNatureAxis_func_CovidNineteenMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "func:NumberOfStatesWithReportedCovidNineteenCases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit18",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40201 - Disclosure - Significant Event (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails",
     "shortName": "Significant Event (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020_us-gaap_UnusualRiskOrUncertaintyByNatureAxis_func_CovidNineteenMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "func:NumberOfStatesWithReportedCovidNineteenCases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit18",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:UnusualRisksAndUncertaintiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unitRef": "Unit16",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40202 - Disclosure - Significant Event (Data on Consumer and Commercial Loan Portfolios by Industry and Percentage of Portfolio Modified) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails",
     "shortName": "Significant Event (Data on Consumer and Commercial Loan Portfolios by Industry and Percentage of Portfolio Modified) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:UnusualRisksAndUncertaintiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020_us-gaap_FinancingReceivablePortfolioSegmentAxis_us-gaap_CommercialLoanMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit16",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40301 - Disclosure - Earnings Per Common Share (Basic and Diluted Earnings Per Share) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails",
     "shortName": "Earnings Per Common Share (Basic and Diluted Earnings Per Share) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_us-gaap_RestrictedStockUnitsRSUMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit1",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "func:NetGainLossTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesGrossRealizedGains",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40401 - Disclosure - Net Gains (Summary of Gain/(Loss) Activity) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails",
     "shortName": "Net Gains (Summary of Gain/(Loss) Activity) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesAmortizedCost",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40501 - Disclosure - Investments (Unrealized Gain (Loss) on Investments) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails",
     "shortName": "Investments (Unrealized Gain (Loss) on Investments) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecurities",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40502 - Disclosure - Investments (Proceeds from Sales and Realized Gains and Losses) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestmentsProceedsFromSalesAndRealizedGainsAndLossesDetails",
     "shortName": "Investments (Proceeds from Sales and Realized Gains and Losses) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40503 - Disclosure - Investments (Gross Unrealized Losses and Fair Values of Securities) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
     "shortName": "Investments (Gross Unrealized Losses and Fair Values of Securities) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_6_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40504 - Disclosure - Investments (Non-Cash OTTI Credit Losses Recognized in Earnings) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestmentsNonCashOttiCreditLossesRecognizedInEarningsDetails",
     "shortName": "Investments (Non-Cash OTTI Credit Losses Recognized in Earnings) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_6_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40505 - Disclosure - Investments (Amortized Cost and Fair Values Classified by Contractual Maturity Date) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
     "shortName": "Investments (Amortized Cost and Fair Values Classified by Contractual Maturity Date) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40601 - Disclosure - Loans And Related Allowances For Loan Losses (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020_us-gaap_InternalCreditAssessmentAxis_us-gaap_SubstandardMember",
      "decimals": "-5",
      "lang": null,
      "name": "func:IncreaseInFinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00300 - Statement - Consolidated Statement of Comprehensive Income",
     "role": "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome",
     "shortName": "Consolidated Statement of Comprehensive Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "lang": null,
      "name": "func:NetUnrealizedLossesGainsOnInvestmentsWithOtti",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableIndividuallyEvaluatedForImpairment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40602 - Disclosure - Loans And Related Allowances For Loan Losses (Loan Portfolio Segments) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Loan Portfolio Segments) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableIndividuallyEvaluatedForImpairment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40604 - Disclosure - Loans And Related Allowances For Loan Losses (Classes of the Loan Portfolio Summarized by the Aggregate Risk Rating) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Classes of the Loan Portfolio Summarized by the Aggregate Risk Rating) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_InternalCreditAssessmentAxis_us-gaap_PassMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40605 - Disclosure - Loans And Related Allowances For Loan Losses (Loan Portfolio Summarized by the Past Due Status) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Loan Portfolio Summarized by the Past Due Status) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "func:PrimarySegmentsOfAllowanceForLoanLossTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40606 - Disclosure - Loans And Related Allowances For Loan Losses (Primary Segments of the Allowance for Loan Loss) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Primary Segments of the Allowance for Loan Loss) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "func:PrimarySegmentsOfAllowanceForLoanLossTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40607 - Disclosure - Loans And Related Allowances For Loan Losses (Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_6_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40608 - Disclosure - Loans And Related Allowances For Loan Losses (Allowance for Loan Losses Summarized by Loan Portfolio Segments) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Allowance for Loan Losses Summarized by Loan Portfolio Segments) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_CommercialRealEstatePortfolioSegmentMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesRecovery",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableAverageRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40609 - Disclosure - Loans And Related Allowances For Loan Losses (Average of Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Average of Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableAverageRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:UnusualRisksAndUncertaintiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unitRef": "Unit16",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40610 - Disclosure - Loans And Related Allowances For Loan Losses (Modification of Troubled Debt Restructuring by Class) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
     "shortName": "Loans And Related Allowances For Loan Losses (Modification of Troubled Debt Restructuring by Class) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2019_To_9_30_2019_us-gaap_LoanRestructuringModificationAxis_func_TemporaryRateModificationMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit16",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RealEstateAcquiredThroughForeclosure",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40701 - Disclosure - Other Real Estate Owned, Net (Schedule of Real Estate Properties) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails",
     "shortName": "Other Real Estate Owned, Net (Schedule of Real Estate Properties) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_CommercialRealEstatePortfolioSegmentMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RealEstateAcquiredThroughForeclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:OtherRealEstateRollForwardTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_6_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RealEstateOwnedValuationAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40702 - Disclosure - Other Real Estate Owned, Net (Schedule of Activity in OREO Valuation Allowance) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfActivityInOreoValuationAllowanceDetails",
     "shortName": "Other Real Estate Owned, Net (Schedule of Activity in OREO Valuation Allowance) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:OtherRealEstateRollForwardTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_6_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RealEstateOwnedValuationAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_12_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00400 - Statement - Consolidated Statement of Changes in Shareholders' Equity",
     "role": "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity",
     "shortName": "Consolidated Statement of Changes in Shareholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2019_To_3_31_2019_us-gaap_StatementEquityComponentsAxis_us-gaap_RetainedEarningsMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "func:ScheduleOfComponentsOfOtherRealEstateOwnedExpenseTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainsLossesOnSalesOfOtherRealEstate",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40703 - Disclosure - Other Real Estate Owned, Net (Schedule of Components of OREO Expenses, Net) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails",
     "shortName": "Other Real Estate Owned, Net (Schedule of Components of OREO Expenses, Net) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "func:ScheduleOfComponentsOfOtherRealEstateOwnedExpenseTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "lang": null,
      "name": "func:OreoExpensesNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
       "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
       "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
       "span",
       "p",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40801 - Disclosure - Fair Value of Financial Instruments (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
     "shortName": "Fair Value of Financial Instruments (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
       "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
       "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
       "span",
       "p",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_FairValueByAssetClassAxis_func_InvestmentSecuritiesAvailableForSaleMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_us-gaap_ValuationTechniqueAxis_func_DiscountedCashFlowMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40802 - Disclosure - Fair Value of Financial Instruments (Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
     "shortName": "Fair Value of Financial Instruments (Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_FairValueByAssetClassAxis_func_InvestmentSecuritiesAvailableForSaleMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_us-gaap_ValuationTechniqueAxis_func_DiscountedCashFlowMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecurities",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40803 - Disclosure - Fair Value of Financial Instruments (Assets And Liabilities Measured At Fair Value On A Recurring And Nonrecurring Basis) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
     "shortName": "Fair Value of Financial Instruments (Assets And Liabilities Measured At Fair Value On A Recurring And Nonrecurring Basis) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_FairValueByLiabilityClassAxis_us-gaap_DerivativeFinancialInstrumentsLiabilitiesMember_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestRateCashFlowHedgeLiabilityAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_6_30_2020_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_us-gaap_FinancialInstrumentAxis_us-gaap_CollateralizedDebtObligationsMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40804 - Disclosure - Fair Value of Financial Instruments (Reconciliation Of Fair Valued Assets Measured On A Recurring Basis) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails",
     "shortName": "Fair Value of Financial Instruments (Reconciliation Of Fair Valued Assets Measured On A Recurring Basis) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_6_30_2020_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_us-gaap_FinancialInstrumentAxis_us-gaap_CollateralizedDebtObligationsMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansHeldForSaleFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40805 - Disclosure - Fair Value of Financial Instruments (Fair Value By Balance Sheet Grouping) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
     "shortName": "Fair Value of Financial Instruments (Fair Value By Balance Sheet Grouping) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member",
      "decimals": "-3",
      "lang": null,
      "name": "func:CashAndCashEquivalentsExcludingInterestBearingDepositsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_12_31_2019",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40901 - Disclosure - Accumulated Other Comprehensive Loss (Schedule of Accumulated Other Comprehensive Loss) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails",
     "shortName": "Accumulated Other Comprehensive Loss (Schedule of Accumulated Other Comprehensive Loss) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_12_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_AccumulatedOtherThanTemporaryImpairmentMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40902 - Disclosure - Accumulated Other Comprehensive Loss (Components of Comprehensive Income) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
     "shortName": "Accumulated Other Comprehensive Loss (Components of Comprehensive Income) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "func:NetGainLossTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "func:GainLossOther",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40903 - Disclosure - Accumulated Other Comprehensive Loss (Reclassification out of Accumulated Other Comprehensive Income) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
     "shortName": "Accumulated Other Comprehensive Loss (Reclassification out of Accumulated Other Comprehensive Income) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRestricted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41001 - Disclosure - Borrowed Funds (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails",
     "shortName": "Borrowed Funds (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRestricted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit1",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00405 - Statement - Consolidated Statement of Changes in Shareholders' Equity (Parenthetical)",
     "role": "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquityParenthetical",
     "shortName": "Consolidated Statement of Changes in Shareholders' Equity (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit1",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShortTermDebtTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_ShortTermDebtTypeAxis_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41002 - Disclosure - Borrowed Funds (Summary of Short Term Borrowings) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails",
     "shortName": "Borrowed Funds (Summary of Short Term Borrowings) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShortTermDebtTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020_us-gaap_ShortTermDebtTypeAxis_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanEmployerMatchingContributionPercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit14",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41101 - Disclosure - Employee Benefit Plans (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails",
     "shortName": "Employee Benefit Plans (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanEmployerMatchingContributionPercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit14",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanServiceCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41102 - Disclosure - Employee Benefit Plans (Components of Net Periodic Pension Plan Cost) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails",
     "shortName": "Employee Benefit Plans (Components of Net Periodic Pension Plan Cost) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanServiceCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCompensationArrangementWithIndividualDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41201 - Disclosure - Equity Compensation Plan Information (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails",
     "shortName": "Equity Compensation Plan Information (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCompensationArrangementWithIndividualDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsDerivativeInstruments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41301 - Disclosure - Derivative Financial Instruments (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails",
     "shortName": "Derivative Financial Instruments (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsDerivativeInstruments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41302 - Disclosure - Derivative Financial Instruments (Impact Of Derivative Financial Instruments) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails",
     "shortName": "Derivative Financial Instruments (Impact Of Derivative Financial Instruments) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_7_1_2020_To_9_30_2020_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "func:InvestmentSecurityCollateralAsPercentageOfBorrowing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit14",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41401 - Disclosure - Assets and Liabilities Subject to Enforceable Master Netting Arrangements (Schedule of Assets and Liabilities Subject to an Enforceable Master Netting Arrangement or Repurchase Agreements) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
     "shortName": "Assets and Liabilities Subject to Enforceable Master Netting Arrangements (Schedule of Assets and Liabilities Subject to an Enforceable Master Netting Arrangement or Repurchase Agreements) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "As_Of_9_30_2020",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "func:InvestmentSecurityCollateralAsPercentageOfBorrowing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit14",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41501 - Disclosure - Goodwill (Narrative) (Details)",
     "role": "http://www.mybankfirstunited.com/role/DisclosureGoodwillNarrativeDetails",
     "shortName": "Goodwill (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "Unit12",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00500 - Statement - Consolidated Statement of Cash Flows",
     "role": "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows",
     "shortName": "Consolidated Statement of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DepreciationNonproduction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit12",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10101 - Disclosure - Basis of Presentation",
     "role": "http://www.mybankfirstunited.com/role/DisclosureBasisOfPresentation",
     "shortName": "Basis of Presentation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "func-20200930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_9_30_2020",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 122,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in CCYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r600"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r601"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r603"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r598"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r599"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "func_AccommodationsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accommodations [Member]",
        "label": "Accommodations [Member]",
        "terseLabel": "Accommodations [Member]"
       }
      }
     },
     "localname": "AccommodationsMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AccruedInterestReceivableAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accrued Interest Receivable And Other Assets",
        "label": "Accrued Interest Receivable And Other Assets",
        "terseLabel": "Accrued interest receivable and other assets"
       }
      }
     },
     "localname": "AccruedInterestReceivableAndOtherAssets",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_AccruedInterestReceivableFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. Includes disclosure of claims held for interest amounts due a company.",
        "label": "Accrued Interest Receivable, Fair Value Disclosure",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "AccruedInterestReceivableFairValueDisclosure",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_AccumulatedNetUnrealizedInvestmentGainLossAvailableForSaleMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated Net Unrealized Investment Gain Loss Available For Sale [Member].",
        "label": "Accumulated Net Unrealized Investment Gain Loss Available For Sale [Member]",
        "terseLabel": "Investment Securities -All Other AFS [Member]"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossAvailableForSaleMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AccumulatedNetUnrealizedInvestmentGainLossHeldToMaturityMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated Net Unrealized Investment Gain Loss Held To Maturity [Member].",
        "label": "Accumulated Net Unrealized Investment Gain Loss Held To Maturity [Member]",
        "terseLabel": "Investment Securities HTM [Member]"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossHeldToMaturityMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AccumulatedSupplementalEmployeeRetirementPlanAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated Supplemental Employee Retirement Plan Adjustment [Member]",
        "label": "Accumulated Supplemental Employee Retirement Plan Adjustment [Member]",
        "terseLabel": "SERP [Member]"
       }
      }
     },
     "localname": "AccumulatedSupplementalEmployeeRetirementPlanAdjustmentMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AcquiredTrustPreferredSecuritiesNumberOfSecurities": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Acquired Trust Preferred Securities, Number of Securities",
        "label": "Acquired Trust Preferred Securities, Number of Securities",
        "terseLabel": "Acquired trust preferred securities, number of securities"
       }
      }
     },
     "localname": "AcquiredTrustPreferredSecuritiesNumberOfSecurities",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_AgricultureMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Agriculture [Member]",
        "label": "Agriculture [Member]",
        "terseLabel": "Agriculture [Member]"
       }
      }
     },
     "localname": "AgricultureMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AllOtherAcquisitionAndDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "All Other Acquisition And Development [Member]",
        "label": "All Other Acquisition And Development [Member]",
        "terseLabel": "Acquisition and development- All other A&amp;D [Member]"
       }
      }
     },
     "localname": "AllOtherAcquisitionAndDevelopmentMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AmortizationOfPriorServiceCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortization of prior service costs [Member]",
        "label": "Amortization Of Prior Service Costs [Member]",
        "terseLabel": "Amortization of Prior Service Costs [Member]"
       }
      }
     },
     "localname": "AmortizationOfPriorServiceCostsMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AmortizationOfRecognizedIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortization Of Recognized Income [Member]",
        "label": "Amortization Of Recognized Income [Member]",
        "terseLabel": "Amortization of Recognized Income [Member]"
       }
      }
     },
     "localname": "AmortizationOfRecognizedIncomeMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AmortizationOfUnrecognizedLossMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortization of unrecognized loss [Member]",
        "label": "Amortization Of Unrecognized Loss [Member]",
        "terseLabel": "Amortization of Unrecognized Loss [Member]"
       }
      }
     },
     "localname": "AmortizationOfUnrecognizedLossMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_AvailableForSaleDebtMaturitiesAmortizedCostSubTotal": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Available For Sale Debt Maturities Amortized Cost Sub Total",
        "label": "Available For Sale Debt Maturities Amortized Cost Sub Total",
        "totalLabel": "Available for sale debt maturities amortized cost sub Total"
       }
      }
     },
     "localname": "AvailableForSaleDebtMaturitiesAmortizedCostSubTotal",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_AvailableForSaleDebtMaturitiesFairValueSubTotal": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cost basis on AFS Debt securities for maturities",
        "label": "Available For Sale Debt Maturities Fair Value Sub Total",
        "totalLabel": "Available for sale debt maturities fair value sub total"
       }
      }
     },
     "localname": "AvailableForSaleDebtMaturitiesFairValueSubTotal",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_AvailableForSaleSecuritiesFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Available For Sale Securities Fair Value",
        "label": "Available For Sale Securities Fair Value",
        "verboseLabel": "Investment securities - AFS"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesFairValue",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_AverageImpairedFinancingReceivablesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of average balance on impaired assets",
        "label": "Average Impaired Financing Receivables Table Text Block",
        "terseLabel": "Average of Impaired Loans and Related Interest Income by Loan Portfolio Class"
       }
      }
     },
     "localname": "AverageImpairedFinancingReceivablesTableTextBlock",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "func_BankOwnedLifeInsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Bank Owned Life Insurance [Member]",
        "label": "Bank Owned Life Insurance [Member]",
        "terseLabel": "Bank Owned Life Insurance [Member]"
       }
      }
     },
     "localname": "BankOwnedLifeInsuranceMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "func_BrokerageCommissionsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Brokerage Commissions [Member]",
        "label": "Brokerage Commissions [Member]",
        "terseLabel": "Brokerage Commissions [Member]"
       }
      }
     },
     "localname": "BrokerageCommissionsMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "func_CashAndCashEquivalentsExcludingInterestBearingDepositsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash And Cash Equivalents Excluding Interest Bearing Deposits Fair Value Disclosure",
        "label": "Cash And Cash Equivalents Excluding Interest Bearing Deposits Fair Value Disclosure",
        "terseLabel": "Cash and due from banks"
       }
      }
     },
     "localname": "CashAndCashEquivalentsExcludingInterestBearingDepositsFairValueDisclosure",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_CommercialAndResidentialConstructionPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commercial And Residential Construction Portfolio Segment Member",
        "label": "Commercial And Residential Construction Portfolio Segment [Member]",
        "terseLabel": "Acquisition and Development [Member]"
       }
      }
     },
     "localname": "CommercialAndResidentialConstructionPortfolioSegmentMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_CommercialRealEstateNonOwnerOccupiedFinancingReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commercial Real Estate Non Owner Occupied Financing Receivable Member",
        "label": "Commercial Real Estate Non Owner Occupied Financing Receivable [Member]",
        "terseLabel": "Commercial real estate- non owner-occupied [Member]"
       }
      }
     },
     "localname": "CommercialRealEstateNonOwnerOccupiedFinancingReceivableMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ConstructionAllOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Construction All Other [Member]",
        "label": "Construction All Other [Member]",
        "terseLabel": "Construction - All Other [Member]"
       }
      }
     },
     "localname": "ConstructionAllOtherMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ConstructionDevelopersMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Construction Developers [Member]",
        "label": "Construction Developers [Member]",
        "terseLabel": "Construction - Developers [Member]"
       }
      }
     },
     "localname": "ConstructionDevelopersMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_CoronavirusAidReliefAndEconomicSecurityActMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Coronavirus Aid Relief And Economic Security Act [Member]",
        "label": "Coronavirus Aid Relief And Economic Security Act [Member]",
        "terseLabel": "CARES Act [Member]"
       }
      }
     },
     "localname": "CoronavirusAidReliefAndEconomicSecurityActMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_CovidNineteenMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Covid Nineteen [Member]",
        "label": "Covid Nineteen [Member]",
        "terseLabel": "COVID-19 [Member]"
       }
      }
     },
     "localname": "CovidNineteenMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_CreditLossesRecoveryReAllocatedToLoansReceivableAllowance": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Credit Losses Recovery Re-allocated To Loans Receivable Allowance",
        "label": "Credit Losses Recovery Re-allocated To Loans Receivable Allowance",
        "terseLabel": "Credit losses recovery re-allocated to loans receivable allowance"
       }
      }
     },
     "localname": "CreditLossesRecoveryReAllocatedToLoansReceivableAllowance",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_DebitCardIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debit Card Income [Member]",
        "label": "Debit Card Income [Member]",
        "terseLabel": "Debit Card Income [Member]"
       }
      }
     },
     "localname": "DebitCardIncomeMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "func_DeferredLoanFeesReceivableFromSbaLoanProcessing": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred Loan Fees Receivable From Sba Loan Processing",
        "label": "Deferred Loan Fees Receivable From Sba Loan Processing",
        "terseLabel": "Deferred loan fees receivable from SBA loan processing"
       }
      }
     },
     "localname": "DeferredLoanFeesReceivableFromSbaLoanProcessing",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_DefinedContributionPlanConsecutiveYearsOfServiceToBeCompletedByParticipant": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Defined Contribution Plan Consecutive Years Of Service To Be Completed By Participant",
        "label": "Defined Contribution Plan Consecutive Years Of Service To Be Completed By Participant",
        "terseLabel": "Defined contribution plan consecutive years of service to be completed by participant"
       }
      }
     },
     "localname": "DefinedContributionPlanConsecutiveYearsOfServiceToBeCompletedByParticipant",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "func_DelayInPreparationOfForbearanceAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Delay In Preparation Of Forbearance Agreement [Member]",
        "label": "Delay In Preparation Of Forbearance Agreement [Member]",
        "terseLabel": "Delay In Preparation Of Forbearance Agreement [Member]"
       }
      }
     },
     "localname": "DelayInPreparationOfForbearanceAgreementMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_DiscountedCashFlowMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Discounted Cash Flow [Member]",
        "label": "Discounted Cash Flow [Member]",
        "terseLabel": "Discounted Cash Flow [Member]"
       }
      }
     },
     "localname": "DiscountedCashFlowMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_DocumentAndEntityInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Document and Entity Information",
        "label": "Document and Entity Information [Abstract]"
       }
      }
     },
     "localname": "DocumentAndEntityInformationAbstract",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "xbrltype": "stringItemType"
    },
    "func_EnergyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Energy [Member]",
        "label": "Energy [Member]",
        "terseLabel": "Energy [Member]"
       }
      }
     },
     "localname": "EnergyMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_EntertainmentRecreationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Entertainment Recreation [Member]",
        "label": "Entertainment Recreation [Member]",
        "terseLabel": "Entertainment Recreation [Member]"
       }
      }
     },
     "localname": "EntertainmentRecreationMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ExistingTroubledDebtRestructingLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Existing Troubled Debt Restructing Loans [Member]",
        "label": "Existing Troubled Debt Restructing Loans [Member]",
        "terseLabel": "Existing TDRs [Member]"
       }
      }
     },
     "localname": "ExistingTroubledDebtRestructingLoansMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ExtensionOfMaturityMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Extension Of Maturity [Member]",
        "label": "Extension Of Maturity [Member]",
        "terseLabel": "Extension Of Maturity [Member]"
       }
      }
     },
     "localname": "ExtensionOfMaturityMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_FairValueInputUnobservableInputValueDescription": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair Value Input, Unobservable Input Value, Description",
        "label": "Fair Value Input, Unobservable Input Value, Description",
        "terseLabel": "Fair value input, unobservable input value, description"
       }
      }
     },
     "localname": "FairValueInputUnobservableInputValueDescription",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "func_FairValueInputsComparabilityAdjustmentsWeightedAverage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the weighted average of percentage of adjustment to the observed price for a similar asset or liability when an identical transaction does not exist, used as an input to measure fair value.",
        "label": "Fair Value Inputs, Comparability Adjustments, Weighted Average",
        "terseLabel": "Fair value inputs, weighted average rate"
       }
      }
     },
     "localname": "FairValueInputsComparabilityAdjustmentsWeightedAverage",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_FairValueMeasurementsDiscountRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair Value Measurements Discount Rate",
        "label": "Fair Value Measurements Discount Rate",
        "terseLabel": "Fair value measurements discount rate"
       }
      }
     },
     "localname": "FairValueMeasurementsDiscountRate",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_FoodServiceMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Food Service [Member]",
        "label": "Food Service [Member]",
        "terseLabel": "Food Service [Member]"
       }
      }
     },
     "localname": "FoodServiceMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ForeclosedRealEstateExpenseIncomeNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Foreclosed Real Estate Expense Income Net",
        "label": "Foreclosed Real Estate Expense Income Net",
        "terseLabel": "Other real estate owned",
        "totalLabel": "Total OREO expenses, net"
       }
      }
     },
     "localname": "ForeclosedRealEstateExpenseIncomeNet",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_FourEmployeesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Four Employees [Member]",
        "label": "Four Employees [Member]",
        "terseLabel": "Four Employees [Member]"
       }
      }
     },
     "localname": "FourEmployeesMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_GainLossOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total of all gain/losses before OTTI.",
        "label": "Gain Loss Other",
        "netLabel": "Net gains",
        "totalLabel": "Net gains"
       }
      }
     },
     "localname": "GainLossOther",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_GainLossTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosures related to all gains and losses incurred by the Company during the disclosure period",
        "label": "Gain Loss [Text Block]",
        "terseLabel": "Net Gains"
       }
      }
     },
     "localname": "GainLossTextBlock",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureNetGains"
     ],
     "xbrltype": "textBlockItemType"
    },
    "func_HealthCareOrSocialAssistanceMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Health Care Or Social Assistance [Member]",
        "label": "Health Care Or Social Assistance [Member]",
        "terseLabel": "Health Care/Social Assistance [Member]"
       }
      }
     },
     "localname": "HealthCareOrSocialAssistanceMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_HeldToMaturitySecuritiesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Held To Maturity Securities Fair Value Disclosure",
        "label": "Held To Maturity Securities Fair Value Disclosure",
        "terseLabel": "Investment securities - HTM"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesFairValueDisclosure",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_HeldToMaturitySecuritiesInUnrealizedLossPositions12MonthsOrLongerNumberOfPositions": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Held To Maturity Securities In Unrealized Loss Positions 12 Months Or Longer Number Of Positions",
        "label": "Held To Maturity Securities In Unrealized Loss Positions 12 Months Or Longer Number Of Positions",
        "terseLabel": "Held-to-Maturity Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Number Of Investments"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesInUnrealizedLossPositions12MonthsOrLongerNumberOfPositions",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_HeldToMaturitySecuritiesInUnrealizedLossPositionsLessThan12MonthsNumberOfPositions": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Held To Maturity Securities In Unrealized Loss Positions Less Than 12 Months Number Of Positions",
        "label": "Held To Maturity Securities In Unrealized Loss Positions Less Than 12 Months Number Of Positions",
        "terseLabel": "Held-to-Maturity Securities, Continuous Unrealized Loss Position, Less than 12 Months, Number Of Investments"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesInUnrealizedLossPositionsLessThan12MonthsNumberOfPositions",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_ImpairedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Impaired Loans, fair value unobservable inputs non-recurring",
        "label": "Impaired Loans [Member]",
        "terseLabel": "Impaired Loans [Member]"
       }
      }
     },
     "localname": "ImpairedLoansMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_IncreaseDecreaseInOperatingLeaseLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Increase Decrease In Operating Lease Liability",
        "label": "Increase Decrease In Operating Lease Liability",
        "terseLabel": "Operating lease liability"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingLeaseLiability",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_IncreaseInFinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Increase In Financing Receivable Recorded Investment Nonaccrual Status",
        "label": "Increase In Financing Receivable Recorded Investment Nonaccrual Status",
        "terseLabel": "Increase in non-accrual status"
       }
      }
     },
     "localname": "IncreaseInFinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_InterestBearingDepositsInBanksFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): The fair value of Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits.",
        "label": "Interest bearing deposits in banks, Fair Value Disclosure",
        "terseLabel": "Interest bearing deposits in banks"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanksFairValueDisclosure",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_InterestIncomeExpenseSecuritiesTaxable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest Income Expense Securities Taxable",
        "label": "Interest Income Expense Securities Taxable",
        "terseLabel": "Interest income expense securities taxable"
       }
      }
     },
     "localname": "InterestIncomeExpenseSecuritiesTaxable",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_InvestmentSecuritiesAvailableForSaleMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investment Securities Available For Sale [Member]",
        "label": "Investment Securities Available For Sale [Member]",
        "terseLabel": "Investment Securities \u2013 Available for Sale [Member]"
       }
      }
     },
     "localname": "InvestmentSecuritiesAvailableForSaleMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_InvestmentSecurityCollateralAsPercentageOfBorrowing": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investment Security Collateral As Percentage Of Borrowing",
        "label": "Investment Security Collateral As Percentage Of Borrowing",
        "terseLabel": "Investment security collateral as a percentage of borrowing"
       }
      }
     },
     "localname": "InvestmentSecurityCollateralAsPercentageOfBorrowing",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_InvestorRelations": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 11.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investor Relations",
        "label": "Investor Relations",
        "terseLabel": "Investor relations"
       }
      }
     },
     "localname": "InvestorRelations",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_LoanPortfoliosMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan Portfolios [Member]",
        "label": "Loan Portfolios [Member]",
        "terseLabel": "Loan Portfolios [Member]"
       }
      }
     },
     "localname": "LoanPortfoliosMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_LongTermIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Long-Term Incentive Plan [Member]",
        "label": "Long Term Incentive Plan [Member]",
        "terseLabel": "Long-Term Incentive Plan [Member]"
       }
      }
     },
     "localname": "LongTermIncentivePlanMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ManufacturingMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Manufacturing [Member]",
        "label": "Manufacturing [Member]",
        "terseLabel": "Manufacturing [Member]"
       }
      }
     },
     "localname": "ManufacturingMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_MarketComparablePropertiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Market Comparable Properties [Member]",
        "label": "Market Comparable Properties [Member]",
        "terseLabel": "Market Comparable Properties [Member]"
       }
      }
     },
     "localname": "MarketComparablePropertiesMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_MedicalProfessionLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Medical Profession Loan [Member]",
        "label": "Medical Profession Loan [Member]",
        "terseLabel": "Medical Profession Loan [Member]"
       }
      }
     },
     "localname": "MedicalProfessionLoanMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_MinimumFairValuePercentagePledgedAgainstAccountBalances": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum Fair Value Percentage Pledged Against Account Balances",
        "label": "Minimum Fair Value Percentage Pledged Against Account Balances",
        "terseLabel": "Minimum fair value percentage pledged against account balances"
       }
      }
     },
     "localname": "MinimumFairValuePercentagePledgedAgainstAccountBalances",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_MiscellaneousOtherServiceMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Miscellaneous Other Service [Member]",
        "label": "Miscellaneous Other Service [Member]",
        "terseLabel": "Other [Member]"
       }
      }
     },
     "localname": "MiscellaneousOtherServiceMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ModificationOfPaymentAndOtherTermsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Modification Of Payment And Other Terms [Member]",
        "label": "Modification Of Payment And Other Terms [Member]",
        "terseLabel": "Modification Of Payment And Other Terms [Member]"
       }
      }
     },
     "localname": "ModificationOfPaymentAndOtherTermsMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_NetAmortizationOfAvailableForSaleSecuritiesDiscountsAndPremiums": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Amortization Of Available For Sale Securities Discounts And Premiums",
        "label": "Net Amortization Of Available For Sale Securities Discounts And Premiums",
        "terseLabel": "Net amortization/(accretion) of investment securities discounts and premiums- AFS"
       }
      }
     },
     "localname": "NetAmortizationOfAvailableForSaleSecuritiesDiscountsAndPremiums",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_NetAmortizationOfHeldToMaturitySecuritiesDiscountsAndPremiums": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Amortization Of Held To Maturity Securities Discounts And Premiums",
        "label": "Net Amortization Of Held To Maturity Securities Discounts And Premiums",
        "terseLabel": "Net amortization of investment securities discounts and premiums- HTM"
       }
      }
     },
     "localname": "NetAmortizationOfHeldToMaturitySecuritiesDiscountsAndPremiums",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_NetGainLossTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of gains or losses reported in income statement",
        "label": "Net Gain/(loss) [Table Text Block]",
        "terseLabel": "Summary of Gain/(Loss) Activity"
       }
      }
     },
     "localname": "NetGainLossTableTextBlock",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "func_NetGainsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Gains [Abstract]",
        "label": "Net Gains [Abstract]"
       }
      }
     },
     "localname": "NetGainsAbstract",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "xbrltype": "stringItemType"
    },
    "func_NetUnrealizedLossesGainsOnInvestmentsWithOtti": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments, of unrealized gains (losses) of available-for-sale securities, related to securities with other than temporary impairment (OTTI) loss.",
        "label": "Net Unrealized Losses Gains On Investments With Otti",
        "terseLabel": "Net unrealized gains/(losses) on investments with OTTI"
       }
      }
     },
     "localname": "NetUnrealizedLossesGainsOnInvestmentsWithOtti",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_NewAppraisalProcessMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "New Appraisal Process [Member]",
        "label": "New Appraisal Process [Member]",
        "terseLabel": "New Appraisal Process [Member]"
       }
      }
     },
     "localname": "NewAppraisalProcessMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_NewTroubledDebtRestructuringLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "New Troubled Debt Restructuring Loans [Member].",
        "label": "New Troubled Debt Restructuring Loans [Member]",
        "terseLabel": "New TDRs [Member]"
       }
      }
     },
     "localname": "NewTroubledDebtRestructuringLoansMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_NonMaturityDepositsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. Includes deposit liabilities having no set maturity (excluding time deposits)",
        "label": "Non-Maturity Deposits, Fair Value Disclosure",
        "terseLabel": "Deposits - non-maturity"
       }
      }
     },
     "localname": "NonMaturityDepositsFairValueDisclosure",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_NumberOfInterestRateSwapContracts": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information on the swap contracts and the number of swaps",
        "label": "Number of interest rate swap contracts"
       }
      }
     },
     "localname": "NumberOfInterestRateSwapContracts",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_NumberOfLoanResultedInIncreaseInNonAaccrualBalances": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number Of Loan Resulted In Increase In Non Aaccrual Balances",
        "label": "Number Of Loan Resulted In Increase In Non Aaccrual Balances",
        "terseLabel": "Number of loan resulted in increase in non-accrual balances"
       }
      }
     },
     "localname": "NumberOfLoanResultedInIncreaseInNonAaccrualBalances",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_NumberOfPaycheckProtectionProgramLoanApplicationsApproved": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number Of Paycheck Protection Program Loan Applications Approved",
        "label": "Number Of Paycheck Protection Program Loan Applications Approved",
        "terseLabel": "Number of PPP loans"
       }
      }
     },
     "localname": "NumberOfPaycheckProtectionProgramLoanApplicationsApproved",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_NumberOfStatesWithReportedCovidNineteenCases": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number Of States With Reported Covid Nineteen Cases",
        "label": "Number Of States With Reported Covid Nineteen Cases",
        "terseLabel": "Number of states with COVID-19 reported cases"
       }
      }
     },
     "localname": "NumberOfStatesWithReportedCovidNineteenCases",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_NumberOfWellCollateralizedLoansThatIncreasedBalanceOfSubstandardCategory": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number Of Well Collateralized Loans That Increased Balance Of Substandard Category",
        "label": "Number Of Well Collateralized Loans That Increased Balance Of Substandard Category",
        "terseLabel": "Number of well collateralized loans that increased balance of substandard category"
       }
      }
     },
     "localname": "NumberOfWellCollateralizedLoansThatIncreasedBalanceOfSubstandardCategory",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "func_OfficersMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Officers [Member]",
        "label": "Officers [Member]",
        "terseLabel": "Officers [Member]"
       }
      }
     },
     "localname": "OfficersMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_OperatingLeaseLiabilitiesRecognized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Operating Lease Liabilities Recognized",
        "label": "Operating Lease Liabilities Recognized",
        "terseLabel": "Recognition of operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilitiesRecognized",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OperatingLeaseRightOfUseAssetAmortization": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Operating Lease Right Of Use Asset Amortization",
        "label": "Operating Lease Right Of Use Asset Amortization",
        "terseLabel": "Amortization of operating lease asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetAmortization",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OperatingLeaseRightOfUseAssetsRecognized": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Operating Lease Right Of Use Assets Recognized",
        "label": "Operating Lease Right Of Use Assets Recognized",
        "terseLabel": "Recognition of operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetsRecognized",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OreoExpensesNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails": {
       "order": 3.0,
       "parentTag": "func_ForeclosedRealEstateExpenseIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other expenses, net of other income related to real estate owned activities.",
        "label": "OREO Expenses, net",
        "terseLabel": "Expenses, net"
       }
      }
     },
     "localname": "OreoExpensesNet",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherCommercialRealEstateFinancingReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other Commercial Real Estate Financing Receivable Member",
        "label": "Other Commercial Real Estate Financing Receivable [Member]",
        "terseLabel": "Commercial real estate- all other CRE [Member]"
       }
      }
     },
     "localname": "OtherCommercialRealEstateFinancingReceivableMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentAfterTax": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other comprehensive income loss held to maturity securities adjustment after tax.",
        "label": "Other Comprehensive Income Loss Held To Maturity Securities Adjustment After Tax",
        "terseLabel": "Held to maturity securities: Net unrealized gains on all HTM securities, After tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentAfterTax",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentBeforeTax": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other comprehensive income loss held to maturity securities adjustment before tax.",
        "label": "Other Comprehensive Income Loss Held To Maturity Securities Adjustment Before Tax",
        "terseLabel": "Held to maturity securities: Net unrealized gains on all HTM securities, Before tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentBeforeTax",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentNetOfTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 6.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other comprehensive income loss held to maturity securities adjustment net of tax.",
        "label": "Other Comprehensive Income Loss Held to Maturity Securities Adjustment Net Of Tax",
        "verboseLabel": "Net unrealized gains on HTM securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentNetOfTax",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other comprehensive income loss held to maturity securities adjustment tax.",
        "label": "Other Comprehensive Income Loss Held To Maturity Securities Adjustment Tax",
        "negatedLabel": "Held to maturity securities: Net unrealized gains on all HTM securities, Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossHeldToMaturitySecuritiesAdjustmentTax",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherComprehensiveIncomeLossOtherPostretirementBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net of tax and reclassification adjustments amount of the increase (decrease) in accumulated other comprehensive income (loss) related to other postretirement benefit plans, attributable to the parent entity.",
        "label": "Other Comprehensive Income (Loss), Other Postretirement Benefit Plans, Adjustment, Net of Tax, Portion Attributable to Parent",
        "negatedLabel": "Net unrealized gains on SERP"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossOtherPostretirementBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherRealEstateOwnedMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other Real Estate Owned [Member]",
        "label": "Other Real Estate Owned [Member]",
        "terseLabel": "Other Real Estate Owned [Member]"
       }
      }
     },
     "localname": "OtherRealEstateOwnedMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_OtherServiceChargesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other Service Charges [Member]",
        "label": "Other Service Charges [Member]",
        "terseLabel": "Other Service Charges [Member]"
       }
      }
     },
     "localname": "OtherServiceChargesMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "func_OtherThanTemporaryImpairmentLossesInvestmentsAvailableForSaleSecuritiesNetOfTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net of tax amount of the amount by which the fair value of an investment in debt and equity securities categorized as Available-for-sale is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "Other Than Temporary Impairment Losses, Investments, Available for sale Securities, Net of Tax",
        "negatedTotalLabel": "Available for sale (AFS) securities with OTTI: Unrealized holding (losses) gains, Net of Tax"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsAvailableForSaleSecuritiesNetOfTax",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherThanTemporaryImpairmentLossesInvestmentsAvailableForSaleSecuritiesTaxEffect": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "func_OtherThanTemporaryImpairmentLossesInvestmentsAvailableForSaleSecuritiesNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tax effect of the amount by which the fair value of an investment in debt and equity securities categorized as Available-for-sale is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "Other than Temporary Impairment Losses, Investments, Available for Sale Securities, Tax Effect",
        "negatedLabel": "Available for sale (AFS) securities with OTTI: Unrealized holding (losses) gains, tax effect"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsAvailableForSaleSecuritiesTaxEffect",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailableForSaleSecuritiesNetOfTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net of tax amount of reclassification adjustment for other than temporary impairment (OTTI) related to factors other than credit loss on a previously impaired investment in available-for-sale debt security.",
        "label": "Other than Temporary Impairment Losses, Investments, Reclassification Adjustment of Noncredit Portion Included in Net Income, Available for Sale Securities, Net of Tax",
        "totalLabel": "Available for sale (AFS) securities with OTTI: Less: accretable yield recognized in income, Net of Tax"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailableForSaleSecuritiesNetOfTax",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailableForSaleSecuritiesTaxEffect": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "func_OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailableForSaleSecuritiesNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tax effect of reclassification adjustment for other than temporary impairment (OTTI) related to factors other than credit loss on a previously impaired investment in available-for-sale debt security.",
        "label": "Other Than Temporary Impairment Losses Investments Reclassification Adjustment Of Noncredit Portion Included In Net Income Available For Sale Securities Tax Effect",
        "negatedLabel": "Available for sale (AFS) securities with OTTI: Less: accretable yield recognized in income, Tax Effect"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailableForSaleSecuritiesTaxEffect",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_PartialChargeOffMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Partial Charge Off [Member]",
        "label": "Partial Charge Off [Member]",
        "terseLabel": "Partial Charge Off [Member]"
       }
      }
     },
     "localname": "PartialChargeOffMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_PaycheckProtectionProgramLoanAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Paycheck Protection Program Loan Amount",
        "label": "Paycheck Protection Program Loan Amount",
        "terseLabel": "PPP loans"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoanAmount",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_PaycheckProtectionProgramLoanInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Paycheck Protection Program Loan Interest Rate",
        "label": "Paycheck Protection Program Loan Interest Rate",
        "terseLabel": "PPP loans interest rate"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoanInterestRate",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PaycheckProtectionProgramLoanMaturityTerm": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Paycheck Protection Program Loan Maturity Term",
        "label": "Paycheck Protection Program Loan Maturity Term",
        "terseLabel": "PPP loans maturity term"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoanMaturityTerm",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "func_PaycheckProtectionProgramLoanSbaProcessingFeesPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Paycheck Protection Program Loan Sba Processing Fees Percent",
        "label": "Paycheck Protection Program Loan Sba Processing Fees Percent",
        "terseLabel": "PPP loans SBA processing fees, percent"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoanSbaProcessingFeesPercent",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PaycheckProtectionProgramLoansSbaGuaranteePercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Paycheck Protection Program Loans Sba Guarantee Percent",
        "label": "Paycheck Protection Program Loans Sba Guarantee Percent",
        "terseLabel": "PPP loans SBA guarantee percent"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoansSbaGuaranteePercent",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageOfFairValueThatExceededCarryingValue": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Of Fair Value That Exceeded Carrying Value",
        "label": "Percentage Of Fair Value That Exceeded Carrying Value",
        "terseLabel": "Percentage of fair value that exceeded carrying value"
       }
      }
     },
     "localname": "PercentageOfFairValueThatExceededCarryingValue",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureGoodwillNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageOfLoanPortfolioAccruingLoansExcludingPppLoansPastDueThirtyDaysOrMore": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Of Loan Portfolio Accruing Loans Excluding Ppp Loans Past Due Thirty Days Or More",
        "label": "Percentage Of Loan Portfolio Accruing Loans Excluding Ppp Loans Past Due Thirty Days Or More",
        "terseLabel": "Percentage of loan portfolio accruing loans excluding PPP loans past due 30 days or more"
       }
      }
     },
     "localname": "PercentageOfLoanPortfolioAccruingLoansExcludingPppLoansPastDueThirtyDaysOrMore",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageOfLoanPortfolioAccruingLoansIncludingPaycheckProtectionProgramLoansPastDueThirtyDaysOrMore": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Of Loan Portfolio Accruing Loans Including Paycheck Protection Program Loans Past Due Thirty Days Or More",
        "label": "Percentage Of Loan Portfolio Accruing Loans Including Paycheck Protection Program Loans Past Due Thirty Days Or More",
        "terseLabel": "Percentage of loan portfolio accruing loans including PPP loans past due 30 days or more"
       }
      }
     },
     "localname": "PercentageOfLoanPortfolioAccruingLoansIncludingPaycheckProtectionProgramLoansPastDueThirtyDaysOrMore",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageOfLoanPortfolioAccruingLoansPastDueThirtyDaysOrMore": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Of Loan Portfolio Accruing Loans Past Due Thirty Days Or More",
        "label": "Percentage Of Loan Portfolio Accruing Loans Past Due Thirty Days Or More",
        "terseLabel": "Percentage of loan portfolio accruing loans past due 30 days or more"
       }
      }
     },
     "localname": "PercentageOfLoanPortfolioAccruingLoansPastDueThirtyDaysOrMore",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageOfPaycheckProtectionProgramLoans": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Of Paycheck Protection Program Loans",
        "label": "Percentage Of Paycheck Protection Program Loans",
        "terseLabel": "PPP loans, percent"
       }
      }
     },
     "localname": "PercentageOfPaycheckProtectionProgramLoans",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageOfProceedsCustomersUseForPayrollCostsToQualifyForSbaLoanForgiveness": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Of Proceeds Customers Use For Payroll Costs To Qualify For Sba Loan Forgiveness",
        "label": "Percentage Of Proceeds Customers Use For Payroll Costs To Qualify For Sba Loan Forgiveness",
        "terseLabel": "Percentage of proceeds customers use for payroll costs to qualify for SBA loan forgiveness"
       }
      }
     },
     "localname": "PercentageOfProceedsCustomersUseForPayrollCostsToQualifyForSbaLoanForgiveness",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageWeightingsAssignedToCorporationStockPriceWithControlPremiumResult": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Weightings Assigned To Corporation Stock Price With Control Premium Result",
        "label": "Percentage Weightings Assigned To Corporation Stock Price With Control Premium Result",
        "terseLabel": "Percentage weightings assigned to corporation's stock price with control premium result"
       }
      }
     },
     "localname": "PercentageWeightingsAssignedToCorporationStockPriceWithControlPremiumResult",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureGoodwillNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageWeightingsAssignedToIncomeApproach": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Weightings Assigned To Income Approach",
        "label": "Percentage Weightings Assigned To Income Approach",
        "terseLabel": "Percentage weightings assigned to income approach"
       }
      }
     },
     "localname": "PercentageWeightingsAssignedToIncomeApproach",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureGoodwillNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PercentageWeightingsAssignedToPublicGuidelineCompaniesResult": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage Weightings Assigned To Public Guideline Companies Result",
        "label": "Percentage Weightings Assigned To Public Guideline Companies Result",
        "terseLabel": "Percentage weightings assigned to public guideline companies' result"
       }
      }
     },
     "localname": "PercentageWeightingsAssignedToPublicGuidelineCompaniesResult",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureGoodwillNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_PeriodOfEmploymentUsedToDetermineBenefits": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period Of Employment Used To Determine Benefits",
        "label": "Period Of Employment Used To Determine Benefits",
        "terseLabel": "Period of employment used to determine benefits"
       }
      }
     },
     "localname": "PeriodOfEmploymentUsedToDetermineBenefits",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "func_PeriodToRefrainFromEngagingInCompetitiveEmploymentFollowingSeparationFromService": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period To Refrain From Engaging In Competitive Employment Following Separation From Service",
        "label": "Period To Refrain From Engaging In Competitive Employment Following Separation From Service",
        "terseLabel": "Period to refrain from engaging in competitive employment following separation from service"
       }
      }
     },
     "localname": "PeriodToRefrainFromEngagingInCompetitiveEmploymentFollowingSeparationFromService",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "func_PreExistingTroubledDebtRestructuringLoansRemodifiedAfterMaturityMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pre-Existing Troubled Debt Restructuring Loans Remodified After Maturity [Member]",
        "label": "Pre Existing Troubled Debt Restructuring Loans Remodified After Maturity [Member]",
        "terseLabel": "Existing TDRs loans Remodified After Maturity [Member]"
       }
      }
     },
     "localname": "PreExistingTroubledDebtRestructuringLoansRemodifiedAfterMaturityMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_PrimarySegmentsOfAllowanceForLoanLossTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary Segments Of The Allowance For Loan Loss Table.",
        "label": "Primary Segments Of The Allowance For Loan Loss [Table Text Block]",
        "terseLabel": "Primary Segments of the Allowance for Loan Loss"
       }
      }
     },
     "localname": "PrimarySegmentsOfAllowanceForLoanLossTableTextBlock",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "func_ProfScientificTechnicalMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Prof Scientific Technical [Member]",
        "label": "Prof Scientific Technical [Member]",
        "terseLabel": "Prof/Scientific/Technical [Member]"
       }
      }
     },
     "localname": "ProfScientificTechnicalMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_PublicAdministrationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Public Administration [Member]",
        "label": "Public Administration [Member]",
        "terseLabel": "Public Administration [Member]"
       }
      }
     },
     "localname": "PublicAdministrationMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ReRentalLeasingDevelopersMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Re Rental Leasing Developers [Member]",
        "label": "Re Rental Leasing Developers [Member]",
        "terseLabel": "RE/Rental/Leasing - Developers [Member]"
       }
      }
     },
     "localname": "ReRentalLeasingDevelopersMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ReRentalLeasingMultifamilyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Re Rental Leasing Multifamily [Member]",
        "label": "Re Rental Leasing Multifamily [Member]",
        "terseLabel": "RE/Rental/Leasing - Multifamily [Member]"
       }
      }
     },
     "localname": "ReRentalLeasingMultifamilyMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_RerentalLeasingAllOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "ReRental Leasing All Other [Member]",
        "label": "Rerental Leasing All Other [Member]",
        "terseLabel": "RE/Rental/Leasing - All Other [Member]"
       }
      }
     },
     "localname": "RerentalLeasingAllOtherMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_RerentalLeasingNonOwnerOccupiedMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "ReRental Leasing Non Owner Occupied [Member]",
        "label": "Rerental Leasing Non Owner Occupied [Member]",
        "terseLabel": "RE/Rental/Leasing - Non-Owner Occupied [Member]"
       }
      }
     },
     "localname": "RerentalLeasingNonOwnerOccupiedMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ResidentialRealEstateConstructionFinancingReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Real Estate Construction Financing Receivable Member",
        "label": "Residential Real Estate Construction Financing Receivable [Member]",
        "terseLabel": "Acquisition and development- 1-4 family residential construction [Member]"
       }
      }
     },
     "localname": "ResidentialRealEstateConstructionFinancingReceivableMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_RestrictedBankStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information on investments in correspondent bank stock",
        "label": "Restricted Bank Stock"
       }
      }
     },
     "localname": "RestrictedBankStock",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_ScheduleOfComponentsOfOtherRealEstateOwnedExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the components of other real estate owned expense.",
        "label": "Schedule of Components of Other Real Estate Owned Expense [Table Text Block]",
        "terseLabel": "Schedule of Components of OREO Expenses, Net"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfOtherRealEstateOwnedExpenseTableTextBlock",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "func_ServiceChargesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Service Charges [Member]",
        "label": "Service Charges [Member]",
        "terseLabel": "Service Charges on Deposit Accounts [Member]"
       }
      }
     },
     "localname": "ServiceChargesMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "func_ServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Services [Member]",
        "label": "Services [Member]",
        "terseLabel": "Services [Member]"
       }
      }
     },
     "localname": "ServicesMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_SharebasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sharebased Compensation Arrangement By Share based Payment Award Performance Period",
        "label": "Sharebased Compensation Arrangement By Share based Payment Award Performance Period",
        "terseLabel": "Share based compensation performance period"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "func_SharebasedCompensationPercentageOfAwardBasedOnPerformance": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sharebased Compensation Percentage Of Award Based On Performance",
        "label": "Sharebased Compensation Percentage Of Award Based On Performance",
        "terseLabel": "Share based compensation performance based award, percent"
       }
      }
     },
     "localname": "SharebasedCompensationPercentageOfAwardBasedOnPerformance",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "func_SwapContract10Year15MillionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Swap Contract 10 Year $15 Million [Member]",
        "label": "Swap Contract10 Year15 Million [Member]",
        "terseLabel": "Swap Contract 10 Year $15 Million [Member]"
       }
      }
     },
     "localname": "SwapContract10Year15MillionMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_SwapContract3Year5MillionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Swap Contract 3 Year 5 Million [Member].",
        "label": "Swap Contract3 Year5 Million [Member]",
        "terseLabel": "Swap Contract 3 Year 5 Million [Member]"
       }
      }
     },
     "localname": "SwapContract3Year5MillionMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_SwapContract5Year5MillionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Swap Contract 5 Year $5 Million [Member]",
        "label": "Swap Contract5 Year5 Million [Member]",
        "terseLabel": "Swap Contract 5 Year $5 Million [Member]"
       }
      }
     },
     "localname": "SwapContract5Year5MillionMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_SwapContract7Year5MillionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Swap Contract- 7 year $5 Million [Member]",
        "label": "Swap Contract7 Year5 Million [Member]",
        "terseLabel": "Swap Contract- 7 year $5 Million [Member]"
       }
      }
     },
     "localname": "SwapContract7Year5MillionMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_TemporaryRateModificationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Temporary Rate Modification [Member]",
        "label": "Temporary Rate Modification [Member]",
        "terseLabel": "Temporary Rate Modification [Member]"
       }
      }
     },
     "localname": "TemporaryRateModificationMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_TimeDepositsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure. This item represents the aggregate of all time deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing.",
        "label": "Time Deposits, Fair Value Disclosure",
        "terseLabel": "Deposits - time deposits"
       }
      }
     },
     "localname": "TimeDepositsFairValueDisclosure",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_TotalGainsLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total net gains and losses on investments",
        "label": "Total Gains Loss",
        "verboseLabel": "Net gains"
       }
      }
     },
     "localname": "TotalGainsLoss",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_TradeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Trade [Member]",
        "label": "Trade [Member]",
        "terseLabel": "Trade [Member]"
       }
      }
     },
     "localname": "TradeMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_TransportationWarehousingMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transportation Warehousing [Member]",
        "label": "Transportation Warehousing [Member]",
        "terseLabel": "Transportation/Warehousing [Member]"
       }
      }
     },
     "localname": "TransportationWarehousingMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_TroubledDebtRestructuringMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Troubled Debt Restructuring [Member]",
        "label": "Troubled Debt Restructuring [Member]",
        "terseLabel": "Troubled Debt Restructuring [Member]"
       }
      }
     },
     "localname": "TroubledDebtRestructuringMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_TrustDepartmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Trust Department [Member]",
        "label": "Trust Department [Member]",
        "terseLabel": "Trust Department [Member]"
       }
      }
     },
     "localname": "TrustDepartmentMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "func_TrustPreferredSecuritiesAmortizedCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of preferred stocks issued by a business trust or other special purpose entity, mainly established by a bank holding entity, to third party investors. The trust's assets are deeply subordinated debentures of the bank holding entity. Most trust preferred securities are subject to a mandatory redemption upon the repayment of the debentures.",
        "label": "Trust Preferred Securities, Amortized Cost",
        "terseLabel": "Trust preferred securities, amortized cost"
       }
      }
     },
     "localname": "TrustPreferredSecuritiesAmortizedCost",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_TrustPreferredSecuritiesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair Value of preferred stocks issued by a business trust or other special purpose entity, mainly established by a bank holding entity, to third party investors. The trust's assets are deeply subordinated debentures of the bank holding entity. Most trust preferred securities are subject to a mandatory redemption upon the repayment of the debentures.",
        "label": "Trust Preferred Securities, Fair Value Disclosure",
        "terseLabel": "Trust preferred securities, fair value"
       }
      }
     },
     "localname": "TrustPreferredSecuritiesFairValueDisclosure",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "func_UnvestedRestrictedStockUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unvested Restricted Stock Units [Member]",
        "label": "Unvested Restricted Stock Units [Member]",
        "terseLabel": "Unvested Restricted Stock Units [Member]"
       }
      }
     },
     "localname": "UnvestedRestrictedStockUnitsMember",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "func_VestingPeriodOfEmployerDiscretionaryContribution": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the vesting period of a discretionary contribution to benefit plan on the part of employer.",
        "label": "Vesting period of employer discretionary contribution"
       }
      }
     },
     "localname": "VestingPeriodOfEmployerDiscretionaryContribution",
     "nsuri": "http://www.mybankfirstunited.com/20200930",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "srt_DirectorMember": {
     "auth_ref": [
      "r158"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Director [Member]",
        "terseLabel": "Director [Member]"
       }
      }
     },
     "localname": "DirectorMember",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis": {
     "auth_ref": [
      "r561"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Axis]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank Advances Branch Of F H L B Bank State [Domain]",
        "terseLabel": "Federal Home Loan Bank Branch [Domain]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_FederalHomeLoanBankOfAtlantaMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Federal Home Loan Bank Of Atlanta [Member]",
        "terseLabel": "Federal Home Loan Bank of Atlanta [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankOfAtlantaMember",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r364",
      "r370",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r512",
      "r580",
      "r582"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r364",
      "r370",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r512",
      "r580",
      "r582"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r156",
      "r276",
      "r277",
      "r513",
      "r579",
      "r581"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r156",
      "r276",
      "r277",
      "r513",
      "r579",
      "r581"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Products And Services [Domain]",
        "terseLabel": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r308",
      "r364",
      "r370",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r512",
      "r580",
      "r582"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r308",
      "r364",
      "r370",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r512",
      "r580",
      "r582"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Range [Member]",
        "terseLabel": "Range [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r365"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Scenario Forecast [Member]",
        "terseLabel": "Scenario, Forecast [Member]"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r365"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Scenario Unspecified [Domain]",
        "terseLabel": "Scenario, Unspecified [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r266",
      "r365",
      "r480"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r158",
      "r478"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Title Of Individual With Relationship To Entity [Domain]",
        "terseLabel": "Relationship to Entity [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r487",
      "r489",
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted Average [Member]"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableGrossAllowanceAndNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Loans And Related Allowances For Loan Losses [Abstract]"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableGrossAllowanceAndNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccruedLiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r23"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of accrued expenses.",
        "label": "Accrued Liabilities, Fair Value Disclosure",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "AccruedLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r46",
      "r52",
      "r55",
      "r411"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive (income) loss related to defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment [Member]",
        "terseLabel": "Pension Plan [Member]"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember": {
     "auth_ref": [
      "r40",
      "r52",
      "r55",
      "r410"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) resulting from gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges, attributable to the parent.",
        "label": "Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]",
        "terseLabel": "Cash Flow Hedge (OCI) [Member]"
       }
      }
     },
     "localname": "AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "auth_ref": [
      "r41",
      "r42",
      "r44",
      "r52",
      "r55"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), attributable to parent.",
        "label": "Accumulated Net Unrealized Investment Gain Loss [Member]",
        "terseLabel": "Investment securities- all other [Member]"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r14",
      "r49",
      "r51",
      "r52",
      "r567",
      "r587",
      "r590"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "periodEndLabel": "Balance, Ending",
        "periodStartLabel": "Balance, Beginning",
        "terseLabel": "Accumulated other comprehensive loss"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Accumulated Other Comprehensive Loss [Abstract]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentNotCreditLossNetOfTaxAvailableforsaleDebtSecurities": {
     "auth_ref": [
      "r52",
      "r200",
      "r203"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive loss related to portion of other than temporary impairment (OTTI) due to factors other than credit losses on debt securities categorized as available-for-sale that an entity does not intend to sell and which it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis of the debt security. The amount represented by this item is net of tax, as applicable.",
        "label": "Accumulated Other Comprehensive Income (Loss), Other than Temporary Impairment, Not Credit Loss, Net of Tax, Available-for-sale, Debt Securities",
        "negatedLabel": "OTTI in AOCL"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentNotCreditLossNetOfTaxAvailableforsaleDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r48",
      "r52",
      "r55",
      "r109",
      "r110",
      "r111",
      "r411",
      "r583",
      "r584"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "Accumulated Other Comprehensive Income [Member]",
        "terseLabel": "Accumulated Other Comprehensive Loss [Member]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherThanTemporaryImpairmentMember": {
     "auth_ref": [
      "r43",
      "r52",
      "r55",
      "r200",
      "r411"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive loss resulting from other-than-temporary impairments (OTTI) of debt securities if a portion of an other-than-temporary impairment has not been recognized in earnings, attributable to the parent.",
        "label": "Accumulated Other Than Temporary Impairment [Member]",
        "terseLabel": "Investment securities- with OTTI [Member]"
       }
      }
     },
     "localname": "AccumulatedOtherThanTemporaryImpairmentMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r12",
      "r389"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders. Includes adjustments to additional paid in capital. Some examples of such adjustments include recording the issuance of debt with a beneficial conversion feature and certain tax consequences of equity instruments awarded to employees. Use this element for the aggregate amount of additional paid-in capital associated with common and preferred stock. For additional paid-in capital associated with only common stock, use the element additional paid in capital, common stock. For additional paid-in capital associated with only preferred stock, use the element additional paid in capital, preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Surplus"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r109",
      "r110",
      "r111",
      "r385",
      "r386",
      "r387"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid In Capital [Member]",
        "terseLabel": "Surplus [Member]"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r372",
      "r374",
      "r391",
      "r392"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "Stock Issued During Period, Value, Share-based Compensation",
        "terseLabel": "Stock based compensation"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r374",
      "r381",
      "r390"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Allocated Share-based Compensation Expense",
        "terseLabel": "Stock compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r169",
      "r239"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Allowance for Credit Losses on Financing Receivables [Table Text Block]",
        "terseLabel": "Allowance for Loan Losses Summarized by Loan Portfolio Segments"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r137"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "terseLabel": "Antidilutive shares excluded from computation of earnings per share"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "auth_ref": [
      "r137"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of antidilutive security.",
        "label": "Antidilutive Securities [Axis]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "auth_ref": [
      "r137"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
        "label": "Antidilutive Securities Name [Domain]",
        "terseLabel": "Antidilutive Securities, Name [Domain]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r103",
      "r148",
      "r150",
      "r154",
      "r232",
      "r408",
      "r412",
      "r459",
      "r522",
      "r563"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total Assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r438"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "terseLabel": "Fair value of securities"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.",
        "label": "Available-for-sale Securities",
        "netLabel": "Fair Value",
        "terseLabel": "Investment securities \u2013 available for sale (at fair value)",
        "verboseLabel": "Investment securities - AFS, Carrying Amount"
       }
      }
     },
     "localname": "AvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r204"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale.",
        "label": "Available-for-sale Securities, Gross Unrealized Gains",
        "terseLabel": "Gross Unrealized Gains"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of unrealized loss in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale.",
        "label": "Available-for-sale Securities, Gross Unrealized Losses",
        "terseLabel": "Gross Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesAmortizedCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.",
        "label": "Available-for-sale Securities, Amortized Cost Basis",
        "terseLabel": "Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale that have been in a continuous loss position for twelve months or longer.",
        "label": "Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Aggregate Losses",
        "terseLabel": "Available-for-Sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale that have been in a continuous loss position for less than twelve months.",
        "label": "Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Aggregate Losses",
        "terseLabel": "Available-for-Sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.",
        "label": "Available-for-Sale Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.",
        "label": "Available-for-Sale Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r207"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": 2.0,
       "parentTag": "func_AvailableForSaleDebtMaturitiesAmortizedCostSubTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Amortized Cost Basis",
        "terseLabel": "Amortized Cost: Due after five years through ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r205",
      "r207",
      "r558"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": 2.0,
       "parentTag": "func_AvailableForSaleDebtMaturitiesFairValueSubTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Fair Value",
        "terseLabel": "Fair Value: Due after five years through ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "auth_ref": [
      "r206"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": 3.0,
       "parentTag": "func_AvailableForSaleDebtMaturitiesAmortizedCostSubTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Available-for-sale Securities, Debt Maturities, Year Two Through Five, Amortized Cost Basis",
        "terseLabel": "Amortized Cost: Due after one year through five years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r205",
      "r206",
      "r557"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": 3.0,
       "parentTag": "func_AvailableForSaleDebtMaturitiesFairValueSubTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Available-for-sale Securities, Debt Maturities, Year Two Through Five, Fair Value",
        "terseLabel": "Fair Value: Due after one year through five years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r208"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": 1.0,
       "parentTag": "func_AvailableForSaleDebtMaturitiesAmortizedCostSubTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Available-for-sale Securities, Debt Maturities, after Ten Years, Amortized Cost Basis",
        "terseLabel": "Amortized Cost: Due after ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r205",
      "r208",
      "r559"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails": {
       "order": 1.0,
       "parentTag": "func_AvailableForSaleDebtMaturitiesFairValueSubTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Available-for-sale Securities, Debt Maturities, after Ten Years, Fair Value",
        "terseLabel": "Fair Value: Due after ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the difference between the gross realized gains and losses realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. Additionally, this item would include any losses recognized for other than temporary impairments (OTTI) of the subject investments in debt and equity securities.",
        "label": "Available-for-sale Securities, Gross Realized Gain (Loss), Net",
        "negatedLabel": "Gains on sales/calls of investment securities \u2013 AFS"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesGrossRealizedGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesGrossRealizedGains": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails": {
       "order": 1.0,
       "parentTag": "func_GainLossOther",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.",
        "label": "Available-for-sale Securities, Gross Realized Gains",
        "terseLabel": "Realized gains",
        "verboseLabel": "Available-for-sale securities: Realized gains"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesGrossRealizedGains",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsProceedsFromSalesAndRealizedGainsAndLossesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails": {
       "order": 2.0,
       "parentTag": "func_GainLossOther",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.",
        "label": "Available-for-sale Securities, Gross Realized Losses",
        "negatedTerseLabel": "Available-for-sale Securities: Realized losses",
        "terseLabel": "Realized losses"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesGrossRealizedLosses",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsProceedsFromSalesAndRealizedGainsAndLossesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r375",
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r521"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The carrying amount of a life insurance policy on an officer, executive or employee for which the reporting entity (a bank) is entitled to proceeds from the policy upon death of the insured or surrender of the insurance policy.",
        "label": "Bank Owned Life Insurance",
        "terseLabel": "Bank owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsurance",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankOwnedLifeInsuranceIncome": {
     "auth_ref": [
      "r544"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Earnings on or other increases in the value of the cash surrender value of bank owned life insurance policies.",
        "label": "Bank Owned Life Insurance Income",
        "negatedLabel": "Bank owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsuranceIncome",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r454",
      "r455"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Carrying Reported Amount Fair Value Disclosure [Member]",
        "terseLabel": "Reported Value Measurement [Member]"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r2",
      "r18",
      "r95"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "totalLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r519"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks.",
        "label": "Cash and Due from Banks",
        "terseLabel": "Cash and due from banks",
        "verboseLabel": "Cash and due from banks, Carrying Amount"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r89",
      "r95",
      "r101"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Cash and cash equivalents at end of period",
        "periodStartLabel": "Cash and cash equivalents at beginning of the year"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r89",
      "r461"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Increase in cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowHedgingMember": {
     "auth_ref": [
      "r419"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Hedge of the exposure to variability in the cash flows of a recognized asset or liability, or of a forecasted transaction, that is attributable to a particular risk.",
        "label": "Cash Flow Hedging [Member]",
        "terseLabel": "Cash Flow Hedging [Member]"
       }
      }
     },
     "localname": "CashFlowHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralizedDebtObligationsMember": {
     "auth_ref": [
      "r202",
      "r309"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by a pool of assets.",
        "label": "Collateralized Debt Obligations [Member]",
        "terseLabel": "Collateralized debt obligations [Member]"
       }
      }
     },
     "localname": "CollateralizedDebtObligationsMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A loan, whether secured or unsecured, to a company for purposes such as seasonal working capital needs, inventory financing, equipment purchases and acquisitions.",
        "label": "Commercial Loan [Member]",
        "terseLabel": "Commercial Loan [Member]"
       }
      }
     },
     "localname": "CommercialLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r209",
      "r309"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by commercial real estate mortgage loans.",
        "label": "Commercial Mortgage Backed Securities [Member]",
        "terseLabel": "Commercial mortgage-backed agencies [Member]"
       }
      }
     },
     "localname": "CommercialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial receivables.",
        "label": "Commercial Portfolio Segment [Member]",
        "terseLabel": "Commercial and industrial [Member]"
       }
      }
     },
     "localname": "CommercialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialRealEstatePortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial real estate.",
        "label": "Commercial Real Estate Portfolio Segment [Member]",
        "terseLabel": "Commercial Real Estate [Member]"
       }
      }
     },
     "localname": "CommercialRealEstatePortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsDisclosureTextBlock": {
     "auth_ref": [
      "r265"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for significant arrangements with third parties, which includes operating lease arrangements and arrangements in which the entity has agreed to expend funds to procure goods or services, or has agreed to commit resources to supply goods or services, and operating lease arrangements. Descriptions may include identification of the specific goods and services, period of time covered, minimum quantities and amounts, and cancellation rights.",
        "label": "Commitments Disclosure [Text Block]",
        "terseLabel": "Assets and Liabilities Subject to Enforceable Master Netting Arrangements"
       }
      }
     },
     "localname": "CommitmentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r275"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Common stock dividend declared per share",
        "verboseLabel": "Dividends declared per common share"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquityParenthetical",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r109",
      "r110"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, Par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialConditionParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialConditionParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialConditionParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r11",
      "r270"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialConditionParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Outstanding",
        "terseLabel": "Common Stock \u2013 par value $0.01 per share; Authorized 25,000,000 shares; issued and outstanding 6,988,998 shares at September 30, 2020 and 7,110,022 at December 31, 2019"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Employee Benefit Plans [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r58",
      "r60",
      "r61",
      "r66",
      "r536",
      "r573"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r65",
      "r75",
      "r535",
      "r572"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income.",
        "label": "Comprehensive Income Note [Text Block]",
        "terseLabel": "Accumulated Other Comprehensive Loss"
       }
      }
     },
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLoss"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r144",
      "r145",
      "r157",
      "r456",
      "r457"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r144",
      "r145",
      "r157",
      "r456",
      "r457",
      "r592"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r144",
      "r145",
      "r157",
      "r456",
      "r457",
      "r592"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r144",
      "r145",
      "r157",
      "r456",
      "r457"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Balance as % of Total Portfolio"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r144",
      "r145",
      "r157",
      "r456",
      "r457"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsumerPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to consumer receivables.",
        "label": "Consumer Portfolio Segment [Member]",
        "terseLabel": "Consumer [Member]"
       }
      }
     },
     "localname": "ConsumerPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditConcentrationRiskMember": {
     "auth_ref": [
      "r458"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the percentage that a specified receivable or amount at risk from a counterparty under a contractual arrangement is to a specified benchmark, such as total receivables, net revenues, pretax results. Risk is the materially adverse effects of loss attributable to (a) the failure to collect a significant receivable from a major customer or group of homogeneous accounts, or (b) a failure by a counterparty to perform under terms of a contractual arrangement.",
        "label": "Credit Concentration Risk [Member]",
        "terseLabel": "Credit Concentration Risk [Member]"
       }
      }
     },
     "localname": "CreditConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Borrowed Funds [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Borrowed Funds"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFunds"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r24",
      "r105",
      "r271",
      "r272",
      "r273",
      "r274",
      "r471",
      "r472",
      "r474",
      "r562"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions": {
     "auth_ref": [
      "r251"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Number of Positions",
        "terseLabel": "Available-for-Sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Number of Investments"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions": {
     "auth_ref": [
      "r251"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Number of Positions",
        "terseLabel": "Available-for-Sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Number of Investments"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRestricted": {
     "auth_ref": [
      "r495"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of restricted investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Available-for-sale securities pledged as collateral",
        "terseLabel": "Repurchase agreements secured by available for sale securities"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRestricted",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Approximate weighted average rate during the period"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualCashAwardGrantedAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of commitment made to pay deferred cash remuneration.",
        "label": "Deferred Compensation Arrangement with Individual, Cash Award Granted, Amount",
        "terseLabel": "Cash paid to Director"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualCashAwardGrantedAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualDescription": {
     "auth_ref": [
      "r282",
      "r373"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Description of the deferred compensation arrangement, including fixed amounts and determinable awards, or the method for determining payments and awards, the timing of such payments and awards, and any requisite service or performance criteria, as of the balance sheet date.",
        "label": "Deferred Compensation Arrangement with Individual, Description"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualDescription",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualSharesAuthorizedForIssuance": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The maximum number of shares authorized for issuance under the deferred compensation arrangement as of the balance sheet date.",
        "label": "Deferred Compensation Arrangement with Individual, Shares Authorized for Issuance",
        "terseLabel": "Maximum issuance of common stock options"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualSharesAuthorizedForIssuance",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualSharesIssued": {
     "auth_ref": [
      "r383"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares issued pursuant to the terms of a deferred compensation arrangement.",
        "label": "Deferred Compensation Arrangement with Individual, Shares Issued",
        "terseLabel": "Issued fully-vested common stock shares"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r394",
      "r395"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 11.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
        "label": "Deferred Income Tax Assets, Net",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsDerivativeInstruments": {
     "auth_ref": [
      "r397",
      "r398"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from derivative instruments.",
        "label": "Deferred Tax Assets, Derivative Instruments",
        "terseLabel": "Deferred tax asset on gain on derivative"
       }
      }
     },
     "localname": "DeferredTaxAssetsDerivativeInstruments",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses": {
     "auth_ref": [
      "r286",
      "r324",
      "r348",
      "r354",
      "r355"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in net periodic benefit (cost) credit of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Gains (Losses)",
        "negatedLabel": "Amortization of net actuarial/recognized loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit": {
     "auth_ref": [
      "r286",
      "r325",
      "r349",
      "r354",
      "r355"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of prior service cost (credit) recognized in net periodic benefit cost (credit) of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Prior Service Cost (Credit)",
        "terseLabel": "Amortization of prior service cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfPriorServiceCostCredit",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Defined Benefit Plan Disclosure [Line Items]"
       }
      }
     },
     "localname": "DefinedBenefitPlanDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets": {
     "auth_ref": [
      "r286",
      "r323",
      "r347",
      "r354",
      "r355"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expected return (loss) recognized in net periodic benefit (cost) credit, calculated based on expected long-term rate of return and market-related value of plan assets of defined benefit plan.",
        "label": "Defined Benefit Plan, Expected Return on Plan Assets",
        "negatedLabel": "Expected return on assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedReturnOnPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanInterestCost": {
     "auth_ref": [
      "r286",
      "r290",
      "r322",
      "r346",
      "r354",
      "r355"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cost recognized for passage of time related to defined benefit plan.",
        "label": "Interest Cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanInterestCost",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost": {
     "auth_ref": [
      "r320",
      "r344",
      "r354",
      "r355"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of net periodic benefit cost (credit) for defined benefit plan.",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost",
        "totalLabel": "Net pension (credit)/expense included in employee benefits"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCost",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanServiceCost": {
     "auth_ref": [
      "r288",
      "r321",
      "r345",
      "r354",
      "r355"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cost for actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
        "label": "Service Cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanServiceCost",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanCostRecognized": {
     "auth_ref": [
      "r358"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cost for defined contribution plan.",
        "label": "Defined Contribution Plan, Cost Recognized",
        "terseLabel": "Defined benefit plan participants compensation expense"
       }
      }
     },
     "localname": "DefinedContributionPlanCostRecognized",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of discretionary contributions made by an employer to a defined contribution plan.",
        "label": "Defined Contribution Plan, Employer Discretionary Contribution Amount",
        "verboseLabel": "Employer discretionary contribution"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerDiscretionaryContributionAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan.",
        "label": "Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay",
        "verboseLabel": "Discretionary contribution as percentage of employee's base pay"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerMatchingContributionPercent",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DepositsDomestic": {
     "auth_ref": [
      "r529"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate of all domestic interest-bearing and noninterest-bearing deposit liabilities.",
        "label": "Deposits, Total",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "DepositsDomestic",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationNonproduction": {
     "auth_ref": [
      "r93",
      "r262"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The expense recognized in the current period that allocates the cost of nonproduction tangible assets over their useful lives.",
        "label": "Depreciation Premises and Equipment",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "DepreciationNonproduction",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiability": {
     "auth_ref": [
      "r29",
      "r38",
      "r424"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of liability associated with financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Asset, Fair Value, Gross Liability",
        "negatedLabel": "Fair value of interest rate swap contracts"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossLiability",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract Type [Domain]",
        "terseLabel": "Derivative Contract Type [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFinancialInstrumentsLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents derivative instrument obligations meeting the definition of a liability which are reported as of the balance sheet date. Derivative instrument obligations are generally measured at fair value, and adjustments to the carrying amount of hedged items reflect changes in their fair value (that is, losses) that are attributable to the risk being hedged and that arise while the hedge is in effect.",
        "label": "Derivative Financial Instruments Liabilities [Member]",
        "terseLabel": "Derivative Financial Instruments, Liabilities [Member]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r422",
      "r425",
      "r428",
      "r430"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument Risk [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Derivative Financial Instruments [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r437"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Schedule of Derivative Instruments [Text Block]",
        "terseLabel": "Derivative Financial Instruments"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r420",
      "r422",
      "r428"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of hedging relationship.",
        "label": "Hedging Relationship [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeLossOnDerivative": {
     "auth_ref": [
      "r423"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of decrease in the fair value of derivatives recognized in the income statement.",
        "label": "Derivative, Loss on Derivative",
        "terseLabel": "Decrease in fair value of derivatives"
       }
      }
     },
     "localname": "DerivativeLossOnDerivative",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeMaturityDates": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date the derivative contract matures, in CCYY-MM-DD format.",
        "label": "Derivative, maturity date"
       }
      }
     },
     "localname": "DerivativeMaturityDates",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r416",
      "r418"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Derivative, Notional Amount",
        "terseLabel": "Interest rate swap notional amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r415",
      "r417",
      "r418",
      "r420",
      "r421",
      "r426",
      "r428",
      "r433",
      "r434",
      "r435"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeTermOfContract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period the derivative contract is outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Derivative, Term of Contract",
        "terseLabel": "Derivative, term of contract"
       }
      }
     },
     "localname": "DerivativeTermOfContract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DirectOperatingCommunicationsCosts": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 10.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Communications costs incurred and are directly related to goods produced and sold and services rendered during the reporting period.",
        "label": "Direct Operating Communications Costs",
        "terseLabel": "Line rentals"
       }
      }
     },
     "localname": "DirectOperatingCommunicationsCosts",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r393"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Disclosure of Compensation Related Costs, Share-based Payments [Text Block]",
        "terseLabel": "Equity Compensation Plan Information"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Equity Compensation Plan Information [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r275"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedLabel": "Common stock dividend declared"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r7",
      "r9",
      "r524",
      "r564"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding.",
        "label": "Dividends Payable",
        "terseLabel": "Dividends Payable"
       }
      }
     },
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Earnings Per Common Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r67",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r129",
      "r131",
      "r134",
      "r135",
      "r136",
      "r140",
      "r141",
      "r537",
      "r574"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic net income per share",
        "verboseLabel": "Basic Earnings Per Share Amount"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareBasicLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items]"
       }
      }
     },
     "localname": "EarningsPerShareBasicLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r67",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r131",
      "r134",
      "r135",
      "r136",
      "r140",
      "r141",
      "r537",
      "r574"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted net income per share",
        "verboseLabel": "Diluted Earnings Per Share Anount"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r102",
      "r137",
      "r138"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings Per Common Share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonSharePolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r137",
      "r138",
      "r139",
      "r142"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings Per Common Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquipmentExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents equipment expense including depreciation, repairs, rentals, and service contract costs. This item also includes equipment purchases which do not qualify for capitalization in accordance with the entity's accounting policy. This item may also include furniture expenses.",
        "label": "Equipment Expense",
        "terseLabel": "Equipment"
       }
      }
     },
     "localname": "EquipmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r109",
      "r110",
      "r111",
      "r115",
      "r123",
      "r125",
      "r143",
      "r233",
      "r270",
      "r275",
      "r385",
      "r386",
      "r387",
      "r399",
      "r400",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r468",
      "r583",
      "r584",
      "r585"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r453"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate Of Fair Value Fair Value Disclosure [Member]",
        "terseLabel": "Estimate of Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r438",
      "r439",
      "r440",
      "r449"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value Measurements, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "auth_ref": [
      "r438",
      "r439",
      "r440",
      "r448",
      "r449"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of financial instruments measured at fair value, including those classified in shareholders' equity measured on a recurring or nonrecurring basis. Disclosures include, but are not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2. Nonrecurring fair value measurements are those that are required or permitted in the statement of financial position in particular circumstances.",
        "label": "Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]",
        "terseLabel": "Assets and Liabilities Measured at Fair Value on a Recurring and Nonrecurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r441"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Table Text Block]",
        "terseLabel": "Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount": {
     "auth_ref": [
      "r440"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of transfers of assets measured on a recurring basis out of Level 1 of the fair value hierarchy into Level 2.",
        "label": "Fair Value, Assets, Level 1 to Level 2 Transfers, Amount",
        "terseLabel": "Fair value, assets, level 1 to level 2 transfers, amount"
       }
      }
     },
     "localname": "FairValueAssetsLevel1ToLevel2TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount": {
     "auth_ref": [
      "r440"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of transfers of assets measured on a recurring basis out of Level 2 of the fair value hierarchy into Level 1.",
        "label": "Fair Value, Assets, Level 2 to Level 1 Transfers, Amount",
        "terseLabel": "Fair value, assets, level 2 to level 1 transfer, amount"
       }
      }
     },
     "localname": "FairValueAssetsLevel2ToLevel1TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]",
        "terseLabel": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r444",
      "r449"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r444",
      "r449"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Reconciliation of Fair Valued Assets Measured on a Recurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r438",
      "r449"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r438",
      "r454",
      "r455"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r438",
      "r454"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Fair Value by Balance Sheet Grouping"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r354",
      "r439",
      "r484",
      "r485",
      "r486"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value, Hierarchy [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r447",
      "r449"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r438",
      "r450"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r438",
      "r439",
      "r442",
      "r443",
      "r451"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Fair Value of Financial Instruments [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r447"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r309",
      "r311",
      "r316",
      "r354",
      "r439",
      "r484"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value Inputs Level1 [Member]",
        "terseLabel": "Fair Value, Inputs, Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r309",
      "r311",
      "r316",
      "r354",
      "r439",
      "r485"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value Inputs Level2 [Member]",
        "terseLabel": "Fair Value, Inputs, Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r354",
      "r439",
      "r486"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Inputs Level3 [Member]",
        "terseLabel": "Fair Value, Inputs, Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]",
        "terseLabel": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Fair Value Measurement Frequency [Domain]",
        "terseLabel": "Fair Value, Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss": {
     "auth_ref": [
      "r445"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in other comprehensive income (OCI) from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Other Comprehensive Income (Loss)",
        "verboseLabel": "Total losses realized/unrealized: Included in other comprehensive income"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r444"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome": {
     "auth_ref": [
      "r445"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in other comprehensive income (OCI) from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Other Comprehensive Income (Loss)",
        "terseLabel": "Included in other comprehensive income (loss)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r354",
      "r484",
      "r485",
      "r486"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Measurements Fair Value Hierarchy [Domain]",
        "terseLabel": "Fair Value, Measurements, Fair Value Hierarchy [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r438",
      "r439",
      "r442",
      "r443",
      "r446",
      "r451"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
        "label": "Fair Value Measurements Nonrecurring [Member]",
        "terseLabel": "Fair Value, Measurements, Nonrecurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r447",
      "r451"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value Measurements Recurring [Member]",
        "terseLabel": "Fair Value, Measurements, Recurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOptionChangesInFairValueGainLoss1": {
     "auth_ref": [
      "r460"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings.",
        "label": "Fair Value, Option, Changes in Fair Value, Gain (Loss)",
        "terseLabel": "Gains or losses included in earnings attributable to the change in realized/unrealized gains or losses related to the assets"
       }
      }
     },
     "localname": "FairValueOptionChangesInFairValueGainLoss1",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalDepositInsuranceCorporationPremiumExpense": {
     "auth_ref": [
      "r547"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for Federal Deposit Insurance Corporation (FDIC) insurance.",
        "label": "Federal Deposit Insurance Corporation Premium Expense",
        "terseLabel": "FDIC premiums"
       }
      }
     },
     "localname": "FederalDepositInsuranceCorporationPremiumExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansNonperformingLoansPolicy": {
     "auth_ref": [
      "r102",
      "r162",
      "r186"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) placing loans on nonaccrual status (or discontinuing accrual of interest) and recording payments received on nonaccrual loans, and the policy for resuming accrual of interest, (2) charging-off uncollectible loans, and (3) determining past due or delinquency status (that is, whether past due status is based on how recently payments have been received or contractual terms).",
        "label": "Finance, Loan and Lease Receivables, Held-for-investment, Allowance and Nonperforming Loans, Nonperforming Loans Policy [Policy Text Block]",
        "terseLabel": "Troubled Debt Restructure"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForInvestmentAllowanceAndNonperformingLoansNonperformingLoansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r215",
      "r219",
      "r236",
      "r239",
      "r240",
      "r243",
      "r244",
      "r252",
      "r253",
      "r254",
      "r255",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r167"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableAllowance",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The valuation allowance for financing receivables that are expected to be uncollectible that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1": {
     "auth_ref": [
      "r167"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableAllowance",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of valuation allowance for financing receivables that are expected to be uncollectible that were individually evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Allowance for Credit Losses [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "auth_ref": [
      "r166",
      "r238",
      "r249"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase in allowance for credit loss on financing receivable from recovery.",
        "label": "Financing Receivable, Allowance for Credit Losses, Recovery",
        "terseLabel": "Recoveries",
        "verboseLabel": "Loan recovery amount"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "auth_ref": [
      "r165",
      "r237",
      "r249"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "Financing Receivable, Allowance for Credit Losses, Write-downs",
        "negatedLabel": "Charge-offs",
        "verboseLabel": "Loan charge off"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r168"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Collectively Evaluated for Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r178",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "terseLabel": "Classes of the Loan Portfolio Summarized by the Aggregate Risk Rating"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivableImpairedLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Impaired [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableImpairedLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r168"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The balance of financing receivables that were individually evaluated for impairment.",
        "label": "Financing Receivable, Individually Evaluated for Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Modifications [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableModificationsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableModificationsNumberOfContracts2": {
     "auth_ref": [
      "r180"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of financing receivables that have been modified by troubled debt restructurings.",
        "label": "Financing receivable, modifications, number of contracts",
        "terseLabel": "Number of Contracts",
        "verboseLabel": "Number of Loans"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNumberOfContracts2",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2": {
     "auth_ref": [
      "r180"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after troubled debt restructuring, of modified financing receivable.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Postmodification",
        "terseLabel": "Recorded Investment"
       }
      }
     },
     "localname": "FinancingReceivableModificationsPostModificationRecordedInvestment2",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsRecordedInvestment": {
     "auth_ref": [
      "r180",
      "r195"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring.",
        "label": "Financing receivable, modifications, recorded investment",
        "verboseLabel": "Loans Balance"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "auth_ref": [
      "r181"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
        "label": "Financing receivable, modifications, subsequent default, recorded investment"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r236",
      "r239",
      "r245"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "terseLabel": "Financing Receivable Portfolio Segment [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing": {
     "auth_ref": [
      "r188",
      "r242",
      "r250"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable 90 days or more past due and still accruing.",
        "label": "Financing Receivable, Recorded Investment, 90 Days Past Due and Still Accruing",
        "terseLabel": "Total Past Due and Accruing"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r179",
      "r189",
      "r190",
      "r240",
      "r243",
      "r244",
      "r246",
      "r247",
      "r249",
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Axis]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Financing Receivable Recorded Investment Class Of Financing Receivable [Domain]",
        "terseLabel": "Financing Receivable Allowance [Domain]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentCurrent": {
     "auth_ref": [
      "r190",
      "r240",
      "r250"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable not past due.",
        "label": "Financing Receivable, Recorded Investment, Current",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentCurrent",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r187",
      "r241"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Recorded Investment, Nonaccrual Status",
        "netLabel": "Nonaccrual loans",
        "terseLabel": "Non-Accrual"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDue": {
     "auth_ref": [
      "r190",
      "r240",
      "r250"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable past due.",
        "label": "Financing Receivable, Recorded Investment, Past Due",
        "terseLabel": "Past due"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Recorded Investment, Past Due [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due.",
        "label": "Financing Receivables30 To59 Days Past Due [Member]",
        "terseLabel": "Financing Receivables, 30 to 59 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due.",
        "label": "Financing Receivables60 To89 Days Past Due [Member]",
        "terseLabel": "Financing Receivables, 60 to 89 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financing Receivables Equal To Greater Than90 Days Past Due [Member]",
        "terseLabel": "Financing Receivables, Equal to Greater than 90 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r240",
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by time period financial asset is past due.",
        "label": "Financing Receivables, Period Past Due [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period in which financial asset is past due. Element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater Than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less Than [high end numeric value] [date measure] Past Due [Member] formats.",
        "label": "Financing Receivables Period Past Due [Domain]",
        "terseLabel": "Financing Receivables, Period Past Due [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnCashFlowHedgeIneffectivenessNet": {
     "auth_ref": [
      "r427"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net gain (loss) recognized in earnings during the reporting period representing the amount of the cash flow hedges' ineffectiveness.",
        "label": "Gain (Loss) on Cash Flow Hedge Ineffectiveness, Net",
        "terseLabel": "Cash flow hedge ineffectiveness"
       }
      }
     },
     "localname": "GainLossOnCashFlowHedgeIneffectivenessNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails": {
       "order": 4.0,
       "parentTag": "func_GainLossOther",
       "weight": 1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
        "label": "Gain (Loss) on Sale of Property Plant Equipment",
        "negatedLabel": "Loss on disposal of fixed assets",
        "verboseLabel": "Loss on disposal of fixed assets"
       }
      }
     },
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "auth_ref": [
      "r93",
      "r543",
      "r577"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails": {
       "order": 5.0,
       "parentTag": "func_GainLossOther",
       "weight": 1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes.",
        "label": "Gain (Loss) on Sales of Loans, Net",
        "negatedTerseLabel": "Gains from sales of loans held for sale",
        "verboseLabel": "Gains on sale of residential mortgage loans"
       }
      }
     },
     "localname": "GainLossOnSalesOfLoansNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "auth_ref": [
      "r546"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails": {
       "order": 1.0,
       "parentTag": "func_ForeclosedRealEstateExpenseIncomeNet",
       "weight": -1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net gain (loss) resulting from sales and other disposals of other real estate owned, increases (decreases) in the valuation allowance for foreclosed real estate, and write-downs of other real estate owned after acquisition or physical possession.",
        "label": "Gains (Losses) on Sales of Other Real Estate",
        "negatedLabel": "Gains on real estate, net",
        "negatedTerseLabel": "Gains on sales of other real estate owned"
       }
      }
     },
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r256",
      "r258",
      "r520"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 12.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "verboseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Goodwill [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r261"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureGoodwill"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r93",
      "r257",
      "r259",
      "r260"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impairment Loss",
        "terseLabel": "Goodwill impairment loss"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureGoodwillNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r420"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Nature or intent of a hedge.",
        "label": "Hedging Relationship [Domain]",
        "terseLabel": "Hedging Relationship [Domain]"
       }
      }
     },
     "localname": "HedgingRelationshipDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecurities": {
     "auth_ref": [
      "r197",
      "r210",
      "r527"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Held-to-maturity Securities",
        "terseLabel": "Investment securities \u2013 held to maturity (fair value $76,370 at September 30, 2020 and $100,656 at December 31, 2019)",
        "verboseLabel": "Held-to-maturity Amortized cost"
       }
      }
     },
     "localname": "HeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "auth_ref": [
      "r212",
      "r217"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Held-to-maturity Securities, Unrecognized Holding Gain",
        "terseLabel": "Held-to-maturity Gross Unrealized Gains"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "auth_ref": [
      "r213",
      "r218"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Held-to-maturity Securities, Unrecognized Holding Loss",
        "terseLabel": "Held-to-maturity Gross Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r221",
      "r223"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer.",
        "label": "Held-to-maturity Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Aggregate Loss",
        "terseLabel": "Held-to-Maturity Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r221",
      "r223"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months.",
        "label": "Held-to-maturity Securities, Continuous Unrealized Loss Position, Less than 12 Months, Aggregate Loss",
        "terseLabel": "Held-to-Maturity Securities, Continuous Unrealized Loss Position, Less than 12 Months, Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "auth_ref": [
      "r223"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months.",
        "label": "Held-to-Maturity Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "auth_ref": [
      "r223"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer.",
        "label": "Held-to-Maturity Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r214",
      "r220",
      "r556",
      "r559"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Held-to-maturity Securities, Debt Maturities, after Ten Years, Fair Value",
        "terseLabel": "Fair Value: Due after ten years, Held to maturity"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount": {
     "auth_ref": [
      "r214",
      "r556"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Held-to-maturity Securities, Debt Maturities, after Ten Years, Net Carrying Amount",
        "terseLabel": "Amortized Cost: Due after ten years, Held to maturity"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "auth_ref": [
      "r211",
      "r216",
      "r527"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Held-to-maturity securities, fair value",
        "verboseLabel": "Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesSoldSecurityRealizedGainLoss": {
     "auth_ref": [
      "r201"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails": {
       "order": 3.0,
       "parentTag": "func_GainLossOther",
       "weight": 1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) on sale of investment in debt security measured at amortized cost (held-to-maturity), including other-than-temporary impairment (OTTI).",
        "label": "Debt Securities, Held-to-maturity, Sold, Realized Gain (Loss)",
        "negatedLabel": "Gain on calls of investment securities \u2013 HTM",
        "terseLabel": "Held-to-maturity securities: Realized gains"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesSoldSecurityRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HomeEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revolving, open-end loan extended under a line of credit and secured by the borrower's residential property.",
        "label": "Home Equity [Member]",
        "terseLabel": "Residential mortgage- home equity [Member]"
       }
      }
     },
     "localname": "HomeEquityMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment": {
     "auth_ref": [
      "r173",
      "r177"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Average amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Average Recorded Investment",
        "terseLabel": "Average Investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r174"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income recognized that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired.",
        "label": "Impaired Financing Receivable, Interest Income, Accrual Method",
        "terseLabel": "Interest income recognized on an accrual basis"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod": {
     "auth_ref": [
      "r175"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income recognized on a cash-basis method of accounting that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired.",
        "label": "Impaired Financing Receivable, Interest Income, Cash Basis Method",
        "terseLabel": "Interest income recognized on a cash basis"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableInterestIncomeCashBasisMethod",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRecordedInvestment": {
     "auth_ref": [
      "r170"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Recorded Investment",
        "terseLabel": "Total Impaired Loans: Recorded Investment",
        "verboseLabel": "Impaired Loans"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRelatedAllowance": {
     "auth_ref": [
      "r171"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance for credit losses related to recorded investment.",
        "label": "Impaired Financing Receivable, Related Allowance",
        "terseLabel": "Impaired Loans with Specific Allowance: Related Allowance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRelatedAllowance",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance": {
     "auth_ref": [
      "r172"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unpaid principal balance of impaired financing receivables with related allowance for credit losses and without related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Unpaid Principal Balance",
        "terseLabel": "Unpaid Principal Balance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r170"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Recorded Investment",
        "terseLabel": "Impaired Loans with No Specific Allowance: Recorded Investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r170"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Recorded Investment",
        "terseLabel": "Impaired Loans with Specific Allowance: Recorded Investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of impaired financing receivables.",
        "label": "Impaired Financing Receivables [Table Text Block]",
        "terseLabel": "Impaired Loans and Related Interest Income by Loan Portfolio Class"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ImpairmentOfRealEstate": {
     "auth_ref": [
      "r93",
      "r264"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails": {
       "order": 2.0,
       "parentTag": "func_ForeclosedRealEstateExpenseIncomeNet",
       "weight": 1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The charge against earnings in the period to reduce the carrying amount of real property to fair value.",
        "label": "Impairment of Real Estate",
        "terseLabel": "Write-downs of other real estate owned",
        "verboseLabel": "Fair value write-down"
       }
      }
     },
     "localname": "ImpairmentOfRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfActivityInOreoValuationAllowanceDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r106",
      "r148",
      "r149",
      "r152",
      "r153",
      "r155"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations before deduction of income tax expense (benefit) and income (loss) attributable to noncontrolling interest, and addition of income (loss) from equity method investments.",
        "label": "Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Extraordinary Items, Noncontrolling Interest",
        "totalLabel": "Income before income tax expense"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Consolidated Statement of Operations [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r104",
      "r124",
      "r125",
      "r147",
      "r396",
      "r404",
      "r405",
      "r576"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "Tax (expense) benefit",
        "terseLabel": "Provision for income tax expense"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r97"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Taxes paid"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Decrease in accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in receivables, and operating assets classified as other.",
        "label": "Increase (Decrease) in Accounts Receivable and Other Operating Assets",
        "negatedLabel": "Increase in accrued interest receivable and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredCharges": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the value of expenditures made during the current reporting period for benefits that will be received over a period of years. Deferred charges differ from prepaid expenses in that they usually extend over a long period of time and may or may not be regularly recurring costs of operation.",
        "label": "Increase (Decrease) in Deferred Charges",
        "negatedLabel": "Amortization of deferred loan fees"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredCharges",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredIncomeTaxes": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the account that represents the temporary difference that results from Income or Loss that is recognized for accounting purposes but not for tax purposes and vice versa.",
        "label": "Increase (Decrease) in Deferred Income Taxes",
        "negatedLabel": "Deferred tax expense"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r96",
      "r554"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash inflow or outflow for the increase (decrease) in the beginning and end of period deposits balances.",
        "label": "Increase (Decrease) in Deposits",
        "terseLabel": "Net increase in deposits"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeposits",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "auth_ref": [
      "r72"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of expenses incurred in the period for information technology and data processing products and services.",
        "label": "Information Technology and Data Processing",
        "terseLabel": "Data processing"
       }
      }
     },
     "localname": "InformationTechnologyAndDataProcessing",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r539"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
        "label": "Interest and Dividend Income, Operating",
        "totalLabel": "Total interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Interest and Dividend Income, Operating [Abstract]",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating dividend and interest income, including amortization and accretion of premiums and discounts, on securities.",
        "label": "Interest and Dividend Income, Securities",
        "totalLabel": "Total investment income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r538"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases.",
        "label": "Interest and Fee Income, Loans and Leases",
        "terseLabel": "Interest and fees on loans"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r529"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total amount of interest-bearing domestic deposit liabilities, which may include brokered, retail, demand, checking, notice of withdrawal, money market and other interest-bearing deposits.",
        "label": "Interest-bearing Deposit Liabilities, Domestic",
        "terseLabel": "Interest bearing deposits"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r518",
      "r532"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet.",
        "label": "Interest-bearing Deposits in Banks and Other Financial Institutions",
        "terseLabel": "Interest bearing deposits in banks",
        "verboseLabel": "Interest bearing deposits in banks, Carrying Amount"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r63",
      "r146",
      "r470",
      "r473",
      "r553"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Interest Expense [Abstract]",
        "terseLabel": "Interest expense"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseDomesticDeposits": {
     "auth_ref": [
      "r550"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate interest expense incurred on all domestic deposits.",
        "label": "Interest Expense, Deposits",
        "terseLabel": "Interest on deposits"
       }
      }
     },
     "localname": "InterestExpenseDomesticDeposits",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseLongTermDebt": {
     "auth_ref": [
      "r552"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate amount of interest paid or due on all long-term debt.",
        "label": "Interest Expense, Long-term Debt",
        "terseLabel": "Interest on long-term borrowings"
       }
      }
     },
     "localname": "InterestExpenseLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseShortTermBorrowings": {
     "auth_ref": [
      "r551"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate interest expense incurred on short-term borrowings including commercial paper and Federal funds purchased and securities sold under agreements to repurchase.",
        "label": "Interest Expense, Short-term Borrowings",
        "terseLabel": "Interest on short-term borrowings"
       }
      }
     },
     "localname": "InterestExpenseShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r542"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses.",
        "label": "Interest Income (Expense), after Provision for Loan Loss",
        "totalLabel": "Net interest income after provision for loan losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r540"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "totalLabel": "Net interest income"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxExempt": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeSecurities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities exempt from state, federal and other income tax.",
        "label": "Interest Income, Securities, Tax Exempt",
        "terseLabel": "Interest on investment securities: Exempt from federal income tax"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxExempt",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeSecurities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities subject to state, federal and other income tax.",
        "label": "Interest Income, Securities, Taxable",
        "terseLabel": "Interest on investment securities: Taxable"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r86",
      "r90",
      "r97"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest paid"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of all interest rate derivative liabilities designated as cash flow hedging instruments.",
        "label": "Interest Rate Cash Flow Hedge Liability at Fair Value",
        "negatedLabel": "Financial Derivative",
        "terseLabel": "Financial derivative"
       }
      }
     },
     "localname": "InterestRateCashFlowHedgeLiabilityAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateContractMember": {
     "auth_ref": [
      "r309",
      "r429"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to the right to receive or pay a sum of money at a given interest rate.",
        "label": "Interest Rate Contract [Member]",
        "terseLabel": "Interest Rate Contract [Member]"
       }
      }
     },
     "localname": "InterestRateContractMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r429"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period.",
        "label": "Interest Rate Swap [Member]",
        "terseLabel": "Interest Rate Swap Agreements [Member]"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r178",
      "r244",
      "r248",
      "r249",
      "r267",
      "r432"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]",
        "terseLabel": "Financing Receivable, by Credit Quality Indicator [Domain]"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r231",
      "r575"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "terseLabel": "Amortized Cost and Fair Values Classified by Contractual Maturity Date"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Investments [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r230",
      "r517",
      "r560",
      "r596"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for  investments in certain debt and equity securities.",
        "label": "Marketable Securities [Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Labor and Related Expense",
        "terseLabel": "Salaries and employee benefits"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r22",
      "r103",
      "r151",
      "r232",
      "r409",
      "r412",
      "r413",
      "r459"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total Liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities:"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r17",
      "r103",
      "r232",
      "r459",
      "r526",
      "r569"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Stockholders' Equity",
        "totalLabel": "Total Liabilities and Shareholders' Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities and Stockholders' Equity [Abstract]",
        "terseLabel": "Liabilities and Shareholders' Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanProcessingFee": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 8.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Expenses paid for obtaining loans which includes expenses such as application and origination fees.",
        "label": "Loan Processing Fee",
        "terseLabel": "Contract labor"
       }
      }
     },
     "localname": "LoanProcessingFee",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoanRestructuringModificationAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by concessions made to the terms of loan contracts.",
        "label": "Loan Restructuring Modification [Axis]"
       }
      }
     },
     "localname": "LoanRestructuringModificationAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanRestructuringModificationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Concessions made to the terms of loan contracts, including but not limited to, interest rate reductions, maturity extensions, principal forgiveness, and payment deferral.",
        "label": "Loan Restructuring Modification [Domain]",
        "terseLabel": "Financing Receivable, Troubled Debt Restructuring [Domain]"
       }
      }
     },
     "localname": "LoanRestructuringModificationDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowance": {
     "auth_ref": [
      "r163",
      "r167",
      "r192",
      "r194"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance to cover probable credit losses on loans and leases. Includes carryover of or adjustments to the allowance for loan losses in connection with business combinations. Excludes allowance for loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Allowance",
        "negatedLabel": "Allowance for loan losses",
        "periodEndLabel": "ALL Ending Balance",
        "periodStartLabel": "ALL Beginning Balance",
        "terseLabel": "Allowance for loan losses",
        "totalLabel": "Total Allowance For Loan Losses"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowance",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableLoansInProcess": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undisbursed portion of the loan receivable balance (loans in process). Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Loans in Process",
        "negatedLabel": "Unearned fees"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableLoansInProcess",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome": {
     "auth_ref": [
      "r159",
      "r184"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and leases receivable, net of deferred income",
        "terseLabel": "Loans",
        "totalLabel": "Total Loans"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetOfDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r159",
      "r533"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements and loans held for sale.",
        "label": "Loans and Leases Receivable, Net Reported Amount",
        "totalLabel": "Net loans",
        "verboseLabel": "Loans, net, Carrying Amount"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Loans and Related Allowance for Loan Losses [Abstract]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmountAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansHeldForSaleFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of loans held-for-sale including, but not limited to, mortgage loans and finance receivables.",
        "label": "Loans Receivable Held-for-sale, Amount",
        "terseLabel": "Loans held for sale",
        "verboseLabel": "Loans held for sale (at fair value)"
       }
      }
     },
     "localname": "LoansHeldForSaleFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r193"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Loans and Related Allowance for Loan Losses"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowanceForLoanLosses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansPledgedAsCollateral": {
     "auth_ref": [
      "r185",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of loans that have been pledged as collateral for borrowings. If the secured party has the right by contract or custom to sell or re-pledge the collateral, then the debtor reclassifies that asset and report that asset in its statement of financial position separately from other assets not so encumbered.",
        "label": "Loans pledged as collateral",
        "terseLabel": "FHLB advances secured by loans receivable"
       }
      }
     },
     "localname": "LoansPledgedAsCollateral",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r193"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
        "label": "Loans Receivable, Fair Value Disclosure",
        "terseLabel": "Loans, net"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableHeldForSaleAmount": {
     "auth_ref": [
      "r159",
      "r597"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before valuation allowance, of financing receivable classified as held-for-sale.",
        "label": "Loans Receivable Held-for-sale",
        "netLabel": "Loans held for sale, Carrying Amount"
       }
      }
     },
     "localname": "LoansReceivableHeldForSaleAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate L I B O R [Member]",
        "terseLabel": "LIBOR [Member]"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r8",
      "r268",
      "r525",
      "r566"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long-term debt",
        "netLabel": "Long-term borrowed funds, carrying amount",
        "terseLabel": "Long-term borrowings"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.",
        "label": "Long-term Debt, Fair Value",
        "terseLabel": "Long-term borrowed funds"
       }
      }
     },
     "localname": "LongTermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketingAndAdvertisingExpense": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 12.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total expense recognized in the period for promotion, public relations, and brand or product advertising.",
        "label": "Marketing and Advertising Expense",
        "terseLabel": "Marketing"
       }
      }
     },
     "localname": "MarketingAndAdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r202",
      "r309",
      "r311",
      "r354",
      "r591"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by mortgage loans.",
        "label": "Mortgage Backed Securities [Member]",
        "terseLabel": "Collateralized mortgage obligations [Member]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "auth_ref": [
      "r183"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process.",
        "label": "Mortgage Loans in Process of Foreclosure, Amount",
        "terseLabel": "Loans in process of foreclosure"
       }
      }
     },
     "localname": "MortgageLoansInProcessOfForeclosureAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net cash used in financing activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net cash provided by investing activities",
        "totalLabel": "Net cash (used in)/provided by investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r89",
      "r91",
      "r94"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net cash provided by operating activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r0",
      "r56",
      "r59",
      "r64",
      "r94",
      "r103",
      "r114",
      "r118",
      "r119",
      "r120",
      "r121",
      "r124",
      "r125",
      "r133",
      "r148",
      "r149",
      "r152",
      "r153",
      "r155",
      "r232",
      "r459",
      "r534",
      "r571"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Income (Loss) from Continuing Operations, Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net Income",
        "totalLabel": "Net Income",
        "verboseLabel": "Net income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Adoption of New Accounting Standards and Effects of New Accounting Pronouncements [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r112",
      "r113",
      "r116",
      "r117",
      "r126",
      "r127",
      "r128",
      "r234",
      "r235",
      "r278",
      "r279",
      "r280",
      "r281",
      "r388",
      "r401",
      "r402",
      "r403",
      "r514",
      "r515",
      "r516",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle.",
        "label": "New Accounting Pronouncements and Changes in Accounting Principles [Text Block]",
        "terseLabel": "Adoption of New Accounting Standards and Effects of New Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAdoptionOfNewAccountingStandardsAndEffectsOfNewAccountingPronouncements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r529"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of domestic noninterest-bearing deposits held by the entity, which may include demand deposits, checking, brokered and retail deposits.",
        "label": "Noninterest-bearing Deposit Liabilities, Domestic",
        "terseLabel": "Non-interest bearing deposits"
       }
      }
     },
     "localname": "NoninterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r547"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "Noninterest Expense",
        "totalLabel": "Total other operating expenses"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Noninterest Expense [Abstract]",
        "terseLabel": "Other operating expenses"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r544"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified.",
        "label": "Noninterest Income",
        "totalLabel": "Total other operating income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Noninterest Income [Abstract]",
        "terseLabel": "Other operating income"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOther": {
     "auth_ref": [
      "r544"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the total of noninterest income derived from certain activities and assets including (for example): (1) venture capital investments; (2) bank owned life insurance; (3) foreign currency transactions; and (4) mortgage servicing rights.",
        "label": "Noninterest Income, Other",
        "terseLabel": "Total other income"
       }
      }
     },
     "localname": "NoninterestIncomeOther",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OccupancyNet": {
     "auth_ref": [
      "r72",
      "r475",
      "r545"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense.",
        "label": "Occupancy, Net",
        "terseLabel": "Occupancy"
       }
      }
     },
     "localname": "OccupancyNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffsettingLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r33",
      "r34"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of derivative and other financial liabilities that are subject to offsetting, including master netting arrangements.",
        "label": "Offsetting Liabilities [Table Text Block]",
        "terseLabel": "Schedule of Assets and Liabilities Subject to an Enforceable Master Netting Arrangement or Repurchase Agreements"
       }
      }
     },
     "localname": "OffsettingLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r477"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating lease liability"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r476"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 13.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "verboseLabel": "Operating lease asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Basis of Presentation [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r1",
      "r414"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBasisOfPresentation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r45",
      "r49",
      "r328"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after tax, of gain (loss) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Other Comprehensive Income (Loss), Pension and Other Postretirement Benefit Plans, Net Unamortized Gain (Loss) Arising During Period, Net of Tax",
        "terseLabel": "Net unrealized gains on pension",
        "totalLabel": "Unrealized net actuarial loss, Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodTax": {
     "auth_ref": [
      "r50"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of tax expense (benefit) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Other Comprehensive Income (Loss), Pension and Other Postretirement Benefit Plans, Net Unamortized Gain (Loss) Arising During Period, Tax",
        "negatedLabel": "Unrealized net actuarial loss, Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by location in other comprehensive income.",
        "label": "Other Comprehensive Income Location [Axis]"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLocationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Location in other comprehensive income.",
        "label": "Other Comprehensive Income Location [Domain]",
        "terseLabel": "Other Comprehensive Income Location [Domain]"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax": {
     "auth_ref": [
      "r49",
      "r53",
      "r54",
      "r328"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of reclassification adjustment from accumulated other comprehensive (income) loss for prior service cost (credit) of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Amortization Adjustment from AOCI, Pension and Other Postretirement Benefit Plans, for Net Prior Service Cost (Credit), before Tax",
        "terseLabel": "Less: amortization of prior service costs, Before Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax": {
     "auth_ref": [
      "r49",
      "r53",
      "r54",
      "r328"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after tax, of reclassification adjustment from accumulated other comprehensive (income) loss for prior service cost (credit) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Amortization Adjustment from AOCI, Pension and Other Postretirement Benefit Plans, for Net Prior Service (Cost) Credit, Net of Tax",
        "totalLabel": "Less: amortization of prior service costs, Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax": {
     "auth_ref": [
      "r50"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of tax (expense) benefit of reclassification adjustment from accumulated other comprehensive (income) loss for prior service cost (credit) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Amortization Adjustment from AOCI, Pension and Other Postretirement Benefit Plans, for Net Prior Service (Cost) Credit, Tax",
        "negatedLabel": "Less: amortization of prior service costs, Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax": {
     "auth_ref": [
      "r41",
      "r42",
      "r49"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax and after adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, before Tax",
        "terseLabel": "Available for sale securities - all other: Net unrealized losses on all other AFS securities, Before Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax": {
     "auth_ref": [
      "r41",
      "r42",
      "r49"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after tax and adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax",
        "terseLabel": "Net unrealized (losses)/gains on all other AFS securities",
        "totalLabel": "Available for sale securities - all other: Net unrealized losses on all other AFS securities, Net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax": {
     "auth_ref": [
      "r41",
      "r42",
      "r50"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after adjustment, of tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "Other Comprehensive Income (Loss), Available-for-sale Securities, Tax",
        "negatedLabel": "Available for sale securities - all other: Net unrealized losses on all other AFS securities, Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax": {
     "auth_ref": [
      "r52",
      "r62",
      "r462",
      "r464",
      "r468"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), before Reclassifications, Net of Tax",
        "terseLabel": "Other comprehensive income/(loss) before reclassifications"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent": {
     "auth_ref": [
      "r406",
      "r407",
      "r410"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), before Tax, Portion Attributable to Parent",
        "terseLabel": "Other Comprehensive Income, Before Tax Amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r57",
      "r60",
      "r62",
      "r65",
      "r270",
      "r462",
      "r467",
      "r468",
      "r535",
      "r572"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Other comprehensive (loss)/income",
        "totalLabel": "Other Comprehensive income/(loss), Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r57",
      "r60",
      "r406",
      "r407",
      "r410"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
        "totalLabel": "Other Comprehensive (loss) Income, Net"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]",
        "terseLabel": "Other comprehensive income, net of tax and reclassification adjustments:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax": {
     "auth_ref": [
      "r47",
      "r49",
      "r328",
      "r354"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, after reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Pension and Other Postretirement Benefit Plans, Adjustment, before Tax",
        "negatedLabel": "Net plan liability adjustment, Before Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax": {
     "auth_ref": [
      "r47",
      "r49"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Pension and Other Postretirement Benefit Plans, Adjustment, Net of Tax",
        "negatedTotalLabel": "Net plan liability adjustment, Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r45",
      "r49",
      "r328"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of gain (loss) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Other Comprehensive Income (Loss), Pension and Other Postretirement Benefit Plans, Net Unamortized Gain (Loss) Arising During Period, before Tax",
        "terseLabel": "Unrealized net actuarial loss, Before Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax": {
     "auth_ref": [
      "r47",
      "r50",
      "r406"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after reclassification adjustment, of tax (expense) benefit for (increase) decrease in accumulated other comprehensive income of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Pension and Other Postretirement Benefit Plans, Tax",
        "terseLabel": "Net plan liability adjustment, Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax": {
     "auth_ref": [
      "r49",
      "r53",
      "r54",
      "r229"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax",
        "negatedLabel": "Less: amortization recognized in income, Before Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax": {
     "auth_ref": [
      "r49",
      "r53",
      "r54",
      "r229"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax",
        "negatedTotalLabel": "Less: amortization recognized in income, Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax": {
     "auth_ref": [
      "r50",
      "r229"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax",
        "terseLabel": "Less: amortization recognized in income, Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax": {
     "auth_ref": [
      "r49",
      "r53",
      "r54",
      "r328"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of reclassification adjustment from accumulated other comprehensive (income) loss for net period benefit cost (credit) of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, Reclassification Adjustment from AOCI, before Tax",
        "verboseLabel": "Salaries and employee benefits"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax": {
     "auth_ref": [
      "r49",
      "r53",
      "r54",
      "r328"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI, Pension and Other Postretirement Benefit Plans, for Net Gain (Loss), before Tax",
        "negatedLabel": "Less: amortization of unrecognized loss, Before Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax": {
     "auth_ref": [
      "r49",
      "r53",
      "r54",
      "r328"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after tax, of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Reclassification Adjustment from AOCI, Pension and Other Postretirement Benefit Plans, for Net (Gain) Loss, Net of Tax",
        "negatedTotalLabel": "Less: amortization of unrecognized loss, Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax": {
     "auth_ref": [
      "r50"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Reclassification Adjustment from AOCI, Pension and Other Postretirement Benefit Plans, for Net (Gain) Loss, Tax",
        "terseLabel": "Less: amortization of unrecognized loss, Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1": {
     "auth_ref": [
      "r406",
      "r407",
      "r410"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of tax expense (benefit) allocated to other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), Tax, Portion Attributable to Parent",
        "negatedLabel": "Other Comprehensive Income, Tax (Expense) Benefit"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossTaxPortionAttributableToParent1",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r40",
      "r49",
      "r436"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss).",
        "label": "Other Comprehensive Income (Loss), Unrealized Gain (Loss) on Derivatives Arising During Period, before Tax",
        "terseLabel": "Cash flow hedges: Unrealized holding (losses) gains, Before Tax",
        "verboseLabel": "Amount of gain or (loss) recognized in OCI on derivative (effective portion)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r40",
      "r49",
      "r436"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss).",
        "label": "Other Comprehensive Income (Loss), Unrealized Gain (Loss) on Derivatives Arising During Period, Net of Tax",
        "terseLabel": "Net unrealized gains/(losses) on cash flow hedges",
        "totalLabel": "Cash flow hedges: Unrealized holding (losses) gains, Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax": {
     "auth_ref": [
      "r40",
      "r50"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of tax expense (benefit), before reclassification adjustments, related to increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss).",
        "label": "Other Comprehensive Income (Loss), Unrealized Gain (Loss) on Derivatives Arising During Period, Tax",
        "negatedLabel": "Cash flow hedges: Unrealized holding (losses) gains, Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r41",
      "r49",
      "r229"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, before Tax",
        "terseLabel": "Securities: Unrealized holding gains (losses), Before Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r41",
      "r49"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Net of Tax",
        "totalLabel": "Securities: Unrealized holding gains (losses), Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax": {
     "auth_ref": [
      "r42",
      "r50"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Tax",
        "negatedLabel": "Securities: Unrealized holding gains (losses), Tax Effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherExpenses": {
     "auth_ref": [
      "r71",
      "r578"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense classified as other.",
        "label": "Other Expenses",
        "negatedLabel": "Other expense"
       }
      }
     },
     "localname": "OtherExpenses",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r549"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other Interest and Dividend Income",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r531"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "terseLabel": "Accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Other Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Non-cash investing activities:"
       }
      }
     },
     "localname": "OtherNoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r547"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other Noninterest Expense",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstate": {
     "auth_ref": [
      "r528"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This does not include real estate assets taken in settlement of troubled loans through surrender or foreclosure.",
        "label": "Other Real Estate",
        "verboseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "OtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstatePeriodIncreaseDecrease": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Change in carrying amount of other real estate not separately disclosed. The change includes for example, but is not limited to, additions, improvements, disposals and valuation adjustments.",
        "label": "Other Real Estate, Period Increase (Decrease)",
        "terseLabel": "OREO increase (decrease)"
       }
      }
     },
     "localname": "OtherRealEstatePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstateRollForwardTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the change in other real estate on properties owned. Excludes real estate assets taken in settlement of troubled loans through surrender or foreclosure by banks.",
        "label": "Other Real Estate, Roll Forward [Table Text Block]",
        "terseLabel": "Schedule of Activity in OREO Valuation Allowance"
       }
      }
     },
     "localname": "OtherRealEstateRollForwardTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld": {
     "auth_ref": [
      "r225",
      "r227"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of credit losses recognized in earnings related to debt securities held for which a portion of an other than temporary impairment (OTTI) was recognized in other comprehensive income (a component of shareholders' equity).",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Credit Losses on Debt Securities Held",
        "periodEndLabel": "Balance of credit-related OTTI, Ending",
        "periodStartLabel": "Balance of credit-related OTTI, Beginning"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsNonCashOttiCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsReductionsCashFlows": {
     "auth_ref": [
      "r226"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents reductions in the cumulative amount of credit losses recognized in earnings for an other than temporary impairment (OTTI) of a debt security held due to increases in cash flows expected to be collected and recognized over the remaining life of the security.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Reductions, Cash Flows",
        "negatedLabel": "Reduction for increases in cash flows expected to be collected"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsReductionsCashFlows",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsNonCashOttiCreditLossesRecognizedInEarningsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock": {
     "auth_ref": [
      "r224"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the amount of other than temporary impairment (OTTI) related to credit losses recognized in earnings including: (a) the beginning balance of the amount related to credit losses on debt securities held by the investor at the beginning of the period for which a portion of an OTTI was recognized in other comprehensive income; (b) additions for the amount related to the credit loss for which an OTTI was not previously recognized; (c) reductions for securities sold during the period (realized); (d) reductions for securities for which the amount previously recognized in other comprehensive income was recognized in earnings because the investor intends to sell the security or more likely than not will be required to sell the security before recovery of its amortized cost basis; (e) additional increases to the amount related to the credit loss for which an OTTI was previously recognized when the investor does not intend to sell the security and it is not more likely than not that the investor will be required to sell the security before recovery of its amortized cost basis; (f) reductions for increases in cash flows expected to be collected that are recognized over the remaining life of the security; and (g) the ending balance of the amount related to credit losses on debt securities held by the entity at the end of the period for which a portion of an OTTI was recognized in other comprehensive income.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings [Table Text Block]",
        "terseLabel": "Non-Cash OTTI Credit Losses Recognized in Earnings"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "func_OtherThanTemporaryImpairmentLossesInvestmentsAvailableForSaleSecuritiesNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount by which the fair value of an investment in debt and equity securities categorized as Available-for-sale is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "Other than Temporary Impairment Losses, Investments, Available-for-sale Securities",
        "negatedLabel": "Available for sale (AFS) securities with OTTI: Unrealized holding (losses) gains, Before Tax Amount"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities": {
     "auth_ref": [
      "r43",
      "r199"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of other-than-temporary impairment (OTTI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), recognized in other comprehensive income (OCI).",
        "label": "Other than Temporary Impairment Losses, Investments, Portion in Other Comprehensive Loss, before Tax, Including Portion Attributable to Noncontrolling Interest, Available-for-sale Securities",
        "negatedLabel": "Available for sale (AFS) securities with OTTI: Net unrealized losses on investments with OTTI, Before Tax Amount"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities": {
     "auth_ref": [
      "r43",
      "r196"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of other than temporary impairment (OTTI) loss on investment in available-for-sale debt security, recognized in other comprehensive loss.",
        "label": "Other than Temporary Impairment Losses, Investments, Portion in Other Comprehensive Loss, Net of Tax, Including Portion Attributable to Noncontrolling Interest, Available-for-sale Securities",
        "negatedTotalLabel": "Available for sale (AFS) securities with OTTI: Net unrealized losses on investments with OTTI, Net of Tax"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities": {
     "auth_ref": [
      "r43",
      "r49",
      "r196"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of tax (expense) benefit of other than temporary impairment (OTTI) on investment in available-for-sale debt security, recognized in other comprehensive loss.",
        "label": "Other than Temporary Impairment Losses, Investments, Portion in Other Comprehensive Income Loss, Tax, Including Portion Attributable to Noncontrolling Interest, Available-for-sale Securities",
        "terseLabel": "Available for sale (AFS) securities with OTTI: Net unrealized losses on investments with OTTI, Tax Effect"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailabeforsaleSecuritiesBeforeTax": {
     "auth_ref": [
      "r200"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "func_OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailableForSaleSecuritiesNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustment for other than temporary impairment (OTTI) related to factors other than credit loss on a previously impaired investment in available-for-sale debt security.",
        "label": "Other than Temporary Impairment Losses, Investments, Reclassification Adjustment of Noncredit Portion Included in Net Income, Availabe-for-sale Securities, before Tax",
        "terseLabel": "Available for sale (AFS) securities with OTTI: Less: accretable yield recognized in income, Before Tax Amount"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossesInvestmentsReclassificationAdjustmentOfNoncreditPortionIncludedInNetIncomeAvailabeforsaleSecuritiesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PassMember": {
     "auth_ref": [
      "r178",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables.",
        "label": "Pass [Member]",
        "terseLabel": "Pass [Member]"
       }
      }
     },
     "localname": "PassMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r189",
      "r190",
      "r240",
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Past Due Financing Receivables [Table Text Block]",
        "terseLabel": "Loan Portfolio Summarized by the Past Due Status"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale": {
     "auth_ref": [
      "r87"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate amount of cash outflow for loans purchased and created with the intention to resell them in the near future.",
        "label": "Payments for Origination and Purchases of Loans Held-for-sale",
        "negatedLabel": "Origination of loans held for sale"
       }
      }
     },
     "localname": "PaymentsForOriginationAndPurchasesOfLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock": {
     "auth_ref": [
      "r108"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow (inflow) from acquisition (sale) of Federal Home Loan Bank (FHLBank) stock.",
        "label": "Payments for (Proceeds from) Federal Home Loan Bank Stock",
        "negatedLabel": "Net (increase)/decrease in restricted stock"
       }
      }
     },
     "localname": "PaymentsForProceedsFromFederalHomeLoanBankStock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "auth_ref": [
      "r108"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash outflow or inflow for the increase (decrease) in the beginning and end of period of loan and lease balances which are not originated or purchased specifically for resale. Includes cash payments and proceeds associated with (a) loans held-for-investment, (b) leases held-for-investment, and (c) both.",
        "label": "Payments for (Proceeds from) Loans and Leases",
        "negatedLabel": "Net (increase)/decrease in loans"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Stock repurchase"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedTerseLabel": "Cash dividends on common stock"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecurities": {
     "auth_ref": [
      "r81",
      "r198"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow to acquire debt and equity securities not classified as either held-to-maturity securities or trading securities which would be classified as available-for-sale securities and reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity.",
        "label": "Payments to Acquire Available-for-sale Securities",
        "negatedLabel": "Purchases of investment securities - AFS"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireHeldToMaturitySecurities": {
     "auth_ref": [
      "r80",
      "r198"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow through purchase of long-term held-to-maturity securities.",
        "label": "Payments to Acquire Held-to-maturity Securities",
        "negatedLabel": "Purchases of investment securities - HTM"
       }
      }
     },
     "localname": "PaymentsToAcquireHeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchases of premises and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r308",
      "r310",
      "r316",
      "r333",
      "r335",
      "r336",
      "r337",
      "r338",
      "r339",
      "r354",
      "r356",
      "r357",
      "r358",
      "r371"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for retirement benefits.",
        "label": "Schedule of Defined Benefit Plans Disclosures [Text Block]",
        "verboseLabel": "Employee Benefit Plans"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlans"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PensionPlansDefinedBenefitMember": {
     "auth_ref": [
      "r283",
      "r285",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r334",
      "r337",
      "r341",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r358",
      "r359",
      "r366",
      "r367",
      "r368",
      "r369"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan designed to provide participant with pension benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes other postretirement benefits.",
        "label": "Pension Plans Defined Benefit [Member]",
        "terseLabel": "Pension [Member]"
       }
      }
     },
     "localname": "PensionPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r375",
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r452"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion At Fair Value Fair Value Disclosure [Member]",
        "terseLabel": "Portion at Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r83"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Issuance of common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLifeInsurancePolicies": {
     "auth_ref": [
      "r79",
      "r88"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow for proceeds from settlement of corporate-owned life insurance policy, classified as investing activities. Includes, but is not limited to, bank-owned life insurance policy.",
        "label": "Proceeds from Life Insurance Policies",
        "terseLabel": "Proceeds from BOLI death benefit"
       }
      }
     },
     "localname": "ProceedsFromLifeInsurancePolicies",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r76",
      "r77",
      "r198"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Maturities, Prepayments and Calls of Available-for-sale Securities",
        "terseLabel": "Proceeds from maturities/calls of investment securities - AFS"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities": {
     "auth_ref": [
      "r77",
      "r198"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow associated with the maturity, prepayments and calls (requests for early payments) of debt securities designated as held-to-maturity.",
        "label": "Proceeds from Maturities, Prepayments and Calls of Held-to-maturity Securities",
        "terseLabel": "Proceeds from maturities/calls of investment securities - HTM"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepaymentsOfShortTermDebt": {
     "auth_ref": [
      "r108"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash inflow or outflow for borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
        "label": "Proceeds from (Repayments of) Short-term Debt",
        "terseLabel": "Net increase/(decrease) in short-term borrowings"
       }
      }
     },
     "localname": "ProceedsFromRepaymentsOfShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r78",
      "r198"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow associated with the sale of debt and equity securities classified as available-for-sale securities.",
        "label": "Proceeds from Sale of Available-for-sale Securities",
        "terseLabel": "Proceeds from sales of investment securities - AFS",
        "verboseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsProceedsFromSalesAndRealizedGainsAndLossesDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfForeclosedAssets": {
     "auth_ref": [
      "r79"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from the sale assets received in full or partial satisfaction of a receivable including real and personal property; equity interests in corporations, partnerships, and joint ventures; and beneficial interests in trusts. Foreclosed assets also include loans that are treated as if the underlying collateral had been foreclosed because the institution has taken possession of the collateral, even though legal foreclosure or repossession proceedings have not taken place.",
        "label": "Proceeds from Sale of Foreclosed Assets",
        "terseLabel": "Proceeds from sales of other real estate owned"
       }
      }
     },
     "localname": "ProceedsFromSaleOfForeclosedAssets",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfOtherLoansHeldForSale": {
     "auth_ref": [
      "r85",
      "r87"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow resulting from the sale of loans (other than mortgage loans) that are held with the intention to resell in the near future.",
        "label": "Proceeds from Sale of Other Loans Held-for-sale",
        "terseLabel": "Proceeds from sales of loans held for sale"
       }
      }
     },
     "localname": "ProceedsFromSaleOfOtherLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r593",
      "r594"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 9.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional services"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r3",
      "r4",
      "r263",
      "r570"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Premises and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanAndLeaseLosses": {
     "auth_ref": [
      "r92",
      "r164",
      "r541"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense related to estimated loss from loan and lease transactions.",
        "label": "Provision for Loan Losses Expensed",
        "terseLabel": "Provision for loan losses",
        "verboseLabel": "Provision"
       }
      }
     },
     "localname": "ProvisionForLoanAndLeaseLosses",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateAcquiredThroughForeclosure": {
     "auth_ref": [
      "r160",
      "r161"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement.",
        "label": "Real Estate Acquired Through Foreclosure",
        "netLabel": "Other real estate owned, net",
        "verboseLabel": "Total OREO, net"
       }
      }
     },
     "localname": "RealEstateAcquiredThroughForeclosure",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateOwnedDisclosureOfDetailedComponentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Other Real Estate Owned, Net [Abstract]"
       }
      }
     },
     "localname": "RealEstateOwnedDisclosureOfDetailedComponentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RealEstateOwnedTextBlock": {
     "auth_ref": [
      "r160"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for real estate owned (as defined). Generally, the largest component of real estate owned by lenders is assets taken in settlement of troubled loans through surrender or foreclosure. Real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned.",
        "label": "Real Estate Owned [Text Block]",
        "terseLabel": "Other Real Estate Owned, Net"
       }
      }
     },
     "localname": "RealEstateOwnedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RealEstateOwnedValuationAllowance": {
     "auth_ref": [
      "r528"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For each period for which an income statement is required, disclosure of the changes in the allowance, including balances at end of period.",
        "label": "Real Estate Owned, Valuation Allowance",
        "periodEndLabel": "Balance at end of period",
        "periodStartLabel": "Balance beginning of period"
       }
      }
     },
     "localname": "RealEstateOwnedValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfActivityInOreoValuationAllowanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateOwnedValuationAllowanceAmountsApplied": {
     "auth_ref": [
      "r528"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the valuation allowance for real estate owned that was applied in the period against the carrying amount of real estate owned that was sold, written down or written off.",
        "label": "Real Estate Owned, Valuation Allowance, Amounts Applied",
        "negatedLabel": "Sales of OREO"
       }
      }
     },
     "localname": "RealEstateOwnedValuationAllowanceAmountsApplied",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfActivityInOreoValuationAllowanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]"
       }
      }
     },
     "localname": "ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax": {
     "auth_ref": [
      "r52",
      "r55",
      "r62",
      "r462",
      "r466",
      "r468"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustments of other comprehensive income (loss).",
        "label": "Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax",
        "negatedLabel": "Amounts reclassified from accumulated other comprehensive loss"
       }
      }
     },
     "localname": "ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Axis]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification Out Of Accumulated Other Comprehensive Income [Domain]",
        "terseLabel": "Reclassification out of Accumulated Other Comprehensive Income [Domain]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identifies item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification Out Of Accumulated Other Comprehensive Income [Member]",
        "terseLabel": "Reclassification out of Accumulated Other Comprehensive Income [Member]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about items reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Table]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of information about items reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Table Text Block]",
        "terseLabel": "Reclassification out of Accumulated Other Comprehensive Income"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RentalIncomeNonoperating": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails": {
       "order": 4.0,
       "parentTag": "func_ForeclosedRealEstateExpenseIncomeNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Income earned by providing the use of assets to an outside party in exchange for a payment or series of payments that is nonoperating in nature.",
        "label": "Rental Income, Nonoperating",
        "negatedLabel": "Rental and other income"
       }
      }
     },
     "localname": "RentalIncomeNonoperating",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfComponentsOfOreoExpensesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepurchaseAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investments represented by an agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Such agreements are generally short-term in nature.",
        "label": "Repurchase Agreements [Member]",
        "terseLabel": "Repurchase Agreements [Member]"
       }
      }
     },
     "localname": "RepurchaseAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r202",
      "r309"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by residential real estate mortgage loans.",
        "label": "Residential Mortgage Backed Securities [Member]",
        "terseLabel": "Residential mortgage-backed agencies [Member]"
       }
      }
     },
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialMortgageMember": {
     "auth_ref": [
      "r249"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan to purchase or refinance residential real estate for example, but not limited to, a home, in which the real estate itself serves as collateral for the loan.",
        "label": "Residential Mortgage [Member]",
        "terseLabel": "Residential mortgage- term [Member]"
       }
      }
     },
     "localname": "ResidentialMortgageMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to residential financing receivables.",
        "label": "Residential Portfolio Segment [Member]",
        "terseLabel": "Residential Mortgage [Member]"
       }
      }
     },
     "localname": "ResidentialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investments which are not defined as or included in marketable (debt, equity, or other) securities whose use is restricted in whole or in part, generally by contractual agreements or regulatory requirements. For use in an unclassified balance sheet.",
        "label": "Restricted Investments",
        "terseLabel": "Restricted investment in bank stock, at cost",
        "verboseLabel": "Restricted Bank stock, Carrying Amount"
       }
      }
     },
     "localname": "RestrictedInvestments",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units R S U [Member]",
        "terseLabel": "Restricted Stock Units (RSUs) [Member]"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r13",
      "r275",
      "r389",
      "r568",
      "r586",
      "r590"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r109",
      "r110",
      "r111",
      "r115",
      "r123",
      "r125",
      "r233",
      "r385",
      "r386",
      "r387",
      "r399",
      "r400",
      "r583",
      "r585"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTypeAxis": {
     "auth_ref": [
      "r283",
      "r284",
      "r285",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r334",
      "r337",
      "r341",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r366",
      "r367",
      "r368",
      "r369"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of retirement benefit plan. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Axis]"
       }
      }
     },
     "localname": "RetirementPlanTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTypeDomain": {
     "auth_ref": [
      "r283",
      "r284",
      "r285",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r334",
      "r337",
      "r341",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r366",
      "r367",
      "r368",
      "r369"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of plan designed to provide participants with retirement benefits. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Domain]",
        "terseLabel": "Defined Benefit Plans and Other Postretirement Benefit Plans [Domain]"
       }
      }
     },
     "localname": "RetirementPlanTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Significant Event [Abstract]"
       }
      }
     },
     "localname": "RisksAndUncertaintiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Primary Segments Of The Loan Portfolio [Table Text Block]",
        "terseLabel": "Loan Portfolio Segments"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r52",
      "r467",
      "r468"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of Accumulated Other Comprehensive Loss"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of components of comprehensive income (loss). Includes, but is not limited to, foreign currency translation adjustments, foreign currency transactions  designated as economic hedges of a net investment in foreign entity, gain (loss) and prior service cost (credit) for pension plans and other postretirement benefit plans.",
        "label": "Schedule of Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Components of Comprehensive Income"
       }
      }
     },
     "localname": "ScheduleOfComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable": {
     "auth_ref": [
      "r340",
      "r341",
      "r342",
      "r343",
      "r354"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosures about an individual defined benefit pension plan or an other postretirement defined benefit plan. It may be appropriate to group certain similar plans.  Also includes schedule for fair value of plan assets by major categories of plan assets by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets or liabilities (Level 1), Significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Defined Benefit Plans Disclosures [Table]"
       }
      }
     },
     "localname": "ScheduleOfDefinedBenefitPlansDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTextBlock": {
     "auth_ref": [
      "r340",
      "r341",
      "r342",
      "r343",
      "r354"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of one or more of the entity's defined benefit pension plans or one or more other defined benefit postretirement plans, separately for pension plans and other postretirement benefit plans including the entity's schedule of fair value of plan assets for defined benefit or other postretirement plans.",
        "label": "Schedule of Defined Benefit Plans Disclosures [Table Text Block]",
        "terseLabel": "Components of Net Periodic Pension Plan Cost"
       }
      }
     },
     "localname": "ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r422",
      "r428",
      "r431"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Schedule of Derivative Instruments, Gain (Loss) in Statement of Financial Performance [Table Text Block]",
        "terseLabel": "Impact Of Derivative Financial Instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r136"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Basic and Diluted Earnings Per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable": {
     "auth_ref": [
      "r131",
      "r132",
      "r134",
      "r136",
      "r141"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The table contains disclosure pertaining to an entity's basic earnings per share.",
        "label": "Schedule of Earnings Per Share, Basic, by Common Class, Including Two Class Method [Table]"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicByCommonClassTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r239"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Schedule of Financing Receivable, Allowance for Credit Losses [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable": {
     "auth_ref": [
      "r180",
      "r182"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about financing receivable modified as troubled debt restructuring.",
        "label": "Schedule of Financing Receivable, Troubled Debt Restructurings [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r240",
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about aging analysis for financing receivable.",
        "label": "Schedule of Financing Receivables Past Due [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesPastDueTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfImpairedFinancingReceivableTable": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of the recorded investment, unpaid principal balance, associated allowance, average recorded investment, accounting policies, and interest income recognized on the accrual and cash basis for impaired financing receivables by class of financing receivable.",
        "label": "Schedule of Impaired Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfImpairedFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Schedule of Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r595"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A container table for all schedule of investment items. It ties in the \"Legal Entity [Axis]\" to all of its contained line items.",
        "label": "Schedule of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRealEstatePropertiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of real estate properties and units in those properties that are included in the discussion of the nature of an entity's operations.",
        "label": "Schedule of Real Estate Properties [Table Text Block]",
        "terseLabel": "Schedule of Real Estate Properties"
       }
      }
     },
     "localname": "ScheduleOfRealEstatePropertiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRealizedGainLossTableTextBlock": {
     "auth_ref": [
      "r228"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the proceeds from sales of available-for-sale securities and the gross realized gains and gross realized losses that have been included in earnings as a result of those sales.",
        "label": "Schedule of Realized Gain (Loss) [Table Text Block]",
        "terseLabel": "Proceeds from Sales and Realized Gains and Losses"
       }
      }
     },
     "localname": "ScheduleOfRealizedGainLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShortTermDebtTable": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to borrowings under which repayment was required in less than twelve months (or normal operating cycle, if longer) after its issuance. It may include: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date and measures of the maximum and average amount outstanding during the period; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
        "label": "Schedule of Short-term Debt [Table]"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShortTermDebtTextBlock": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of short-term debt arrangements (having initial terms of repayment within one year or the normal operating cycle, if longer) including: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
        "label": "Schedule of Short-term Debt [Table Text Block]",
        "terseLabel": "Summary of Short Term Borrowings"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock": {
     "auth_ref": [
      "r222"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value).",
        "label": "Schedule of Unrealized Loss on Investments [Table Text Block]",
        "terseLabel": "Gross Unrealized Losses and Fair Values of Securities"
       }
      }
     },
     "localname": "ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r27",
      "r30",
      "r35",
      "r107",
      "r530"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Short-term Borrowings",
        "terseLabel": "Outstanding at end of period",
        "totalLabel": "Net Amounts of(Assets)/Liabilities Presented in theStatement of Condition"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r32",
      "r36"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price offset against a right to receive collateral. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Gross Amounts Not Offset in the Statment of Condition: Cash Collateral Pledged",
        "totalLabel": "Net amount"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset": {
     "auth_ref": [
      "r29",
      "r38"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of asset associated with funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price.",
        "label": "Securities Sold under Agreements to Repurchase, Asset",
        "terseLabel": "Gross Amounts Offset in the Statement of Condition"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseAsset",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash": {
     "auth_ref": [
      "r31",
      "r36"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of right to receive cash collateral under master netting arrangements that have not been offset against securities sold under agreement to repurchase.",
        "label": "Securities Sold under Agreements to Repurchase, Collateral, Right to Reclaim Cash",
        "terseLabel": "Gross Amounts Not Offset in the Statment of Condition: Cash Collateral Pledged"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities": {
     "auth_ref": [
      "r31",
      "r36"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of right to receive securities collateral under master netting arrangements that have not been offset against securities sold under agreement to repurchase.",
        "label": "Securities Sold under Agreements to Repurchase, Collateral, Right to Reclaim Securities",
        "negatedLabel": "Gross Amounts Not Offset in the Statment of Condition: Financial Instruments"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross": {
     "auth_ref": [
      "r28",
      "r37"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Securities Sold under Agreements to Repurchase, Gross",
        "terseLabel": "Gross Amountsof Recognized(Assets)/Liabilities"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseGross",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember": {
     "auth_ref": [
      "r453"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The securities that an institution sells and agrees to repurchase (the identical or substantially the same securities) as a seller-borrower at a specified date for a specified price, also known as a repurchase agreement, or repo. Most repos involve obligations of the federal government or its agencies, but other financial instruments, such as commercial paper, banker's acceptances, and negotiable certificates of deposit, are sometimes used in repos.",
        "label": "Securities Sold Under Agreements To Repurchase [Member]",
        "terseLabel": "Securities Sold under Agreements to Repurchase [Member]"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based compensation",
        "terseLabel": "Stock compensation"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Shares of common stock grant date fair market value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted": {
     "auth_ref": [
      "r378"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net number of non-option equity instruments granted to participants.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Granted",
        "terseLabel": "Shares of common stock granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r380"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price",
        "terseLabel": "Fully vested shares of common stock issued, per share value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationDescriptionAndTerms": {
     "auth_ref": [
      "r382"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Description of modification of award under share-based payment arrangement. Includes, but is not limited to, terms for expiration date, vesting rights and exercise price.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Plan Modification, Description and Terms",
        "terseLabel": "Plan modification description"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationDescriptionAndTerms",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r373",
      "r377"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]",
        "terseLabel": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheOneMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "First portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share Based Compensation Award Tranche One [Member]",
        "terseLabel": "Share-based Compensation Award, Tranche One [Member]"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheOneMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Third portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share Based Compensation Award Tranche Three [Member]",
        "terseLabel": "Share-based Compensation Award, Tranche Three [Member]"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheThreeMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Second portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share Based Compensation Award Tranche Two [Member]",
        "terseLabel": "Share-based Compensation Award, Tranche Two [Member]"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheTwoMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionQuantityOfSecuritiesIssued": {
     "auth_ref": [
      "r378"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of shares or units of entity securities issued in the transaction in which equity securities were issued to pay for goods or nonemployee services.",
        "label": "Share-based Goods and Nonemployee Services Transaction, Quantity of Securities Issued",
        "terseLabel": "Shares issued to Director"
       }
      }
     },
     "localname": "ShareBasedGoodsAndNonemployeeServicesTransactionQuantityOfSecuritiesIssued",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermBorrowings": {
     "auth_ref": [
      "r5",
      "r523",
      "r565"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
        "label": "Short-term Debt",
        "netLabel": "Short-term borrowed funds, carrying amount",
        "terseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "ShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Short-term Debt [Line Items]"
       }
      }
     },
     "localname": "ShortTermDebtLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short Term Debt Type [Domain]",
        "terseLabel": "Short-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRate": {
     "auth_ref": [
      "r20"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of short-term debt outstanding calculated at point in time.",
        "label": "Short-term Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate at end of period"
       }
      }
     },
     "localname": "ShortTermDebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShorttermDebtAverageOutstandingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For the form of debt having an initial term of less than one year or less than the normal operating cycle, if longer, average borrowings during the period.",
        "label": "Short-term Debt, Average Outstanding Amount",
        "terseLabel": "Average amount outstanding"
       }
      }
     },
     "localname": "ShorttermDebtAverageOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShorttermDebtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents the amount of short-term debt existing as of the balance sheet date.",
        "label": "Short-term Debt, Fair Value",
        "terseLabel": "Short-term borrowed funds"
       }
      }
     },
     "localname": "ShorttermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShorttermDebtMaximumMonthendOutstandingAmount": {
     "auth_ref": [
      "r6"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For the form of debt having an initial term of less than one year or less than the normal operating cycle, if longer, maximum month-end borrowings during the period.",
        "label": "Short-term Debt, Maximum Month-end Outstanding Amount",
        "terseLabel": "Maximum amount outstanding as of any month end"
       }
      }
     },
     "localname": "ShorttermDebtMaximumMonthendOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SpecialMentionMember": {
     "auth_ref": [
      "r178",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A category of financing receivables considered to have potential weaknesses that deserve management's close attention. If left uncorrected, those potential weaknesses may result in a deterioration of the repayment prospects for the asset or of the creditor's position at some future date.",
        "label": "Special Mention [Member]",
        "terseLabel": "Special Mention [Member]"
       }
      }
     },
     "localname": "SpecialMentionMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r25",
      "r109",
      "r110",
      "r111",
      "r115",
      "r123",
      "r125",
      "r143",
      "r233",
      "r270",
      "r275",
      "r385",
      "r386",
      "r387",
      "r399",
      "r400",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r468",
      "r583",
      "r584",
      "r585"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Statement, Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables",
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Consolidated Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Consolidated Statement of Financial Condition [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Consolidated Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Consolidated Statement of Changes in Shareholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r109",
      "r110",
      "r111",
      "r143",
      "r513"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfComprehensiveIncomeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossDetails",
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables",
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedNetScheduleOfRealEstatePropertiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r10",
      "r11",
      "r270",
      "r275"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Common stock issued, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquityParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r10",
      "r11",
      "r270",
      "r275"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "verboseLabel": "Common stock issued"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r10",
      "r11",
      "r270",
      "r275"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock repurchased during period, shares",
        "terseLabel": "Stock repurchase, shares"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquityParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r10",
      "r11",
      "r270",
      "r275"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Value",
        "negatedLabel": "Stock repurchase"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r11",
      "r15",
      "r16",
      "r103",
      "r191",
      "r232",
      "r459"
     ],
     "calculation": {
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total Shareholders' Equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Shareholders' Equity:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r469",
      "r479"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r469",
      "r479"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r469",
      "r479"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubstandardMember": {
     "auth_ref": [
      "r178",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A category of financing receivables that are inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the creditor will sustain some loss if the deficiencies are not corrected.",
        "label": "Substandard [Member]",
        "terseLabel": "Substandard [Member]"
       }
      }
     },
     "localname": "SubstandardMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental information"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan designed to provide limited group of employees with supplemental retirement benefits, in addition to other pension benefits. Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Supplemental Employee Retirement Plan Defined Benefit [Member]",
        "terseLabel": "SERP [Member]"
       }
      }
     },
     "localname": "SupplementalEmployeeRetirementPlanDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails",
      "http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransferToOtherRealEstate": {
     "auth_ref": [
      "r98",
      "r99",
      "r100"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value transferred from mortgage loans to real estate owned (REO) in noncash transactions.",
        "label": "Transfer to Other Real Estate",
        "terseLabel": "Transfers from loans to other real estate owned"
       }
      }
     },
     "localname": "TransferToOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r215",
      "r219",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementsScheduleOfAssetsAndLiabilitiesSubjectToEnforceableMasterNettingArrangementOrRepurchaseAgreementsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r180",
      "r182"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable modified as troubled debt restructuring.",
        "label": "Troubled Debt Restructurings on Financing Receivables [Table Text Block]",
        "terseLabel": "Modification of Troubled Debt Restructuring by Class"
       }
      }
     },
     "localname": "TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "auth_ref": [
      "r309",
      "r555"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debentures, notes, and other debt securities issued by US government agencies, for example, but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae). Excludes US treasury securities and debt issued by government-sponsored Enterprises (GSEs), for example, but is not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB).",
        "label": "U S Government Agencies Debt Securities [Member]",
        "terseLabel": "US government agencies [Member]"
       }
      }
     },
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r309",
      "r591"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments. Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
        "label": "U S States And Political Subdivisions [Member]",
        "terseLabel": "Obligations of states and political subdivisions [Member]"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails",
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsUnrealizedGainLossOnInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnallocatedFinancingReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing receivables that have not been allocated to a portfolio segment.",
        "label": "Unallocated Financing Receivables [Member]",
        "terseLabel": "Unallocated [Member]"
       }
      }
     },
     "localname": "UnallocatedFinancingReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails",
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnconditionalPurchaseObligationsExcludingCapitalStockRedemptionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Assets and Liabilities Subject to Enforceable Master Netting Arrangements [Abstract]"
       }
      }
     },
     "localname": "UnconditionalPurchaseObligationsExcludingCapitalStockRedemptionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of unrealized gains and losses on investments.",
        "label": "Unrealized Gain (Loss) on Investments [Table Text Block]",
        "terseLabel": "Unrealized Gain (Loss) on Investments"
       }
      }
     },
     "localname": "UnrealizedGainLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_UnusualOrInfrequentItemsDisclosureTextBlock": {
     "auth_ref": [
      "r74"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for an event or transaction that is unusual in nature or infrequent in occurrence, or both.",
        "label": "Unusual or Infrequent Items, or Both, Disclosure [Text Block]",
        "terseLabel": "Significant Event"
       }
      }
     },
     "localname": "UnusualOrInfrequentItemsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEvent"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_UnusualRiskOrUncertaintyByNatureAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by nature of risk and uncertainty, for example, but not limited to, threat of expropriation of its assets by a foreign government, rapid technological obsolescence in the industry, risk of natural disaster from earthquake or weather events, and availability of or continuation of a labor force at a reasonable cost.",
        "label": "Unusual Risk or Uncertainty, Nature [Axis]"
       }
      }
     },
     "localname": "UnusualRiskOrUncertaintyByNatureAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnusualRiskOrUncertaintyLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Significant Event [Line Items]"
       }
      }
     },
     "localname": "UnusualRiskOrUncertaintyLineItems",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnusualRiskOrUncertaintyNatureDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Describes the nature of the unusual risk or uncertainty, such as the threat of expropriation of its assets by a foreign government, rapid technological obsolescence in the industry, risk of natural disaster from earthquake or weather events, and availability of or continuation of a labor force at a reasonable cost.",
        "label": "Unusual Risk Or Uncertainty Nature [Domain]",
        "terseLabel": "Unusual Risk or Uncertainty, Nature [Domain]"
       }
      }
     },
     "localname": "UnusualRiskOrUncertaintyNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventDataOnConsumerAndCommercialLoanPortfoliosByIndustryAndPercentageOfPortfolioModifiedDetails",
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnusualRisksAndUncertaintiesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the nature of the unusual risk or uncertainty, if estimable, such as the threat of expropriation of its assets by a foreign government, rapid technological obsolescence in the industry, risk of natural disaster from earthquake or weather events, and availability of or continuation of a labor force at a reasonable cost.",
        "label": "Unusual Risks and Uncertainties [Table Text Block]",
        "terseLabel": "Data on Consumer and Commercial Loan Portfolios by Industry and Percentage of Portfolio Modified"
       }
      }
     },
     "localname": "UnusualRisksAndUncertaintiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureSignificantEventTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r441"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r441"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Technique [Domain]",
        "terseLabel": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VestingAxis": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Axis]"
       }
      }
     },
     "localname": "VestingAxis",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VestingDomain": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Domain]",
        "terseLabel": "Vesting [Domain]"
       }
      }
     },
     "localname": "VestingDomain",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r130",
      "r136"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Weighted average number of diluted shares outstanding",
        "verboseLabel": "Diluted Earnings Per Share: Average Shares"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r129",
      "r136"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average number of basic shares outstanding",
        "verboseLabel": "Basic Earnings Per Share: Average Shares"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2020-01-31",
     "presentation": [
      "http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails",
      "http://www.mybankfirstunited.com/role/StatementConsolidatedStatementOfOperations"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 9
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4332-108586"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121583591&loc=SL98516268-108586"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(e),(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(h)(1)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(m)(1)(a)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21914-107793"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21930-107793"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21711-107793"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22583-107794"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22595-107794"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22658-107794"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22663-107794"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=112272810&loc=d3e31137-122693"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=112272810&loc=SL108384541-122693"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1448-109256"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1505-109256"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1252-109256"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1278-109256"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1337-109256"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=120380238&loc=d3e3842-109258"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=120380238&loc=d3e4984-109258"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6828210&loc=d3e70191-108054"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8924-108599"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9031-108599"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9054-108599"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121593590&loc=d3e4647-111522"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121593590&loc=d3e4428-111522"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121593590&loc=d3e4437-111522"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5162-111524"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953550-111524"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5258-111524"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953659-111524"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5066-111524"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953682-111524"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953682-111524"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL49126937-111524"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5074-111524"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5086-111524"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5093-111524"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953401-111524"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.L.1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74567-122707"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121568769&loc=d3e25362-111560"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121553693&loc=d3e26610-111562"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121553693&loc=d3e26853-111562"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121553693&loc=SL6284422-111562"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=121566466&loc=d3e6676-107765"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121553693&loc=SL6284427-111562"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27405-111563"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL6283291-111563"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27232-111563"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27232-111563"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27232-111563"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27232-111563"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(4)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27232-111563"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27232-111563"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL120269820-111563"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL120269820-111563"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL120269820-111563"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL120269820-111563"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL120269825-111563"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27337-111563"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27340-111563"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL6284393-111563"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL6284393-111563"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=SL6284393-111563"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121646688&loc=SL121648383-210437"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121646688&loc=SL121648383-210437"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121646688&loc=SL121648383-210437"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919244-210447"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919253-210447"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921830-210448"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921833-210448"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921835-210448"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121647567&loc=SL82921842-210448"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121647567&loc=SL82922352-210448"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922895-210455"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121582814&loc=SL82922900-210455"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=121555522&loc=d3e12069-110248"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=49176635&loc=d3e9760-107771"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=121604090&loc=SL49130545-203045"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=121551570&loc=SL49130690-203046-203046"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=113356391&loc=SL49131195-203048"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=113356391&loc=SL49131195-203048"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=113356391&loc=SL49131195-203048"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=113356391&loc=SL49131195-203048"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "710",
   "URI": "http://asc.fasb.org/extlink&oid=6409961&loc=d3e20487-108367"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=109237824&loc=d3e1703-114919"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=109237824&loc=SL108413299-114919"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(10)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(8)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(9)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(8)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(j)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(o)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(p)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225877-175312"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2410-114920"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2417-114920"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2439-114920"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2709-114920"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2919-114920"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4587-114921"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=29639808&loc=d3e29008-114946"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226016-175313"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450691-114947"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "http://asc.fasb.org/topic&trid=2235017"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121326096&loc=d3e4534-113899"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(l)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=d3e526-108580"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120383193&loc=d3e11149-113907"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120383193&loc=d3e11178-113907"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=120406818&loc=d3e31917-109318"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=120406818&loc=d3e31931-109318"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32672-109319"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32621-109319"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32632-109319"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "740"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "740"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=120385591&loc=d3e38679-109324"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5579240-113959"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5580258-113959"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)(ii)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=d3e41620-113959"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=d3e41620-113959"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=d3e41638-113959"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5618551-113959"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5618551-113959"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624163-113959"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624163-113959"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624163-113959"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624171-113959"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624171-113959"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624177-113959"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624177-113959"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624181-113959"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=SL5708775-113959"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=d3e41641-113959"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121590274&loc=d3e41678-113959"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121558989&loc=d3e80720-113993"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL7498348-110258"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=116690757&loc=d3e13220-108610"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13433-108611"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13467-108611"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13476-108611"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13531-108611"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13537-108611"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13537-108611"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i),(j),(k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=75031198&loc=d3e14172-108612"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i-k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28541-108399"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=121616839&loc=d3e45280-112737"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=d3e637-108580"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=d3e640-108580"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=d3e681-108580"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122739-111746"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=119991564&loc=SL119991595-234733"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(1)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(2)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(3)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117340910&loc=d3e59706-112781"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669686-108580"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10(4))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=d3e689-108580"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL34724391-108580"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13(h))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(b))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL34724394-108580"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=121551529&loc=d3e60009-112784"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120252992&loc=d3e62557-112803"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120252992&loc=d3e62586-112803"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(5))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.7)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121643868&loc=SL117782755-158439"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121639165&loc=SL117783719-158441"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121639165&loc=SL117819544-158441"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669625-108580"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=121641442&loc=d3e19393-158473"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=118262090&loc=SL114874205-224268"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401592&loc=d3e611133-123010"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=120238483&loc=d3e48678-111004"
  },
  "r598": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r599": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669625-108580"
  },
  "r600": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-13"
  },
  "r601": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1-"
  },
  "r602": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r603": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121641772&loc=d3e557-108580"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=121640130&loc=d3e1436-108581"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4,6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "220",
   "URI": "http://asc.fasb.org/subtopic&trid=114868817"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3151-108585"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a),(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a),(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3337-108585"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3367-108585"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3461-108585"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21C",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=SL94080552-108585"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3521-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(24))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3536-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3536-108585"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3044-108585"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3095-108585"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4297-108586"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4304-108586"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4313-108586"
  }
 },
 "version": "2.1"
}
