/* Browns Ferry Gardens: responsive overrides, loaded after citrus.css */
html { -webkit-text-size-adjust: 100%; }
#header img, #mnTable img { max-width: 100%; height: auto; }
#bfg-menu-toggle { display: none; }
#mnTable a:focus-visible, #bfg-menu-toggle:focus-visible { outline: 3px solid #345c36; outline-offset: 3px; }
@media screen and (max-width: 767px) {
  html, body { width: 100%; min-width: 0 !important; margin: 0; padding: 0; }
  #header, #mnTable, #footer { box-sizing: border-box; width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; }
  #header img { display: block; width: 100%; }
  #mnTable > table, #mnTable > table > tbody, #mnTable > table > tbody > tr { display: block; width: 100% !important; min-width: 0 !important; }
  #mnTable > table > tbody > tr { display: flex; flex-wrap: wrap; }
  #navCell, #mainCell, #sidebar { display: block; box-sizing: border-box; width: 100% !important; max-width: 100% !important; min-width: 0 !important; height: auto !important; float: none !important; padding: 14px !important; }
  #navCell { order: 2; }
  #mainCell { order: 1; font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
  #sidebar { order: 3; }
  #bfg-mobile-nav { order: 0; width: 100%; padding: 10px; box-sizing: border-box; }
  #bfg-menu-toggle { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 6px; background: #345c36; color: white; font: bold 17px Arial, sans-serif; text-align: left; padding: 12px; cursor: pointer; }
  #bfg-mobile-nav #p7TMnav a, #bfg-mobile-nav #p7TMctrl a { display: inline-block; box-sizing: border-box; min-height: 44px; padding: 12px 8px; font-size: 16px; line-height: 1.4; white-space: normal; }
  #bfg-mobile-nav #p7TMnav a { display: block; }
  #mainCell table { max-width: 100%; }
  #mainCell { overflow-x: auto; }
  #mainCell input, #mainCell select, #mainCell textarea, #mainCell iframe { max-width: 100%; box-sizing: border-box; }
  #mainCell input:not([type=image]):not([type=hidden]), #mainCell select, #mainCell textarea { font-size: 16px; }
  #mainCell input[type=image] { min-height: 44px; object-fit: contain; }
}

/* Overrides verified against the original citrus.css. */
body { margin: 0; }
#header { position: static; width: 100%; max-width: 1511px; margin: 0 auto; padding: 7px 10px; box-sizing: border-box; }
#header img { display: block; margin: 0 auto; width: 100%; }
#sidebar { background-color: #DBD2C3; }
#mainCell a:hover { font-size: inherit; }
@media screen and (max-width: 767px) {
  #mainCell, #navCell { text-align: left; border: 0; }
  #mainCell div, #mainCell p, #mainCell td, #mainCell ul,
  #navCell div, #navCell p, #navCell td, #navCell ul { font-size: 16px; line-height: 1.6; }
  #mainCell [align=center], #navCell [align=center] { text-align: center; }
  #bfg-mobile-nav #p7TMnav a, #bfg-mobile-nav #p7TMctrl a { font-size: 16px; }
  #bfg-mobile-nav #p7TMnav a.p7plusmark,
  #bfg-mobile-nav #p7TMnav a.p7minusmark,
  #bfg-mobile-nav #p7TMnav a.p7defmark,
  #bfg-mobile-nav #p7TMnav a.p7currentmark { padding: 12px 8px 12px 24px !important; }
  #bfg-mobile-nav #p7TMnav div div div a { color: #333; }
  #sidebar { border: 0; }
  #mainCell a:hover { font-size: inherit; }
}

/* Keep legacy submenu visibility controlled by P7_TMenu. */
@media screen and (max-width: 767px) {
  #bfg-mobile-nav #p7TMctrl a { color: #0E551D; }
  #bfg-mobile-nav #p7TMnav a.p7currentmark { background-color: #FCF2B7 !important; }
  #bfg-mobile-nav #p7TMnav div div a { margin-left: 10px; }
}
