/*
Theme Name: KGLT 2020
Theme URI: https://wp-themes.com/twentytwenty
Author: KGLT-FM
Author URI: https://kglt.net
Description: KGLT custom Twenty Twenty child theme.
Template: twentytwenty
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.1.7
Text Domain: kglt
*/
/* @import url("../twentytwenty/style.css"); */

/* Typography/Spacing */
:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    --font-serif: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
}

/* Header */
#site-header{
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000;
    width: 100%;
    background: #222;
    overflow: hidden;
    z-index: 10;
    transition: transform .2s cubic-bezier(.165,.84,.44,1)
}

.head-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    opacity: 0;
    transform: scale(1.3);
    transition: opacity .5s,transform .5s;
    z-index: -1;
}

.head-bg-img {
    position: absolute;
    top: -100px;
    left: -100px;
    bottom: -100px;
    right: -100px;
    background-color: #222;
    background-repeat: no-repeat;
    background-position: 30% 30%;
    background-size: cover;
    filter: blur(15px);
    opacity: 0.4;
    animation: animatedBackground 14s ease-in-out infinite alternate;
    transition: opacity .5s, transform .5s
    z-index: -1;
}

.head-bg {
    transform: scale(1);
    opacity:1;
}

#head-bg-img {
    background-image: url('https://kglt.net/wp-content/uploads/2023/03/KGLT-2018-woman-headphones-sq-300.png');
}

@keyframes animatedBackground {
  from {
    background-position: 30% 30%;
  }
  to {
    background-position: 70% 70%;
  }
}

.head-section {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    margin-left: 1rem;
    padding: 1rem 0 0 1rem;
    z-index: 10;
}

.head-section .head-menu-item { margin-top: 0; }

.head-section .head-logo,
.head-section .head-logo img {
    min-width: 120px;
    width: 120px;
    height: 120px;
}

.head-logo,
.head-text,
.head-player {
    display: inline-flex;
}

.head-text {
    background-color: rgb(69 59 62 / 30%);
    color: #f5f3eb;
    font-weight: 700;
    min-height: 7rem;
    padding: 0.1rem 0.2rem;
    white-space: nowrap;
}

.head-nav {
    align-items: center;
    background-color: rgba(0 0 0 / 35%);;
    display: flex;
    gap: 0.1rem;
    justify-content: space-between;
    margin-right: 1rem;
    padding: 0.75rem 0;
    z-index: 10;
}

.head-menu {
    align-items: center;
    display: inline-flex;
    gap: 0.1rem;
    list-style: none;
    margin-bottom: 0;
    margin-left: 0;
}

.head-menu-item {
    display: inline-flex;
    font-weight: 600;
    margin-top: 0;
    padding: 0.35rem 0.4rem;
    white-space: nowrap;

}

.head-menu-2 .head-menu-item {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 1.2rem;
    margin-right: 0.15rem;
}

.head-menu a { text-decoration: none;  }

.head-menu-1 .head-menu-item,
.head-menu-item .donate-btn {
    font-weight: 700;
    letter-spacing: 0;
    font-size: 2rem;
}

.listen-btn,
.donate-btn {
    background-color: rgba(58 51 51 / 60%);
    border:  2px solid #bbb397;
    border-radius: 15px;
    display:  inline-flex;
    padding: 0.3rem 1rem 0.5rem 1rem;
    white-space: nowrap;
}

.donate-btn { text-transform: none; }

.head-menu-item a {
    background-color: rgb(69 59 62 / 30%);
    color: #f5f3eb;
    padding: 0.1rem 0.4rem;
}

.head-menu-item a:hover { color: #af383a }

.head-text,
.link-minor { display: none; }

/* Spinitron */
.spin-figure {
    background-color: rgb(69 59 62 / 30%);;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
    padding: 0 0.5rem 0 0;
}

.spin-image,
.spin-caption {
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}

.spin-caption { margin: 0 0 0 0.4rem; }

.spin-image {
    width: 7rem;
    height: 7rem;
    border: 1px dotted #6d6d6d;
}

.spin-artist,
.spin-dj { color: #f5f3eb }

.spin-release {
    color: #f4eed9;
    font-style: italic;
}

.spin-nowplay {
    color: #efefef;
    font-size: 1.25rem;
}

#site-header .head-butts {
    align-items: center;
    display: flex;
    gap: 2rem;
    position: absolute;
    top: 1rem;
    right: 8rem;
}

#site-header .toggle {
    display: inline-flex;
    height: 3rem;
    justify-content: center;
}

#site-header .svg-icon { fill: #ededed; }
#site-header .toggle-inner .toggle-text {
    color: #ededed;
    font-size:  1.25rem;
}

@media screen and (min-width: 480px) {}

@media screen and (min-width: 600px) {}

@media screen and (min-width: 782px) {
    .head-text { display: inline-flex; }

    .link-minor { display: inline-flex; }

}

@media screen and (min-width: 1000px) {
    .head-section .head-logo,
    .head-section .head-logo img {
        min-width: 160px;
        width: 160px;
        height: 160px;
    }

    .head-text { display: inline-flex; }

    .link-minor { display: inline-flex; }

    .head-nav { gap: 1rem; }

    .head-menu-2 .head-menu-item {
        font-size: 1.4rem;
        margin-right: 0.25rem;
    }
}

/* Article */
#site-content { margin-top: 0; }

.singular .entry-header { background-color: #f6f1dd; }

.singular .entry-header { padding: 2.5rem 0; }

h1,
h2,
h3 { font-weight: 600; }

.singular .entry-title,
h2.entry-title { font-size: 3.2rem; }

h2,
.heading-size-2 { font-size: 2.8rem; }

h3,
.heading-size-3 {
    font-size: 2.4rem;
    color: #525252
}

.entry-content h2,
.entry-content h3 { margin-bottom: 1rem; }

.header-inner { padding: 1rem 0; }

.post-inner { padding-top: 2.2rem; }

.singular .intro-text { font-size: 2rem; }

/* Pages */
.page .intro-text { display: none; }

.singular .hentry .entry-header,
.footer-nav-widgets-wrapper.header-footer-group,
.archive-header,
.post .featured-media:before{ background-color: #084154; }

.entry-title,
.intro-text,
.post-meta-wrapper .meta-wrapper,
.entry-header .post-meta .meta-wrapper .meta-text a,
.archive-title { color: #fff; }

#site-content .meta-text a { color: #ded3aa; }
/* Home */
.home #site-content .wp-block-image { margin-top: 0; }
.home .current-playlist h3 { margin-top: 0; }

.kglt-freqs-table table * { border-color: #f6f1dd; }

/* Updcoming Shows: Spinitron widget  */
.spinitron-js-widget .title,
.spinitron-js-widget .djs { font-size: 1.8rem;  }

.spinitron-js-widget .category { display: none; }

.spinitron-js-widget .title:after { content: " w/ ";  }

.begin {
    color: #655b38;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--font-sans);
}

/* About */
.staff-table {  overflow-x: scroll; }

/* Programs */
.program span { display: block; }

.prog-name { font-weight: 500; }

.prog-time {
    color: #655b38;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--font-sans);
}

time.prog-length {
    color: #464646;
    display: inline;
    font-size: 1.3rem;
    font-weight: 300;
}

.prog-desc {
    color: #454545;
    font-size: 1.75rem;
    font-weight: 400;
}

#post-17 .jetpack-podcast-player__current-track-title {  font-size: 2rem; }

#post-17 p {  margin-bottom: 0; }

#post-17 .jetpack-podcast-player__current-track-info {  padding-top: 1rem; }

/* Underwriters */
.wp-block-jetpack-contact-form,
.item-pu time,

.item-pu strong,

.item-gu strong { font-family: var(--font-sans); }

.item-pu time { color: #655b38; }

/* Sponsor (CPT archive) /support/sponsor-list */
#site-content .sponsor {
    padding-top: 4rem
}

.sponsors .archive-header {
    background-color: #084154;
    padding: 2rem 0;
}

.sponsor-list {
    font-size: 1.8rem;
    list-style: none;
    margin: 1rem;
}
.sponsor-addr {
    display: inline;
    margin: 0 1rem;
}

.sponsor-addr,
.sponsor-tel { font-size: 1.5rem; }

.sponsor-tel { white-space: nowrap }
.sponsor-intro {
    font-family: var(--font-serif);
    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    max-width: 58rem;
    margin: 1rem auto;
    width: calc(100% - 4rem);
}

/* Donate */
.items-incentives tr td:nth-of-type(3),
.items-incentives tr td:nth-of-type(4) { font-size: 1.4rem; }

#table-gear tr { vertical-align: top}

#table-gear th.has-text-align-center{ font-size: 2.5rem}

#table-gear td.has-text-align-center img { margin: auto; }

/* PSAs */
#site-content .items-psa {
    margin-top: 2rem;
    padding-top: 0;'
}

.item-psa { margin-top: 0.5rem; }

.item-psa em, .item-psa strong { font-family: var(--font-sans) }

.item-psa span { font-size: 1.85rem;}

/* DJ Support */
.list-subs tr th,
.list-subs tr td:nth-of-type(1) { white-space: nowrap }

.list-subs .music,
.list-subs tr td:nth-of-type(3) {
    font-size: 1.2rem;
    max-width: 300px;
}

.list-subs { overflow-x: scroll; }

/* Spotify */
.category-singles .is-provider-spotify,

.category-singles .is-provider-spotify iframe { height: 1100px; }

/* Footer */
.footer-widgets .menu-item a {
    font-size: 1.5rem;
    font-weight: 500;
}

.footer-widgets .menu-item { line-height: 1.1; }

.footer-widgets .widget_nav_menu { margin-top: 1rem; }

.widget li.wp-social-link-facebook { margin-top: 2rem }

.foot-links {
    font-size: 1.5rem;
    line-height: 1.8;
}

.foot-link { white-space: nowrap; }

.listen-donate {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
    align-items: left;
    justify-content: left;
}

.kglt-freqs {
    font-size: 1.25rem;
    margin: 0.5rem auto;
    max-width: 120rem;
    width: calc(100% - 8rem);
}

/* Posts */
.kglt-top20 { font-size: 1.6rem; }
.kglt-top20 .art { vertical-align: middle; }


/* Var */
#site-content .no-marg-top { margin-top: 0; }

#site-content .no-marg-bot { margin-bottom: 0; }

.font-sans { font-family: var(--font-sans) }

#site-content .col-width { max-width: 58rem }

/* Footer */
.footer-widgets .menu-item a { color: #fff; }

.footer-widgets .current-menu-item > a { color: #d2b1b1; }

footer.header-footer-group { background-color: #dfcf99; }

.footer-widgets-wrapper .current-menu-item { color: light-grey; }
.expanded-menu .current-menu-item { color: dark-grey; }

.widget li.wp-social-link-facebook:first-child { margin-top: 0; }

#site-content .jetpack-podcast-player__track-description {
    color: #655b38;
        font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
}

/* Fund Drive Progress Bar */
#site-content .fd-img-prog { max-width: 728px; }

#site-content .wp-block-image.fd-img { margin-bottom: 0 }

.fd-totals {  margin-bottom: 3rem; }

.fd-nums,
.fd-prog {
   margin: 0;
   max-width: 728px;
}

.fd-prog[value] {
    --w: 100%; /* the width*/
    --color: linear-gradient(90deg, #d42f2a, #36de36) 0/var(--w);
    --background: #bfebea; /* 2023:  #cafcca */

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: var(--w);
    margin: 0;
    border-radius: 10em;
    background: var(--background);
}

.fd-prog[value]::-webkit-progress-bar {
    border-radius: 10rem;
    background: var(--background);
}

.fd-prog[value]::-webkit-progress-value {
    border-radius: 10rem;
    background: var(--color);
}

.fd-prog[value]::-moz-progress-bar {
    border-radius: 10rem;
    background: var(--color);
}

.fd-nums {
    color: #6d6d6d;
    display: flex;
    font-size: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    justify-content: space-between;
    margin-top: 0.5rem;
}

/* Media Queries */
@media only screen and (max-width: 500px) {
    .head-section {
        gap: 0.5rem;
        margin-left: 0.5rem;
        padding: 3rem 0;
    }

    .staff-table tr td:nth-of-type(3),
    .staff-table tr td:nth-of-type(4) { font-size: 1.4rem; }

    .header-footer-group .kglt-freqs {
        font-size: 1.1rem;
        margin: 1rem auto;
        width: calc(100% - 4rem);
    }

    .menu .sub-menu,
    .menu .menu-item { margin-top: 1rem; }

    .foot-links { font-size: 1.25rem; }

    #table-gear th.has-text-align-center { font-size: 1.6rem}
}
