/* ============================================================
   TheSeaShanty.net — style.css
   Desktop layout: identical to original second style.css
   Mobile overrides: max-width media queries only
   ============================================================ */


/* ── RESET ────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ── BODY ─────────────────────────────────────────────────── */

body {
  color: #000000;
  background-color: #153244;
  background-attachment: fixed;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 12px;
  margin: 0;
  padding: 0;
}
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* ── CONTAINER ────────────────────────────────────────────── */

#container {
  width: 800px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}


/* ── HEADER ───────────────────────────────────────────────── */

#header {
  width: 800px;
  height: 129px;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
}

#header img {
  display: block;
  width: 800px;
  height: 129px;
}


/* ── MID CANVAS ───────────────────────────────────────────── */

#mid-graph {
  width: 800px;
  background: #ededed url("images/bg_canvas_mid3.jpg") repeat-y;
  margin: 0;
  text-align: left;
  display: block;
}


/* ── BOTTOM GRAPHIC ───────────────────────────────────────── */

#bottomgraph {
  width: 800px;
  height: 43px;
  background: #ededed url("images/bg_canvas_btm3.jpg") no-repeat top left;
  margin: 0;
  padding: 0;
  display: block;
}


/* ── MAIN ─────────────────────────────────────────────────── */

#main {
  padding: 8px;
  margin-left: 3px;
  margin-right: 3px;
 }


/* ── LEFT NAV ─────────────────────────────────────────────── */

#main #leftnav {
  color: #612e00;
  background-color: #ededed;
  width: 160px;
  float: left;
  padding: 3px;
  margin-left: 0;
  margin-right: 5px;
  vertical-align: top;
}

.linkbox {
  color: #612e00;
  background-color: #ededed;
  padding: 3px;
  font-weight: bold;
  font-size: 11px;
  text-align: center;
  margin-left: 5px;
  margin-right: 5px;
  vertical-align: top;
}


/* ── LEGACY LAYOUT IDS ────────────────────────────────────── */

#main #toprightbox {
  float: right;
  width: 336px;
  font-size: 12px;
  margin-right: 15px;
}

#main #leftbox {
  float: left;
  width: 336px;
  font-size: 12px;
  margin-left: 15px;
}

#main #rightsky {
  float: right;
  width: 120px;
  font-size: 12px;
  margin-right: 0;
}

#main #leftsky {
  float: left;
  width: 160px;
  font-size: 12px;
  margin-right: 15px;
}

#main #indexleft {
  float: left;
  width: 39%;
  margin-left: 5px;
  font-size: 12px;
}

#main #indexright {
  float: right;
  width: 29%;
  margin-right: 15px;
  font-size: 12px;
}

#main #indexcenter {
  margin: 0 30% 0 40%;
  font-size: 12px;
}


/* ── TYPOGRAPHY ───────────────────────────────────────────── */

p {
  text-indent: 30pt;
  margin: 3px;
  padding: 1px;
  font-size: 14px;
}

li {
  font-size: 14px;
}

h1 {
  color: #333333;
  font-size: 18px;
}

h1.topic {
  font-size: 16px;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 14px;
}

img {
  margin: 2px;
}

span.dropcap {
  font-size: 180%;
}

blockquote {
  margin: 5px 20px;
}

blockquote p {
  text-indent: 0;
}

dl {
  margin: 3px;
}

dt {
  font-size: 14px;
  margin-top: 6px;
}

dd {
  font-size: 14px;
  margin: 2px 0 4px 20px;
}


/* ── UTILITY CLASSES ──────────────────────────────────────── */

.lyrics {
  font-size: 11px;
  text-indent: 0;
  font-weight: bold;
}

.small {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 10px;
}

.smallquote {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  font-style: italic;
  margin: 5px 20px;
}

.smallquote p {
  text-indent: 0;
  font-size: 11px;
}

.medium {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.fltlft {
  float: left;
  margin: 3px;
}

.fltrt {
  float: right;
  margin: 3px;
}

.footer {
  font-family: "Times New Roman", Times, serif;
  font-size: 10px;
  color: #000000;
}


/* ── LINKS ────────────────────────────────────────────────── */

a:visited {
  text-decoration: underline;
  color: #0000ff;
}

a:hover {
  color: #c00000;
  text-decoration: underline;
}

a:active {
  color: #0000ff;
}


/* ── FOOTER ───────────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 6px;
  clear: both;
}

footer p {
  text-indent: 0;
  font-size: 10px;
  margin: 2px 0;
}


/* ── IFRAMES ──────────────────────────────────────────────── */

iframe {
  display: block;
  max-width: 100%;
  margin: 8px 0;
}
/* ── FIGURE IMAGE CLASSES ─────────────────────────────────── */

figure.img-left {
  float: left;
  margin: 0 20px 14px 0;
  clear: left;
  text-align: center;
}

figure.img-right {
  float: right;
  margin: 0 0 14px 20px;
  clear: right;
  text-align: center;
}

figure.img-left img,
figure.img-right img {
  display: block;
  width: 220px;
  height: auto;
}

figure.img-wide img {
  display: block;
  width: 380px;
  height: auto;
}

figure figcaption {
  font-size: 11px;
  font-style: italic;
  color: #444;
  margin-top: 4px;
  max-width: 100%;
}

/* ============================================================
   MOBILE OVERRIDES
   Only apply on screens narrower than 800px.
   Desktop layout above is completely untouched.
   ============================================================ */

@media (max-width: 600px) {

  #container,
  #header,
  #mid-graph,
  #bottomgraph {
    width: 100%;
  }

  #header {
    height: auto;
  }

  #header img {
    width: 100%;
    height: auto;
  }

  #bottomgraph {
    background-size: 100% 43px;
  }

  #mid-graph {
    background-size: 100% auto;
  }

  #main #leftnav {
    float: none;
    width: 100%;
    margin: 0 0 8px 0;
  }

  .linkbox a {
    display: inline-block;
    padding: 3px 6px;
  }

  .fltlft,
  .fltrt {
    float: none;
    display: block;
    margin: 6px auto;
    max-width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  iframe {
    width: 100%;
  }

figure.img-left,
  figure.img-right {
    float: none;
    display: block;
    margin: 0 auto 20px;
    width: 90%;
    max-width: 360px;
  }

  figure.img-left img,
  figure.img-right img,
  figure.img-wide img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {

  h1 { font-size: 16px; }
  h2 { font-size: 14px; }
  h3 { font-size: 13px; }
  p  { font-size: 13px; text-indent: 15pt; }
  li { font-size: 13px; }
  .lyrics     { font-size: 12px; }
  .smallquote { font-size: 11px; }

}
