/* style2.css - replaces style.css. rebuilt 2019, same look */

body {
  margin: 0;
  padding: 12px 4px;
  background: #063d1c url("img/bg_tile.png") repeat;
  font-family: "Times New Roman", Times, serif;
  color: #222;
}

.frame {
  max-width: 780px;
  margin: 0 auto;
  background: #fffdf0;
  border: 3px outset #8a8a6a;
}

/* ---------------- masthead ---------------- */
.masthead {
  background: #063d1c;
  text-align: center;
  padding: 10px 6px 6px 6px;
  border-bottom: 3px solid #daa520;
}
.masthead img { max-width: 100%; height: auto; }
.tagline {
  color: #ffe98a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  margin: 6px 0 0 0;
}
.tagline .www { color: #cfe8cf; font-style: italic; }

/* ---------------- ticker ---------------- */
/* marquee tag retired 2019; method from a css-tricks article */
.ticker {
  background: #032b13;
  color: #7dff9c;
  font-family: "Courier New", monospace;
  font-size: 12px;
  padding: 3px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid #daa520;
}
.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: tickerscroll 55s linear infinite;
}
@keyframes tickerscroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker span { animation: none; padding-left: 6px; white-space: normal; }
  .ticker { white-space: normal; }
  .blink { animation: none; }
}

/* ---------------- layout ---------------- */
.cols { display: flex; align-items: flex-start; }
.nav {
  flex: 0 0 148px;
  padding: 10px 6px;
  background: #eae7d0;
  border-right: 2px solid #b8b492;
  min-height: 400px;
}
.content { flex: 1 1 auto; padding: 12px 18px 20px 18px; min-width: 0; }
@media (max-width: 640px) {
  .cols { display: block; }
  .nav { min-height: 0; border-right: none; border-bottom: 2px solid #b8b492; }
  .nav a.navbtn { display: inline-block; width: auto; padding: 4px 8px; margin: 2px 1px; }
}

/* ---------------- navigation buttons ---------------- */
.nav .navhead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: #5a5636;
  letter-spacing: 1px;
  margin: 8px 0 3px 2px;
  text-transform: uppercase;
}
a.navbtn {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 11px;
  text-decoration: none;
  color: #ffe98a;
  background: #105c2c;
  border: 2px outset #2f8f52;
  padding: 4px 6px;
  margin: 3px 0;
}
a.navbtn:hover, a.navbtn:focus { background: #17753a; color: #ffffff; }
a.navbtn:active { border-style: inset; }
a.navbtn.here { background: #daa520; color: #063d1c; border-color: #ffe98a; }
.nav .soon {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: #8a8668;
  border: 2px dashed #b8b492;
  padding: 4px 6px;
  margin: 3px 0;
}

/* ---------------- general content ---------------- */
h1 { color: #063d1c; font-size: 26px; margin: 4px 0 10px 0; }
h2 { color: #105c2c; font-size: 19px; margin-top: 22px; }
h3 { color: #105c2c; font-size: 15px; }
a { color: #0000cc; }
a:visited { color: #551a8b; }
hr.fancy {
  border: none;
  height: 14px;
  background: url("img/hr_shamrock.png") center no-repeat;
  margin: 18px 0;
}
ul.sham { list-style: none; padding-left: 4px; }
ul.sham li {
  background: url("img/shamrock16.png") 0 1px no-repeat;
  padding-left: 22px;
  margin: 5px 0;
}
img.newbadge { vertical-align: middle; margin-left: 4px; }
.blink { animation: blinker 1.4s step-start infinite; }
@keyframes blinker { 50% { opacity: 0.25; } }

/* ---------------- boxes ---------------- */
.noticebox {
  border: 3px double #aa2222;
  background: #fff8dc;
  padding: 8px 12px;
  margin: 14px 0;
}
.noticebox b:first-child { color: #aa2222; }
.newsbox, .archivebox, .obsbox, .factbox {
  border: 2px ridge #b8b492;
  margin: 14px 0;
  padding: 0;
}
.boxtitle {
  background: #105c2c;
  color: #ffe98a;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12px;
  padding: 3px 8px;
  letter-spacing: 1px;
}
.boxbody { padding: 8px 12px; }
.obsbox .boxbody { font-family: "Courier New", monospace; font-size: 13px; }
.factbox .boxbody {
  /* comic sans kept from the old Did You Know box (2001) */
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 13px;
  background: #f2fbe8;
}

/* ---------------- tables ---------------- */
table.data {
  border-collapse: collapse;
  font-size: 14px;
  margin: 10px 0;
  width: 100%;
}
table.data th {
  background: #105c2c;
  color: #ffe98a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: left;
  padding: 4px 8px;
}
table.data td { border: 1px solid #b8b492; padding: 4px 8px; vertical-align: top; }
table.data tr:nth-child(even) td { background: #f5f2df; }
.scrollwrap { overflow-x: auto; }

/* case files */
.casefile dt {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 11px;
  color: #5a5636;
  text-transform: uppercase;
  margin-top: 10px;
}
.casefile dd { margin: 2px 0 0 0; }
.classif {
  font-family: "Courier New", monospace;
  font-size: 12px;
  background: #063d1c;
  color: #7dff9c;
  padding: 2px 6px;
}

/* correspondence */
.letter {
  border: 1px solid #b8b492;
  background: #fffef7;
  padding: 8px 14px;
  margin: 16px 0 4px 0;
}
.letter .from {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #5a5636;
  margin-bottom: 6px;
}
.reply {
  border-left: 4px solid #105c2c;
  background: #f2f0e0;
  padding: 6px 14px;
  margin: 0 0 16px 26px;
  font-size: 14px;
}
.reply .replyhead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #105c2c;
  font-weight: bold;
}

.guestbook td { font-size: 11px; background: #fffef7; }
#awards96 { visibility: hidden; }
.newslink { color: #0000cc; }

/* ---------------- footer ---------------- */
.footer {
  border-top: 3px solid #daa520;
  background: #eae7d0;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #4a4630;
  padding: 10px 8px 14px 8px;
}
.counter {
  font-family: "Courier New", monospace;
  background: #000;
  color: #33ff66;
  padding: 2px 5px;
  letter-spacing: 3px;
  border: 2px inset #666;
}
.footer .buttons img { margin: 4px 2px; image-rendering: pixelated; }

/* ---------------- print ---------------- */
@media print {
  body { background: #fff; }
  .frame { border: none; }
  .nav, .ticker { display: none; }
  body::after {
    content: "PRINTED FROM THE INTERNET \2014  www.leprechauns.uk";
    display: block;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    margin-top: 24px;
    border-top: 1px solid #000;
    padding-top: 6px;
  }
}
