XML 16 R1.htm IDEA: XBRL DOCUMENT v3.6.0.2
Document and Entity Information - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Mar. 15, 2017
Jun. 30, 2016
Document and Entity Information [Abstract]      
Entity Registrant Name MIDDLEBURG FINANCIAL CORP    
Entity Central Index Key 0000914138    
Current Fiscal Year End Date --12-31    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Filer Category Accelerated Filer    
Entity Public Float     $ 193,158
Entity Common Stock, Shares Outstanding   7,200,194  
Document Fiscal Year Focus 2016    
Document Fiscal Period Focus FY    
Document Type 10-K    
Amendment Flag false    
Document Period End Date Dec. 31, 2016