/* GeoCities.us corporate style sheet.
   The layout lives in the tables; this file sets the house fonts and the
   finishing touches. Nothing here needs more than CSS1 to look right,
   except the part that lets the tables fit on a phone. */

body {
  margin: 0 0 16px;
  background: #fff;
  color: #000;
}

/* Fonts don't cascade into tables in every browser, so name them all. */
body, td, th, p, li, input, select {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

font[size="1"] {
  font-size: 11px;
}

/* Spacer GIFs sit on their own, or a line of text would prop them open. */
img[src$="spacer.gif"] {
  display: block;
}

a:hover {
  color: #ff6600;
}

h1 {
  margin: 0 0 8px;
  line-height: 1.1;
}

p {
  margin: 10px 0;
}

/* The page is 760 pixels wide, or the whole screen if that's narrower. */
table.page {
  width: 100%;
  max-width: 760px;
}

/* ---- masthead ---- */

.brand {
  padding: 8px 0;
  white-space: nowrap;
}

.wordmark {
  text-decoration: none;
  letter-spacing: -1px;
}

.adcell {
  padding: 6px 0;
  line-height: 1.3;
}

.adcell img {
  max-width: 100%;
  height: auto;
}

/* ---- navigation ---- */

.navbar {
  background-repeat: repeat-x;
}

.navbar td {
  padding: 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.navbar a.on,
.navbar a:hover {
  color: #ffcc00;
}

.subbar {
  border-bottom: 1px solid #99aabb;
}

.subbar td {
  padding: 5px 10px;
}

form {
  margin: 0;
}

input[type="text"] {
  padding: 2px 3px;
  border: 2px inset #eee;
  font-size: 11px;
}

select {
  font-size: 11px;
}

input.bevel {
  padding: 1px 8px;
  font-size: 11px;
  font-weight: bold;
  color: #000;
  background: #c0c0c0;
  border: 2px outset #eee;
  cursor: pointer;
}

input.bevel:active {
  border-style: inset;
}

.ticker {
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.ticker marquee {
  display: block;
}

.uc-notice {
  margin-bottom: 10px;
}

.uc-notice > tbody > tr > td {
  padding: 6px 10px;
  border: 1px solid #ffcc00;
  line-height: 1.4;
}

/* ---- left navigation ---- */

.sidenav {
  padding: 0 8px 8px;
  line-height: 1.7;
  border-right: 1px solid #99aabb;
}

.sidenav img {
  vertical-align: middle;
}

.navhead {
  margin: 12px 0 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid #99aabb;
  color: #003366;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.sidenav select {
  width: 90px;
}

.jump {
  margin: 4px 0;
}

/* ---- the big pitch ---- */

.hero td {
  background-color: #000033;
  background-position: left bottom;
  background-repeat: no-repeat;
}

a.btn {
  display: inline-block;
  padding: 3px 12px;
  color: #000;
  background: #ddd;
  border: 2px outset #eee;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

a.btn.gold {
  background: #ffcc00;
  border-color: #ffdd55;
}

a.btn:hover {
  color: #003399;
}

a.btn:active {
  border-style: inset;
}

/* ---- boxes with rounded headings ---- */

.box td.hd {
  height: 22px;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}

.box td.hd img {
  display: block;
}

.box td.bd {
  padding: 8px;
  border: 1px solid #336699;
  border-top: 0;
  line-height: 1.4;
}

.box td.bd.dark {
  border-color: #003366;
}

.box td.bd.warm {
  border-color: #ff9900;
}

.box hr {
  margin: 10px 0 6px;
  border: 0;
  border-top: 1px solid #ccc;
}

.hoods {
  margin-top: 6px;
}

.hoods img {
  image-rendering: pixelated;
}

img.fit {
  max-width: 100%;
  height: auto;
}

ul.news {
  margin: 0;
  padding-left: 18px;
  list-style-image: url(images/arrow.gif);
}

ul.news li {
  margin-bottom: 8px;
}

/* ---- inside pages ---- */

.crumbs {
  margin: 0 0 2px;
  color: #666;
}

h1.title {
  margin: 0 0 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #99aabb;
}

ol.results {
  padding-left: 22px;
}

ol.results li {
  margin-bottom: 12px;
}

/* ---- error page ---- */

table.notice {
  width: calc(100% - 16px);
  max-width: 520px;
}

/* ---- footer ---- */

.footer td {
  line-height: 1.6;
}

.footer img {
  margin: 0 2px;
  image-rendering: pixelated;
}

/* A phone is narrower than any monitor of 1999, so the columns stack. */
@media (max-width: 700px) {
  .brand,
  .adcell,
  .subbar td,
  td.col {
    display: block;
    width: auto !important;
    text-align: center;
  }
  .brand img {
    float: none;
    vertical-align: middle;
  }
  td.gutter,
  .twocol td:nth-child(2) {
    display: none;
  }
  .twocol td {
    display: block;
    width: auto !important;
  }
  .sidenav {
    border-right: 0;
    border-bottom: 1px solid #99aabb;
    text-align: left !important;
    columns: 2;
  }
  .navhead {
    break-after: avoid;
  }
  .hero td {
    background-position: center bottom;
    background-size: cover;
  }
  td.col.main,
  td.col.side {
    padding: 10px 8px 0;
    text-align: left !important;
  }
  .navbar td {
    display: block;
    padding: 4px 10px;
    text-align: left;
    white-space: normal;
  }
}
