XML 50 R41.htm IDEA: XBRL DOCUMENT
v3.23.1

Securities - Maturities and Realized Gains and Losses (Details) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2023 USD ($) security | Mar. 31, 2022 USD ($) security | Dec. 31, 2022 USD ($)
Securities |  |  |
Exclude accrued interest receivable from the amortized cost basis of securities | $ 2,600 |  |
Amortized Cost |  |  |
Due in one year or less | 98,510 |  |
Due after one year through five years | 212,795 |  |
Due after five years through ten years | 216,905 |  |
Due after ten years | 23,267 |  |
Amortized Cost | 551,477 |  | $ 557,128
Fair Value |  |  |
Due in one year or less | 97,294 |  |
Due after one year through five years | 200,849 |  |
Due after five years through ten years | 195,248 |  |
Due after ten years | 20,234 |  |
Fair Value | $ 513,625 |  | $ 512,591
Realized Gains and Losses |  |  |
Number of securities sales | security | 0 | 0 |
Gross realized losses | $ (5) |  |
Net realized gains | (5) |  |
Proceeds from sales, maturities, calls and paydowns of securities | $ 19,730 | $ 14,629 |

X
- Definition This item represents the difference between the gross realized gains and losses on the maturities and calls of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | cffi_AvailableForSaleSecuritiesGrossRealizedGainsLossesNetFromMaturitiesAndCalls
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the gross losses realized on the maturities and calls of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | cffi_AvailableForSaleSecuritiesGrossRealizedLossesFromMaturitiesAndCalls
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of available-for-sale securities sold during the period. + References No definition available. + Details
Name: | cffi_AvailableForSaleSecuritiesSoldNumber
Namespace Prefix: | cffi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -Section 50 -Paragraph 3A -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -Section 50 -Paragraph 3A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -Section 50 -Paragraph 3A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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 next 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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 next 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). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -Section 50 -Paragraph 3A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairmentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of accrued interest on 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 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 3A -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL120267853-210455 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2A -URI https://asc.fasb.org/extlink&oid=126970911&loc=SL121698322-111563 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL120267856-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of 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 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of 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/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3151-108585 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration