/*
 Theme Name:   ProRadio Child
 Theme URI:    https://pro.radio/
 Description:  The child theme allows easier customizations and template overrides
 Author:       Pro.Radio
 Author URI:   https://pro.radio/
 Template:     proradio
 Version:      1.0.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         right-sidebar
 Text Domain:  proradio-child
*/

@import url("./assets/styles/animations.css");

/* root vars */
:root {
    --admin-bar: 32px;
    --ff-instrument: "Instrument Sans", "Helvetica Neue", "Segoe UI", "Roboto", "Arial", sans-serif;

    --pastel-cream: #fcf6e6;
}

@media screen and (max-width: 782px) {
    :root {
        --admin-bar: 46px;
    }
}

:focus-visible {
    outline: 2px auto rgba(0, 150, 255, 1) !important;
}

/* =============== Header / Nav / Menu =======================*/
.proradio-logolink img {
    width: 120px;
}

.proradio-headerbar__895-container {
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
    background: var(--qtmplayer-colors-background);
}

@media screen and (min-width: 1200px) {
    body {
        padding-bottom: 0px;
    }
}
@media screen and (max-width: 1199px) {
    .proradio-headerbar__895-container {
        position: fixed;
        bottom: 0;
        height: 60px;
    }
}
@media screen and (max-width: 768px) {
    .proradio-headerbar__current-show {
        display: none;
    }
}
.proradio-headerbar__895-container .proradio-headerbar__current-show {
    padding: 0 8vw 0 15px;
    font-family: var(--ff-instrument);
    font-size: 18px;
    letter-spacing: -0.36px;
    font-weight: 400;
    line-height: 140%;
}
.proradio-headerbar__895-container .proradio-headerbar__current-show p {
    margin: 0;
    color: var(--pastel-cream, #fcf6e6);
}
.proradio-headerbar__895-container .proradio-playercontainer {
    flex: 1;
}

.elementor-widget-proradio-elementor-socialicons .proradio-btn.proradio-short-socialicon i {
    color: inherit;
}

.width-auto {
    width: auto;
}

.proradio-playercontainer.proradio-playercontainer--regular #qtmplayer {
    border-left: 1px solid rgba(100, 100, 100, 0.3);
    border-right: 1px solid rgba(100, 100, 100, 0.3);
}

#proradio-headerbar {
    display: flex;
    flex-direction: column;
}

.proradio-headerbar__sticky #proradio-headerbar-content {
    position: relative;
    transform: translateX(-50%);
    width: calc(100% + 2px);
}

body #proradio-headerbar {
    height: 100vh;
}
body.admin-bar #proradio-headerbar {
    height: calc(100vh - var(--admin-bar));
}

body #proradio-headerbar {
    pointer-events: none;
    touch-action: none;
}
body #proradio-headerbar > * {
    pointer-events: all;
    touch-action: auto;
}

.proradio-menu-horizontal {
    align-items: center;
}
.proradio-menu-horizontal .proradio-menubar > li > a > span {
    padding: 0.25em 0.5em;
}

.proradio-menu-horizontal .proradio-menubar .menu-item-has-children::after {
    opacity: 1;
}

/* =========== Mobile Menu Mod ============*/
#proradio-global #proradio-overlay li > a {
    font-size: 1.25rem;
}
.proradio-menu-tree li > .proradio-openthis {
    transform: scale(1.2) translateY(7px);
}
#proradio-global #proradio-overlay .proradio-open .sub-menu {
    padding-bottom: 12px;
}
#proradio-global #proradio-overlay .sub-menu a {
    font-size: 1.15rem;
}
body .proradio-menu-tree li {
    border-top: 1px solid rgb(237 237 237 / 0.3);
}
body .proradio-menu-tree li:last-child {
    border-bottom: 1px solid rgba(237, 237, 237, 0.3);
}

#proradio-global #proradio-overlay #proradio-menu-tree-mobile {
    padding-bottom: 120px;
}

.proradio-safari-mobile .proradio-sidebar__offcanvas {
    padding-bottom: 8px;
}
.proradio-overlay .proradio-sidebar__offcanvas {
    padding-bottom: 8px;
}

/* =============== Player =======================*/
#proradio-headerbar {
    height: max-content !important;
    flex-direction: row;
}
.proradio-headerbar__logo {
    position: relative;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #9b1de1;
    padding: 18px 21px;
    z-index: 1;
}
.proradio-headerbar__logo img {
    height: 100%;
    width: auto;
}

.proradio-menu__logo {
    display: none;
}

.proradio-headerbar__895-container,
#proradio-playercontainer,
.qtmplayer__controllayer,
#qtmplayerTrackControl,
#qtmplayer-controls,
.qtmplayer__basic,
#qtmplayerPlay,
.qtmplayer__songdata,
.qtmplayer__covercontainer,
.qtmplayer__actions,
.qtmplayer__prev,
.qtmplayer__trackcontainer,
.qtmplayer__plclose,
.qtmplayer__volume {
    height: 80px;
    /* height: 70px; */
    transition: height 0.35s ease-out;
}
.qtmplayer__volume i {
    line-height: 80px;
    /* line-height: 70px; */
    transition: line-height 0.35s ease-out;
}

.d895-player #qtmplayerPlay,
.d895-player .qtmplayer__volume {
    border: none;
}

.proradio-scrolled {
    .proradio-headerbar__895-container,
    #proradio-playercontainer,
    .qtmplayer__controllayer,
    #qtmplayerTrackControl,
    #qtmplayer-controls,
    .qtmplayer__basic,
    #qtmplayerPlay,
    .qtmplayer__songdata,
    .qtmplayer__covercontainer,
    .qtmplayer__actions,
    .qtmplayer__prev,
    .qtmplayer__trackcontainer,
    .qtmplayer__plclose,
    .qtmplayer__volume {
        height: 50px;
    }
    .qtmplayer__volume i {
        line-height: 50px;
    }
}

@media screen and (max-width: 1199px) {
    .proradio-scrolled {
        .proradio-headerbar__895-container,
        #proradio-playercontainer,
        .qtmplayer__controllayer,
        #qtmplayerTrackControl,
        #qtmplayer-controls,
        .qtmplayer__basic,
        #qtmplayerPlay,
        .qtmplayer__songdata,
        .qtmplayer__covercontainer,
        .qtmplayer__actions,
        .qtmplayer__prev,
        .qtmplayer__trackcontainer,
        .qtmplayer__plclose,
        .qtmplayer__volume {
            height: 61px;
        }
        .qtmplayer__volume i {
            line-height: 61px;
        }
    }
}

.proradio-scrolled .proradio-headerbar__logo {
    padding: 18px 21px;
}

#qtmplayer-controls .qtmplayer__actions,
#qtmplayer-controls .qtmplayer__trackcontainer {
    display: none;
}

@media screen and (max-width: 1199px) {
    .proradio-headerbar__895-container {
        left: 0;
    }
}

.disabled-link {
    pointer-events: none;
    touch-action: none;
    cursor: default;
}

.d895-player {
    height: 80px;
    /* height: 70px; */
    width: 100%;
    font-family: var(--ff-instrument);

    display: flex;
    justify-content: space-between;
    gap: 40px;
    color: #fcf6e6;
}
#qtmplayerPlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proradio-scrolled .qtmplayer__notification {
    width: 50px !important;
    height: 50px !important;
    left: calc(50% - 25px);
}

.d895-player__left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.d895-player__show-img {
    width: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 650px) {
    .d895-player__show-img {
        display: none;
    }
}

.d895-player__show-img img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    transition: height 0.35s ease-out, width 0.35s ease-out;
}

.proradio-scrolled .d895-player__show-img img {
    width: 44px;
    height: 44px;
}

.d895-player__right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    padding-right: 33px;
    min-width: 18vw;

    @media screen and (max-width: 1340px) {
        gap: 32px;
        min-width: 20vw;
    }

    @media screen and (max-width: 940px) {
        gap: 0px;
        min-width: 0;
        padding: 4px;
    }
}

.d895-player__listen a {
    color: var(--pastel-cream, #fcf6e6);
    text-decoration: none;
    font-family: var(--ff-instrument);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: color 0.3s ease-out 0.05s;
}

.d895-player__listen {
    margin-top: 4px;

    @media screen and (max-width: 940px) {
        display: none;
    }
}
.d895-player__listen > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

body .d895-player__supscript {
    color: var(--pastel-cream, #fcf6e6);
    font-family: var(--ff-instrument);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.7;
    margin-bottom: 0px !important;
    height: 1.4em;
    overflow: hidden;
    letter-spacing: 0 !important;
    transition: height 0.3s ease-out 0.05s;
}
.proradio-scrolled .d895-player__supscript {
    height: 0;
    margin: 0;
}

.d895-player__right:before {
    content: "";
    width: 1px;
    height: 63px;
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    background: #898989;
    transition: height 0.35s ease-out;
}

.proradio-scrolled .d895-player__right:before {
    height: 44px;
}

.proradio-scrolled .d895-player {
    height: 50px;
}

#proradio-menu {
    backdrop-filter: blur(10px);
}

.d895-player .qtmplayer__songdata {
    width: 28vw;
}

@media screen and (max-width: 768px) {
    .d895-player .qtmplayer__songdata {
        width: 60vw;
    }
}
@media screen and (max-width: 480px) {
    .d895-player .qtmplayer__songdata {
        width: 45vw;
    }
}

.marquee-container {
    /* width: 300px; */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
}

.marquee-container p.marquee-text {
    padding-right: 50px; /* gap between duplicates */
    display: flex !important;
    gap: 8px;
}

.marquee-animate .marquee-track {
    animation: scroll-loop 15s linear infinite;
}

.marquee-container:not(.marquee-animate) .marquee-text:nth-child(2) {
    display: none !important;
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.d895-player .qtmplayer__title,
.d895-player .qtmplayer__artist,
.d895-player .marquee-text {
    overflow: visible;
    color: var(--pastel-cream, #fcf6e6) !important;
    opacity: 1;
    font-family: var(--ff-instrument);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.36px;
}

@media only screen and (min-width: 1200px) {
    .d895-player .qtmplayer__songdata {
        padding: 0 18px;
        height: max-content;
    }
}

.d895-player__playlist {
    color: var(--pastel-cream, #fcf6e6);
    font-family: var(--ff-instrument);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    height: 1.4em;
    letter-spacing: -0.36px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    margin: 0;
    padding-bottom: 0px;
    display: inline-block;
    white-space: nowrap;
}

@media only screen and (max-width: 1200px) {
    .proradio-scrolled .proradio-headerbar__logo,
    .proradio-headerbar__logo {
        padding: 8px;
    }
}
@media only screen and (max-width: 600px) {
    .proradio-scrolled .proradio-headerbar__logo,
    .proradio-headerbar__logo {
        padding: 4px;
    }
}
@media only screen and (min-width: 601px) {
    .proradio-menu {
        display: flex !important;
        align-items: center;
    }
    .proradio-menu__cont {
        width: 100%;
    }
}

.dance895-search {
    border: none;
    color: var(--pastel-cream, #fcf6e6);
}

.dance895-search.proradio-btn i {
    color: currentColor;
    font-size: 1.7em;
}

.dance895-search-divider {
    height: 36px;
    width: 1px;
    background: rgba(252, 246, 230, 0.5);
    margin-right: 4px;
    margin-left: 14px;
}

.dance895-menu-cta {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: var(--pastel-cream, #fcf6e6);
    font-family: "Instrument Sans";
    font-size: 18px;
    font-weight: 400;
    line-height: 100%; /* 18px */
}

body .proradio-menubtns__c a#proradioCta,
body .proradio-sidebar__offcanvas a#proradioCta {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
}
@media only screen and (max-width: 600px) {
    body .proradio-menubtns__c a#proradioCta.proradio-hide-on-small-only {
        display: flex !important;
    }
}

.collapsable-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 500ms;
}

.collapsable-content > div {
    overflow: hidden;
}

.collapsable.is-open .collapsable-content {
    grid-template-rows: 1fr;
}

.ad-plugg-container {
    /* display: none !important; */
    height: 0 !important;
    transition: height 5s ease-out;
}

.ad-plugg-container.ad-plugg-loaded {
    /* display: var(--display) !important; */
    height: auto !important;
}

.e-con.e-parent .elementor-widget-all_shows .all-shows-widget #shows-results .loader,
.loader {
    width: 45px;
    aspect-ratio: 0.75;
    --c: linear-gradient(#000 0 0);
    background-image: var(--c), var(--c), var(--c) !important;
    background-repeat: no-repeat !important;
    background-position: 0% 50%, 50% 50%, 100% 50% !important;
    animation: l7 1s infinite linear alternate;
}
@keyframes l7 {
    0% {
        background-size: 20% 50%, 20% 50%, 20% 50%;
    }
    20% {
        background-size: 20% 20%, 20% 50%, 20% 50%;
    }
    40% {
        background-size: 20% 100%, 20% 20%, 20% 50%;
    }
    60% {
        background-size: 20% 50%, 20% 100%, 20% 20%;
    }
    80% {
        background-size: 20% 50%, 20% 50%, 20% 100%;
    }
    100% {
        background-size: 20% 50%, 20% 50%, 20% 50%;
    }
}

.testimonial-slider__no-title-link .proradio-post__title a {
    pointer-events: none;
    touch-action: none;
}
.testimonial-slider__always-show-hover .proradio-slider__exc {
    max-height: unset !important;
    opacity: 0 !important;
    transition: opacity 0.5s !important;
    transition-delay: 0.85s !important;
}
.testimonial-slider__always-show-hover .owl-item.active .proradio-slider__exc {
    opacity: 1 !important;
}
.testimonial-slider__full-overlay .proradio-slider__c.proradio-slider__c--post {
    /* background: rgba(0, 0, 0, 0.2) !important; */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    /* backdrop-filter: blur(10px) !important; */
}
/* .testimonial-slider .owl-item.active .proradio-slider__c.proradio-slider__c--post {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px) !important;
} */

.custom-checkbox input {
    display: none !important;
}

.custom-checkbox .checkmark {
    height: 16px;
    width: 16px;
    background-color: white;
    border: none;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    margin-right: 4px;
    border: 1px solid #ccc;
}

.custom-checkbox input:checked + .checkmark {
    background-color: #9b1de1;
    border: 1px solid transparent;
}

.custom-checkbox input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* this is to fix the threads icon */
.fa-threads:before {
    content: "\e9cb";
}

/* ========== Footer ========== */
#legal-footer .proradio-menu-horizontal {
    display: flex !important;
}

#legal-footer .proradio-menu-horizontal .proradio-menubar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
}

#legal-footer .proradio-menu-horizontal .proradio-menubar a {
    padding: 0;
}

@media screen and (max-width: 1023.99px) {
    #legal-footer > .e-con-inner {
        flex-direction: column-reverse;
        align-items: center;
    }
    #legal-footer .proradio-menu-horizontal .proradio-menubar {
        justify-content: center;
    }
}
@media screen and (max-width: 767.99px) {
    #legal-footer .proradio-menu-horizontal .proradio-menubar {
        gap: 3vw;
    }
}

/* ========== Show Cards ========== */
@media screen and (min-width: 922px) {
    .proradio-post__card--shows {
        min-height: 250px !important;
    }
}
@media screen and (min-width: 1200px) {
    .proradio-post__card--shows {
        min-height: 200px !important;
    }
}

.proradio-post__card--shows {
    padding-top: 90% !important;
}

.proradio-post__card--shows .proradio-cats a {
    color: #fff;
    /* font-size: 0.9em; */
    font-weight: bold;
    border-color: #fb62f6;
}

.all-hosts-widget .proradio-post__card--shows {
    padding-top: 75% !important;
}

.proradio-searchbar__mobileMenu .proradio-searchbar {
    opacity: 1;
    left: 0;
    bottom: 0;
    position: relative;
    margin: 0 30px;
    width: calc(100% - 60px);
    padding: 0;
    transform: none;
    height: 44px;
    border-radius: 4px;
}

.proradio-searchbar__mobileMenu {
    .proradio-searchbar__cont {
        padding: 0;
        height: 44px;
    }

    form input {
        font-size: 1.25rem;
        margin-right: 0;
    }

    button[type="submit"] {
        display: block !important;
        min-height: 44px;
        border: none;
        font-size: 0;
        aspect-ratio: 1;
        padding: 0;

        i {
            margin: 0 !important;
            float: none;
            font-size: 18px;
        }
    }

    form {
        padding: 0;
        height: 44px;
    }

    a.proradio-btn.proradio-btn__r {
        display: none !important;
    }
}

.search-results .proradio-search-ajax button[type="submit"] {
    height: 100% !important;
    border: 0;
}
.search-results .proradio-search-ajax button[type="submit"]:hover i {
    color: #2f2a2a !important;
}
