XML 21 R1.htm IDEA: XBRL DOCUMENT v3.8.0.1
Document And Entity Information - USD ($)
12 Months Ended
Dec. 31, 2017
Feb. 28, 2018
Jun. 30, 2017
Document and Entity Information      
Entity Registrant Name C & F FINANCIAL CORP    
Document Type 10-K    
Entity Public Float     $ 153,465,477
Amendment Flag false    
Entity Central Index Key 0000913341    
Entity Filer Category Accelerated Filer    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Document Period End Date Dec. 31, 2017    
Document Fiscal Year Focus 2017    
Document Fiscal Period Focus FY    
Entity Common Stock, Shares Outstanding   3,502,307  
Current Fiscal Year End Date --12-31