/* (v1.3.3) */
:root {
    --rp-width: 400px;
    --rp-bg: #FFFFFF;
    --rp-text: #151826;
    --rp-radius: 2px;
    --rp-shadow: 0 -1px 2px -15px rgba(0, 0, 0, .5);
    --rp-accent: #40ce87;
    --rp-accent-orange: #f6931f
}

div.radio-player {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    width: var(--rp-width);
    background: var(--rp-bg);
    box-shadow: var(--rp-shadow);
    position: relative;
    box-sizing: border-box
}

div.radio-player,
div.radio-player * {
    box-sizing: border-box
}

div.radio-player-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden
}

div.radio-player .radio-player-thumbnail {
    margin-right: 10px;
    width: 100%
}

div.radio-player .radio-player-thumbnail[src=""] {
    display: none
}

div.radio-player .radio-player-title {
    color: var(--rp-text);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    font-size: 16px
}

div.radio-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 0 15px
}

div.radio-player .radio-player-song-title {
    overflow: hidden;
    line-height: 1;
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center
}

div.radio-player .radio-player-song-title span.track-title {
    width: max-content;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    color: var(--rp-text);
    font-size: .875rem;
    display: inline-flex;
    align-items: center
}

div.radio-player .radio-player-song-title span.track-title.animation-disabled {
    animation: none;
    padding: 0
}

div.radio-player .radio-player-song-title span.track-title svg {
    margin-right: 5px
}

div.radio-player .radio-player-song-title span.track-title:empty {
    display: none
}

div.radio-player .radio-player-song-title span.track-title:hover {
    animation-play-state: paused
}

@keyframes marquee {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(-100%, 0)
    }
}

div.radio-player .radio-player-volume {
    display: flex;
    align-items: center;
    position: relative
}

div.radio-player .radio-player-volume .volume-icon {
    position: relative;
    z-index: 9
}

div.radio-player .radio-player-volume .volume-slider {
    position: absolute;
    height: 0;
    width: 56px;
    overflow: hidden;
    bottom: -5px;
    border-radius: 5px;
    background: var(--rp-bg);
    box-shadow: 0 -6px 8px -2px rgb(0 9 27 / .36);
    transition: height .15s ease-in-out;
    transition-delay: 1s
}

div.radio-player .radio-player-volume .volume-slider-bar {
    display: block;
    position: absolute;
    top: 20px;
    bottom: 45px;
    left: 50%;
    width: 3px;
    margin-left: -1px;
    border-radius: 2px;
    background-image: linear-gradient(to top, #fff 0, var(--rp-text) 100%)
}

div.radio-player .radio-player-volume .volume-slider-handle {
    position: absolute;
    left: 50%;
    border-radius: 50%;
    background: var(--rp-bg);
    width: 24px;
    height: 24px;
    box-shadow: 0 4px 4px rgb(0 9 27 / .36), 0 0 0 4px var(--rp-accent-orange) inset;
    cursor: ns-resize;
    margin: -12px;
    bottom: var(--radio-player-volume-slider)
}

div.radio-player .radio-player-volume:hover .volume-slider {
    height: 160px;
    transition-delay: 0s
}

div.radio-player button {
    padding: 3px !important;
    background: #fff0;
    border: 0;
    outline: 0;
    cursor: pointer;
    color: var(--rp-text) !important;
    line-height: 0 !important;
    transition: all .2s ease
}

div.radio-player button svg {
    height: 24px;
    width: 24px
}

div.radio-player button.radio-play-pause {
    transform: scale(1.7)
}

div.radio-player button:hover path,
div.radio-player button:hover svg {
    fill: var(--rp-accent)
}

div.radio-player .radio-player-status {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    margin-bottom: 5px;
    color: var(--rp-text)
}

div.radio-player .radio-player-status .radio-player-status-icon {
    margin-right: 5px;
    width: 10px;
    height: 10px;
    background: var(--rp-accent);
    border-radius: 50%
}

div.radio-player .radio-player-status .status-text-live {
    color: var(--rp-accent)
}

.radio-player-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: rp-spin 2s linear infinite
}

@keyframes rp-spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

div.radio-player.skin4 {
    border-radius: var(--rp-radius);
    flex-flow: column;
    background: linear-gradient(135deg, #fff 0%, #c6c6c6 100%)
}

.radio-player.skin4.shortcode {
    padding: 15px;
    border: none;
    background: var(--rp-bg)
}

.radio-player.skin4.shortcode .radio-player-details {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    margin-bottom: 15px
}

.radio-player.skin4.shortcode .radio-player-details .radio-player-title {
    margin: 0 10px 0 0;
    flex: none
}

.radio-player.skin4.shortcode .radio-player-details .radio-player-status {
    margin: 0
}

.radio-player.skin4.shortcode .radio-player-details .radio-player-status .status-text-live,
.radio-player.skin4.shortcode .radio-player-details .radio-player-status .status-text-offline {
    font-size: 10px;
    line-height: 10px
}

.radio-player.skin4.shortcode .radio-player-details .radio-player-song-title {
    width: 100%;
    margin-top: 5px;
    text-align: left
}

.radio-player.skin4.shortcode .radio-player-details .radio-player-song-title span {
    margin-bottom: 0
}

.radio-player.skin4.shortcode .radio-player-details .details-inner {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    width: calc(100% - 110px)
}

.radio-player.skin4.shortcode .radio-player-details .details-inner .title-wrap {
    display: flex;
    max-width: 100%
}

.radio-player.skin4.shortcode .radio-player-details .details-inner .title-wrap .radio-player-title {
    flex: 1
}

.radio-player.skin4.shortcode .radio-player-details .details-inner .title-wrap .radio-player-status {
    padding-right: 5px
}

.radio-player.skin4.shortcode .radio-player-details .thumbnail-wrap {
    margin-top: -50px;
    width: 90px
}

.radio-player.skin4.shortcode .radio-player-details .thumbnail-wrap img {
    max-width: 100%;
    margin-right: 0;
    aspect-ratio: 1;
    object-fit: cover
}

.radio-player.skin4.shortcode .radio-player-controls {
    justify-content: space-around;
    border-radius: 15px;
    flex-wrap: nowrap
}

.radio-player.skin4.shortcode .radio-player-controls>* {
    margin: 0
}

.radio-player.skin4.shortcode .radio-player-controls .volume-bar {
    margin-left: 3px
}

@media (max-width:767px) {
    div.radio-player {
        --rp-width: 320px
    }

    div.radio-player-details {
        width: 100%;
        justify-content: center
    }
}

.widget .radio-player.skin4.shortcode .radio-player-details .thumbnail-wrap {
    margin-top: 0
}

.widget .radio-player.skin4.shortcode {
    padding: 10px
}

/* Sidebar widget fix - remove negative margin causing overlap */
.widget .radio-player.skin4.shortcode .radio-player-details .thumbnail-wrap {
    margin-top: 0
}

.widget .radio-player.skin4.shortcode {
    padding: 10px
}