﻿

/* HTML5 Audio player with playlist styles */

.player {
    background: var(--tg-primary-color);
    height: 180px;
    position: relative;
    width: 100%;
    z-index: 2;
}

.titlex {
    font-family: verdana;
    left: 25px;
    position: absolute;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

 .artist {
    font-family: verdana;
    left: 125px;
    position: absolute;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.titlex {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    top: 5px;
}

.artist {
    color: #EEEEEE;
    font-size: 12px;
    top: 25px;
}

.pl {
    background: url(/tools/images/playlist.png) no-repeat;
    cursor: pointer;
    height: 40px;
    left: 330px;
    position: absolute;
    top: 20px;
    width: 39px;
}

    .pl:hover {
        top: 21px;
    }

.cover {
    border-radius: 5px 5px 5px 5px;
    height: 94px;
    left: 20px;
    position: absolute;
    top: 30px;
    width: 94px;
    background-size: 100% 100%;
}

.controls {
    cursor: pointer;
    left: 0px;
    position: absolute;
    top: 44px;
    left: 122px;
}

    .controls .play, .controls .pause {
        width: 30px;
        height: 30px;
        margin: 3px 3px 3px 3px;
    }

    .controls .play, .controls .pause, .controls .rew, .controls .fwd, .controls .stop {
        text-indent: -10000px;
        border: none;
        float: left;
    }

    .controls .rew, .controls .fwd, .controls .stop {
        width: 30px;
        height: 30px;
        margin: 3px 3px 3px 3px;
    }

    .controls .play {
        background: url(/tools/images/play.png) no-repeat;
        background-size: 100% 100%;
    }

    .controls .pause {
        background: url(/tools/images/pause.png) no-repeat;
        background-size: 100% 100%;
        display: none;
    }

    .controls .rew {
        background: url(/tools/images/rewind.png) no-repeat;
        background-size: 100% 100%;
    }

    .controls .fwd {
        background: url(/tools/images/next.png) no-repeat;
        background-size: 100% 100%;
    }

    .controls .stop {
        background: url(/tools/images/stop.png) no-repeat;
        background-size: 100% 100%;
    }

.hidden {
    display: none;
}

.controls .visible {
    display: block;
}

.volume {
    height: 11px;
    left: 120px;
    position: absolute;
    top: 110px;
    width: 140px;
}

.mute .volume-btn {
    background: url(/tools/images/volume-off.png) no-repeat;
}

.volume-btn {
    background: url(/tools/images/volume-up.png) 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(--tg-secondary-color);
    }

.progressbar {
    background-color: #fff;
    cursor: pointer;
    z-index: 1;
    right: 6.875em; /* 110 */
    height: 15px;
    left: 0px;
    position: absolute;
    width: 90%;
    top: 130px;
    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(--tg-secondary-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:rgba(0, 0, 0, 0);
    height: 13px;
    width: 13px;
}

.playlist {
   direction:rtl;
    list-style-type: none;
    margin: -10px 0 0 2px;
    padding:0;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
    width: 95%;
    z-index: 1;
    margin: 0px auto;
}

    .playlist li {
        color: #151B48;
        cursor: pointer;
        margin: 0 0 5px 5px;
    }

        .playlist li > a {
            color: var(--tg-paragraph-color);
            text-decoration: none;
        }

        .playlist li.active {
            font-weight: bold;
            font-style:italic;
            color: var(--tg-metallic-blue) !important;
        }
