XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.25.1

Securities - Restricted Stock (Details) - USD ($) | 3 Months Ended |
--- | --- | ---
Mar. 31, 2025 | Dec. 31, 2024
Securities |  |
Investment in restricted stock | $ 3,680,000 | $ 3,590,000
Restricted stocks, other-than-temporary impairment | $ 0 |

X
- Definition This item represents an other than temporary decline in value of restricted stocks. + References No definition available. + Details
Name: | cffi_RestrictedStocksOtherThanTemporaryImpairment
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 This element represents the noncurrent portion of investments which are not defined as or included in marketable (debt, equity, or other) securities that are pledged or subject to withdrawal restrictions. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 954 -SubTopic 210 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477220/954-210-45-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 954 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478600/954-210-50-2 + Details
Name: | us-gaap_RestrictedInvestmentsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant