/* kanafay.io — 1998 portal style. hard bevels, no gradients, no radius. */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }
body {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 14px;
  height: 100%;
  color: #000;
  background-color: #6b6b3a;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px);
  text-align: center;
}
a { color: #0000cc; }
a:hover { color: #cc0000; }
a:visited { color: #551a8b; }

.page { width: 800px; min-height: 100%; margin: 0 auto; text-align: left; background: #fff; border-left: 2px solid #000; border-right: 2px solid #000; display: flex; flex-direction: column; }

/* header */
.header { background: #ffcc00; border-bottom: 4px solid #000; padding: 10px 12px 8px; }
.header .logo { font-family: "Arial Black", Impact, Arial, sans-serif; font-size: 44px; letter-spacing: 2px; color: #000; text-shadow: 2px 2px 0 #fff; }
.header .logo a { color: #000; text-decoration: none; }
.header .tagline { font-size: 14px; color: #000; font-style: italic; }

/* columns: nav rail + content */
.cols { display: flex; align-items: stretch; flex: 1 1 auto; }
.rail { width: 180px; flex: 0 0 180px; background: #ffcc00; padding: 10px 8px; border-right: 2px solid #000; }
.rail a.nav {
  display: block; text-align: center; font-size: 16px; font-weight: bold; color: #000;
  text-decoration: none; margin: 4px 0; padding: 6px 2px;
  background: #ffcc00; border: 2px solid; border-color: #fff #808000 #808000 #fff;
}
.rail a.nav:hover { background: #ffe066; }
.rail a.nav:active { border-color: #808000 #fff #fff #808000; }
.content { flex: 1 1 auto; min-width: 0; }
.main { padding: 12px; }
.pagebody { padding: 12px; }

/* hard-bevel section bars */
h3.bar { background: #ffcc00; color: #000; font-size: 15px; font-weight: bold; letter-spacing: 1px; padding: 4px 8px; border: 2px solid; border-color: #fff #808000 #808000 #808000; margin: 12px 0 8px; }
h3.bar:first-child { margin-top: 0; }

.marquee { background: #000; color: #ffcc00; font-size: 14px; padding: 4px 8px; margin-bottom: 10px; border: 1px solid #808000; }

.feature { border: 2px solid #000; margin-bottom: 12px; }
.feature .shot { background: #111; color: #88ff88; font-family: "Courier New", monospace; font-size: 14px; height: 130px; line-height: 130px; text-align: center; border-bottom: 1px solid #000; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 2px); }
.feature .bd { padding: 10px; background: #f5f5f5; }
.feature .bd h4 { font-size: 17px; margin-bottom: 6px; }
.feature .bd p { margin: 6px 0; }
.feature .dl { display: inline-block; margin-top: 8px; background: #cc0000; color: #fff; font-weight: bold; text-decoration: none; font-size: 14px; padding: 5px 14px; border: 2px outset #ff8888; }
.blink { color: #cc0000; font-weight: bold; animation: blinker 1s steps(2, start) infinite; }
@keyframes blinker { to { visibility: hidden; } }

.dl-list { list-style: none; }
.dl-list li { margin: 6px 0; font-size: 14px; border-bottom: 1px dotted #ccc; padding-bottom: 5px; }
.dl-list .tag { display: inline-block; background: #ffcc00; color: #000; font-size: 11px; font-weight: bold; padding: 1px 6px; margin-right: 5px; border: 1px outset #808000; }

.newslist { list-style: none; font-size: 14px; }
.newslist li { margin: 6px 0; }
.newslist .date { color: #cc0000; font-weight: bold; margin-right: 5px; }

.counter { background: #000; border: 2px inset #444; padding: 6px 8px; margin-top: 14px; text-align: center; color: #ffcc00; font-size: 13px; }
.counter .digits { font-family: "Courier New", monospace; font-size: 26px; letter-spacing: 2px; color: #66ff66; }

.bottombar { text-align: center; padding: 14px 10px; border-top: 2px solid #000; }
.bottombar .badges img { display: inline-block; margin: 3px; image-rendering: pixelated; }
.bottombar .counter { display: inline-block; margin-top: 10px; }

.more { font-size: 13px; color: #666; }
.back { font-size: 14px; margin-top: 14px; }

/* contact form */
.inquiry-form { font-size: 15px; }
.inquiry-form p { margin: 10px 0; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 15px;
  border: 2px inset #fff;
  border-color: #808080 #fff #fff #808080;
  padding: 5px;
  background: #fff;
}
.inquiry-form input[type="text"], .inquiry-form input[type="email"] { width: 320px; }
.inquiry-form textarea { width: 100%; max-width: 520px; }
.inquiry-form img.captcha { border: 1px solid #000; vertical-align: middle; margin-right: 6px; }
.btn { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 15px; font-weight: bold; background: #c0c0c0; border: 2px outset #fff; border-color: #fff #808080 #808080 #808080; padding: 5px 20px; cursor: pointer; }
.btn:active { border-style: inset; }
.error { color: #cc0000; font-size: 14px; }
.message { background: #ffcc00; border: 2px solid #000; color: #000; padding: 10px 14px; margin: 14px 0; font-size: 15px; text-align: center; }

/* blog article */
.date { color: #666; font-size: 14px; }
.article-body { font-family: Verdana, Arial, sans-serif; font-size: 15px; line-height: 1.6; }
.article-body p { margin: 10px 0; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 { font-family: "Arial Black", Arial, sans-serif; color: #000; margin: 16px 0 8px; font-size: 17px; }
.article-body a { color: #0000cc; }
.article-body ul, .article-body ol { margin: 10px 0 10px 26px; }
.article-body li { margin: 4px 0; }
.article-body code { font-family: "Courier New", monospace; background: #f0f0e0; padding: 1px 5px; border: 1px solid #ccc; }
.article-body pre { font-family: "Courier New", monospace; background: #f0f0e0; border: 1px solid #ccc; padding: 10px; overflow-x: auto; margin: 12px 0; }
.article-body blockquote { border-left: 3px solid #808000; padding-left: 12px; color: #444; margin: 12px 0; }
.article-body hr { border: none; height: 2px; background: #000; margin: 16px 0; }
.article-body table { border-collapse: collapse; }
.article-body td, .article-body th { border: 1px solid #000; padding: 5px 8px; }
.article-body img { max-width: 100%; }

/* footer */
.footer { font-size: 13px; color: #ccc; text-align: center; padding: 14px 10px 100px; line-height: 1.8; background: #000; }
.footer a { color: #ffcc00; }

/* cookie consent */
#cookiebar { position: fixed; left: 0; right: 0; bottom: 0; background: #ffffcc; border-top: 2px solid #000; font-size: 14px; z-index: 999; }
#cookiebar .inner { max-width: 800px; margin: 0 auto; padding: 10px 14px; text-align: left; }
#cookiebar .ckbtn { font-size: 14px; font-weight: bold; padding: 3px 14px; cursor: pointer; margin-left: 8px; }
#cookiebar .ok { background: #ffcc00; border: 2px outset #fff; border-color: #fff #808000 #808000 #808000; }
#cookiebar .no { background: #c0c0c0; border: 2px outset #fff; border-color: #fff #808080 #808080 #808080; }
