Securities (Details 1) - USD ($) $ in Thousands |
Jun. 30, 2017 |
Dec. 31, 2016 |
|---|---|---|
| Schedule of Held-to-maturity Securities [Line Items] | ||
| Amortized Cost | $ 139,994 | $ 142,119 |
| Gross Unrealized Gains | 1,768 | 999 |
| Gross Unrealized Losses | 108 | 286 |
| Fair Value | 141,654 | 142,832 |
| Obligations of U.S. Government sponsored entities | ||
| Schedule of Held-to-maturity Securities [Line Items] | ||
| Amortized Cost | 131,903 | 132,098 |
| Gross Unrealized Gains | 1,617 | 804 |
| Gross Unrealized Losses | 102 | 283 |
| Fair Value | 133,418 | 132,619 |
| Obligations of U.S. states and political subdivisions | ||
| Schedule of Held-to-maturity Securities [Line Items] | ||
| Amortized Cost | 8,091 | 10,021 |
| Gross Unrealized Gains | 151 | 195 |
| Gross Unrealized Losses | 6 | 3 |
| Fair Value | $ 8,236 | $ 10,213 |