@font-face {
    font-family: 'IBM Courier';
    src: url('/themes/stctp/fonts/IBM-Courier.woff2') format('woff2'),
         url('/themes/stctp/fonts/IBM-Courier.woff') format('woff'),
         url('/themes/stctp/fonts/IBM-Courier.otf') format('opentype'),
         url('/themes/stctp/fonts/IBM-Courier.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'IBM Courier';
    src: url('/themes/stctp/fonts/IBM-Courier-Bold.woff2') format('woff2'),
         url('/themes/stctp/fonts/IBM-Courier-Bold.woff') format('woff'),
         url('/themes/stctp/fonts/IBM-Courier-Bold.otf') format('opentype'),
         url('/themes/stctp/fonts/IBM-Courier-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'IBM Courier';
    src: url('/themes/stctp/fonts/IBM-Courier-Italic.woff2') format('woff2'),
         url('/themes/stctp/fonts/IBM-Courier-Italic.woff') format('woff'),
         url('/themes/stctp/fonts/IBM-Courier-Italic.otf') format('opentype'),
         url('/themes/stctp/fonts/IBM-Courier-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'IBM Courier';
    src: url('/themes/stctp/fonts/IBM-Courier-Bold-Italic.woff2') format('woff2'),
         url('/themes/stctp/fonts/IBM-Courier-Bold-Italic.woff') format('woff'),
         url('/themes/stctp/fonts/IBM-Courier-Bold-Italic.otf') format('opentype'),
         url('/themes/stctp/fonts/IBM-Courier-Bold-Italic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Modula Sans Black';
    src: url('/themes/stctp/fonts/Modula-Sans-Black.ttf') format('truetype');
}
@font-face {
    font-family: 'Officina Sans Std';
    src: url('/themes/stctp/fonts/Officina-Sans-Std-Bold.otf') format('opentype');
    font-weight: bold;
}

* {
  box-sizing: border-box;
  font-family: 'Officina Sans Std', sans-serif;
}

html, body {
  height: 100%;
  font-size: 24px;
  margin: 0px;
}

html {
  background-image: url('./images/background.jpg');
  background-position: top center;
  background-repeat: repeat;
  background-size: 25%;
}

body {
  height: auto;
  margin: 0 auto;
  padding:  0px 0px 1rem;
  background-color: rgba(255,180,0,0.5);
}

img {
  max-width: 100%;
}

h1, h1 *, h1::before, h1::after,
h2, h2 *, h2::before, h2::after,
h3, h3 *, h3::before, h3::after,
h4, h4 *, h4::before, h4::after,
h5, h5 *, h5::before, h5::after,
h6, h6 *, h6::before, h6::after {
  font-family: 'IBM Courier','Courier New','Courier',serif;
  font-style: italic;
  font-weight: 300;
  margin: 0 0 0.5em 0;
}

h1 {
  font-size: 2.2rem;
}

h1#sitetitle {
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  top: -9999px;
  left: -9999px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
}

h3, h3 > a {
  font-family: 'Modula Sans Black', sans-serif;
  font-style: normal;
  text-decoration: none;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1.1rem;
}

body > div#content {
  position: relative;
  outline: solid 0.1em black;
  max-width: min(calc(100% - 3em), 960px);
  margin: 0 auto;
  background-color: white;
  background-image: url('/themes/stctp/images/paper.jpg');
  background-size: 128px 128px;
  background-repeat: repeat;
}

div#content::before {
  pointer-events: none;
  background-size: cover;
  background-position: 50% calc(50% - 5em);
  position: absolute;
  z-index: 3;
  top: 5em;
  left: 0px;
  content: "";
  display: block;
  width: 100%;
  height: 13.4em;
  background-image: url('/themes/stctp/images/jumbotronhand.png');
}

div#content::after {
  opacity: 0.45;
  content: '';
  position: absolute;
  z-index: 1;
  width: 40%;
  pointer-events: none;
  background-color: #FFFFFF;
  height: 100%;
  display: block;
  top: 0;
  right: 0;
}

div#jumbotron {
  position: relative;
  z-index: 2;
  padding: 2em 0.6em;
  background-size: cover;
  background-image: url('/themes/stctp/images/jumbotron.jpg');
  background-position: center;
  border-top: 0.1em solid #000000;
  border-bottom: 0.1em solid #000000;
}

div#jumbotron > a#logo {
  display: inline-block;
  height: 9em;
}

div#jumbotron > a#logo > img {
  display: block;
  height: 100%;
}

div#jumbotron > div#socials > a {
  display: block;
  height: 1.6em;
}

div#jumbotron > div#socials > a > img {
  display: block;
  height: 100%;
}

header {
  position: relative;
  z-index: 2;
  display: block;
  margin: 1em 0px;
  overflow: hidden;
  height: 72px;
}

header > div.banner {
  position: relative;
  display: inline-block;
  padding: 0.2em calc(1em + 57px) 0.2em 1em;
  background-color: #E34B4B;
}

header > div.banner > h2 {
  letter-spacing: 0.04em;
  font-size: 4em;
  white-space: nowrap;
  line-height: 0.6em;
  color: #F8E996;
  text-shadow: rgba(0,0,0,0.1) -2px 0px 1px;
  margin: 0;
  text-transform: uppercase;
}

header > div.banner > h2:first-letter {
  vertical-align: middle;
  font-weight: bold;
}

header > div.banner > h2 > span.shrink {
  font-size: 0.7em;
  vertical-align: middle;
}

h2 > img#zonebadge {
  height: 72px;
  display: block;
  position: absolute;
  right: -57px;
  top: 0;
}

h2 > span.zone-badge.podcast-zone {
  color: #FFD800;
  border-color: #B2D4ED;
  background-color: #191B9B;
}

p, p *, p::before, p::after {
  letter-spacing: 0.05em;
  font-size:  0.6rem;
}

main {
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: top;
  width: 60%;
  padding: 0px 1em;
}

main > div:nth-of-type(odd) {
  background-color: rgba(128,255,128,0.3);
  border: 0.3em solid #FFFFFF;
}

main > div:last-of-type {
  background-color: unset;
  border: unset;
}

aside#sidebar {
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: top;
  width: 40%;
  padding: 0px 1em 1em;
}

aside#sidebar > h3 {
margin: 0;
text-align: center;
color: #52a2de;
text-shadow: 2px 2px 1px #191B9B;
}

aside#sidebar > p {
  margin: 0 0 1em;
}

aside#topbar {
  display: none;
  padding: 0px 1em;
}

a.badge {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0.2em;
  background-color: #FFFFFF;
  padding: 0.4em 0.4em 0.4em 2.4em;
  border: 2px solid #000000;
}

a.badge > img {
  display: block;
  position: absolute;
  height: 2em;
  left: 0.2em;
  top: calc(50% - 1em);
}

div.episodebox, div.episode {
  padding: 1em 1em 0px 1em;
  text-align: center;
}

div.episodebox > *:nth-last-child(6),
div.episode > *:nth-last-child(6) {
  text-align: left;
}

div.episodebox ul {
  text-align: left;
}


h3.episode_title {
  line-height: 0.8em;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  padding: 0.2rem 1rem;
  background-color: #E34B4B;
  text-shadow: black 2px 2px 2px;
  border: 4px solid white;
  color: #FFFFFF;
  text-transform: none;
}

h3.episode_title > a {
  transition: text-shadow ease-in-out 100ms;
  text-shadow: black 2px 2px 2px;
  color: #FFFFFF;
  text-transform: none;
}

h3.episode_title > a:hover {
  text-shadow: black 4px 4px 8px;
  color: #FFFFFF;
}

p.episode_date {
  text-align: center;
  margin: 0.2em 0px 0.2em 0px;
  padding: 0.2em 0.6em;
  font-size: 0.5em;
}

p.episode_date::before {
  font-size: inherit;
  content: 'Published: ';
}

img.episode_image {
  display: block;
  width: 60%;
  margin: 0 auto;
}

p.episode_info {
  font-size: 0.4em;
}

footer {
  position: relative;
  z-index: 2;
  font-size: 0.4em;
  text-align: center;
  padding: 0.2em;
  color: #FFFFFF;
  background-color: #191B9B;
  border: 0.1em solid #000000;
}

footer img#adminbutton,
footer img#logoutbutton {
  vertical-align: text-bottom;
  height: 1em;
}

@media only screen and (max-width: 800px) {
  html, body {
    font-size: 16px;
  }

  p, p *, p::before, p::after {
    font-size:  0.8rem;
  }

  div#jumbotron {
    padding: 1.4em 0.6em;
  }

  div#jumbotron > a#logo {
    height: 9em;
  }

  div#content::before {
    height: 12.2em;
  }

  div#content::after {
    display: none;
  }

  header {
    height: 49px;
  }

  header > div.banner {
    padding: 0.2em calc(1em + 34px) 0.2em 1em;
  }

  h2 > img#zonebadge {
    height: 49px;
    right: -34px;
  }

  main {
    width: 100%;
  }

  aside#sidebar {
    display: none;
    width: 100%;
  }

  aside#topbar {
    display: block;
  }
}

@media only screen and (max-width: 500px) {
  div#jumbotron > a#logo {
    height: 4em;
  }

  div#content::before {
    height: 7.2em;
  }
}
