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

Derivatives Financial Instruments (Details) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2022 | Dec. 31, 2021
Derivatives and other information |  |
Changes in fair value of loan swaps | $ 0 |
Unpaid principal on mortgage loans held for sale | 2,685 | $ 5,430
Other assets |  |
Derivatives and other information |  |
Cash collateral | 1,440 | 3,880
Forward sales of TBA securities | Not designated as hedges |  |
Derivatives and other information |  |
Notional amount |  | 9,250
Derivative Liability |  | 3
Interest rate swaps on loans | Cash flow hedges |  |
Derivatives and other information |  |
Notional amount | 25,000 | 25,000
Derivative Asset | 575 |
Derivative Liability |  | 665
Matched interest rate swap with borrower | Not designated as hedges |  |
Derivatives and other information |  |
Notional amount | 72,031 | 72,352
Derivative Asset | 350 | 3,303
Derivative Liability | 1,204 | 164
Matched interest rate swap with counterparty | Not designated as hedges |  |
Derivatives and other information |  |
Notional amount | 72,031 | 72,352
Derivative Asset | 1,204 | 164
Derivative Liability | 350 | 3,303
IRLC | Not designated as hedges |  |
Derivatives and other information |  |
Notional amount | 103,505 | 83,407
Derivative Asset | 1,767 | 1,523
Mortgage Banking |  |
Derivatives and other information |  |
IRLCs |  | 2,820
Unpaid principal on mortgage loans held for sale |  | 7,400
Mortgage Banking | Best-efforts forward sales contracts |  |
Derivatives and other information |  |
IRLCs | 103,510 | 80,590
Unpaid principal on mortgage loans held for sale | 45,360 | 72,240
Mortgage loans | $ 148,870 | 152,830
Mortgage Banking | Forward sales of TBA securities |  |
Derivatives and other information |  |
Mortgage loans |  | 9,250
Mortgage Banking | Mandatory-delivery forward sales contracts |  |
Derivatives and other information |  |
Mortgage loans |  | $ 1,010

X
- Definition The fair value of interest rate lock commitments. + References No definition available. + Details
Name: | cffi_InterestRateLockCommitmentsFairValue
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a 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. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability 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. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of securities pledged as collateral against derivative liabilities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226013-175313 + Details
Name: | us-gaap_DerivativeLiabilityFairValueOfCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unpaid principal balance of impaired financing receivables with related allowance for credit losses and without related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(4) -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) related to the fair value of interest rate derivatives designated as fair value hedging instruments, as offset by the gain (loss) on the hedged item to the extent that the fair value hedge is determined to be effective. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_IncreaseDecreaseInFairValueOfInterestRateFairValueHedgingInstruments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value portion of mortgage loans held-for-sale. + References No definition available. + Details
Name: | us-gaap_MortgagesHeldForSaleFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=cffi_InterestRateSwapWithBorrowerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=cffi_MatchedInterestRateSwapsWithCounterpartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateLockCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=cffi_MortgageBankingSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=cffi_BestEffortsForwardSalesContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=cffi_MandatoryDeliveryForwardSalesContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |