/* ==========================================================================
   skellig.css — stylesheet for douglasniedt.com/skellig.html
   Extracted from the page's inline <style> blocks and consolidated.
   Upload to: /css/skellig.css
   ========================================================================== */

/* --- Web fonts --- */

/* Capriola: latin-ext */
@font-face {
  font-family: 'Capriola';
  font-style: normal;
  font-weight: 400;
  src: local('Capriola Regular'), local('Capriola-Regular'), url(https://fonts.gstatic.com/s/capriola/v4/MCXNg459ZtebBVYIDxweyhTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* Capriola: latin */
@font-face {
  font-family: 'Capriola';
  font-style: normal;
  font-weight: 400;
  src: local('Capriola Regular'), local('Capriola-Regular'), url(https://fonts.gstatic.com/s/capriola/v4/1uu0rRDB9aBBIKvbF1Q_1PesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* Numans: latin */
@font-face {
  font-family: 'Numans';
  font-style: normal;
  font-weight: 400;
  src: local('Numans'), local('Numans-Regular'), url(https://fonts.gstatic.com/s/numans/v6/GE2z0KRlbJSzANt08q-9bg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* Strait: latin */
@font-face {
  font-family: 'Strait';
  font-style: normal;
  font-weight: 400;
  src: local('Strait'), local('Strait-Regular'), url(https://fonts.gstatic.com/s/strait/v4/LimB8Qw7LXxhgcZqZA4MPA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* --- Site base --- */

body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  text-align: center;
  min-width: 1046px;
}

a:link {
  color: blue;
  text-decoration: none;
}
a:visited { color: blue; }
a:hover, a:active { color: red; }

p {
  margin-left: 70px;
  margin-right: 60px;
  text-align: left;
  line-height: 1.5;
  font-family: 'Strait', sans-serif;
}

h1 {
  font-size: 275%;
  font-weight: normal;
  font-family: 'Capriola', sans-serif;
  color: #cc0000;
}

h2 {
  font-size: 175%;
  font-family: Arial, sans-serif;
  color: black;
  text-align: left;
}

h3 {
  font-size: 130%;
  font-weight: normal;
  font-family: 'Numans', sans-serif;
  color: gray;
}

#centerwrapper {
  text-align: left;
  width: 975px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Primary navigation bar --- */

#nav {
  width: 975px;
  float: left;
  margin: 13px 0 16px 0;
  padding: 0;
  list-style: none;
  background-color: #666666;
  border-top: 1px solid #666666;
  border-bottom: 1px solid #666666;
}

#nav li { float: left; }

#nav li a {
  display: block;
  padding: 8px 19px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  color: #ffffff;
  border-right: 1px solid #666666;
}

#nav li a:hover {
  color: #ffffff;
  background-color: #333333;
}

/* --- Secondary navigation bar --- */

#nav1 {
  width: 975px;
  float: left;
  margin: 0 0 3em 40px;
  padding: 0;
  list-style: none;
  background-color: #f2f2f2;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
}

#nav1 li { float: left; }

#nav1 li a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 70%;
  color: #000000;
  border-right: 1px solid #f2f2f2;
}

#nav1 li a:hover {
  color: #c00;
  background-color: #ffffff;
}

/* --- Content boxes --- */

.myBoxes {
  padding: 0 10px 10px 20px;
  background: #ffffff; /* fallback */
  background: linear-gradient(to bottom, #ffffff 0%, #fdfdfd 75%, #f7f7f7 100%);
  box-shadow: 0 1px 0 rgba(50, 50, 50, 0.5);
  border: 1px solid #CDCDCD;
  border-radius: 5px;
}

.myBoxesWhiteBackground,
.myBoxesGrayBackground {
  padding: 10px;
  width: 450px;
  height: 200px;
  box-shadow: 0 1px 0 rgba(50, 50, 50, 0.5);
  border: 1px solid #CDCDCD;
  border-radius: 5px;
}

.myBoxesWhiteBackground { background: #ffffff; }
.myBoxesGrayBackground  { background: #f8f8f8; }

/* --- Audio player (audio.js) --- */

.audiojs { width: 100%; }
.audiojs .scrubber { width: 80%; }

.track-details {
  clear: both;
  height: 20px;
  width: 100%;
  padding: 1px 6px;
  background: white;
  color: #222;
  font-family: arial;
  font-size: 11px;
  line-height: 20px;
  overflow-x: hidden;
}

.track-details em {
  font-style: normal;
  color: #999;
}

/* ==========================================================================
   Mobile / narrow screens
   ========================================================================== */

@media screen and (max-width: 1000px) {

  * {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body, #nav, #nav1, #content, iframe, #centerwrapper,
  .myBoxesGrayBackground, .myBoxesWhiteBackground {
    box-sizing: border-box;
    max-width: 100%;
    width: 100% !important;
    min-width: 100% !important;
  }

  #centerwrapper {
    width: 90% !important;
    min-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #nav { margin-left: 0 !important; }
  #nav li { text-align: center; }
  #nav li, #nav1 li { margin-top: 10px; margin-bottom: 10px; }
  #nav li a, #nav1 li a { font-size: 14px; }

  #nav1 li a {
    display: block;
    text-align: center;
  }

  p {
    width: 100%;
    display: block;
    float: none;
  }

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

  h1 { font-size: 11vw; }

  #content, .myBoxesGrayBackground, .myBoxesWhiteBackground {
    margin-top: 10px !important;
    height: auto !important;
  }

  .myBoxesGrayBackground, .myBoxesWhiteBackground {
    padding: 10px 15px 15px !important;
  }

  .icon-image {
    width: 15%;
    float: right !important;
  }

  .hide-on-mobile { display: none !important; }

  /* audio.js player on small screens */
  .audiojs .play-pause,
  .audiojs .scrubber,
  .audiojs .time {
    float: left !important;
  }
}
