| **Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (USD $)In Thousands, except Share data, unless otherwise specified** | Total                                                                                                       | Common stock and additional paid-in capital                                                                                                                                                                   | Retained earnings                                                                                                                       | Accumulated other comprehensive income (loss)                                                                                                                                                   |
|-----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Balance, beginning balance at Dec. 31, 2013                                                                                                   | $ 146,098us-gaap_StockholdersEquity                                                                         | $ 58,501us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                                          | $ 94,000us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                               | $ (6,403)us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember                                                                   |
| Balance, beginning period (in shares) at Dec. 31, 2013                                                                                        |                                                                                                        | 10,671,192us-gaap_CommonStockSharesOutstanding/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                              |                                                                                                                                    |                                                                                                                                                                                            |
| **Increase (Decrease) in Stockholders' Equity [Roll Forward]**                                                                                |                                                                                                        |                                                                                                                                                                                                          |                                                                                                                                    |                                                                                                                                                                                            |
| Net income                                                                                                                                    | 3,428us-gaap_NetIncomeLoss                                                                                  |                                                                                                                                                                                                          | 3,428us-gaap_NetIncomeLoss/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                                       |                                                                                                                                                                                            |
| Net unrealized gain on securities available for sale, net of tax                                                                              | 4,824us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax       |                                                                                                                                                                                                          |                                                                                                                                    | 4,824us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember |
| Net unrealized loss on securities transferred from available for sale to held to maturity, net of tax                                         | 0fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss                     |                                                                                                                                                                                                          |                                                                                                                                    |                                                                                                                                                                                            |
| Comprehensive income                                                                                                                          | 8,252us-gaap_ComprehensiveIncomeNetOfTax                                                                    |                                                                                                                                                                                                          | 3,428us-gaap_ComprehensiveIncomeNetOfTax/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                         | 4,824us-gaap_ComprehensiveIncomeNetOfTax/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember                                                              |
| Cash dividends declared on common stock ($0.20 and $0.21 for the three months ended March 31, 2014 and 2015, respectively)                    | (2,139)us-gaap_DividendsCommonStockCash                                                                     |                                                                                                                                                                                                          | (2,139)us-gaap_DividendsCommonStockCash/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                          |                                                                                                                                                                                            |
| Equity compensation expense                                                                                                                   | 102us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue | 102us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember |                                                                                                                                    |                                                                                                                                                                                            |
| Issuance of restricted stock (in shares)                                                                                                      |                                                                                                        | 25,843us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                        |                                                                                                                                    |                                                                                                                                                                                            |
| Issuance of restricted stock                                                                                                                  |                                                                                                        | 1us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                              | (1)us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember |                                                                                                                                                                                            |
| Proceeds from sale of common stock (in shares)                                                                                                |                                                                                                        | 6,237us-gaap_StockIssuedDuringPeriodSharesNewIssues/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                         |                                                                                                                                    |                                                                                                                                                                                            |
| Proceeds from sale of common stock                                                                                                            | 103us-gaap_StockIssuedDuringPeriodValueNewIssues                                                            | 103us-gaap_StockIssuedDuringPeriodValueNewIssues/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                            |                                                                                                                                    |                                                                                                                                                                                            |
| Balance, ending period at Mar. 31, 2014                                                                                                       | 152,416us-gaap_StockholdersEquity                                                                           | 58,707us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                                            | 95,288us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                                 | (1,579)us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember                                                                     |
| Balance, ending balance (in shares) at Mar. 31, 2014                                                                                          | 10,703,272us-gaap_CommonStockSharesOutstanding                                                              | 10,703,272us-gaap_CommonStockSharesOutstanding/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                              |                                                                                                                                    |                                                                                                                                                                                            |
| Balance, beginning balance at Dec. 31, 2014                                                                                                   | 161,554us-gaap_StockholdersEquity                                                                           | 59,389us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                                            | 99,816us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                                 | 2,349us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember                                                                       |
| Balance, beginning period (in shares) at Dec. 31, 2014                                                                                        | 10,724,359us-gaap_CommonStockSharesOutstanding                                                              | 10,724,359us-gaap_CommonStockSharesOutstanding/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                              |                                                                                                                                    |                                                                                                                                                                                            |
| **Increase (Decrease) in Stockholders' Equity [Roll Forward]**                                                                                |                                                                                                        |                                                                                                                                                                                                          |                                                                                                                                    |                                                                                                                                                                                            |
| Net income                                                                                                                                    | 4,175us-gaap_NetIncomeLoss                                                                                  |                                                                                                                                                                                                          | 4,175us-gaap_NetIncomeLoss/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                                       |                                                                                                                                                                                            |
| Net unrealized gain on securities available for sale, net of tax                                                                              | 57us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax          |                                                                                                                                                                                                          |                                                                                                                                    | 57us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember    |
| Net unrealized loss on securities transferred from available for sale to held to maturity, net of tax                                         | (19)fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss                  |                                                                                                                                                                                                          |                                                                                                                                    | (19)fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember            |
| Comprehensive income                                                                                                                          | 4,213us-gaap_ComprehensiveIncomeNetOfTax                                                                    |                                                                                                                                                                                                          | 4,175us-gaap_ComprehensiveIncomeNetOfTax/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                         | 38us-gaap_ComprehensiveIncomeNetOfTax/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember                                                                 |
| Cash dividends declared on common stock ($0.20 and $0.21 for the three months ended March 31, 2014 and 2015, respectively)                    | (2,255)us-gaap_DividendsCommonStockCash                                                                     |                                                                                                                                                                                                          | (2,255)us-gaap_DividendsCommonStockCash/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                          |                                                                                                                                                                                            |
| Equity compensation expense                                                                                                                   | 74us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue  | 74us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember  |                                                                                                                                    |                                                                                                                                                                                            |
| Issuance of restricted stock (in shares)                                                                                                      |                                                                                                        | 13,650us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                        |                                                                                                                                    |                                                                                                                                                                                            |
| Payment for repurchase of common stock                                                                                                        | (180)us-gaap_StockRepurchasedDuringPeriodValue                                                              | (180)us-gaap_StockRepurchasedDuringPeriodValue/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                              |                                                                                                                                    |                                                                                                                                                                                            |
| Payment for repurchase of common stock, shares                                                                                                |                                                                                                        | (10,138)us-gaap_StockRepurchasedDuringPeriodShares/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                          |                                                                                                                                    |                                                                                                                                                                                            |
| Proceeds from sale of common stock (in shares)                                                                                                |                                                                                                        | 6,548us-gaap_StockIssuedDuringPeriodSharesNewIssues/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                         |                                                                                                                                    |                                                                                                                                                                                            |
| Proceeds from sale of common stock                                                                                                            | 110us-gaap_StockIssuedDuringPeriodValueNewIssues                                                            | 110us-gaap_StockIssuedDuringPeriodValueNewIssues/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                            |                                                                                                                                    |                                                                                                                                                                                            |
| Balance, ending period at Mar. 31, 2015                                                                                                       | $ 163,516us-gaap_StockholdersEquity                                                                         | $ 59,393us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                                          | $ 101,736us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_RetainedEarningsMember                              | $ 2,387us-gaap_StockholdersEquity/ us-gaap_StatementEquityComponentsAxis= us-gaap_AccumulatedOtherComprehensiveIncomeMember                                                                     |
| Balance, ending balance (in shares) at Mar. 31, 2015                                                                                          | 10,734,419us-gaap_CommonStockSharesOutstanding                                                              | 10,734,419us-gaap_CommonStockSharesOutstanding/ us-gaap_StatementEquityComponentsAxis= us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember                                                              |                                                                                                                                    |                                                                                                                                                                                            |

| X                                                                                                                                                                                                                                                                                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Available-for-sale Securities, Transferred to Held-to-maturity Securities, Unrealized Gain (Loss)
+ References
No definition available.
+ Details**Name:**fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss**Namespace Prefix:**fnlc_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
This element represents the amount of recognized equity-based compensation during the period, that is, the amount recognized as expense in the income statement (or as asset if compensation is capitalized). Alternate captions include the words "stock-based compensation".
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 35 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415241&loc=d3e4534-113899Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11149-113907Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11178-113907
+ Details**Name:**us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 30 -Article 5
+ Details**Name:**us-gaap_CommonStockSharesOutstanding**Namespace Prefix:**us-gaap_**Data Type:**xbrli:sharesItemType**Balance Type:**na**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Other Comprehensive Income -URI http://asc.fasb.org/extlink&oid=51831270Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Comprehensive Income -URI http://asc.fasb.org/extlink&oid=51831223Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=36458714&loc=d3e557-108580Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Net Income -URI http://asc.fasb.org/extlink&oid=51831255
+ Details**Name:**us-gaap_ComprehensiveIncomeNetOfTax**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
+ Details**Name:**us-gaap_DividendsCommonStockCash**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |
| X                                                                                                                                                                                   |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_IncreaseDecreaseInStockholdersEquityRollForward**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=56944662&loc=d3e3602-108585Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Other Comprehensive Income -URI http://asc.fasb.org/extlink&oid=51831270Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Net Income -URI http://asc.fasb.org/extlink&oid=51831255Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.19) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.18) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.22) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 19 -Article 5Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 20 -Article 9
+ Details**Name:**us-gaap_NetIncomeLoss**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount after tax, before reclassification adjustments, of unrealized holding gain (loss) on available-for-sale securities.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=36458714&loc=d3e637-108580Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=36458714&loc=SL7669646-108580
+ Details**Name:**us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 4.E) -URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 4 -Section EReference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29-31) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
+ Details**Name:**us-gaap_StockholdersEquity**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Number of new stock issued during the period.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5
+ Details**Name:**us-gaap_StockIssuedDuringPeriodSharesNewIssues**Namespace Prefix:**us-gaap_**Data Type:**xbrli:sharesItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
+ Details**Name:**us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross**Namespace Prefix:**us-gaap_**Data Type:**xbrli:sharesItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30, 31 -Article 5
+ Details**Name:**us-gaap_StockIssuedDuringPeriodValueNewIssues**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Aggregate value of stock related to Restricted Stock Awards issued during the period.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30, 31 -Article 5
+ Details**Name:**us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5
+ Details**Name:**us-gaap_StockRepurchasedDuringPeriodShares**Namespace Prefix:**us-gaap_**Data Type:**xbrli:sharesItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30, 31 -Article 5
+ Details**Name:**us-gaap_StockRepurchasedDuringPeriodValue**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |