XML 122 R103.htm IDEA: XBRL DOCUMENT
v3.20.4

Employee Benefit Plans - Defined Contribution Plans (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Defined contribution plans |  |  |
Minimum age | 18 years |  |
Amounts charged to expense | $ 2,090,000.00 | $ 1,520,000 | $ 1,310,000
Postretirement benefit plan | Chief Executive Officer |  |  |
Defined contribution plans |  |  |
Amounts charged to expense | 0 | 0 | 88,000
Nonqualified Executive Plan | Profit-Sharing Plan |  |  |
Defined contribution plans |  |  |
Amounts charged to expense | $ 465,000 | $ 294,000 | $ 297,000
Cash Balance Plan | C&F Bank |  |  |
Defined contribution plans |  |  |
Minimum age | 21 years |  |
Basis points added to 30-year Treasuries yield to compute interest credit (as a percent) | 1.50% |  |

X
- Definition Percentage points added to the reference rate to compute the interest credited to each participant account in the defined benefit plan. + References No definition available. + Details
Name: | cffi_DefinedBenefitPlanInterestCreditBasisSpreadOnVariableRate
Namespace Prefix: | cffi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum age for eligibility to participate in the defined benefit plan. + References No definition available. + Details
Name: | cffi_DefinedBenefitPlanMinimumAge
Namespace Prefix: | cffi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum age for eligibility to participate in the defined contribution plan. + References No definition available. + Details
Name: | cffi_DefinedContributionPlanMinimumAge
Namespace Prefix: | cffi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_DefinedContributionPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=cffi_ProfitSharingPlanMember
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: | dei_LegalEntityAxis=cffi_CAndFBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |