Loans and Leases (Details 1) - USD ($) $ in Thousands |
Jun. 30, 2017 |
Dec. 31, 2016 |
|---|---|---|
| Total Acquired Loans | ||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | ||
| Outstanding principal balance | $ 3,191 | $ 6,308 |
| Carrying amount | 3,070 | 5,625 |
| VIST Financial Corp. (VIST Financial) | Acquired Credit Impaired Loans | ||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | ||
| Outstanding principal balance | 21,525 | 26,237 |
| Carrying amount | 16,597 | 22,517 |
| VIST Financial Corp. (VIST Financial) | Acquired Non-Credit Impaired Loans | ||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | ||
| Outstanding principal balance | 333,608 | 375,471 |
| Carrying amount | 331,244 | 371,594 |
| VIST Financial Corp. (VIST Financial) | Total Acquired Loans | ||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | ||
| Outstanding principal balance | 355,133 | 401,708 |
| Carrying amount | $ 347,841 | $ 394,111 |