body{
  background-color: #ffffff;
  font-family: 'Titillium Web', sans-serif;
  font-size: 17px;
}

@media (min-width: 768px) { body{font-size: 18px;}}
@media (min-width: 1200px) { body{font-size: 20px;}}


/* Standards */
.marg-top {margin-top: 0.5em;}
.as-table {display: table;}

/* Corrections */
.card-body {padding: 0px;}

/* Headers */
h1, h2, h3, h4, h5, h6{color: #666079; font-weight: bold;}
h1{margin-top: 0.5em;}
@media (min-width: 768px) { h1{margin-top: 1em;}}


/* Images */
.ret_teaser_listen{background-image: url('../img/teaser_listen_retina.jpg');}
.ret_teaser_support{background-image: url('../img/teaser_postalstamp_retina.png');}
.ret_teaser_about{background-image: url('../img/teaser_backpacker_retina.jpg');}


.scalethumb {
  background-color: white;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* DELETE THESE */
/*
.center {text-align: center;}
.marginate {margin-bottom: 5ex;}
.increase-topmargin {margin-top: 5ex;}
*/


.increase_top_margin {margin-top: 6ex;}

/* Front-page */
#desktop_site_logo {
  margin-top: 1em;
}

div.mobile_intro{
  margin: 12px auto 18px;
}

div.header_quote{
  background-color: #312d3c;
  background-image: url('../img/header_bg_2048.jpg');
  background-size: cover;
  text-align: center;
  font-style: italic;
  padding: 2% 10%;
  font-size: 16pt;
  color: rgb(20, 20, 20);
  text-shadow: 0px 0px 2px #dfdfdf;
  border-top: 2px solid #666079;
  border-bottom: 2px solid #312d3c;
  min-height: 200px;
}

@media (max-width: 374px) {
  /* Adjustments for media larger than phones (SMALLER THAN XS) */
  div.header_quote{
    font-size: 12pt;
  }
}

@media (min-width: 576px) {
  /* Adjustments for media larger than phones (FROM SM AND UP) */
  div.header_quote{
    background-color: white;
    background-image: none;
    min-height: inherit;
    border: 0px;
    color: rgb(162, 162, 162);
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  /* Adjustments for the largest desktops (LIKE LG AND BEYOND)*/
  div.header_quote{
    font-size: 32px;
  }
}

.main-teasers .teaser-thumb {
  display: table-cell;
  width: 120px;
  height: 100%;
}
.main-teasers .as-table {
  min-height: 120px;
}
.card-body .teaser-text {
  display: table-cell;
  padding: 16px 10px 10px 20px;
}
.main-teasers .card {
  box-shadow: 0px 3px 8px #e3dede;
}
@media (min-width: 576px) {
  /* Adjustments for media larger than phones (FROM SM AND UP) */
  .main-teasers .teaser-thumb {
    display: table-row;
    width: 100%;
    height: 120px;
  }
  .main-teasers .teaser-text {
    border-top: 1px solid #eeeeee;
  }
}





























.page_header{
  background-image: url('../img/header_bg_2048.jpg');
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 200px;
  background-position: center;
  display: none;
}
@media (min-width: 768px) {
  .page_header {
    display: block;
    text-align: center;
  }
  a.navbar-brand {
    display: none;
  }
}




footer {
  width: 100%;
  background-color: darkgray;
  margin: 30px 0px 0px;
  padding: 20px;
  color: lightgray;
  background-color: #312d3c;
}
footer ul{
  padding: 0px;
  text-align: center;
}
footer li {
  display: inline;
  padding-right: 2ex;
}
footer h1, footer h2 {
  text-align: center;
  font-size: 20pt;
  margin: 2ex;
}
footer h2{
  margin: 0px;
  font-size: 16pt;
  font-style: italic;
}
footer p {
  font-size: 12pt;
}
footer a, footer a:hover {
  color: lightgray;
  text-decoration: underline;
}







a.nav-link {
  margin-left: 20px;
  font-size: 20px;
}





/* The slogan of the site: */
.OLDheader_quote{
  text-align: center;
  font-size: 18pt;
  font-style: italic;
  margin: 0px auto;
  background-color: #312d3c;
  width: 100%;
  font-family: serif;
  color: #f2eeea;
  padding: 10px 40px 20px;
  border-top: 1px dotted #e9e9f5;
}
@media (min-width: 768px)  {
  .OLDheader_quote{
    text-align: center;
    margin: 67px 0px;
    padding: 0px 75px;
    background-color: inherit;
    color: gray;
  }
}




.episode_well{
  border: solid 1px gray;
  margin-bottom: 40px;
}

.episode_margins{
  padding: 0px 30px;
}

.episode_well .episode_thumbnail{
  background-color: green;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 128px;
}

.episode_description{
  padding: 2ex;
}

.episode_description h3 {
  margin-top: 1ex;
}

.podcastdate{
  float: right;
  color: lightgray;
  margin: 0px auto;
  font-size: 10pt;
}
@media (max-width: 767px) {
    /* Move post date into image on mobile*/
    .podcastdate{
      position: relative;
      top: 3ex;
      z-index: 10;
      color: white;
      text-shadow: 1px 1px 5px black;
    }
}

@media (min-width: 768px)  {
  .episode_description{
    padding: 2ex 4ex;
  }
  .episode_thumbnail{
    border-right: 1px solid gray;
  }
}



/* Support postcard */
div.postcard_decoration{
  margin-top: 1em;
}
td.decoration{
  width: 25%;
  background-image: url('../img/postcards_256.jpg');
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
}

.support-alternatives .collapse {
  padding: 2em;
}

.support-alternatives p.fineprint {
  color: gray;
  font-size: 0.7em;
}
@media (max-width: 767px){td.decoration{display: none;}}
@media (min-width: 768px){div.postcard_decoration{display: none;}}


ul.links{
  margin-bottom: 6ex;
}

a.library{
  font-weight: bold;
}


.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


.gallery_menu{
  margin-top: 3ex;
  margin-bottom: 3ex;
}

.grid {
  margin-top: 4ex;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 20px;
  align-items: stretch;
  }
.grid img {
  border: 1px solid #ccc;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
