XML 12 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2017
Aug. 04, 2017
Document and Entity Information    
Entity Registrant Name C & F FINANCIAL CORP  
Document Type 10-Q  
Amendment Flag false  
Entity Central Index Key 0000913341  
Entity Filer Category Accelerated Filer  
Entity Current Reporting Status Yes  
Document Period End Date Jun. 30, 2017  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q2  
Entity Common Stock, Shares Outstanding   3,487,223
Current Fiscal Year End Date --12-31