/* ==========================================================================
   site.css — the *page* inside the browser: circa-2004 Google, rebuilt.
   Colors, metrics and type are matched to the original as closely as
   modern CSS allows.
   ========================================================================== */

.page {
  font-family: arial, sans-serif;
  font-size: 13px;
  color: #000;
  background: #fff;
  min-height: 100%;
  padding: 0 0 40px;
}

.page a         { color: #0000cc; text-decoration: underline; }
.page a:visited { color: #551a8b; }
.page a:active  { color: #ff0000; }
.page a.nu      { text-decoration: none; }
.page a.nu:hover { text-decoration: underline; }

.wrap { width: 762px; margin: 0 auto; }

@media (max-width: 820px) {
  .wrap { width: auto; margin: 0 12px; }
}

/* --------------------------------------------------------------- wordmark -- */

.logo {
  text-align: center;
  padding: 26px 0 0;
  user-select: none;
}
.logo .word {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: bold;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -2px;
  display: inline-block;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, .32);
}
.logo .word .b { color: #0039b6; }
.logo .word .r { color: #c41200; }
.logo .word .y { color: #f3c518; }
.logo .word .g { color: #30a72e; }
.logo .tm {
  font: 10px arial, sans-serif;
  color: #000;
  vertical-align: top;
  letter-spacing: 0;
  text-shadow: none;
  margin-left: 1px;
}
.logo .sub {
  font-size: 11px;
  color: #676767;
  margin-top: 2px;
  letter-spacing: .2px;
}

/* small header wordmark used on interior pages */
.logo-sm { font-size: 23px; letter-spacing: -.5px; text-shadow: 1px 1px 1px rgba(0, 0, 0, .3); }
.logo-sm + .tm, .logo-sm .tm { display: none; }

/* ------------------------------------------------------------------- tabs -- */

.tabs {
  text-align: center;
  font-size: 13px;
  padding: 14px 0 6px;
}
.tabs a, .tabs b { margin: 0 6px; }
.tabs b { font-weight: bold; }
.tabs .more { white-space: nowrap; }

/* ----------------------------------------------------------------- search -- */

.searchrow {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 26px;               /* the side links must not stretch the row */
}
.searchrow .pad { display: none; }
.searchrow .side {
  position: absolute;
  left: 50%;
  top: 1px;
  margin-left: 200px;
  width: 150px;
  font-size: 11px;
  line-height: 1.55;
}
.searchrow .side a { display: block; }

/* Narrow-screen rules live at the very bottom of this file, so they win. */

.q {
  width: 372px;
  height: 22px;
  padding: 2px 3px;
  font: 15px arial, sans-serif;
  color: #000;
  background: #fff;
  border: 1px solid #7c7c7c;
  border-right-color: #d4d0c8;
  border-bottom-color: #d4d0c8;
  outline: none;
}
.q:focus { border-color: #4a6fa5 #b9c7dc #b9c7dc #4a6fa5; }

.btnrow { text-align: center; padding: 12px 0 0; }

/* the classic beveled form button */
.gbtn {
  height: 23px;
  margin: 0 4px;
  padding: 0 11px;
  font: 13px arial, sans-serif;
  color: #000;
  background: linear-gradient(180deg, #fefefe 0%, #f0efe9 45%, #e3e0d3 55%, #dbd8ca 100%);
  border: 1px solid #a9a795;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #fff;
  cursor: pointer;
}
.gbtn:hover  { border-color: #7f7d6e; }
.gbtn:active { background: linear-gradient(180deg, #dbd8ca, #efeee7); box-shadow: inset 1px 1px 2px rgba(0,0,0,.2); }

/* ------------------------------------------------- personalized homepage -- */

.ph {
  margin: 26px auto 0;
  border: 1px solid #3366cc;
  background: #fff;
  padding: 6px 8px 9px;
}
.ph-head {
  font-size: 12px;
  padding: 1px 0 7px;
}
.ph-head .new { color: #cc0000; font-weight: bold; }

.ph-cols {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.ph-cols > tbody > tr > td {
  vertical-align: top;
  padding: 0 12px;
  border-left: 1px solid #c9d7f1;
}
.ph-cols > tbody > tr > td:first-child { padding-left: 2px; border-left: 0; }
.ph-cols > tbody > tr > td:last-child  { padding-right: 2px; }

.mod { margin-bottom: 15px; }
.mod:last-child { margin-bottom: 2px; }
.mod-h {
  font-size: 13px;
  font-weight: bold;
  color: #7b0000;
  padding-bottom: 2px;
  border-bottom: 1px solid #c9d7f1;
  margin-bottom: 4px;
}
.mod-b { font-size: 11px; line-height: 1.5; }
.mod-b a { font-size: 11px; }
.mod-row { padding: 1px 0; }
.mod-sub { color: #767676; }
.mod-x   { color: #767676; font-size: 10px; }
.mod-note { color: #444; }
.mod-more { color: #0000cc; }
.mod-hr { height: 1px; background: #e8eefa; margin: 5px 0; }

.mail-line { display: flex; justify-content: space-between; gap: 8px; }
.mail-line .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-line .dt  { color: #767676; flex: 0 0 auto; }

.wx { display: flex; gap: 10px; padding-top: 3px; }
.wx .now  { flex: 1 1 auto; }
.wx .day  { text-align: center; width: 46px; }
.wx .day .lbl { font-weight: bold; }
.wx .day .tmp { white-space: nowrap; }

.tick { display: flex; justify-content: space-between; gap: 6px; }
.tick .sym { font-weight: bold; }
.tick .up  { color: #008000; }
.tick .dn  { color: #cc0000; }

/* --------------------------------------------------------- results pages -- */

.res-head {
  border-bottom: 1px solid #3366cc;
  padding: 6px 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.res-head .rh-logo { flex: 0 0 auto; padding: 4px 0 6px; }
.res-head .rh-mid  { flex: 1 1 auto; padding-top: 4px; }
.res-head .rh-tabs { font-size: 12px; padding-bottom: 4px; }
.res-head .rh-tabs a, .res-head .rh-tabs b { margin-right: 10px; }
.res-head .rh-side { flex: 0 0 auto; font-size: 11px; text-align: right; padding-top: 6px; line-height: 1.6; }
.res-head .q { width: 340px; height: 21px; font-size: 14px; }

.res-bar {
  background: #e5ecf9;
  border-top: 1px solid #3366cc;
  padding: 3px 8px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.res-bar .rb-l b { font-weight: bold; }
.res-bar .rb-r { font-size: 11px; color: #000; white-space: nowrap; }

.res-body { padding: 14px 8px 30px; max-width: 700px; }

.hit { margin-bottom: 22px; }
.hit .t {
  font-size: 16px;
  line-height: 1.25;
  display: block;
  margin-bottom: 1px;
}
.hit .s { font-size: 13px; line-height: 1.4; color: #000; }
.hit .u { font-size: 13px; color: #008000; }
.hit .u .k { color: #7777cc; }
.hit .m { font-size: 13px; }
.hit b  { font-weight: bold; }

.spell { font-size: 13px; padding: 0 0 16px; }
.spell i { color: #cc0000; font-style: italic; font-weight: bold; }

.pager { text-align: center; padding: 18px 0 8px; font-size: 13px; }
.pager .o { font: bold 20px "Times New Roman", serif; letter-spacing: -1px; }
.pager .o .b { color: #0039b6; } .pager .o .r { color: #c41200; }
.pager .o .y { color: #f3c518; } .pager .o .g { color: #30a72e; }
.pager a { margin: 0 3px; }

/* ---------------------------------------------------------- content page -- */

.doc { padding: 18px 8px 40px; }
.doc h1 {
  font-size: 20px;
  margin: 0 0 2px;
  font-weight: bold;
}
.doc .kicker { font-size: 12px; color: #767676; margin-bottom: 14px; }
.strip {
  background: #e5ecf9;
  border-top: 1px solid #3366cc;
  border-bottom: 1px solid #3366cc;
  padding: 3px 8px;
  font-size: 12px;
  margin: 0 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.doc h2 {
  font-size: 13px;
  color: #7b0000;
  border-bottom: 1px solid #c9d7f1;
  padding-bottom: 2px;
  margin: 22px 0 8px;
}
.doc p, .doc li { font-size: 13px; line-height: 1.55; }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 4px; }
.doc .lede { font-size: 14px; line-height: 1.6; }
.doc .fig {
  border: 1px solid #c9d7f1;
  background: #fbfcff;
  padding: 8px;
  margin: 0 0 16px;
  display: inline-block;
  max-width: 100%;
}
.doc .fig .cap { font-size: 11px; color: #767676; padding-top: 5px; }
.doc dl { margin: 0 0 12px; font-size: 13px; }
.doc dt { font-weight: bold; margin-top: 8px; }
.doc dd { margin: 2px 0 0 18px; line-height: 1.5; }

.factbox {
  float: right;
  width: 232px;
  margin: 0 0 14px 20px;
  border: 1px solid #3366cc;
  padding: 6px 8px 8px;
  font-size: 11px;
  line-height: 1.55;
}
.factbox .fb-h {
  font-weight: bold; color: #7b0000;
  border-bottom: 1px solid #c9d7f1;
  padding-bottom: 2px; margin-bottom: 5px;
}
.factbox .fb-row { display: flex; gap: 8px; padding: 1px 0; }
.factbox .fb-row .k { flex: 0 0 74px; color: #767676; }

@media (max-width: 640px) {
  .factbox { float: none; width: auto; margin: 0 0 16px; }
}

/* ------------------------------------------------------------ image grid -- */

.imgrid { display: flex; flex-wrap: wrap; gap: 22px 26px; padding: 6px 0 20px; }
.imcell { width: 168px; font-size: 11px; line-height: 1.45; }
.imcell .thumb {
  display: block;
  border: 1px solid #999;
  padding: 1px;
  background: #fff;
  margin-bottom: 4px;
}
.imcell .thumb svg { display: block; width: 100%; height: auto; }
.imcell .nm { display: block; }
.imcell .dim { color: #000; }
.imcell .src { color: #008000; }
.imcell .nm, .imcell .dim, .imcell .src {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------------------------------------------------------- groups -- */

.thread { border-bottom: 1px solid #e8eefa; padding: 9px 0; }
.thread .th-t { font-size: 14px; }
.thread .th-m { font-size: 11px; color: #767676; padding-top: 2px; }
.thread .th-body { display: none; padding: 10px 0 4px 14px; }
.thread.open .th-body { display: block; }
.post {
  border-left: 2px solid #c9d7f1;
  padding: 0 0 0 12px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.55;
}
.post .hdr {
  font: 12px "Lucida Console", Consolas, monospace;
  color: #444;
  white-space: pre-wrap;
  margin-bottom: 7px;
}
.post .hdr b { color: #000; }

/* ---------------------------------------------------------- froogle rows -- */

.prod { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #e8eefa; }
.prod .pth { flex: 0 0 96px; border: 1px solid #999; padding: 1px; background: #fff; }
.prod .pth svg { display: block; width: 100%; height: auto; }
.prod .pbody { flex: 1 1 auto; font-size: 13px; line-height: 1.5; }
.prod .price { font-weight: bold; color: #008000; font-size: 14px; }
.prod .store { font-size: 11px; color: #767676; }

/* --------------------------------------------------------------- newsish -- */

.news-cols { display: flex; gap: 26px; align-items: flex-start; }
.news-cols .nc-main { flex: 1 1 auto; min-width: 0; }
.news-cols .nc-side { flex: 0 0 218px; }
.story { margin-bottom: 18px; }
.story .st-t { font-size: 14px; line-height: 1.3; }
.story .st-src { font-size: 11px; color: #767676; padding: 1px 0 3px; }
.story .st-s { font-size: 12px; line-height: 1.45; color: #333; }
.story .st-rel { font-size: 11px; }
.sidebox { border: 1px solid #c9d7f1; padding: 7px 9px; margin-bottom: 14px; font-size: 11px; line-height: 1.6; }
.sidebox .sb-h { font-weight: bold; color: #7b0000; border-bottom: 1px solid #c9d7f1; padding-bottom: 2px; margin-bottom: 5px; font-size: 12px; }

@media (max-width: 700px) {
  .news-cols { display: block; }
  .news-cols .nc-side { width: auto; margin-top: 20px; }
}

/* ----------------------------------------------------------------- forms -- */

.formtable { border-collapse: collapse; font-size: 13px; }
.formtable td { padding: 4px 8px 4px 0; vertical-align: middle; }
.formtable .lbl { color: #000; white-space: nowrap; }
.formtable input[type=text] {
  width: 260px; height: 20px; padding: 1px 3px;
  font: 13px arial, sans-serif;
  border: 1px solid #7c7c7c; border-right-color: #d4d0c8; border-bottom-color: #d4d0c8;
}
.formtable select {
  font: 12px arial, sans-serif; height: 20px;
  border: 1px solid #7c7c7c; background: #fff;
}
.secbar {
  background: #e5ecf9;
  border-top: 1px solid #3366cc;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: bold;
  margin: 22px 0 10px;
}
.savebar { padding: 10px 8px; text-align: right; background: #e5ecf9; border-top: 1px solid #3366cc; margin-top: 20px; }

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

.foot {
  text-align: center;
  font-size: 12px;
  padding: 34px 0 12px;
  color: #000;
}
.foot .fl { padding-bottom: 8px; }
.foot .fl a { margin: 0 8px; }
.foot .cp { color: #767676; font-size: 11px; }
.foot .rule { height: 1px; background: #e8eefa; margin: 0 auto 12px; }

/* ---------------------------------------------------------------- narrow --
   The 2004 layout assumed 800x600. On a phone it collapses to one column but
   keeps every element, in order. These rules are last on purpose — they must
   override the fixed widths above.
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .searchrow { height: auto; display: block; text-align: center; }
  .searchrow .side { position: static; margin: 8px auto 0; width: auto; }
  .searchrow .side a { display: inline-block; margin: 0 6px; }
  .q { width: 100%; }

  .logo { padding-top: 16px; }
  .logo .word { font-size: 46px; letter-spacing: -1px; }
  .logo .sub { font-size: 11px; }

  .tabs { padding: 12px 0 8px; font-size: 12px; }
  .tabs a, .tabs b { display: inline-block; margin: 2px 4px; }

  /* modules stack instead of sitting in a three-column table */
  .ph { padding: 6px; }
  .ph-cols, .ph-cols tbody, .ph-cols tr, .ph-cols td { display: block; width: auto; }
  .ph-cols > tbody > tr > td {
    border-left: 0;
    border-top: 1px solid #c9d7f1;
    padding: 12px 2px 0;
  }
  .ph-cols > tbody > tr > td:first-child { border-top: 0; padding-top: 0; }

  .res-head { flex-wrap: wrap; gap: 10px; padding-right: 6px; }
  .res-head .rh-mid { flex: 1 1 100%; }
  .res-head .rh-side { display: none; }
  .res-head .q { width: calc(100% - 90px); }

  .res-bar { display: block; }
  .res-bar .rb-r { display: block; padding-top: 2px; }

  .res-body { padding-left: 6px; padding-right: 6px; }
  .doc { padding-left: 6px; padding-right: 6px; }

  .imcell { width: 47%; }
  .prod .pth { flex: 0 0 72px; }
  .formtable input[type=text] { width: 100%; max-width: 260px; }
  .foot .fl a { display: inline-block; margin: 3px 6px; }
}

@media (max-width: 400px) {
  .logo .word { font-size: 34px; }
  .imcell { width: 100%; }
}

/* small helpers */
.gray { color: #767676; }
.green { color: #008000; }
.red { color: #cc0000; }
.mono { font-family: "Lucida Console", Consolas, monospace; font-size: 12px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
