XML 52 R43.htm IDEA: XBRL DOCUMENT
v3.23.3

Securities - Restricted Stocks and others (Details) - USD ($) | 9 Months Ended |
--- | --- | ---
Sep. 30, 2023 | Dec. 31, 2022
Securities |  |
Investment in restricted stock | $ 4,800,000 | $ 1,120,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