XML 127 R108.htm IDEA: XBRL DOCUMENT
v3.20.4

Employee Benefit Plans - Defined Benefit Plans - Weighted-Average Asset Allocations (Details) - C&F Bank - Cash Balance Plan | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Weighted average asset allocations by asset category |  |
Weighted average asset allocation by asset category | 100.00% | 100.00%
Mutual funds-fixed income |  |
Weighted average asset allocations by asset category |  |
Weighted average asset allocation by asset category | 37.00% | 38.00%
Mutual funds-equity |  |
Weighted average asset allocations by asset category |  |
Weighted average asset allocation by asset category | 63.00% | 62.00%

X
- References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of actual investment allocation to total plan assets. Includes, but is not limited to, percentage on weighted-average basis if more than one plan. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (d)(i) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=cffi_CashBalancePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_FixedIncomeFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_EquityFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |