XML 64 R49.htm IDEA: XBRL DOCUMENT
v3.21.1

Organization (Narrative) (Details) | 12 Months Ended
--- | ---
Dec. 31, 2020 item
Number of wholly-owned non-operating subsidiaries | 1
Number of bank locations | 4
Lynchburg Virginia [Member] |
Limited service bank branch | 1
Forest Virginia [Member] |
Number of bank locations | 1
Madison Heights [Member] |
Number of bank locations | 1
Amherst Virginia [Member] |
Number of bank locations | 1
Bedford Virginia [Member] |
Number of bank locations | 1
Altavista Virginia [Member] |
Number of bank locations | 1
Appomattox Virginia [Member] |
Number of bank locations | 1
Charlottesville Virginia [Member] |
Number of bank locations | 2
Limited service bank branch | 1

X
- Definition Limited Service Bank Banches + References No definition available. + Details
Name: | botj_LimitedServiceBankBanches
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Bank Branches + References No definition available. + Details
Name: | botj_NumberOfBankBranches
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Wholly-Owned Non-Operating Subsidiaries + References No definition available. + Details
Name: | botj_NumberOfWhollyOwnedNonOperatingSubsidiaries
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=botj_LynchburgVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_ForestVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_MadisonHeightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_AmherstVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_BedfordVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_AltavistaVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_AppomattoxVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_CharlottesvilleVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |