/* ============================================================
   THATHERTON FUELS - MASTER STYLESHEET
   Created 2003 by Dwayne @ Heimlich County Web Werks
   DO NOT EDIT WITHOUT CALLING DWAYNE FIRST
   ============================================================ */

body {
  background-color: #3a2a1c;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.18) 0 6px, rgba(255,255,255,.03) 6px 12px);
  margin: 0;
  padding: 12px 0 40px 0;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 12px;
  color: #1a1a1a;
}

a { color: #0000cc; }
a:visited { color: #660099; }
a:hover { color: #c8102e; }

.wrapper {
  width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border: 4px ridge #d4a017;
}

/* ---------- HEADER ---------- */
.masthead {
  position: relative;
  overflow: hidden;
  background: #111111;
  background-image: linear-gradient(180deg, #3d1004 0%, #a01020 45%, #6b0d16 60%, #140302 100%);
  border-bottom: 3px double #d4a017;
  padding: 14px 16px 10px 16px;
}

.flame {
  position: absolute;
  bottom: -30px;
  width: 90px;
  height: 110px;
  background: radial-gradient(ellipse at 50% 90%, #ffe08a 0%, #ffb300 35%, #e2571e 60%, rgba(200,16,46,0) 75%);
  filter: blur(6px);
  opacity: .75;
  animation: flicker 1.4s infinite alternate ease-in-out;
}
.flame.f1 { left: 4px; }
.flame.f2 { right: 4px; animation-delay: .5s; }

@keyframes flicker {
  from { transform: scaleY(1) scaleX(1); opacity: .55; }
  to   { transform: scaleY(1.18) scaleX(.9); opacity: .9; }
}

.logo {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: 40px;
  letter-spacing: -1px;
  line-height: .95;
  color: #ffd24a;
  text-shadow: 2px 2px 0 #4a0000, 4px 4px 0 rgba(0,0,0,.55);
  text-transform: uppercase;
}
.logo .fuels { color: #ffffff; }
.logo a { color: inherit; text-decoration: none; }

.tagline {
  position: relative;
  z-index: 2;
  margin: 4px 0 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  color: #ffe9b0;
}

.phonebug {
  position: absolute;
  right: 14px;
  top: 16px;
  z-index: 3;
  text-align: right;
  color: #fff;
}
.phonebug .num {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 19px;
  color: #ffd24a;
  text-shadow: 1px 1px 0 #000;
}
.phonebug .lbl { font-size: 9px; letter-spacing: 1px; color: #ffe9b0; }

/* ---------- TICKER ---------- */
.ticker {
  background: #ffd24a;
  border-bottom: 2px solid #8a6200;
  overflow: hidden;
  white-space: nowrap;
  padding: 4px 0;
  font-size: 11px;
  font-weight: bold;
  color: #6b0d16;
}
.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: slide 26s linear infinite;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ---------- LAYOUT ---------- */
.layout { display: table; width: 100%; border-collapse: collapse; }
.col { display: table-cell; vertical-align: top; }

.nav {
  width: 158px;
  background: #efece2;
  border-right: 2px groove #c9c2ac;
  padding: 10px 8px;
}
.nav h3 {
  margin: 0 0 8px 0;
  font-size: 10px;
  letter-spacing: 2px;
  color: #6b0d16;
  border-bottom: 1px solid #c9c2ac;
  padding-bottom: 4px;
}
.nav a {
  display: block;
  margin-bottom: 5px;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #26160c;
  background: linear-gradient(180deg, #ffffff 0%, #ddd6c4 100%);
  border: 2px outset #e8e2d2;
}
.nav a:hover { background: linear-gradient(180deg, #ffe9b0 0%, #f2c14e 100%); color: #6b0d16; }
.nav a.here {
  border-style: inset;
  background: linear-gradient(180deg, #c8102e 0%, #8a0a20 100%);
  color: #ffd24a;
}

.main { padding: 14px 16px 20px 16px; }
.rail {
  width: 152px;
  padding: 12px 10px;
  background: #fbf6e4;
  border-left: 2px groove #c9c2ac;
}

/* ---------- CONTENT TYPE ---------- */
h1.pagetitle {
  margin: 0 0 4px 0;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 23px;
  color: #c8102e;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #e8dcc0;
}
.deck {
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 3px double #d4a017;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: #4a3a24;
}
h2 {
  margin: 20px 0 6px 0;
  font-size: 14px;
  color: #6b0d16;
  border-left: 6px solid #d4a017;
  padding-left: 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
h3 { margin: 14px 0 4px 0; font-size: 12px; color: #26160c; }
p { line-height: 1.65; margin: 0 0 11px 0; }
ul { margin: 0 0 12px 0; padding-left: 20px; line-height: 1.7; }
li { margin-bottom: 3px; }

sup.fn { color: #c8102e; font-weight: bold; cursor: help; }

.finebox {
  margin-top: 26px;
  padding: 9px 11px;
  background: #f4f2ec;
  border-top: 1px solid #b9b09a;
}
.fine {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  line-height: 1.5;
  color: #5a5348;
  margin: 0 0 5px 0;
}
.fine b { color: #7a3a1a; }

/* ---------- BOXES ---------- */
.panel {
  border: 2px solid #d4a017;
  background: #fffdf5;
  padding: 11px 13px;
  margin: 0 0 14px 0;
}
.panel.hot { border-color: #c8102e; background: #fff5f5; }

.starburst {
  background: radial-gradient(circle at 50% 50%, #ffd24a 0%, #f2a007 70%);
  border: 3px double #8a0a20;
  color: #6b0d16;
  text-align: center;
  padding: 10px 6px;
  margin-bottom: 12px;
  transform: rotate(-2deg);
}
.starburst .big {
  display: block;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 21px;
  line-height: 1;
}
.starburst .small { font-size: 9px; display: block; margin-top: 4px; }

.rail h4 {
  margin: 0 0 6px 0;
  font-size: 10px;
  letter-spacing: 1px;
  color: #6b0d16;
  border-bottom: 1px solid #d8cfae;
  padding-bottom: 3px;
}
.rail p { font-size: 10px; line-height: 1.5; }
.blink { animation: blink 1.1s steps(2, start) infinite; color: #c8102e; font-weight: bold; }
@keyframes blink { to { visibility: hidden; } }

.quote {
  border-left: 4px solid #d4a017;
  padding: 6px 0 6px 10px;
  margin: 0 0 12px 0;
  font-family: Georgia, serif;
  font-style: italic;
  color: #3a2c1a;
}
.quote cite { display: block; font-style: normal; font-size: 10px; color: #7a705c; margin-top: 4px; }

/* ---------- TABLES ---------- */
table.data {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  font-size: 11px;
}
table.data th {
  background: linear-gradient(180deg, #6b0d16 0%, #3d0409 100%);
  color: #ffd24a;
  text-align: left;
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 1px;
}
table.data td {
  border-bottom: 1px solid #ddd6c4;
  padding: 6px 8px;
  vertical-align: top;
}
table.data tr:nth-child(even) td { background: #faf7ee; }

/* ---------- FORMS ---------- */
label { display: block; font-size: 11px; font-weight: bold; margin-bottom: 3px; color: #3a2c1a; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  margin-bottom: 10px;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  border: 2px inset #cfc7b2;
  background: #fffef8;
}
.btn {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 13px;
  letter-spacing: .5px;
  color: #4a0000;
  background: linear-gradient(180deg, #ffd24a 0%, #e39a06 100%);
  border: 3px outset #ffe08a;
  padding: 7px 16px;
  cursor: pointer;
  text-transform: uppercase;
}
.btn:active { border-style: inset; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #0000cc;
  outline-offset: 1px;
}
.result {
  margin-top: 12px;
  padding: 10px 12px;
  border: 2px dashed #007a33;
  background: #f2fbf4;
  font-size: 12px;
}
.result .headline { font-weight: bold; color: #007a33; display: block; margin-bottom: 5px; }
.err { color: #c8102e; font-weight: bold; font-size: 11px; }

/* ---------- GRID ---------- */
.grid { display: table; width: 100%; border-collapse: separate; border-spacing: 8px 0; margin-left: -8px; }
.grid .cell { display: table-cell; width: 33%; vertical-align: top; }
.card { border: 2px groove #ddd6c4; padding: 9px; background: #fffdf5; height: 100%; }
.card h3 { margin-top: 0; color: #6b0d16; }
.card .price { font-family: "Arial Black", Impact, sans-serif; color: #c8102e; font-size: 15px; }
.swatch { height: 58px; border: 1px solid #b9b09a; margin-bottom: 7px; }

/* ---------- FOOTER ---------- */
.footer {
  clear: both;
  background: #26160c;
  color: #d8cfae;
  text-align: center;
  padding: 12px 16px 16px 16px;
  font-size: 10px;
  line-height: 1.7;
  border-top: 3px double #d4a017;
}
.footer a { color: #ffd24a; }
.badges { margin-bottom: 8px; }
.badge {
  display: inline-block;
  border: 1px solid #7a705c;
  padding: 3px 7px;
  margin: 2px;
  font-size: 9px;
  color: #efe6cc;
  background: #3a2a1c;
}
.counter {
  display: inline-block;
  font-family: "Courier New", monospace;
  background: #000;
  color: #33ff33;
  border: 2px inset #555;
  padding: 2px 6px;
  letter-spacing: 3px;
}

/* mobile-only element, hidden on the real site */
.mobilebar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker span, .flame, .blink { animation: none; }
  .ticker span { padding-left: 0; }
}

/* ============================================================
   MOBILE PATCH — added 2015 per M.F.'s request after he got
   the new phone. Just makes it fit, don't touch anything above.
   TODO: redo whole site someday
   ============================================================ */
@media screen and (max-width: 720px) {
  body { padding: 0 0 64px 0; }
  .wrapper { width: 100% !important; border: none !important; }
  .layout, .col, .grid, .grid .cell { display: block !important; width: auto !important; }
  .nav { width: auto !important; border-right: none; border-bottom: 2px groove #c9c2ac; }
  .nav a { display: inline-block; width: 46%; margin: 2px 1%; box-sizing: border-box; }
  .rail { border-left: none; border-top: 2px groove #c9c2ac; }
  .grid .cell { margin-bottom: 8px; }
  .logo { font-size: 27px; }
  .phonebug { display: none; }
  .masthead { padding-bottom: 12px; }

  /* new flat style, matches the app */
  .mobilebar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 99;
    background: #C8102E;
    padding: 11px 16px;
    text-align: center;
    box-shadow: 0 -2px 14px rgba(0,0,0,.35);
  }
  .mobilebar a {
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .3px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.14);
    border-radius: 4px;
    padding: 10px;
  }
}
