XML 28 R2.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Pay vs Performance Disclosure | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Pay vs Performance Disclosure |  |  |  |
Pay vs Performance Disclosure, Table | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Average | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Summary | ​ | ​ | Average | ​ | ​ | Value of Initial Fixed $100 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Compensation | ​ | ​ | Compensation | ​ | ​ | Investment Based on3: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | Summary | ​ | ​ | ​ | ​ | ​ | Table Total | ​ | ​ | Actually Paid | ​ | ​ | ​ | ​ | ​ | 2023 Peer | ​ | ​ | 2022 Peer | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | Compensation | ​ | ​ | Compensation | ​ | ​ | for Non-PEO | ​ | ​ | to Non-PEO | ​ | ​ | Total | ​ | ​ | Group Total | ​ | ​ | Group Total | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | Table Total | ​ | ​ | Actually Paid | ​ | ​ | Named Executive | ​ | ​ | Named Executive | ​ | ​ | Shareholder | ​ | ​ | Shareholder | ​ | ​ | Shareholder | ​ | ​ | Net Income | ​ | ​ | Adjusted | ​ | ​ | Adjusted | ​
​ | ​ | ​ | for PEO1 | ​ | ​ | to PEO2 | ​ | ​ | Officers1 | ​ | ​ | Officers2 | ​ | ​ | Return | ​ | ​ | Return | ​ | ​ | Return | ​ | ​ | (in thousands) | ​ | ​ | ROE4 | ​ | ​ | ROA4 | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | (%) | ​ | ​ | (%) | ​
2023 | ​ | ​ | 1,292,911 | ​ | ​ | 1,376,927 | ​ | ​ | 535,423 | ​ | ​ | 546,486 | ​ | ​ | 141.4 | ​ | ​ | 104.0 | ​ | ​ | 101.0 | ​ | ​ | 23,746 | ​ | ​ | 11.68 | ​ | ​ | 0.99 | ​
2022 | ​ | ​ | 1,160,058 | ​ | ​ | 1,236,413 | ​ | ​ | 530,208 | ​ | ​ | 553,696 | ​ | ​ | 117.2 | ​ | ​ | 104.9 | ​ | ​ | 100.7 | ​ | ​ | 29,369 | ​ | ​ | 13.64 | ​ | ​ | 1.16 | ​
2021 | ​ | ​ | 1,157,133 | ​ | ​ | 1,363,725 | ​ | ​ | 962,681 | ​ | ​ | 982,576 | ​ | ​ | 99.7 | ​ | ​ | 103.8 | ​ | ​ | 106.4 | ​ | ​ | 29,123 | ​ | ​ | 15.22 | ​ | ​ | 1.38 | ​
2020 | ​ | ​ | 977,599 | ​ | ​ | 672,340 | ​ | ​ | 1,092,857 | ​ | ​ | 865,040 | ​ | ​ | 70.1 | ​ | ​ | 77.9 | ​ | ​ | 74.3 | ​ | ​ | 22,424 | ​ | ​ | 12.54 | ​ | ​ | 1.14 | ​
| 1 | The amounts shown above are the amounts reported in the Summary Compensation Table on page 43 as total compensation for Mr. Cherry, who was the principal executive officer (“PEO”) for all years presented, and the average for each year of total compensation for the NEOs other than the PEO in each year, including Messrs. Long, Dillon, Crone and Seaman for 2023, and including Messrs. Long, Dillon and Crone and Bryan McKernon, President and CEO of C&F Mortgage Corporation, for years 2020-2022.
​
| 2 | Compensation actually paid to Mr. Cherry represents total compensation reported in the Summary Compensation Table, with certain adjustments as described below. Compensation actually paid differs from the amount shown in the Summary Compensation Table and does not represent the total amount earned or total amount paid in any particular year. Total compensation, as reported in the Summary Compensation Table, was adjusted by (1) removing the change in pension value, which represents the actuarial increase in present value of accumulated benefits in each year under the Retirement Plan established by the Bank for Messrs. Cherry, Long, Dillon and Seaman; (2) including the amount of service cost recognized by the Corporation under ASC Topic 715, which represents the actuarial present value of benefits under the Retirement Plan attributable to services rendered in each year for Messrs. Cherry, Long, Dillon and Seaman; (3) removing the grant date fair value of stock awards granted in each year, as determined under ASC Topic 718; (4) including with respect to outstanding restricted stock awards for each year (i) the year-end fair value of any awards granted during the year that are outstanding and unvested as of the end of the year; (ii) the change in fair value as of the end of the year (from the end of the prior year) of any awards granted in prior years that are outstanding and unvested as of the end of the applicable year; and (iii) for awards granted in prior years that vested in the applicable year, the change in fair value as of the vesting date (from the end of the prior year). Total compensation as reported in the Summary Compensation Table and compensation actually paid both include the amount of dividends paid on unvested restricted stock awards.
​ The amounts of the adjustments described above that were added to (or deducted from) the Summary Compensation Table total for the PEO to arrive at compensation actually paid for the PEO for 2023 are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
​ | (70,381) | ​ | ​ | 33,244 | ​ | ​ | (249,275) | ​ | ​ | 288,061 | ​ | ​ | 75,732 | ​ | ​ | 6,635 | ​
​ The amounts of the adjustments described above that were added to (or deducted from) the average Summary Compensation Table total for NEOs other than the PEO to arrive at average compensation actually paid to non-PEO NEOs for 2023 are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
​ | (27,316) | ​ | ​ | 4,179 | ​ | ​ | (68,588) | ​ | ​ | 79,259 | ​ | ​ | 20,893 | ​ | ​ | 2,636 | ​
​ ​
| 3 | Cumulative total shareholder return is calculated assuming $100 was invested in the common stock of the Corporation or in the stock of the financial institutions included in a group of peer companies on December 31, 2019, and assumes the reinvestment of dividends. For 2023, the group of peer companies consists of the 2023 Incentive Compensation Peer Group (the “2023 Peer Group”). For more information on the financial institutions included in the 2023 Incentive Compensation Peer Group, refer to page 28 and to the stock performance graph included in Item 5. “Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities,” in the Corporation’s Annual Report on Form 10-K for the year ended December 31, 2023, filed with the SEC on February 27, 2024. Previously, the Corporation reported a different group of peer companies. Our prior peer group consisted of the following 23 financial institutions from our 2022 Incentive Compensation Peer Group (the “2022 Peer Group”): American National Bankshares, Inc., Blue Ridge Bankshares, Inc., CapStar Financial Holdings, Inc., Carter Bankshares, Inc., Eagle Financial Services, Inc.; F&M Bank Corporation, First Community Bankshares, Inc., First Community Corporation, First National Corporation, First United Corporation, FVCBankcorp, Inc., HomeTrust Bankshares, Inc., Limestone Bancorp, Inc., MainStreet Bancshares, Inc., National Bankshares, Inc., Old Point Financial Corporation, Peoples Bancorp of North Carolina, Inc., Primis Financial Corporation, Shore Bancshares, Inc., Southern First Bancshares, Inc., Summit Financial Group, Inc., The Community Financial Corporation, and Virginia National Bankshares Corporation. For more information on the financial institutions included in the 2022 Incentive Compensation Peer Group, refer to the Corporation’s 2023 proxy statement, filed with the SEC on March 10, 2023. In 2023, the Corporation changed the composition of the peer group used to evaluate the financial performance of the Corporation primarily by expanding the geography included in the peer group, as the factors that affect competition, financial performance, and access to capital for the Corporation and its peers are generally not unique to the state(s) in which they operate. As such, the 2023 Incentive Compensation Peer Group includes peer companies headquartered in thirteen states in the Eastern and Southern U.S. Additional information can be found in Item 5. “Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities,” in the Corporation’s Annual Report on Form 10-K for the year ended December 31, 2023, filed with the SEC on February 27, 2024. For purposes of the cumulative total shareholder return reported in this table, the 2023 Peer Group and the 2022 Peer Group are weighted according to the respective financial institution’s market capitalization as of December 31, 2019.
| 4 | Adjusted ROE and adjusted ROA are financial measures that are not consistent with U.S. GAAP that are considered by the Corporation as part of its executive compensation program. Refer to Appendix A for information regarding these non-GAAP financial measures, including a reconciliation to the most directly comparable U.S. GAAP financial measures. The Committee has identified a variety of performance goals and metrics used for the purpose of awarding compensation to executive officers that are consistent with the Corporation’s overall compensation philosophy and the long-term interests of its shareholders. Among these, the Committee has identified adjusted ROE as the most important financial performance measure (that is not otherwise required to be disclosed in the table above) used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2023 to company performance. Adjusted ROA, which is also used by the Corporation to evaluate performance as part of its executive compensation program, is shown in the table above as a supplemental financial performance measure.
​ |  |  |
Company Selected Measure Name | Adjusted ROE |  |  |
Named Executive Officers, Footnote |
| 1 | The amounts shown above are the amounts reported in the Summary Compensation Table on page 43 as total compensation for Mr. Cherry, who was the principal executive officer (“PEO”) for all years presented, and the average for each year of total compensation for the NEOs other than the PEO in each year, including Messrs. Long, Dillon, Crone and Seaman for 2023, and including Messrs. Long, Dillon and Crone and Bryan McKernon, President and CEO of C&F Mortgage Corporation, for years 2020-2022.
​ |  |  |
Peer Group Issuers, Footnote |
| 3 | Cumulative total shareholder return is calculated assuming $100 was invested in the common stock of the Corporation or in the stock of the financial institutions included in a group of peer companies on December 31, 2019, and assumes the reinvestment of dividends. For 2023, the group of peer companies consists of the 2023 Incentive Compensation Peer Group (the “2023 Peer Group”). For more information on the financial institutions included in the 2023 Incentive Compensation Peer Group, refer to page 28 and to the stock performance graph included in Item 5. “Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities,” in the Corporation’s Annual Report on Form 10-K for the year ended December 31, 2023, filed with the SEC on February 27, 2024. Previously, the Corporation reported a different group of peer companies. Our prior peer group consisted of the following 23 financial institutions from our 2022 Incentive Compensation Peer Group (the “2022 Peer Group”): American National Bankshares, Inc., Blue Ridge Bankshares, Inc., CapStar Financial Holdings, Inc., Carter Bankshares, Inc., Eagle Financial Services, Inc.; F&M Bank Corporation, First Community Bankshares, Inc., First Community Corporation, First National Corporation, First United Corporation, FVCBankcorp, Inc., HomeTrust Bankshares, Inc., Limestone Bancorp, Inc., MainStreet Bancshares, Inc., National Bankshares, Inc., Old Point Financial Corporation, Peoples Bancorp of North Carolina, Inc., Primis Financial Corporation, Shore Bancshares, Inc., Southern First Bancshares, Inc., Summit Financial Group, Inc., The Community Financial Corporation, and Virginia National Bankshares Corporation. For more information on the financial institutions included in the 2022 Incentive Compensation Peer Group, refer to the Corporation’s 2023 proxy statement, filed with the SEC on March 10, 2023. In 2023, the Corporation changed the composition of the peer group used to evaluate the financial performance of the Corporation primarily by expanding the geography included in the peer group, as the factors that affect competition, financial performance, and access to capital for the Corporation and its peers are generally not unique to the state(s) in which they operate. As such, the 2023 Incentive Compensation Peer Group includes peer companies headquartered in thirteen states in the Eastern and Southern U.S. Additional information can be found in Item 5. “Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities,” in the Corporation’s Annual Report on Form 10-K for the year ended December 31, 2023, filed with the SEC on February 27, 2024. For purposes of the cumulative total shareholder return reported in this table, the 2023 Peer Group and the 2022 Peer Group are weighted according to the respective financial institution’s market capitalization as of December 31, 2019.
PEO Total Compensation Amount | $ 1,292,911 | $ 1,160,058 | $ 1,157,133 | $ 977,599
PEO Actually Paid Compensation Amount | $ 1,376,927 | 1,236,413 | 1,363,725 | 672,340
Adjustment To PEO Compensation, Footnote |
| 2 | Compensation actually paid to Mr. Cherry represents total compensation reported in the Summary Compensation Table, with certain adjustments as described below. Compensation actually paid differs from the amount shown in the Summary Compensation Table and does not represent the total amount earned or total amount paid in any particular year. Total compensation, as reported in the Summary Compensation Table, was adjusted by (1) removing the change in pension value, which represents the actuarial increase in present value of accumulated benefits in each year under the Retirement Plan established by the Bank for Messrs. Cherry, Long, Dillon and Seaman; (2) including the amount of service cost recognized by the Corporation under ASC Topic 715, which represents the actuarial present value of benefits under the Retirement Plan attributable to services rendered in each year for Messrs. Cherry, Long, Dillon and Seaman; (3) removing the grant date fair value of stock awards granted in each year, as determined under ASC Topic 718; (4) including with respect to outstanding restricted stock awards for each year (i) the year-end fair value of any awards granted during the year that are outstanding and unvested as of the end of the year; (ii) the change in fair value as of the end of the year (from the end of the prior year) of any awards granted in prior years that are outstanding and unvested as of the end of the applicable year; and (iii) for awards granted in prior years that vested in the applicable year, the change in fair value as of the vesting date (from the end of the prior year). Total compensation as reported in the Summary Compensation Table and compensation actually paid both include the amount of dividends paid on unvested restricted stock awards.
​ The amounts of the adjustments described above that were added to (or deducted from) the Summary Compensation Table total for the PEO to arrive at compensation actually paid for the PEO for 2023 are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
​ | (70,381) | ​ | ​ | 33,244 | ​ | ​ | (249,275) | ​ | ​ | 288,061 | ​ | ​ | 75,732 | ​ | ​ | 6,635 | ​
Non-PEO NEO Average Total Compensation Amount | $ 535,423 | 530,208 | 962,681 | 1,092,857
Non-PEO NEO Average Compensation Actually Paid Amount | $ 546,486 | 553,696 | 982,576 | 865,040
Adjustment to Non-PEO NEO Compensation Footnote |
| 2 | Compensation actually paid to Mr. Cherry represents total compensation reported in the Summary Compensation Table, with certain adjustments as described below. Compensation actually paid differs from the amount shown in the Summary Compensation Table and does not represent the total amount earned or total amount paid in any particular year. Total compensation, as reported in the Summary Compensation Table, was adjusted by (1) removing the change in pension value, which represents the actuarial increase in present value of accumulated benefits in each year under the Retirement Plan established by the Bank for Messrs. Cherry, Long, Dillon and Seaman; (2) including the amount of service cost recognized by the Corporation under ASC Topic 715, which represents the actuarial present value of benefits under the Retirement Plan attributable to services rendered in each year for Messrs. Cherry, Long, Dillon and Seaman; (3) removing the grant date fair value of stock awards granted in each year, as determined under ASC Topic 718; (4) including with respect to outstanding restricted stock awards for each year (i) the year-end fair value of any awards granted during the year that are outstanding and unvested as of the end of the year; (ii) the change in fair value as of the end of the year (from the end of the prior year) of any awards granted in prior years that are outstanding and unvested as of the end of the applicable year; and (iii) for awards granted in prior years that vested in the applicable year, the change in fair value as of the vesting date (from the end of the prior year). Total compensation as reported in the Summary Compensation Table and compensation actually paid both include the amount of dividends paid on unvested restricted stock awards.
​ The amounts of the adjustments described above that were added to (or deducted from) the average Summary Compensation Table total for NEOs other than the PEO to arrive at average compensation actually paid to non-PEO NEOs for 2023 are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
​ | (27,316) | ​ | ​ | 4,179 | ​ | ​ | (68,588) | ​ | ​ | 79,259 | ​ | ​ | 20,893 | ​ | ​ | 2,636 | ​
Compensation Actually Paid vs. Total Shareholder Return | Figure 1: Compensation Actually Paid and Total Shareholder Return (TSR) ​ |  |  |
Compensation Actually Paid vs. Net Income | ​ Figure 2: Compensation Actually Paid and Net Income |  |  |
Compensation Actually Paid vs. Company Selected Measure | Figure 3: Compensation Actually Paid and Adjusted ROE ​ |  |  |
Tabular List, Table | The following table lists the financial performance measures determined by the Committee to be the most important financial performance measures used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2023 to company performance. ​
​
Financial Performance Measures Linked to Compensation of Executives
Net income
Adjusted ROE
Adjusted ROA
ROE (as defined by the Committee)
ROTCE (as defined by the Committee)
Loan delinquencies
Net charge-off ratio
Total Shareholder Return Amount | $ 141.4 | 117.2 | 99.7 | 70.1
Net Income (Loss) | $ 23,746,000 | $ 29,369,000 | $ 29,123,000 | $ 22,424,000
Company Selected Measure Amount | 11.68 | 13.64 | 15.22 | 12.54
PEO Name | Mr. Cherry |  |  |
2023 Peer Group Total Shareholder Return | $ 104.0 | $ 104.9 | $ 103.8 | $ 77.9
2022 Peer Group Total Shareholder Return | $ 101.0 | $ 100.7 | $ 106.4 | $ 74.3
Measure:: 1 |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Name | Net income |  |  |
Measure:: 2 |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Name | Adjusted ROE |  |  |
Non-GAAP Measure Description |
| 4 | Adjusted ROE and adjusted ROA are financial measures that are not consistent with U.S. GAAP that are considered by the Corporation as part of its executive compensation program. Refer to Appendix A for information regarding these non-GAAP financial measures, including a reconciliation to the most directly comparable U.S. GAAP financial measures. The Committee has identified a variety of performance goals and metrics used for the purpose of awarding compensation to executive officers that are consistent with the Corporation’s overall compensation philosophy and the long-term interests of its shareholders. Among these, the Committee has identified adjusted ROE as the most important financial performance measure (that is not otherwise required to be disclosed in the table above) used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2023 to company performance. Adjusted ROA, which is also used by the Corporation to evaluate performance as part of its executive compensation program, is shown in the table above as a supplemental financial performance measure.
​ |  |  |
Measure:: 3 |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Compensation Actually Paid vs. Other Measure | Figure 4: Compensation Actually Paid and Adjusted ROA ​ |  |  |
Other Performance Measure, Amount | 0.99 | 1.16 | 1.38 | 1.14
Name | Adjusted ROA |  |  |
Non-GAAP Measure Description |
| 4 | Adjusted ROE and adjusted ROA are financial measures that are not consistent with U.S. GAAP that are considered by the Corporation as part of its executive compensation program. Refer to Appendix A for information regarding these non-GAAP financial measures, including a reconciliation to the most directly comparable U.S. GAAP financial measures. The Committee has identified a variety of performance goals and metrics used for the purpose of awarding compensation to executive officers that are consistent with the Corporation’s overall compensation philosophy and the long-term interests of its shareholders. Among these, the Committee has identified adjusted ROE as the most important financial performance measure (that is not otherwise required to be disclosed in the table above) used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2023 to company performance. Adjusted ROA, which is also used by the Corporation to evaluate performance as part of its executive compensation program, is shown in the table above as a supplemental financial performance measure.
​ |  |  |
Measure:: 4 |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Name | ROE (as defined by the Committee) |  |  |
Measure:: 5 |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Name | ROTCE (as defined by the Committee) |  |  |
Measure:: 6 |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Name | Loan delinquencies |  |  |
Measure:: 7 |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Name | Net charge-off ratio |  |  |
PEO | Change in Pension Value |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | $ (70,381) |  |  |
PEO | Pension Service Cost |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | 33,244 |  |  |
PEO | Grant Date Fair Value of Stock Awards |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | (249,275) |  |  |
PEO | Year End Fair Value of Stock Awards Granted |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | 288,061 |  |  |
PEO | Change in Fair Value of Outstanding and Unvested Stock Awards |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | 75,732 |  |  |
PEO | Change in Fair Value of Stock Awards Granted in Prior Years that Vested in the Year |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | 6,635 |  |  |
Non-PEO NEO | Change in Pension Value |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | (27,316) |  |  |
Non-PEO NEO | Pension Service Cost |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | 4,179 |  |  |
Non-PEO NEO | Grant Date Fair Value of Stock Awards |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | (68,588) |  |  |
Non-PEO NEO | Year End Fair Value of Stock Awards Granted |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | 79,259 |  |  |
Non-PEO NEO | Change in Fair Value of Outstanding and Unvested Stock Awards |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | 20,893 |  |  |
Non-PEO NEO | Change in Fair Value of Stock Awards Granted in Prior Years that Vested in the Year |  |  |  |
Pay vs Performance Disclosure |  |  |  |
Adjustment to Compensation, Amount | $ 2,636 |  |  |

X
- Definition Peer group total shareholder return amount, 2022 + References No definition available. + Details
Name: | cffi_PeerGroupTotalShareholderReturnAmount2022
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Peer group total shareholder return amount, 2023 + References No definition available. + Details
Name: | cffi_PeerGroupTotalShareholderReturnAmount2023
Namespace Prefix: | cffi_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToNonPeoNeoCompFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToPeoCompFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_CoSelectedMeasureAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_CoSelectedMeasureName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph iii + Details
Name: | ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph ii + Details
Name: | ecd_CompActuallyPaidVsNetIncomeTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph iv + Details
Name: | ecd_CompActuallyPaidVsOtherMeasureTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph i + Details
Name: | ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_MeasureName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_NamedExecutiveOfficersFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_NonGaapMeasureDescriptionTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iii + Details
Name: | ecd_NonPeoNeoAvgCompActuallyPaidAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph ii + Details
Name: | ecd_NonPeoNeoAvgTotalCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_OtherPerfMeasureAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_PeerGroupIssuersFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iii + Details
Name: | ecd_PeoActuallyPaidCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_PeoName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph ii + Details
Name: | ecd_PeoTotalCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 1 + Details
Name: | ecd_PvpTable
Namespace Prefix: | ecd_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 1 + Details
Name: | ecd_PvpTableTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 6 + Details
Name: | ecd_TabularListTableTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_TotalShareholderRtnAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-28 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482765/220-10-50-6 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480175/815-40-65-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-8 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-9 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-11 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-11 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483443/250-10-50-4 Reference 13: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480167/946-830-55-10 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section 45 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483581/946-220-45-7 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(9)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(1)(d)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 20: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-30 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 60B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482689/260-10-45-60B Reference 32: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 31 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-31 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483499/205-20-50-7 Reference 35: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 36: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-1A Reference 37: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-1B Reference 38: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 Reference 39: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483589/942-220-S99-1 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ecd_MeasureAxis=1
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=2
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=3
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=4
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=5
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=6
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=7
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_ExecutiveCategoryAxis=ecd_PeoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_PensionValueInCompensationTableForApplicableYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_PensionAdjustmentsServiceCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsValueInCompensationTableForApplicableYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsAdjustmentsYearEndFairValueOfAwardsGrantedInCurrentYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsAdjustmentsChangeInFairValueAsOfYearEndOfOutstandingAndUnvestedAwardsGrantedInPriorYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsAdjustmentsChangeInFairValueAsOfVestingDateOfPriorYearAwardsVestedDuringCurrentYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_ExecutiveCategoryAxis=ecd_NonPeoNeoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |