XML 77 R65.htm IDEA: XBRL DOCUMENT
v3.22.1

Investment Securities (Narrative) (Details) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020
Schedule of Investments [Line Items] |  |
Available-for-sale securities pledged as collateral | $ 158.7 | $ 137.1
Recovery benchmark lag period | 2 years |
No prepayment benchmark | 5 years |
Interest rate post no prepayment benchmark | 5.00% |
Banks [Member] |  |
Schedule of Investments [Line Items] |  |
Recovery percentage benchmark | 10.00% |
Insurance Companies [Member] |  |
Schedule of Investments [Line Items] |  |
Recovery percentage benchmark | 15.00% |
Collateralized debt obligations [Member] |  |
Schedule of Investments [Line Items] |  |
Impairment losses | $ 3.0 |

X
- Definition Financing Receivable Recovery Percentage Benchmark. + References No definition available. + Details
Name: | func_FinancingReceivableRecoveryPercentageBenchmark
Namespace Prefix: | func_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Interest Rate Post None Prepayment Benchmark. + References No definition available. + Details
Name: | func_InterestRatePostNonePrepaymentBenchmark
Namespace Prefix: | func_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition None Prepayment Benchmark. + References No definition available. + Details
Name: | func_NonePrepaymentBenchmark
Namespace Prefix: | func_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Recovery Benchmark Lag Period. + References No definition available. + Details
Name: | func_RecoveryBenchmarkLagPeriod
Namespace Prefix: | func_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The amount by which the fair value of an investment 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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 8A -URI http://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562 + Details
Name: | us-gaap_ImpairmentOfInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | srt_StatementScenarioAxis=func_BanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=func_InsuranceCompaniesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=us-gaap_CollateralizedDebtObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |