XML 79 R65.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Business Combination - Merger related costs (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Business Combination |  |  |
Merger related costs | $ 0 | $ 898,000 | $ 709,000
Aggregated merger related costs |  | 2,100,000 | 2,100,000
Aggregated merger related costs, after Income Taxes |  | 1,780,000 | 1,780,000
Peoples Bankshares, Incorporated (Peoples) |  |  |
Business Combination |  |  |
Merger related costs | $ 0 | 1,400,000 | 709,000
Merger related costs, after income taxes |  | $ 1,130,000 | $ 653,000

X
- Definition Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition, after income taxes. + References No definition available. + Details
Name: | cffi_BusinessAcquisitionTransactionCostsAfterIncomeTaxes
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents acquisition-related costs, after income taxes, incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References No definition available. + Details
Name: | cffi_BusinessCombinationAcquisitionRelatedCostsAfterIncomeTaxes
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts
Namespace Prefix: | us-gaap_
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 23 -URI http://asc.fasb.org/extlink&oid=123586518&loc=d3e1043-128460 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cffi_PeoplesBanksharesIncorporatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |