XML 77 R1.htm IDEA: XBRL DOCUMENT v2.4.0.6
Document and Entity Information (USD $)
12 Months Ended
Dec. 31, 2012
Feb. 28, 2013
Jun. 30, 2012
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     $ 119,893,418
Entity Common Stock, Shares Outstanding   7,052,554  
Document Fiscal Year Focus 2012    
Document Fiscal Period Focus FY    
Document Type 10-K    
Amendment Flag false    
Document Period End Date Dec. 31, 2012