html,
body {
  margin: 0;
  height: 100%;
  background: #ffffff;
}

body {
  margin: 0;
  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "footer";
  grid-template-rows: 1fr;
}

.links > div > a > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

a {
  color: #a89b33;
}

h1,
h2,
h3 {
  font-size: 1.2em;
  color: #8fbe8b;
  font-weight: 600;
}

img {
  width: 100%;
  height: auto;
}

main {
  grid-area: main;
  max-width: 900px;
  margin: 0 auto;
  /*background-color: #e9ecef;*/
}

#header {
  /* display: grid; */
  /* grid-template-columns: minmax(300px, 140px) 3fr; */
  grid-column-gap: 1rem;
  /* padding: 1rem; */
  line-height: 1.2;
}

@media (max-width: 460px) {
  #header {
    grid-template-columns: minmax(175px, 140px) 3fr;
  }
}

#header a {
  font-size: 0.8rem;
}

#sub-header {
  /* height: 60px; */
  /* background: #00497e; */
  color: #fff;
  grid-template-columns: 1fr 1fr;
  display: none;
  padding: 0.75rem;
}

#sub-header-grid-l {
  display: grid;
  align-items: end;
  justify-items: start;
}

#sub-header-grid-r {
  display: grid;
  align-items: end;
  justify-items: end;
}

.mt-bold {
  font-weight: bold;
  font-size: 1.4rem;
}

.mt-bold-smaller {
  font-size: 0.8rem;
}

.mt-color-y {
  color: #21566e;
}

footer {
  grid-area: footer;

  font-size: 0.6em;
  max-width: 900px;
  /* margin: 0 auto; */
  margin-left: 15px;
  margin-right: 15px;
  /* color: #fff; */
  /*    width: 100%;*/
  text-align: left;
  /* height: 60px; */
  display: none;
  /* background-color: #6a625a; */
}

#controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  grid-gap: 0.6rem;
}

.oi-media-pause {
  display: none;
}

.oi {
  font-size: 1.4rem;
  color: #8fbe8b;
  cursor: pointer;
}

.progress {
  border-radius: 0;
  background-color: #8fbe8b;
  margin-left: 1rem;
  margin-right: 1rem;
  height: 0.3rem;
  cursor: pointer;
}

.progress-bar {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
  background-color: #c49a5b;
}

#controls {
  display: grid;
  /* background-color: #e9ecef; */
  padding-top: 0.5em;
  padding-bottom: 0.6em;
  text-align: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 0.3em;
}

#loading {
  text-align: center;
  display: none;
}

#current {
  grid-column: 1/4;
  font-size: 1.2rem;
  line-height: 1.7rem;
  font-weight: bold;
}

#time-wrapper,
#listening {
  grid-column: 1/4;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
}

#playlist,
#loading {
  display: grid;
  margin-top: 1em;
  grid-gap: 1em;
  padding: 0 1em 0 1em;
}

.episode {
  display: grid;
  grid-template-columns: minmax(35px, 130px) auto;
  grid-gap: 1em;
  /* background-color: #e9ecef; */
  padding: 0;
}

.episode-date {
  display: none;
}

.episode-image {
  cursor: pointer;
  padding-top: 5px;
}

.episode-title {
  font-size: 1.2em;
  color: #000000;
  cursor: pointer;
  line-height: 1.7rem;
}

.episode-fold,
.pdf-link {
  display: none;
}

.black {
  color: #000000;
}

.status {
  color: #000000;
  /* font-weight: 600; */
  /*display: none;*/
  line-height: 1.2rem;
}

.episode-desc,
.episode-long {
  margin-bottom: 1em;
  margin-top: 1em;
  font-size: 0.8em;
}

.episode-long {
  display: none;
  grid-column: 1/4;
}

.episode-fold {
  color: #00497e;
  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: repeat(2, minmax(100px, 140px));
  /* grid-template-rows: 38px 38px 38px; */
  justify-items: start;
  grid-gap: 1em;
  justify-content: center;
  align-items: baseline;
}

.links-sponsors {
  grid-template-columns: minmax(100px, 140px) minmax(100px, 140px) minmax(120px, 168px);
}

.service {
  grid-template-columns: repeat(2, minmax(100px, 140px));
  /* grid-template-rows: 38px 38px 38px; */
  justify-items: center;
  text-align: center;
}

#footer > div.links > a > img {
  object-fit: contain;
  max-height: 37px;
}

#footer > div.links > a {
  /* object-fit: scale-down; */
  height: 100%;
  width: 100%;
}

.links > div {
  color: #fff;
  /* margin-top: 0.5em; */
}

.img-container {
  /* width: 90px; */
  height: 38px;
}

.links > div > a,
.links > div > a:hover,
#sub-header > div > a {
  color: #fff;
  text-decoration: none;
}

.bar {
  height: 1px;
  /* margin-bottom: 1rem; */
  width: 100%;
  background-color: #6d6d6d;
}

.call {
  color: #577e8f;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.pdf-link a {
  font-size: 0.8em;
  font-weight: 600;
  display: block;
  color: #00497e;
  padding-top: 0.8em;
}

.pdf-link a:hover {
  text-decoration: none;
  color: #00497e;
}

.brown {
  height: 100%;
  padding-top: 1.5em;
  grid-column: 1/4;
}

.hidden {
  display: none;
}

.mt {
  margin-top: 1em;
}

.mb {
  margin-bottom: 1em;
}

#flow-text {
  font-size: 0.7em;
  margin-left: 15px;
  margin-right: 15px;
}

#flow-text h1 {
  font-size: 1.5em;
}

#flow-text h2 {
  font-size: 1.2em;
}

#flow-text h3 {
  font-size: 1.0em;
}

/*.podcast-container {
}*/
