| **Borrowed Funds (Details) - USD ($) $ in Thousands**               | 12 Months Ended |           |           |           |           |           |           |
|---------------------------------------------------------------------|-----------------|-----------|-----------|-----------|-----------|-----------|-----------|
||
| **Disclosure of Repurchase Agreements [Abstract]**                  |            |      |      |      |      |      |      |   |
| Range of repurchase agreements' maturity dates                      | one to 365      |      |      |      |      |      |      |   |
| Amount of line of credit with correspondent banks                   | $ 48,000        |      |      |      |      |      |      |   |
| Credit facility with Federal Reserve Bank                           | $ 157,000       |      |      |      |      |      |      |   |
| **Federal Home Loan Bank, Advances, Maturities Summary [Abstract]** |            |      |      |      |      |      |      |   |
| Interest Rate, Due in Year Five                                     | 1.55%           |      |      |      |      |      |      |   |
| Due in Twelve Months Maturity                                       | $ 74,600        | $ 135,220 |      |      |      |      |      |   |
| Due in Year Two Maturity                                            | 30,000          | 30,000    |      |      |      |      |      |   |
| Due in Year Three Maturity                                          |            | 30,000    |      |      |      |      |      |   |
| Due in Year Four Maturity                                           | 55,000          |      |      |      |      |      |      |   |
| Due in Year Five Maturity                                           | 10,000          | 55,000    |      |      |      |      |      |   |
| Due Thereafter                                                      | 25,127          | 134       |      |      |      |      |      |   |
| Total                                                               | 194,727         | 250,354   |      |      |      |      |      |   |
| Repurchase Agreements for municipal and commercial customers        | 84,174          | 87,103    |      |      |      |      |      |   |
| Total                                                               | $ 278,901       | $ 337,457 | $ 268,098 | $ 283,095 | $ 276,531 | $ 297,369 | $ 278,013 | $ 312,576 |
| Minimum                                                             |            |      |      |      |      |      |      |   |
| **Disclosure of Repurchase Agreements [Abstract]**                  |            |      |      |      |      |      |      |   |
| Range of repurchase agreements' maturity dates (days)               | 1 day           |      |      |      |      |      |      |   |
| **Federal Home Loan Bank, Advances, Maturities Summary [Abstract]** |            |      |      |      |      |      |      |   |
| Interest Rate, Due in Next Twelve Months                            | 0.99%           | 0.41%     |      |      |      |      |      |   |
| Interest Rate, Due in Year Two                                      | 2.25%           | 0.99%     |      |      |      |      |      |   |
| Interest Rate, Due in Year Three                                    |            | 2.25%     |      |      |      |      |      |   |
| Interest Rate, Due in Year Four                                     | 1.60%           |      |      |      |      |      |      |   |
| Interest Rate, Due in Year Five                                     |            | 1.60%     |      |      |      |      |      |   |
| Interest Rate, Due Thereafter                                       | 0.00%           | 0.00%     |      |      |      |      |      |   |
| Securities Sold under Agreements to Repurchase, Stated Rate         | 0.15%           | 0.20%     |      |      |      |      |      |   |
| Maximum                                                             |            |      |      |      |      |      |      |   |
| **Disclosure of Repurchase Agreements [Abstract]**                  |            |      |      |      |      |      |      |   |
| Range of repurchase agreements' maturity dates (days)               | 365 days        |      |      |      |      |      |      |   |
| **Federal Home Loan Bank, Advances, Maturities Summary [Abstract]** |            |      |      |      |      |      |      |   |
| Interest Rate, Due in Next Twelve Months                            | 3.69%           | 2.44%     |      |      |      |      |      |   |
| Interest Rate, Due in Year Two                                      | 3.25%           | 3.69%     |      |      |      |      |      |   |
| Interest Rate, Due in Year Three                                    |            | 3.25%     |      |      |      |      |      |   |
| Interest Rate, Due in Year Four                                     | 1.97%           |      |      |      |      |      |      |   |
| Interest Rate, Due in Year Five                                     |            | 1.97%     |      |      |      |      |      |   |
| Interest Rate, Due Thereafter                                       | 0.59%           | 0.00%     |      |      |      |      |      |   |
| Securities Sold under Agreements to Repurchase, Stated Rate         | 1.93%           | 1.89%     |      |      |      |      |      |   |

| X                                                                                                                                                                                                                                                                                                                                                                                 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Maximum borrowing capacity under the credit facility with Federal Reserve Bank of Boston using commercial and home equity loans as collateral.
+ References
No definition available.
+ Details**Name:**fnlc_CreditFacilityWithFederalReserveBankOfBoston**Namespace Prefix:**fnlc_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Federal Home Loan Bank, Advances, Interest Rate, Maturities Summary, Due Thereafter
+ References
No definition available.
+ Details**Name:**fnlc_FederalHomeLoanBankAdvancesInterestRateMaturitiesSummaryDueThereafter**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Federal Home Loan Bank, Advances, Interest Rate, Maturities Summary, Due in Next Twelve Months
+ References
No definition available.
+ Details**Name:**fnlc_FederalHomeLoanBankAdvancesInterestRateMaturitiesSummaryDueinNextTwelveMonths**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Federal Home Loan Bank, Advances, Interest Rate, Maturities Summary, Due in Year Five
+ References
No definition available.
+ Details**Name:**fnlc_FederalHomeLoanBankAdvancesInterestRateMaturitiesSummaryDueinYearFive**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Federal Home Loan Bank, Advances, Interest Rate, Maturities Summary, Due in Year Four
+ References
No definition available.
+ Details**Name:**fnlc_FederalHomeLoanBankAdvancesInterestRateMaturitiesSummaryDueinYearFour**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                             |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Federal Home Loan Bank, Advances, Interest Rate, Maturities Summary, Due in Year Three
+ References
No definition available.
+ Details**Name:**fnlc_FederalHomeLoanBankAdvancesInterestRateMaturitiesSummaryDueinYearThree**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Federal Home Loan Bank, Advances, Interest Rate, Maturities Summary, Due in Year Two
+ References
No definition available.
+ Details**Name:**fnlc_FederalHomeLoanBankAdvancesInterestRateMaturitiesSummaryDueinYearTwo**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                        |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Borrowing capacity under the credit lines established with correspondent banks.
+ References
No definition available.
+ Details**Name:**fnlc_LineOfCreditWithCorrespondentBanks**Namespace Prefix:**fnlc_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Repurchase Agreement Counterparty, Maturity of Agreements
+ References
No definition available.
+ Details**Name:**fnlc_RepurchaseAgreementCounterpartyMaturityofAgreements**Namespace Prefix:**fnlc_**Data Type:**xbrli:durationItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                               |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Securities Sold under Agreements to Repurchase, Stated Rate
+ References
No definition available.
+ Details**Name:**fnlc_SecuritiesSoldunderAgreementstoRepurchaseStatedRate**Namespace Prefix:**fnlc_**Data Type:**num:percentItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Represents the aggregate dollar amount of all future maturities of advances from the Federal Home Loan Bank, treasury tax and loan notes and securities sold under repurchase agreements as of balance sheet date.
+ References
No definition available.
+ Details**Name:**fnlc_TotalFederalHomeLoanBankAdvancesTreasuryTaxNotesAndRepurchaseAgreements**Namespace Prefix:**fnlc_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of borrowings as of the balance sheet date from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and liquidity shortages.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822
+ Details**Name:**us-gaap_AdvancesFromFederalHomeLoanBanks**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                  |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_DisclosureOfRepurchaseAgreementsAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of advances from Federal Home Loan Bank (FHLBank) maturing after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822
+ Details**Name:**us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueAfterFiveYearsOfBalanceSheetDate**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of advances from Federal Home Loan Bank (FHLBank) maturing in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822
+ Details**Name:**us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromFourToFiveYearsOfBalanceSheetDate**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of advances from Federal Home Loan Bank (FHLBank) maturing in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of advances from Federal Home Loan Bank (FHLBank) maturing in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822
+ Details**Name:**us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of advances from Federal Home Loan Bank (FHLBank) maturing in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822
+ Details**Name:**us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of advances from Federal Home Loan Bank (FHLBank) maturing in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
This describes the time frame of the terms of the entity's repurchase agreements.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(m)(1)(i)(A)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690
+ Details**Name:**us-gaap_RepurchaseAgreementsMaturities**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(m)(1)(a)(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13(1)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51825145&loc=SL20226008-175313Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=49176635&loc=d3e9760-107771Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Repurchase Agreement Accounted for as a Collateralized Borrowing -URI http://asc.fasb.org/extlink&oid=49203159
+ Details**Name:**us-gaap_SecuritiesSoldUnderAgreementsToRepurchase**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                               |
|---------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_RangeAxis=us-gaap_MinimumMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                               |
|---------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_RangeAxis=us-gaap_MaximumMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |