/* Guildford Borough Council - Site stylesheet
   Applied to inner pages to repair broken image navigation */

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/* Hide broken nav images that are part of the old image-map navigation
   These images are missing from the archive; we replace with the topnav bar below */
img[src*="topg4.gif"],
img[src*="buttonMillennium"],
img[src*="buttoninside"],
img[src*="buttona-z"],
img[src*="buttonbusiness"],
img[src*="buttonenvironment"],
img[src*="buttonleisure"],
img[src*="buttontravel"],
img[src*="buttontourism"],
img[src*="downbutton"],
img[src*="downbuton"],
img[src*="strip.gif"],
img[src*="bottomg.gif"],
img[src*="busban.gif"],
img[src*="welc01.gif"],
img[src*="insidelogo"],
img[src*="surreyonline"],
img[src*="ukonline"],
img[src*="ihavemoved"],
img[src*="ukmap-copy"],
img[src*="txt2logo.gif"],
img[src*="downarrow.gif"] {
  display: none !important;
}

/* When the left sidebar nav column has no visible content (all images hidden),
   collapse it gracefully — the site uses background on TD, keep the color */
td[background*="strip.gif"] {
  background: #339999 !important;
  width: 170px !important;
}

/* Ensure links are readable */
a { color: #006666; }
a:hover { color: #339999; }

/* Global top nav bar injected via JS at the top of every page */
#gbc-topnav {
  background: #339999;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  display: block;
}
#gbc-topnav-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
#gbc-topnav-brand {
  background: #006666;
  color: #ffffff;
  font-weight: bold;
  font-size: 12px;
  padding: 8px 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
#gbc-topnav-brand:hover { background: #004444; color: #fff; }
#gbc-topnav a.gbc-nav-link {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid #44aaaa;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: bold;
}
#gbc-topnav a.gbc-nav-link:hover {
  background: #1d6666;
  color: #ffffff;
}
