XML 49 R37.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Securities - Additional Information (Detail) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2018 USD ($) Security | Dec. 31, 2017 Security
Schedule of Available-for-sale Securities [Line Items] |  |
Percentage of investment portfolio | 100.00% | 100.00%
Weighted-average period of re-pricing of portfolio | 5 years | 4 years 8 months 12 days
Impairment recognized | $ | $ 0 |
U.S. agency and mortgage-backed securities |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Number of securities in an unrealized loss position | 80 | 68
Total number of securities | 85 | 82
Obligations of states and political subdivisions |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Number of securities in an unrealized loss position | 56 | 39
Total number of securities | 80 | 80
Corporate debt securities |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Number of securities in an unrealized loss position | 1 |

X
- Definition Available For Sale Securities Number Of Securities + References No definition available. + Details
Name: | fxnc_AvailableForSaleSecuritiesNumberOfSecurities
Namespace Prefix: | fxnc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Impairment losses related to federal home loan stock. + References No definition available. + Details
Name: | fxnc_ImpairmentLossesRelatedToFederalHomeLoanStock
Namespace Prefix: | fxnc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of investment portfolio. + References No definition available. + Details
Name: | fxnc_PercentageOfInvestmentPortfolio
Namespace Prefix: | fxnc_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average period of pricing of portfolio. + References No definition available. + Details
Name: | fxnc_WeightedAveragePeriodOfPricingOfPortfolio
Namespace Prefix: | fxnc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of investment positions in available-for-sale investments in a continuous unrealized loss position for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=fxnc_UsAgencyAndMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |