html,
body {
  margin: 0;
  height: 100%;
}

body {
  margin: 0;
  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "footer";
  grid-template-rows: 1fr;
}

h1,
h2,
h3 {
  font-size: 1.2em;
  color: #d72204;
  font-weight: 600;
}

img {
  width: 100%;
  height: auto;
}

.img-container {
  position: relative;
}

.img-container:hover .img-episode {
  opacity: 0.3;
  cursor: pointer;
}

.img-container:hover .middle {
  opacity: 1;
  cursor: pointer;
}

.episode-image img {
  opacity: 1;
  display: block;
  transition: 0.5s ease;
  cursor: pointer;
  /* backface-visibility: hidden; */
}

.episode-title:hover {
  cursor: pointer;
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.middle .oi {
  font-size: 3em;
}

main {
  grid-area: main;
  max-width: 900px;
  margin: 0 auto;
  /*background-color: #e9ecef;*/
}

#header {
  height: 200px;
}

#sub-header {
  /* min-height: 80px; */
  background: #d72204;
  color: #fff;
  /* grid-template-rows: 1fr 1fr; */
  display: grid;
  padding-left: 220px;
  position: relative;
}

#sub-header-grid-l {
  display: grid;
  align-items: end;
  justify-items: start;
}

#sub-header-grid-r {
  display: grid;
  align-items: end;
  justify-items: end;
}

footer {
  grid-area: footer;

  font-size: 0.6em;
  max-width: 900px;
  /*    margin: 0 auto; */
  color: #fff;
  /*    width: 100%;*/
  text-align: center;
  height: 60px;
  display: none;
  background-color: #d72204;
}

#controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  grid-gap: 1em;
}

.oi-media-pause {
  display: none;
}

.oi {
  font-size: 2em;
  color: #d72204;
}

.progress {
  border-radius: 0;
  background-color: #e9e6a1;
  margin-top: 5px;
  height: 3px;
  cursor: pointer;
}

.progress-bar {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
  background-color: #c1bc34;
}

#controls {
  display: grid;
  background-color: #c1bc34;
  padding-top: 0.5em;
  text-align: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 0.5em;
}

#loading {
  text-align: center;
  display: none;
}

#current {
  grid-column: 1/4;
  margin-left: 20px;
  margin-right: 20px;;
}

#time-wrapper {
  grid-column: 1/4;
}

#playlist,
#loading {
  display: grid;
  margin-top: 1em;
  grid-gap: 1em;
  padding-bottom: 1em;
}

.episode {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 4fr;
  grid-gap: 1em;
  background-color: #c1bc34;
  padding: 1em;
}

.episode-title {
  font-size: 1.2em;
  color: #d72204;
}

.status {
  color: #d72204;
  font-weight: 600;
  /*display: none;*/
}

.episode-desc,
.episode-long {
  margin-bottom: 1em;
  font-size: 0.8em;
}

.episode-long {
  display: none;
  grid-column: 1/4;
}

.episode-fold {
  color: #d72204;
  font-size: 0.8em;
  font-weight: 600;
  cursor: pointer;
  padding-top: 0.8em;
}

.bold {
  font-weight: 600;
}

.podcast-badge {
  width: 100px;
}

.podcast-badge a {
  width: 100%;
  height: 100%;
  background-size: contain;
}

.links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}

.links > div {
  color: #fff;
  margin-top: 0.5em;
}

.links > div > a,
.links > div > a:hover,
#sub-header > div > a {
  color: #fff;
  text-decoration: none;
}

.pdf-link a {
  font-size: 0.8em;
  font-weight: 600;
  display: block;
  color: #d72204;
  padding-top: 0.8em;
}

.pdf-link a:hover {
  text-decoration: none;
  color: #d72204;
}

.brown {
  height: 100%;
  padding-top: 1.5em;
  grid-column: 1/4;
}

.podcast-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-gap: 0.2em;
}

.episode-texts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

#sponsoren {
  display: grid;
  grid-template-columns: repeat(auto-fill, 100px);
  justify-content: space-around;
  padding-left: 20px;
  padding-right: 20px;
}

.hidden {
  display: none;
}

#logo {
  position: absolute;
  top: -100px;
  left: -5px;
  width: 200px;
}

.big {
  font-size: 1.3rem;
}

.fat {
  font-weight: bold;
}
/*.podcast-container {
}*/

/*
rot: #d72204
gold: #c1bc34
*/