XML 131 R118.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Commitments and Contingent Liabilities - Other (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Commitments and Contingent Liabilities |  |  |
Provision for indemnifications | $ (585,000) | $ (858,000) | $ (104,000)
Indemnification reserve for recourse provisions |  |  |
Commitments and Contingent Liabilities |  |  |
Provision for indemnifications | $ (585,000) | $ (858,000) |
C&F Mortgage |  |  |
Commitments and Contingent Liabilities |  |  |
Recourse period for early payment default, minimum | 90 days |  |
Recourse period for early payment default, maximum | 1 year |  |

X
- Definition Amount of expense related to estimated loss for indemnifications. + References No definition available. + Details
Name: | cffi_ProvisionForLossOnIndemnification
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The maximum recourse period for residential mortgage loans sold to third parties. + References No definition available. + Details
Name: | cffi_RecoursePeriodForEarlyPaymentDefaultMaximum
Namespace Prefix: | cffi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum recourse period for early payment default on residential loans sold to third parties. + References No definition available. + Details
Name: | cffi_RecoursePeriodForEarlyPaymentDefaultMinimum
Namespace Prefix: | cffi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_IndemnificationGuaranteeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cffi_CFMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |