XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Securities - Restricted Stocks and others (Details) - USD ($) | 3 Months Ended |
--- | --- | ---
Mar. 31, 2024 | Dec. 31, 2023
Securities |  |
Investment in restricted stock | $ 3,590,000 | $ 2,930,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/2147480632/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/2147480602/954-210-50-2 + Details
Name: | us-gaap_RestrictedInvestmentsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant