/*player*/
.jp-video .jp-controls-holder {
	overflow: visible !important;
    width: 100% !important;
    display: flex;
    gap: 2rem;
}
.jp-video .jp-controls-holder > div,
.jp-video .jp-controls-holder > .jp-speeding {
    margin: 0 !important;
    justify-content: center;
}

.jp-volume-bar {
    padding: 0 !important;
    border: none !important;
}
.jp-volume-controls {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.jp-volume-controls button,
.jp-volume-bar {
    position: static !important;
}
.jp-volume-controls .jp-mute {
    order: 1;
}
.jp-video .jp-volume-bar {
    order: 2;
    margin-top: 0 !important;
}
.jp-video .jp-volume-controls .jp-volume-max {
    order: 3;
}

.jp-video .jp-toggles,
.jp-speeding {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: 0 !important;
}
.jp-speeding li {
    font-family: var(--base-font) !important;
}
.jp-speeding .jp-playback-rate {
    color: var(--gray) !important;
}
.jp-speeding .jp-playback-rate.selected {
    color: var(--primary-color) !important;
}

/**/
.jp-audio, .jp-audio-stream, .jp-video {
    font-family: var(--base-font) !important;
    border-radius: var(--r1);
    border-color: var(--light-gray) !important;
    background: var(--light-bg) !important;
}
.jp-interface {
    padding: 1rem;
    border-radius: var(--r1);
    background: var(--light-bg) !important;
}
.jp-progress,
.jp-volume-bar {
    height: .3rem !important;
    border-radius: 50px;
}
.jp-seek-bar,
.jp-volume-bar {
    background: var(--light-gray) !important;
}
.jp-play-bar,
.jp-volume-bar-value {
    background: var(--primary-color) !important;
    border-radius: 50px;
    position: relative;
}

div.jp-video .jp-progress {
    border-top: none !important;
    border-bottom: none !important;
}
.jp-current-time, .jp-duration {
    font-size: .75rem !important;
    color: var(--gray) !important;
    padding: 0 !important;
}

.jp-type-playlist .jp-stop {
    display: none;
}

.jp-controls {
    background: none !important;
    overflow: visible !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    gap: .5rem;
    align-items: center;
    flex-grow: 1;
}
/*play button*/
.jp-type-playlist .jp-play {
    width: 5rem !important;
    height: 5rem;
    background: var(--primary-color) !important;
    border-radius: 100px;
    overflow: visible !important;
    color: transparent;
}
.jp-state-playing div.jp-type-playlist .jp-play:before,
.jp-state-playing div.jp-type-playlist .jp-play:focus:before {
    content: "\f04c";
    text-indent: 0;
}
.jp-type-playlist .jp-play:before {
	font-family: 'Font Awesome 6 Free';
	font-weight: 600;
    content: "\f04b";
    display: block;
    font-size: 2.5rem;
    line-height: 5rem;
    color: var(--white);
    text-indent: 0.3rem;
}

/*prev & next buttons*/
.jp-type-playlist .jp-previous,
.jp-type-playlist .jp-next {
    background: var(--light-gray) !important;
    width: 3rem !important;
    height: 3rem;
    border-radius: 100px;
    color: transparent;
}

.jp-type-playlist .jp-previous:before {
	font-family: 'Font Awesome 6 Free';
	font-weight: 600;
    content: "\f04a";
    display: block;
    font-size: 1.25rem;
    line-height: 3rem;
    color: var(--gray);
    text-indent: 0;
}
.jp-type-playlist .jp-next:before {
	font-family: 'Font Awesome 6 Free';
	font-weight: 600;
	content: "\f04e";
    display: block;
    font-size: 1.25rem;
    line-height: 3rem;
    color: var(--gray);
    text-indent: 0;
}
.jp-type-playlist .jp-previous:focus:before,
.jp-type-playlist .jp-next:focus:before,
.jp-volume-controls .jp-mute:focus:before,
.jp-video .jp-volume-controls .jp-volume-max:focus:before,
.jp-repeat:focus:before,
.jp-shuffle:focus:before,
.jp-full-screen:focus:before {
    color: var(--primary-color);
}

/*other buttons*/
.jp-volume-controls .jp-mute,
.jp-video .jp-volume-controls .jp-volume-max,
.jp-repeat,
.jp-shuffle,
.jp-full-screen {
    background: var(--light-gray) !important;
    border-radius: 100px;
    width: 2rem !important;
    height: 2rem !important;
    color: transparent;
    margin-left: 0 !important;
}
.jp-volume-controls .jp-mute:before,
.jp-video .jp-volume-controls .jp-volume-max:before,
.jp-repeat:before,
.jp-shuffle:before,
.jp-full-screen:before {
	font-family: 'Font Awesome 6 Free';
	font-weight: 600;
    display: block;
    font-size: .75rem;
    line-height: 2rem;
    color: var(--gray);
    text-indent: 0;
}
.jp-volume-controls .jp-mute:before {   
	content: "\f6a9";
}
.jp-video .jp-volume-controls .jp-volume-max:before {
	content: "\f028";
}
.jp-repeat:before {
	content: "\f363";
}
.jp-shuffle:before {
	content: "\f074";
}
.jp-full-screen:before {
	content: "\f065";
}
.jp-toggles {
    overflow: visible !important;
    width: auto !important;
}
.jp-toggles button,
.jp-volume-controls button {
    padding: 0;
    transition: all .2s ease-in-out;
}
.jp-controls button:hover,
.jp-toggles button:hover,
.jp-volume-controls button:hover {
    transform: scale(1.1);
    transition: all .2s ease-in-out;
}
.jp-controls button {
    overflow: visible;
    transition: all .2s ease-in-out;
}

/*playlist*/
.jp-playlist li {
    margin: 0 -20px;
    border-bottom: 0
}
.jp-playlist li,
div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
    background: var(--light-bg) !important;
    padding: .5rem 20px !important;
    border-top: 1px solid var(--light-gray) !important;
    border-bottom: none !important;   
    font-size: .75rem;
}
.jp-playlist li a {
    color: var(--gray) !important;
}
.jp-playlist li:last-child {
    border-radius: 0 0 var(--r1) var(--r1);
}
div.jp-type-playlist div.jp-playlist li.jp-playlist-current a {
    color: var(--primary-color) !important;
}
span.jp-artist {
    color: var(--gray) !important;
}

@media (max-width: 1024px) {
    .jp-type-playlist .jp-play {
        width: 4rem !important;
        height: 4rem;
    }
    .jp-type-playlist .jp-play:before {
    	font-size: 1.5rem;
    	line-height: 4rem;
}
    .jp-interface .jp-controls-holder {
        flex-wrap: wrap;
    	gap: 1rem;
    }
    .jp-controls {
        order: 1;
        flex-basis: 100%;
    }
    .jp-volume-controls {
        order: 2;
        flex-basis: 30%;
        flex-grow: 1;
    }
    .jp-toggles {
        order: 3;
        flex-basis: 30%;
        flex-grow: 1;
    }
    .jp-speeding {
        order: 4;
        flex-basis: 30%;
        flex-grow: 1;
    }
}
@media (max-width: 767px) {
    .jp-interface .jp-controls-holder {
        margin-left: 0 !important;
    }
    .jp-volume-controls {
        display: none !important;
    }
}
@media (min-width: 729px) and (max-width: 1024px) {
    .jp-video {
        width: 670px !important;
        margin: 0 auto;
    }
}