﻿
.ABplayer{
    max-width:400px;
    position:relative;
    box-shadow:2px 2px 10px rgba(0,0,0,0.7);
}

.albumcover{
    position:relative;
}

.albumcover:after{
    pointer-events:none;
    content:' ';
    position:absolute;
    z-index:0;
    left:0;
    right:0;
    bottom:0;
    opacity:0.7;
    height:80px;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.84) 99%, rgba(0,0,0,0.85) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.84) 99%,rgba(0,0,0,0.85) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.84) 99%,rgba(0,0,0,0.85) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d9000000',GradientType=0 ); /* IE6-9 */
}

.abs-controls {
    position: absolute;
    bottom:0;
    width:100%;
    height:100%;
}

.disable i{
    cursor:default;
}
.volume i{
    float:left;
    width:30px;
    padding:3px 0;
}
.marker{
    position:absolute;
    cursor: pointer;
    left:0;
    height:10px;
    width:10px;
    background:#fff;
    border-radius:100%;
}
.ui-widget-content{
    background:#fff!important;
    overflow:hidden;
}
.ui-widget-header{
    background:rgb(187,36,36)!important;
    border-radius:0!important;
}
.ui-corner-all{
}
.ui-slider-horizontal{
    height:10px !important;
    border:0 !important;
    cursor:pointer;
    margin: 5px 0 5px 25px;
}
.ui-slider-handle{
    width:0!important;
    height:0!important;
    border:none!important;
}

.ABplayer .match,
.ABplayer .selector {
    padding:5px;
    border:3px solid transparent;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align:center;
    font-weight:500;
    cursor:pointer;
}

.ABplayer .selector:not(.active){
    background: rgb(210,125,120);
    color:#fff;
    opacity:0.9;
}
    .ABplayer .selector:not(.active):hover {
        opacity:1;    
    }

.ABplayer .selector.active{
    background:rgb(187,36,36);
    color:#fff;
}

.ABplayer .transport{
    height:100%;
    width:100%;
}

.ABplayer:not(.ready) .transport .glyphicon{
    display:none;
}

.ABplayer .transport .glyphicon {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    font-size: 3em;
    z-index: 2;
    color: #fff;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    height: 100%;
    width: 100%;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}
    .ABplayer .transport .glyphicon:before {
        position:absolute;
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        top: 50%;
        left: 50%;
    }

    .ABplayer .transport .glyphicon:after {
        content:' ';
        position:absolute;
        z-index:-1;
        width:75px;
        height:75px;
        top: 50%;
        left: 50%;
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        background:rgb(187,36,36);
        border-radius:100%;
            box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    }

    .ABplayer .transport .glyphicon.glyphicon-stop{
        opacity:0;
    }
        .ABplayer .transport:hover .glyphicon.glyphicon-stop {
            opacity:1;
        }

    .ABplayer .transport .progressbar {
        border-radius: 0px !important;
        width: 100%;
        z-index:2;
        height: 3px !important;
        cursor: pointer;
        margin: 0;
        overflow: hidden;
        position: absolute;
        bottom: 0;
        opacity: 0.7;
        -moz-transition: height 0.3s linear, opacity 0.3s linear;
        -o-transition: height 0.3s linear, opacity 0.3s linear;
        -webkit-transition: height 0.3s linear, opacity 0.3s linear;
        transition: height 0.3s linear, opacity 0.3s linear;
        box-shadow:0px 0px 5px rgba(0,0,0,0.6);
    }

    .ABplayer .albumcover:hover .transport .progressbar{
        height:15px!important;
        opacity:0.85;
    }


.ABplayer .volumecontrol{
    margin: 20px 0;
}

.ABplayer .match{
    cursor:pointer;
    text-align:center;
    background:#4e5d6c;
    color:#ebebeb;
}

.ABplayer .match .toggleswitch{
    position:relative;
    width:40px;
    height:20px;
    border-radius:15px;
    border:2px solid #fff;
    display:inline-block;
    vertical-align:text-top;
    margin-right:20px;
}

    .ABplayer .match .toggleswitch:after {
        position: absolute;
        content: ' ';
        height: 14px;
        width: 14px;
        background: #fff;
        left: 1px;
        top: 1px;
        border-radius: 100%;
        opacity: 0.8;
        -moz-transition: all 0.05s linear;
        -o-transition: all 0.05s linear;
        -webkit-transition: all 0.05s linear;
        transition: all 0.05s linear;
    }

    .ABplayer .match.active .toggleswitch:after {
        left:21px;
        opacity:1;
    }

    .ABplayer .match .toggleswitch:before {
        position: absolute;
        content: ' ';
        height: 14px;
        width: 34px;
        background: rgba(255,255,255,0.15);
        left: 1px;
        top: 1px;
        border-radius: 14px;
        opacity: 0.8;
    }

    .ABplayer .match.active .toggleswitch:before {
        background:#5cb85c;
    }

.ABplayer .match:hover{
    background:#485563;
}

.ABplayer .volumecontrol .volume{
    margin-top:5px;
}


.ABplayer .loading{
    display:none;
    position:absolute;
    height:100%;
    width:100%;
    /*background:rgba(80,10,10,0.9);*/
    top:0;
    left:0;
    backdrop-filter:blur(3px);
    z-index:10;
}

.ABplayer .loading p {
    color:#fff;
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}


.ABplayer .loading:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,0.4+26,0+50,0.4+75,0+100 */
background: -moz-linear-gradient(-45deg,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 26%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.4) 26%,rgba(255,255,255,0) 50%,rgba(255,255,255,0.4) 75%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.4) 26%,rgba(255,255,255,0) 50%,rgba(255,255,255,0.4) 75%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

    z-index: 1;
    -webkit-background-size: 150px 150px;
    -moz-background-size: 150px 150px;
    background-size: 150px 150px;
    -webkit-animation: move 3s linear infinite;
    -moz-animation: move 3s linear infinite;
    -o-animation: move 3s linear infinite;
    animation: move 3s linear infinite;
    overflow: hidden;
}

@-webkit-keyframes move {
    0% { background-position: 0 0; }
    100% { background-position: 150px 150px; }
}
@-moz-keyframes move {
    0% { background-position: 0 0; }
    100% { background-position: 150px 150px; }
}
@keyframes move {
    0% { background-position: 0 0; }
    100% { background-position: 150px 150px; }
}


.ABplayer .inactive{
    position:absolute;
    height:100%;
    width:100%;
    top:0;
    left:0;
    z-index:10;
}

.ABplayer .inactive:after{
    content:' ';
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background:rgba(0,0,0,0.3);
    pointer-events:block;
    backdrop-filter:blur(3px);
}


    .ABplayer .inactive .playbutton {
        position: absolute;
        top: 50%;
        left: 50%;
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        font-size:3em;
        z-index:2;
        color:#fff;
        cursor:pointer;
    }
        .ABplayer .inactive .playbutton:after {
            content:' ';
            position:absolute;
            z-index:-1;
            width:75px;
            height:75px;
            top: 50%;
            left: 50%;
            -moz-transform: translateX(-50%) translateY(-50%);
            -ms-transform: translateX(-50%) translateY(-50%);
            -o-transform: translateX(-50%) translateY(-50%);
            -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
            background:rgb(187,36,36);
            border-radius:100%;
            box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
        }

.player-button{
    width:50%;
    display:inline-block;
}

.player-button.wide{
    width:100%;
    float:none;
}


