| Components of accumulated other comprehensive income (loss) |
Changes in each component of accumulated other comprehensive income ("AOCI") for the three and nine months ended September 30, 2016 and 2015 (unaudited) were as follows (dollars in thousands): | | | | | | | | | | | | | For the Three Months Ended | Net Unrealized Gains (Losses) on Securities | | Adjustments Related to Pension Benefits | | Accumulated Other Comprehensive Income (Loss) | | | | | | | Balance at June 30, 2015 | $ | 4,583 |
| | $ | (2,181 | ) | | $ | 2,402 |
| | | | | | | Net unrealized gains on securities available for sale, net of tax, $(478) | 887 |
| | — |
| | 887 |
| | | | | | | Reclassification adjustment for gains on sales of securities, net of tax, $3 | (3 | ) | | — |
| | (3 | ) | | | | | | | Balance at September 30, 2015 | $ | 5,467 |
| | $ | (2,181 | ) | | $ | 3,286 |
| | | | | | | Balance at June 30, 2016 | $ | 5,563 |
| | $ | (1,832 | ) | | $ | 3,731 |
| | | | | | | Net unrealized losses on securities available for sale, net of tax, $499 | (925 | ) | | — |
| | (925 | ) | | | | | | | Reclassification adjustment for gains on sales of securities, net of tax, $25 | (48 | ) | | — |
| | (48 | ) | | | | | | | Balance at September 30, 2016 | $ | 4,590 |
| | $ | (1,832 | ) | | $ | 2,758 |
|
| | | | | | | | | | | | | Nine Months Ended | Net Unrealized Gains (Losses) on Securities | | Adjustments Related to Pension Benefits | | Accumulated Other Comprehensive Income (Loss) | | | | | | | Balance at December 31, 2014 | $ | 5,845 |
| | $ | (2,181 | ) | | $ | 3,664 |
| | | | | | | Net unrealized losses on securities available for sale, net of tax, $10 | (19 | ) | | — |
| | (19 | ) | | | | | | | Reclassification adjustment for gains on sales of securities, net of tax, $194 | (359 | ) | | — |
| | (359 | ) | | | | | | | Balance at September 30, 2015 | $ | 5,467 |
| | $ | (2,181 | ) | | $ | 3,286 |
| | | | | | | Balance at December 31, 2015 | $ | 4,122 |
| | $ | (1,832 | ) | | $ | 2,290 |
| | | | | | | Net unrealized gains on securities available for sale, net of tax, $(483) | 898 |
| | — |
| | 898 |
| | | | | | | Reclassification adjustment for gains on sales of securities, net of tax, $231 | (430 | ) | | — |
| | (430 | ) | | | | | | | Balance at September 30, 2016 | $ | 4,590 |
| | $ | (1,832 | ) | | $ | 2,758 |
|
|
| Reclassifications out of accumulated other comprehensive income |
Reclassifications Out of Accumulated Other Comprehensive Income For the three and nine months ended September 30, 2016 and 2015 (dollars in thousands) | | | | | | | For the Three Months Ended September 30, 2016 | Amount Reclassified from AOCI | | Affected Line Item in the Statement of Where Net Income is Presented | Details about AOCI Components | | | | Available for sale securities: | | | | Realized gain on sale of securities | $ | 73 |
| | Securities gains, net | | (25 | ) | | Income taxes | Total reclassifications | $ | 48 |
| | Net of tax |
| | | | | | | For the Three Months Ended September 30, 2015 | Amount Reclassified from AOCI | | Affected Line Item in the Statement of Where Net Income is Presented | Details about AOCI Components | | | | Available for sale securities: | | | | Realized gain on sale of securities | $ | 6 |
| | Securities gains, net | | (3 | ) | | Income taxes | Total reclassifications | $ | 3 |
| | Net of tax |
| | | | | | | For the Nine Months Ended September 30, 2016 | Amount Reclassified from AOCI | | Affected Line Item in the Statement of Where Net Income is Presented | Details about AOCI Components | | | | Available for sale securities: | | | | Realized gain on sale of securities | $ | 661 |
| | Securities gains, net | | (231 | ) | | Income taxes | Total reclassifications | $ | 430 |
| | Net of tax |
| | | | | | | For the Nine Months Ended September 30, 2015 | Amount Reclassified from AOCI | | Affected Line Item in the Statement of Where Net Income is Presented | Details about AOCI Components | | | | Available for sale securities: | | | | Realized gain on sale of securities | $ | 553 |
| | Securities gains, net | | (194 | ) | | Income taxes | Total reclassifications | $ | 359 |
| | Net of tax |
|