SECURITIES AVAILABLE FOR SALE (Tables)
12 Months Ended
Dec. 31, 2016
Available-for-sale Securities [Abstract]  
Schedule of amortized costs and fair values of securities AFS
    December 31, 2016  
    Amortized     Gross     Gross     Fair  
(in thousands)   Cost     Unrealized Gains     Unrealized Losses     Value  
U.S. government sponsored enterprises   $ 1,981     $ -     $ 18     $ 1,963  
State, county and municipals     191,721       160       4,638       187,243  
Mortgage-backed securities     161,309       242       2,422       159,129  
Corporate debt securities     12,117       52       -       12,169  
Equity securities     2,631       2,152       -       4,783  
    $ 369,759     $ 2,606     $ 7,078     $ 365,287  

 

    December 31, 2015  
    Amortized     Gross     Gross     Fair  
(in thousands)   Cost     Unrealized Gains     Unrealized Losses     Value  
U.S. government sponsored enterprises   $ 287     $ 7     $ -     $ 294  
State, county and municipals     104,768       497       244       105,021  
Mortgage-backed securities     61,600       418       554       61,464  
Corporate debt securities     1,140       -       -       1,140  
Equity securities     3,196       1,504       23       4,677  
    $ 170,991     $ 2,426     $ 821     $ 172,596  
Schedule of unrealized losses and fair value
    December 31, 2016  
    Less than 12 months     12 months or more     Total  
(in thousands)   Fair Value     Unrealized 
Losses
    Fair Value     Unrealized 
Losses
    Fair Value     Unrealized 
Losses
 
U.S. government sponsored enterprises   $ 1,963     $ 18     $ -     $ -     $ 1,963     $ 18  
State, county and municipals     167,457       4,629       1,300       9       168,757       4,638  
Mortgage-backed securities     134,770       2,311       3,653       111       138,423       2,422  
    $ 304,190     $ 6,958     $ 4,953     $ 120     $ 309,143     $ 7,078  

 

    December 31, 2015  
    Less than 12 months     12 months or more     Total  
(in thousands)   Fair Value     Unrealized 
Losses
    Fair Value     Unrealized 
Losses
    Fair Value     Unrealized 
Losses
 
State, county and municipals   $ 34,283     $ 112     $ 12,702     $ 132     $ 46,985     $ 244  
Mortgage-backed securities     22,228       167       13,750       387       35,978       554  
Equity securities     408       23       -       -       408       23  
    $ 56,919     $ 302     $ 26,452     $ 519     $ 83,371     $ 821  
Schedule of amortized cost and fair value classified by contractual maturities
    December 31, 2016  
(in thousands)   Amortized Cost     Fair Value  
Due in less than one year   $ 9,833     $ 9,835  
Due in one year through five years     81,288       80,847  
Due after five years through ten years     106,416       102,401  
Due after ten years     8,282       8,292  
      205,819       201,375  
Mortgage-backed securities     161,309       159,129  
Equity securities     2,631       4,783  
Securities AFS   $ 369,759     $ 365,287