XML 12 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2017
Jul. 31, 2017
Entity Information [Line Items]    
Entity Registrant Name ROYAL BANCSHARES OF PENNSYLVANIA INC  
Entity Central Index Key 0000922487  
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2017  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2017  
Entity Current Reporting Status Yes  
Document Fiscal Period Focus Q2  
Entity Filer Category Smaller Reporting Company  
Class A - Common stock    
Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   28,006,047
Class B - Common stock    
Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   1,857,072