
:root {
    --light-gray-color: #d6d7da;
    --med-gray-color: #7b848e;
    --dark-gray-color: #4b4e55;
    --text-color: #000000;
    --black-color: #000000;
    --white-color: #ffffff;
    --twitter-black-color: #000000;
    --mastodon-blue-color: #2b90d9;
    --highlight-color: #db7119;
    --bluesky-blue-color: #295ef6
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal; 
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat/Montserrat-Italic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

body {
    margin: 0px;
    padding: 0px;
    background-color: var(--med-gray-color);
    color: var(--text-color);
    font-family: Montserrat, sans-serif;
}

.site-title {
    display: none;
    color: var(--white-color);
    font-size: 1.8em;
    font-weight: bold;
    margin: 5px;
    padding: 0px;
}

.container {  
    display: grid;
    grid-template-columns: 50px 300px 1fr 50px;
    grid-template-rows: 100px 1fr;
    gap: 0px 10px;
    grid-auto-flow: row;
    align-items: stretch;
}

.header { 
    grid-area: 1 / 1 / 2 / 5; 
    background-color: var(--dark-gray-color);
    background-image: linear-gradient(to bottom, var(--dark-gray-color), var(--med-gray-color));
}
  
.site-nav { 
    grid-area: 1 / 3 / 2 / 4; 
    position: relative;
}
  
.sidebar { 
    grid-area: 1 / 2 / 3 / 3;
    background-color: var(--dark-gray-color);;
}
  
.content { 
    grid-area: 2 / 3 / 3 / 4; 
    background-color: var(--light-gray-color);
    padding: 10px;
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.4em;
}

a {
    color: var(--highlight-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

a:visited {
    color: var(--highlight-color);
    text-decoration: none;
}

h3 {
    font-weight: bold;
    font-size: 1.2em;
    margin: 0px;
    padding: 0px;
    color: var(--dark-gray-color);
}

h4 {
    font-weight: bold;
    font-size: 1.1em;
    margin: 10px 0px 10px 0px;
    padding: 0px;
    color: var(--dark-gray-color);
}

ul {
    margin-left: 25px;
    padding: 0px;
}

ul.nav {
    display: block;
    list-style-type: disc;
    margin: 0px;
    padding: 0px;
    position: absolute;
    bottom: 0;
    right: 0;  
}

ul.nav li {
    display:inline-block;
    font-size: 1.5em;
    color: var(--white-color);
    font-weight: bold;
    padding-left: 15px;
}

ul.nav li a {
    color: var(--white-color);
}

ul.nav li a:visited {
    color: var(--white-color);
}

ul.nav li a:hover {
    color: var(--white-color);
    text-decoration: underline;
}

ul.nav li a:active {
    color: var(--white-color);
    text-decoration: underline;
}

p {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 0px;
}

.logo {
    margin-bottom: 10px;
}

.sidebar-content {
    padding-left: 15px;
}

.sidebar-content h2 {
    color: var(--highlight-color);
    padding: 10px;
    font-weight: bold;
    font-size: 1.3em;
    margin: 5px;
    padding: 0px;
}

.sidebar h2 a {
    color: var(--highlight-color);
    text-decoration: none;
}

.sidebar h2 a:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

.sidebar-content p {
    padding: 0px;
    margin: 0px;
}

.subscribe-badge {
    display: inline-block;
    margin: 0px 2px 4px;
}

.host-badge {
    display: grid;
    grid-template-columns: 75px 1fr; 
    grid-template-rows: 38px 38px; 
    gap: 0px 0px;
    gap: 0px 10px;
    margin-bottom: 10px; 
}

.host-badge-icon { 
    grid-area: 1 / 1 / 3 / 2; 
}

.host-badge-name { 
    grid-area: 1 / 2 / 2 / 3; 
    text-align: left;
    color: var(--white-color);
    font-size: 1.0em;
    padding-left: 3px;
    font-style: normal;
}

.host-badge-name-mastodon { 
    grid-area: 1 / 2 / 2 / 3; 
    text-align: left;
    color: var(--mastodon-blue-color);
    font-size: 1.0em;
    padding-left: 3px;
    font-style: normal;
}

.host-badge-name p {
    font-size: 1.0em;
}

.host-badge-service { 
    grid-area: 2 / 2 / 3 / 3; 
    text-align: left;
    padding-right: 10px;
    max-width: 275px;
}

.follow-link a {
    display: block;
    border-color: var(--twitter-black-color);
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    background-color: var(--white-color);
    color: var(--twitter-black-color);
    padding: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

/* On hover, we invert all the colors */
.follow-link a:hover {
    border-color: var(--white-color);
    background-color: var(--twitter-black-color);
    color: var(--white-color);
}

/* This handles inverting the color of the nested svg */
.follow-link a:hover svg {
    fill: var(--white-color);
}

.follow-link a span {
    font-size: 0.9em;
}

.follow-link a svg {
    vertical-align: middle;
}

.follow-link-mastodon a {
    display: block;
    border-color: var(--mastodon-blue-color);
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    background-color: var(--white-color);
    color: var(--mastodon-blue-color);
    padding: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

.follow-link-mastodon a:hover {
    border-color: var(--white-color);
    background-color: var(--mastodon-blue-color);
    color: var(--white-color);
}

/* This handles inverting the color of the nested svg */
.follow-link-mastodon a:hover svg {
    fill: var(--white-color);
}

.follow-link-mastodon a:hover svg .mastodon-icon-text {
    fill: var(--mastodon-blue-color);
}

.follow-link-mastodon a span {
    font-size: 0.9em;
}

.follow-link-mastodon a svg {
    vertical-align: middle;
}

.follow-link-threads a {
    display: block;
    border-color: var(--black-color);
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    background-color: var(--white-color);
    color: var(--black-color);
    padding: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

.follow-link-threads a:hover {
    border-color: var(--white-color);
    background-color: var(--black-color);
    color: var(--white-color);
}

/* This handles inverting the color of the nested svg */
.follow-link-threads a:hover svg {
    fill: var(--white-color);
}

.follow-link-threads a:hover svg .mastodon-icon-text {
    fill: var(--mastodon-blue-color);
}

.follow-link-threads a span {
    font-size: 0.9em;
}

.follow-link-threads a svg {
    vertical-align: middle;
}

.bird-icon {
    fill: var(--twitter-black-color);
}

.mastodon-icon {
    fill: var(--mastodon-blue-color)
}

.threads-icon {
    fill: var(--black-color)
}

.mastodon-icon-text {
    fill: var(--white-color);
}

.follow-link-bluesky a {
    display: block;
    border-color: var(--bluesky-blue-color);
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    background-color: var(--white-color);
    color: var(--bluesky-blue-color);
    padding: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

/* On hover, we invert all the colors */
.follow-link-bluesky a:hover {
    border-color: var(--white-color);
    background-color: var(--bluesky-blue-color);
    color: var(--white-color);
}

/* This handles inverting the color of the nested svg */
.follow-link-bluesky a:hover svg {
    fill: var(--white-color);
}

.follow-link-bluesky a span {
    font-size: 0.9em;
}

.follow-link-bluesky a svg {
    vertical-align: middle;
    fill: var(--bluesky-blue-color);
}

.footer {
    text-align: center;
    color: var(--white-color);
    font-size: 0.9em;
    margin-top: 15px;
    margin-bottom: 5px;
}

.footer a {
    color: var(--white-color)
}

.show-badge-twiter {
    margin-right: 10px;
    margin-bottom: 10px;
}

.episode-summary {
    margin-bottom: 10px;
}

.date {
    margin-top: 10px;
    margin-bottom: 0px;
    color: var(--med-gray-color);
    font-size: 0.8em;
}

.episode-detail .date {
    display: inline-block;
    margin-right: 10px;
}

hr.episode-seperator {
    border-top: 2px solid var(--med-gray-color);
    margin: 25px 10% 25px 10%;
    display: block;
}

.episode-pager {
    text-align: center;
}

.pager-button {
    display: inline-block;
    padding: 0.2em;
    font-size: 0.8em;
    background-color: var(--med-gray-color);
    color: var(--white-color);
    vertical-align: middle;
    text-align: center;
    width: 1.2em;
    text-decoration: none;
}

.pager-button.disabled {
    color: var(--text-color);
}

.pager-button.current {
    background-color: var(--white-color);
    color: var(--med-gray-color);
}

a.pager-button:visited {
    color: var(--white-color);
}

a.pager-button:active {
    color: var(--white-color);
    text-decoration: none;
}

a.pager-button:hover {
    text-decoration: none;
    background-color: var(--white-color);
    color: var(--med-gray-color);
}

.join-us-link {
    color: var(--mastodon-blue-color);
    font-size: 1.2em;
    margin: 5px;
}

.join-us-link:visited {
    color: var(--mastodon-blue-color);
}

.join-us-link:hover {
    color: var(--mastodon-blue-color);
}

.join-us-link:active {
    color: var(--mastodon-blue-color);
}

.audio-player {
    padding-left: 15px;
    padding-right: 15px;
}

audio {
    background-color: var(--white-color);
    border-radius: 0;
}

audio::-webkit-media-controls-enclosure {
    border-radius: 0;
}

.episode-archive {
    list-style: none;
    margin: 0;
    padding-left: 10px;
}

.episode-archive li {
    margin-top: 20px;
    font-size: 1.0em;
}

.episode-archive li ul {
    margin: 0px;
    padding-left: 10px;
    list-style: none;
}

.episode-archive li ul li {
    margin: 5px;
    font-size: 0.9em;
}

.episode-archive-date {
    font-size: 0.7em;
    color: var(--med-gray-color);
}

.other-episode-navigation {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 0px 5px 0px 5px;
}

.previous {
    grid-row: 1;
    grid-column: 1;
}

.previous a {
    color: var(--white-color);
    font-weight: bold;
}

.next {
    grid-row: 1;
    grid-column: 2;
    text-align: right;
}

.next a {
    color: var(--white-color);
    font-weight: bold;
}

.episode-hosts {
    margin-top: 10px;
    margin-bottom: 10px;
}

.show-links ul {
    margin: 0px 0px 0px 35px;
}

.show-links ul li {
    line-height: 1.7em;
}

.download-mp3 {
    padding-left: 15px;
    margin-top: 0px;
}

.download-mp3 a {
    color: var(--white-color);
    font-weight: bold;
}

.listen-icons {
    background-color: var(--white-color);
    margin: 10px 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
    border-radius: 10px;
}

.listen-icons a {
    display: inline-block;
    margin: 10px 20px;
    padding: 0px;
    height: 28px;
}

.listen-icons a img {
    margin: 0px;
    padding: 0px;
}

.listen-cards a {
    margin-right: 20px;
}

.video-embed {
    margin-top: 10px;
}

.about img {
    float: left;
    margin: 5px;
    height: 100px;
    width: 100px;
}

.about p {
    float: left;
    display: block;
}

.search-icon {
    fill: var(--white-color);
}

#search-widget-term {
    width: 150px;
    padding: 5px;
    margin: 0px 0px 20px 0px;
    font-size: 1em;
}

#search-term {
    width: 250px;
    padding: 5px;
    margin: 0px;
    font-size: 1em;
}

#search-button {
    font-size: 1em;
    padding: 7px;
    margin: 0px 0px 0px 5px;
    background-color: var(--highlight-color);
    color: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: 10px;
}

#search-button:hover {
    color: var(--dark-gray-color);
    border: 1px solid var(--dark-gray-color);
}

#search-widget-button {
    font-size: 1em;
    padding: 7px;
    margin: 0px 0px 0px 5px;
    background-color: var(--highlight-color);
    color: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: 10px;
}

#search-widget-button:hover {
    color: var(--dark-gray-color);
    border: 1px solid var(--dark-gray-color);
}

#banner { 
    display: grid; 
    grid-template-columns: 50px 1fr; 
    grid-template-rows: 1fr; 
    grid-column-gap: 10px;
    grid-row-gap: 0px; 
    border: 1px solid var(--highlight-color);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

#banner-image { 
    grid-area: 1 / 1 / 2 / 2;
    position: relative
}

#banner-image svg {
    fill: var(--highlight-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

#banner-text {
    grid-area: 1 / 2 / 2 / 3;
    vertical-align: middle; 
} 

.search-header {
    color: var(--white-color);
    padding: 10px;
    font-weight: normal;
    font-size: 1.2em;
    margin: 5px;
    padding: 0px;
}

[v-cloak] { display: none }

/* At 1000px get rid of the "gutter" columns in the grid view" */
@media screen and (max-width: 1000px) {
    .container {  
        grid-template-columns: 300px 1fr ;
        grid-template-rows: 100px 1fr;
        gap: 0px 10px;
    }
    
    .header { 
        grid-area: 1 / 1 / 2 / 3; 
    }
      
    .site-nav { 
        grid-area: 1 / 1 / 2 / 3; 
    }
      
    .sidebar { 
        grid-area: 1 / 1 / 3 / 2;
    }
      
    .content { 
        grid-area: 2 / 2 / 3 / 3; 
    }

    ul.nav {
        margin: 0px 20px 0px 0px;
    }

    #social-nav {
        display: none;
    }
}

/* At 650px, go into single column mode */
@media screen and (max-width: 650px) {
    .container {  
        grid-template-columns: 1fr ;
        grid-template-rows: 125px 1fr 1fr;
        gap: 0px 10px;
    }

    .header { 
        grid-area: 1 / 1 / 1 / 1; 
    }
      
    .site-nav { 
        grid-area: 1 / 1 / 1 / 1; 
    }
      
    .sidebar { 
        grid-area: 3 / 1 / 3 / 1;
    }
      
    .content { 
        grid-area: 2 / 1 / 3 / 1; 
    }

    .logo {
        display: none;
    }

    .site-title {
        display: block;
    }

    ul.nav {
        margin: 0px 20px 0px 0px;
    }

    ul.nav li {
        font-size: 1.3em;
    }

    .show-badge-twiter {
        margin-top: 10px;
        width: 225px;
    }

    #social-nav {
        display: none;
    }
}

#social-icons ul {
    list-style-type: none;
    display: inline;
    padding-left: 25%;
    padding-right: 25%;
}

#social-icons ul li {
    display: inline;
    padding: 0;
    margin-left: 20px;
}

#social-icons ul li a svg {
    fill: var(--white-color);
}

#social-icons ul li :hover {
    fill: var(--highlight-color);
}

#social-icons ul li a svg .mastodon-icon-text {
    fill: var(--dark-gray-color);
}

#social .social-wrapper {
    display: inline-block;
    width: 275px;
    text-align: left;
    margin: 15px;
}

#social .follow-link-bluesky {
    display: inline;
    width: 275px;
}

#social .follow-link-threads {
    display: inline;
    width: 275px;
}

#social .social-name {
    padding-left: 5px;
    color: var(--dark-gray-color);
    font-weight: bold;
    font-size: 0.9em;
}

#social h4 {
    margin-top: 20px;
}