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

Securities - Restricted Stocks and others (Details) - USD ($) | 6 Months Ended |
--- | --- | ---
Jun. 30, 2023 | Dec. 31, 2022
Securities |  |
Investment in restricted stock | $ 5,170,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 -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=127002003&loc=SL6242269-115581 + Details
Name: | us-gaap_RestrictedInvestmentsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant