XML 75 R56.htm IDEA: XBRL DOCUMENT
v3.20.4

Summary of Significant Accounting Policies - Business Combination and Cash and Cash Equivalents (Details) - USD ($) $ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
C&F Bank |  |
Cash and cash equivalents |  |
Minimum cash requirement | $ 0 | $ 1,030

X
- Definition The minimum average cash balance which the entity is required to maintain on hand or with the Federal Reserve Bank. + References No definition available. + Details
Name: | cffi_CashReserveRequiredFederalReserveBank
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_CashAndCashEquivalentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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