SECURITIES (Details 4) - USD ($) $ in Thousands |
Dec. 31, 2023 |
Dec. 31, 2022 |
Fair value less than 12 months |
$ 2,338
|
$ 94,451
|
Unrealized losses less than 12 months |
282
|
7,498
|
Fair value more than 12 months |
355,099
|
291,803
|
Unrealized losses more than 12 months |
40,281
|
43,811
|
Fair value total |
357,437
|
386,254
|
Unrealized losses total |
40,563
|
51,309
|
U S Treasuries [Member] |
|
|
Fair value less than 12 months |
125
|
9,657
|
Unrealized losses less than 12 months |
0
|
362
|
Fair value more than 12 months |
32,756
|
26,987
|
Unrealized losses more than 12 months |
2,167
|
2,897
|
Fair value total |
32,881
|
36,644
|
Unrealized losses total |
2,167
|
3,259
|
U. S. Government Sponsored Enterprises [Member] |
|
|
Fair value less than 12 months |
0
|
13,914
|
Unrealized losses less than 12 months |
0
|
1,083
|
Fair value more than 12 months |
124,703
|
115,835
|
Unrealized losses more than 12 months |
8,784
|
12,642
|
Fair value total |
124,703
|
129,749
|
Unrealized losses total |
8,784
|
13,725
|
Securities issued by States and political subdivisions in the U.S. [Member] |
|
|
Fair value less than 12 months |
484
|
21,805
|
Unrealized losses less than 12 months |
11
|
1,426
|
Fair value more than 12 months |
32,597
|
18,710
|
Unrealized losses more than 12 months |
2,714
|
2,734
|
Fair value total |
33,081
|
40,515
|
Unrealized losses total |
2,725
|
4,160
|
Mortgage-backed obligations of federal agencies [Member] |
|
|
Fair value less than 12 months |
0
|
32,823
|
Unrealized losses less than 12 months |
0
|
2,429
|
Fair value more than 12 months |
140,041
|
119,892
|
Unrealized losses more than 12 months |
23,568
|
23,817
|
Fair value total |
140,041
|
152,715
|
Unrealized losses total |
23,568
|
26,246
|
Corporate debt security [Member] |
|
|
Fair value less than 12 months |
1,729
|
16,252
|
Unrealized losses less than 12 months |
271
|
2,198
|
Fair value more than 12 months |
25,002
|
10,379
|
Unrealized losses more than 12 months |
3,048
|
1,721
|
Fair value total |
26,731
|
26,631
|
Unrealized losses total |
$ 3,319
|
$ 3,919
|