/* ==========================================================================
   Annie's Home Page — Shared Base Stylesheet
   Preserves original FrontPage Express / Quirks-Mode visual presentation
   using modern, valid HTML5 + CSS.
   ========================================================================== */

:root {
  --page-bg: #ffffff;
  --page-text: #0080ff;
  --page-link: #10a352;
  --page-vlink: #10a352;
  --page-alink: #ffffff;
}

body {
  margin: 8px;
  background-color: var(--page-bg);
  color: var(--page-text);
}

body.bg-blush {
  background-color: #fff9fc;
}

body.bg-blush a:active {
  color: #f9fcff;
}

body.theme-featured {
  background-color: #ffffff;
  background-image: url('../images/wp_flor7.jpg');
  color: #0000a0;
}

body.theme-featured a:link,
body.theme-featured a:visited {
  color: #9259b7;
}

body.theme-featured a:active {
  color: #fff9fc;
}

body.theme-featured .text-navy,
body.theme-featured .text-navy a:link,
body.theme-featured .text-navy a:visited,
body.theme-featured a.text-navy:link,
body.theme-featured a.text-navy:visited {
  color: #000080;
  text-decoration-color: #9259b7;
}

body.theme-graphics {
  background-color: #ffffff;
  background-image: url('../images/sprbg3countrygraphicsbycamille.gif');
  color: #43adb6;
}

body.theme-graphics a:link,
body.theme-graphics a:visited {
  color: #0080c0;
}

body.theme-graphics a:active {
  color: #ffffff;
}

body.theme-graphics a.text-aqua:link,
body.theme-graphics a.text-aqua:visited {
  color: #43adb6;
  text-decoration-color: #0080c0;
}

body.theme-tips9 {
  background-color: #ffffff;
  background-image: url('../images/frndbg1agraphicgarden.gif');
  color: #0080ff;
}

body.theme-tips9 a:link,
body.theme-tips9 a:visited {
  color: #ff80c0;
}

body.theme-tips9 a:active {
  color: #e1ecf2;
}

body.theme-holiday {
  background-color: #ffffff;
  background-image: url('../images/grdbg1agraphicgarden.gif');
  color: #008080;
}

body.theme-holiday a:link,
body.theme-holiday a:visited {
  color: #0080c0;
}

body.theme-holiday a:active {
  color: #fffef2;
}

body.theme-email {
  background-color: #ffffff;
  background-image: url('../images/bowhrtbg.gif');
  color: #165cbc;
}

body.theme-email a:link,
body.theme-email a:visited {
  color: #c93657;
}

body.theme-email a:active {
  color: #fde6c6;
}

body.theme-send2 {
  background-color: #ffffff;
  background-image: url('../images/wp_flor7.jpg');
  color: #000097;
}

body.theme-send2 a:link,
body.theme-send2 a:visited {
  color: #935bb7;
}

body.theme-send2 a:active {
  color: #fff9fc;
}

/* Match Quirks-Mode first-paragraph top margin collapse inside <body> */
body > p:first-child {
  margin-top: 0;
}

a:link {
  color: var(--page-link);
}

a:visited {
  color: var(--page-vlink);
}

a:active {
  color: var(--page-alink);
}

/* Match Quirks-Mode image-only line box (no extra Standards-Mode descender gap) */
img {
  border: 0;
  vertical-align: bottom;
}

/* Text alignment & typography helpers matching legacy HTML <font> sizes */
.center {
  text-align: center;
}

div.center table {
  margin-left: auto;
  margin-right: auto;
}

.img-only {
  line-height: 0;
}

.btn-grid {
  display: inline-block;
  line-height: 0;
}

.btn-grid img {
  margin-bottom: 3px;
}

.btn-grid-tight {
  display: inline-block;
  line-height: 0;
  font-size: 0;
}

.btn-grid-tight img {
  margin-bottom: 2px;
}

.valign-middle {
  vertical-align: middle;
}

.hspace-15 {
  margin-left: 15px;
  margin-right: 15px;
}

.comic {
  font-family: "Comic Sans MS", cursive;
}

.tahoma {
  font-family: Tahoma, sans-serif;
}

.sz-1 {
  font-size: x-small;
}

.sz-2 {
  font-size: small;
}

.sz-3 {
  font-size: medium;
}

.sz-4 {
  font-size: large;
}

.sz-5 {
  font-size: x-large;
}

.sz-6 {
  font-size: xx-large;
}

.left {
  text-align: left;
}

.bold {
  font-weight: bold;
}

.normal {
  font-weight: normal;
}

/* Color utilities — preserve original green (#10A352) underline when legacy
   HTML nested <font color="..."> inside <a> on a link="#10A352" page */
.text-blue {
  color: #0080ff;
}

.text-green {
  color: #10a352;
}

.text-maroon,
.text-maroon a:link,
.text-maroon a:visited {
  color: #800000;
  text-decoration-color: #10a352;
}

.text-navy,
.text-navy a:link,
.text-navy a:visited {
  color: #000080;
  text-decoration-color: #10a352;
}

.text-black,
.text-black a:link,
.text-black a:visited,
a.text-black:link,
a.text-black:visited {
  color: #000000;
  text-decoration-color: #10a352;
}

.text-teal {
  color: #0b9173;
}

.text-purple {
  color: #b075bd;
}

.text-violet {
  color: #9259b7;
}

.text-violet-alt {
  color: #935bb7;
}

.text-pink {
  color: #ff80c0;
}

.text-ocean {
  color: #0080c0;
}

.text-aqua {
  color: #43adb6;
}

.text-slate-teal {
  color: #408080;
}

.text-rose {
  color: #c93657;
}

.text-cobalt {
  color: #165cbc;
}

.text-royal {
  color: #003399;
}

/* Date widget (replaces legacy document.write table) */
.date-widget {
  width: 100px;
  min-height: 61px;
  margin: 0 auto;
  display: table;
  text-align: center;
  background-image: url('../images/heart_splay.gif');
  font-family: Tahoma, sans-serif;
  font-size: x-small;
  color: #000000;
}

.date-widget-inner {
  display: table-cell;
  vertical-align: middle;
  padding: 1px;
}

.date-credit {
  text-align: center;
  margin: 11px 0 15px 0;
  font-size: x-small;
}

/* Legacy green-bordered navigation table (uniform #10A352 borders matching
   bordercolor="#10A352" bordercolordark="#10A352" bordercolorlight="#10A352") */
.nav-box-wrap {
  text-align: center;
}

.nav-box {
  margin: 0 auto;
  background-color: #eef9f7;
  border-collapse: separate;
  border-spacing: 2px;
  border: 2px solid #10a352;
}

.nav-box.bg-white {
  background-color: #ffffff;
}

.nav-box.theme-lavender {
  background-color: #fff9fc;
  border-color: #a77ac5;
}

.nav-box.theme-lavender td {
  border-color: #a77ac5;
}

.nav-box.theme-teal-box {
  background-color: #ffffff;
  border-color: #43adb6;
}

.nav-box.theme-teal-box td {
  border-color: #43adb6;
}

.nav-box.theme-ice-pink {
  background-color: #e1ecf2;
  border-color: #ff80c0;
}

.nav-box.theme-ice-pink td {
  border-color: #ff80c0;
}

.nav-box.theme-darkteal {
  background-color: #eff8f8;
  border-color: #008080;
}

.nav-box.theme-darkteal td {
  border-color: #008080;
}

.nav-box.theme-rose-peach {
  background-color: #fde6c6;
  border-color: #c93657;
}

.nav-box.theme-rose-peach td {
  border-color: #c93657;
}

/* Full-width framed content tables (preserving Quirks-Mode outer <p> collapse) */
.content-box {
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 2px;
  border: 2px solid #43adb6;
  background-color: #ffffff;
}

.content-box td {
  padding: 2px;
  border: 1px solid #43adb6;
}

.content-box.theme-ice-pink {
  background-color: #e1ecf2;
  border-color: #ff80c0;
}

.content-box.theme-ice-pink td {
  border-color: #ff80c0;
}

.content-box td > p:first-child,
.panel-box td > p:first-child {
  margin-top: 0;
}

.content-box td > p:last-child,
.panel-box td > p:last-child {
  margin-bottom: 0;
}

/* Borderless colored content panels (replacing border="0" cellpadding="0" cellspacing="0" tables) */
.panel-box {
  margin: 0 auto;
  border-collapse: collapse;
  border: 0;
}

.panel-box td {
  padding: 0;
  border: 0;
}

.bg-ice {
  background-color: #e1ecf2;
}

.bg-mint-pale {
  background-color: #eff8f8;
}

.bg-peach {
  background-color: #fde6c6;
}

.w-55 { width: 55%; }
.w-80 { width: 80%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-91 { width: 91%; }
.w-97 { width: 97%; }

/* Converter support utilities (legacy table spacing, monospace, underline, CSS marquee) */
.mono {
  font-family: monospace;
}

.underline {
  text-decoration: underline;
}

.heading-h2 { font-size: 1.5em; font-weight: bold; margin: 0.83em 0; }
.heading-h3 { font-size: 1.17em; font-weight: bold; margin: 1em 0; }
.heading-h4 { font-size: 1em; font-weight: bold; margin: 1.33em 0; }
.heading-h5 { font-size: 0.83em; font-weight: bold; margin: 1.67em 0; }
.heading-h6 { font-size: 0.67em; font-weight: bold; margin: 2.33em 0; }

.legacy-table {
  margin: 0 auto;
  border-collapse: separate;
}

.legacy-table td > p:first-child,
.legacy-table th > p:first-child {
  margin-top: 0;
}

.legacy-table td > p:last-child,
.legacy-table th > p:last-child {
  margin-bottom: 0;
}

.marquee-wrap {
  width: 90%;
  margin: 0.5em auto;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-block;
  padding-left: 100%;
  animation: annie-marquee 18s linear infinite;
}

.marquee-inner h3 {
  display: inline;
  margin: 0;
}

@keyframes annie-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.nav-box td {
  padding: 2px;
  border: 1px solid #10a352;
  text-align: center;
  vertical-align: middle;
}

/* Match Quirks-Mode zero vertical margins on <p> inside <td> */
.nav-box td p {
  margin: 0;
}

/* Counter wrapper spacing */
.counter-wrap {
  text-align: center;
  line-height: 0;
  margin: 16px 0;
}
