/*
    AUTHOR: Sam Johnson
    MINIMusic Player
*/

:root {
    --player-color: #fff;
    --player-back-color: #0e0e10;
    --player-bar-color: #414840;
    --player-title-left: 5%;
}

.player {
    background: var(--player-back-color);
    height: 220px;
    position: relative;
    width: 100%;
    z-index: 2;
}

.player .title,
.player .artist {
    font-family: verdana;
    left: var(--player-title-left);
    position: absolute;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.player .title {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    top: 23px;
}

.player .artist {
    color: #eeeeee;
    font-size: 12px;
    top: 40px;
}

.player .pl {
    background: url(../images/musical-notes-outline.svg) no-repeat;
    cursor: pointer;
    height: 40px;
    left: 330px;
    position: absolute;
    top: 20px;
    width: 39px;
}

.player .pl:hover {
    top: 21px;
}

.player .cover {
    border-radius: 5px 5px 5px 5px;
    height: 94px;
    left: 20px;
    position: absolute;
    top: 30px;
    width: 94px;
}

.player .controls {
    cursor: pointer;
    left: 0px;
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translate(-50%, 0);
}

.player .controls .play,
.player .controls .pause {
    width: 60px;
    height: 60px;
    margin: 0 5px 0px 5px;
}

.controls .play,
.controls .pause,
.controls .rew,
.controls .fwd,
.controls .stop {
    text-indent: -10000px;
    border: none;
    float: left;
}

.controls .rew,
.controls .fwd,
.controls .stop {
    width: 50px;
    height: 50px;
    margin: 5px 5px 5px 5px;
}

.controls .play {
    background: url(../images/play-circle-outline.svg) no-repeat;
}

.controls .pause {
    background: url(../images/pause-outline.svg) no-repeat;
    display: none;
}

.controls .rew {
    background: url(../images/play-skip-back-outline.svg) no-repeat;
}

.controls .fwd {
    background: url(../images/play-skip-forward-outline.svg) no-repeat;
}

.controls .stop {
    background: url(../images/stop-circle-outline.svg) no-repeat;
}

.hidden {
    display: none;
}

.player .controls {
    color: #fff;
}

.controls .visible {
    display: block;
}

.volume {
    height: 11px;
    right: var(--player-title-left);
    position: absolute;
    top: 142px;
    width: 140px;
}

.mute .volume-btn {
    background: url(../images/volume-mute-outline.svg) no-repeat;
}

.volume-btn {
    background: url(../images/volume-medium-outline.svg) no-repeat;
    height: 20px;
    width: 20px;
    float: left;
    position: relative;
    top: -4px;
}

.volume-adjust {
    height: 11px;
    position: relative;
    width: 80%;
    background: #fff;
    float: right;
}

.volume-adjust>div>div {
    height: 11px;
    background: var(--player-bar-color);
}

.progressbar {
    background-color: #fff;
    cursor: pointer;
    z-index: 1;
    right: 6.875em;
    /* 110 */
    height: 15px;
    left: 0px;
    position: absolute;
    width: 90%;
    top: 170px;
    margin: 0px 5%;
}

.novolume .progressbar {
    right: 4.375em;
    /* 70 */
}

.progressbar div {
    width: 0%;
    height: 15px;
    position: absolute;
    left: 0;
    top: 0;
}

.bar-loaded {
    background-color: #f1f1f1;
    z-index: 1;
}

.bar-played {
    background: var(--player-bar-color);
    z-index: 2;
}

.timeHolder {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    bottom: 10px;
    position: absolute;
    margin: 0px 5%;
    width: 90%;
}

.time-current,
.time-duration,
.time-separator {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    float: left;
}

.volume .ui-slider-handle {
    background: url("../images/spr.png") no-repeat scroll -201px -188px rgba(0, 0, 0, 0);
    height: 13px;
    width: 13px;
}

.playlist {
    background-color: var(--player-back-color);
    list-style-type: none;
    margin: -10px 0 0 2px;
    padding: 10px 5%;
    position: relative;
    z-index: 1;
    margin: 0px auto;
}

.playlist li,
.playlist div {
    color: #fff;
    cursor: pointer;
    font-weight: normal;
}

.playlist li>a,
.playlist div>a {
    text-decoration: none;
}

.playlist li.active,
.playlist div.active {
    font-weight: bold;
}

.playlist li.active a {
    color: #fff;
}

.playlist li a {
    display: inline-block;
    width: 100%;
    padding: 5px 2px;
    color: #ddd;
}

.playlist li a:hover {
    background-color: #333;
}

.slick-dots {
    bottom: 5px !important;
}

.slick-dots li button:before {
    font-size: 8px !important;
}

@media (max-width: 42em) {
    .player .controls {
        left: 0;
        transform: none;
    }
}