/* ----------------------------------------------------------------------

Scamp Player Stylesheet

---------------------------------------------------------------------- */

/* Import fonts */
@import url(../fonts/style.css);

/* Global settings */

#scamp_player * {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
#scamp_player {
    font-family: "Roboto", Arial, sans-serif;
}


/* Main styles
------------------------------- */
#scamp_player {
    width: 100%;
    clear: both;
    position: fixed;
    left: 0;
    bottom: 0;
    bottom: -100%;
    z-index: 999999;
}
#scamp_player > a { display: none; }
#scamp_player, .sp-buttons-container a {
    -webkit-transition: all .2s ease-out;
       -moz-transition: all .2s ease-out;
        -ms-transition: all .2s ease-out;
         -o-transition: all .2s ease-out;
            transition: all .2s ease-out;
}
#scamp_player.sp-show {
    bottom: 0px;
}

/* Toggle */
#sp-toggle-wrap {
    overflow: hidden;
}
    #sp-toggle {
        float: right;
        width: 30px;
        height: 20px;
        z-index: 10;
        cursor: pointer;
        text-align: center;
        font-size: 26px;
        font-weight: normal;
        line-height: 20px;
    }
    #sp-toggle:after {
        content: "\002B";
        display: inline-block;
    }
    #scamp_player.sp-show-player #sp-toggle:after {
        content: "\00D7";
        display: inline-block;
    }

/* Show player */
.sp-main-container { 
    position: relative;
    display: none;
}
#scamp_player.sp-show-player .sp-main-container {
    display: block;
}
#scamp_player.sp-show-player.sp-show-list .sp-main-container {
}


/* Player Container
-------------------------------------------- */
.sp-player-container {
    width: 100%;
    z-index: 2;
    padding: 0 20px;
    height: 58px;
    position: relative;
}
.sp-show-list .sp-player-container:before {
    content: '';
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    top: -20px;
    border-bottom: 1px solid;
}
    
    /* Buttons
    ------------------------------------ */
    .sp-buttons-container {
        width: 23.94366%;
        float: left;
        margin-right: 1.40845%;
        height: 58px;;
        position: relative;
        line-height: normal;
        padding-top: 10px;
    }

        .sp-buttons-container .sp-controls {
            display: inline-block;
            text-align: left;
        }
        .sp-buttons-container a {
            display: inline-block;
            cursor: pointer;
            margin-right: 5px;
            font-size: 28px;
            vertical-align: middle;
            text-align: left;
        }
        .sp-buttons-container a:hover {}
        .sp-buttons-container a:before {
            font-family: 'Scamp-Player';
        }
        .sp-buttons-container a.sp-play-button:before {
            content: "\e613";
            font-size: 42px;
        }
        #scamp_player.playing .sp-buttons-container a.sp-play-button:before {
            content: "\e611";
            font-size: 42px;
        }
        #scamp_player.loading .sp-buttons-container a.sp-play-button:before {
            content: "\e620";
            font-size: 42px;
            display: inline-block;
            -webkit-animation:spin 2s linear infinite;
            -moz-animation:spin 2s linear infinite;
            animation:spin 2s linear infinite;
        }
        .sp-buttons-container a.sp-next-button:before {
            content: "\e616";
        }
        .sp-buttons-container a.sp-prev-button:before {
            content: "\e617";
        }


        /* Volume
        ------------------------------------ */
        .sp-volume-container {
            position: relative;
            display: inline-block;
        }   
            .sp-buttons-container a.sp-volume-button:before {
                content: "\e61b";
            }
            .sp-buttons-container a.sp-volume-button.sp-vol-max:before { content: "\e61b"; }
            .sp-buttons-container a.sp-volume-button.sp-vol-medium:before { content: "\e618"; }
            .sp-buttons-container a.sp-volume-button.sp-vol-off:before { content: "\e61a"; }
            .sp-volume-bar-container {
                width: 120px;
                position: absolute;
                top: -69px;
                left: -45px;
                height: 40px;
                display: none;
            }
            .sp-volume-bar-container:after {
                content: "";
                width: 20px;
                height: 20px;
                position: absolute;
                bottom: -10px;
                left:50%;
                margin-left: -10px;
                -webkit-transform: rotate(45deg);
                -moz-transform: rotate(45deg);
                transform: rotate(45deg);
            }
        .sp-volume-slider {
            height: 8px;
            width: 100px;
            position: relative;            
            margin-left: 10px;
            margin-top: 16px;
            z-index: 1;
            cursor:ew-resize;
            cursor:-moz-grab;
            cursor:grab;
        }

            .sp-volume-position {
                position: absolute;
                left: 0;
                top: 0;
                width: 40px;
                height: 8px;
                max-width: 100px;
                z-index: 1;  
            }
        
        /* Queue button */
        .sp-buttons-container .sp-queue-button-container {
           float: right;
           position: relative;
        }
        .sp-buttons-container a.sp-queue-button:before {
            content: "\e614";
            font-size: 42px;
        }
        #scamp_player.sp-show-list .sp-buttons-container a.sp-queue-button:before {
            content: "\e60b";
            font-size: 42px;
        }
        #scamp_player.sp-queue-loading .sp-buttons-container a.sp-queue-button:before {
            content: "\e620";
            font-size: 42px;
            display: inline-block;
            -webkit-animation:spin 2s linear infinite;
            -moz-animation:spin 2s linear infinite;
            animation:spin 2s linear infinite;
        }

        /* Queue Notifications */
        .sp-badge {
            position: absolute;
            left: -6px;
            top: -8px;
            display: inline-block;
            min-width: 10px;
            padding: 3px 5px;
            font-size: 12px;
            line-height: 1;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: 10px;
            opacity: 0;    
        }
        .sp-show-badge {
            opacity: 1;
        }

    @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
    @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
    @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


    /* Progress bars and time
    ------------------------------------ */
    .sp-progress-container {
        width: 49.29577%;
        float: left;
        margin-right: 1.40845%;
        position: relative;
    }
        
        .sp-progress {
            height: 8px;
            width: 100%;
            position: relative;            
            margin-top: 26px;
            z-index: 1;
            cursor:ew-resize;
            cursor:-moz-grab;
            cursor:grab;
        }
        .sp-progress:before {
            border-left: 1px solid;
            left: -1px;
        }
        .sp-progress:after {
            border-right: 1px solid;
            right: -1px; 
        }
        .sp-progress:before, .sp-progress:after {
            content: "";
            height: 40px;
            top: -16px;
            position: absolute;
        } 
            .sp-progress .sp-loading {
                position: absolute;
                left: 0;
                top: 0;
                height: 8px;
                z-index: 2;
            }
            .sp-progress .sp-position {
                position: absolute;
                left: 0;
                top: 0;
                height: 8px;
                z-index: 3;
            }
            #scamp_player.paused .sp-position {}

            /* Time */
            .sp-time-elapsed,
            .sp-time-total {
                position: absolute;
                top: 10px;
                font-size: 11px;
            }
            .sp-time-elapsed {
                left: 4px;
            }
            .sp-time-total {
                right: 4px;
            }


    /* Current track
    ------------------------------------ */
    .sp-track-container {
        width: 23.94366%;
        float: right;
        position: relative;
        margin-top:6px;
    }
        .sp-track-cover {
           
        }
            .sp-track-cover .sp-track-artwork {
                float: left;
                max-width: 46px;
                max-height:46px;
                height: 100%;
                margin-right: 12px;
            }
        .sp-track-details {
            float: left;
            height: 50px;
            width: 100%;
            overflow: hidden;
            position: relative;
}
            .sp-track-title, .sp-track-artist {
                display: block;
                font-size: 12px;
                width: 100%;
                display: block;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                text-overflow: ellipsis;
                -o-text-overflow: ellipsis;
                -ms-text-overflow: ellipsis;
                margin: 2px 0;
                width:100%;
                position: absolute;
                left: 0px;
                padding-left: 60px;
}
            .sp-track-title, .sp-track-title:hover {
                font-weight: 500;
            }
            .sp-track-artist, .sp-track-artist:hover {
                top:22px;
            }

        .sp-marquee-container {
            position: absolute;
            left: 0;
            top: 12px;
            overflow: hidden;
            font-size: 13px;
             margin: 0 auto;
            white-space: nowrap;
            display: none;
            width: 100%;
        }
        .sp-marquee {
            display: inline-block;
            padding-left: 100%; 
            -webkit-animation:marquee 10s linear infinite;
            -moz-animation:marquee 10s linear infinite;
            animation:marquee 10s linear infinite;
        }

           @-moz-keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }
            @-webkit-keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }
            @keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }
        

/* Player Queue
-------------------------------------------- */
.sp-queue-container {
    padding: 0 20px;
    display: none;
}

/* Mobile progress bar */
.sp-progress-mobile {
    width: 100%;
    height: 30px;
    position: relative;
    display: none;
}
.sp-progress-mobile:before {
    content: '';
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    top: -43px;
    z-index: 2;
}
.sp-progress-mobile .sp-progress { margin-top: 24px; }

/* Queue - Table */
#scamp_player.sp-show-list .sp-queue-container {
    height: 100%;
    display:block;
}  
    .sp-queue {
        position: relative;
        z-index: 1;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
    .sp-queue:before {
        content: '';
        width: 100%;
        height: 20px;
        background-color: red;
    }
    .sp-queue .sp-icon:before {
        font-family: 'Scamp-Player';
        font-size: 42px;
        line-height: normal;
        font-weight: normal;
    }
    .sp-track.playing .sp-icon:before, .sp-track.paused .sp-icon:before, .sp-track.loading .sp-icon:before {  }
      
    #sp-scroller {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
    }
    
    #sp-queue-scroll {
        width: 100%;
        padding: 20px 0;
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
        max-width: 100%;
        background-color: transparent;
    }   
        #sp-queue-scroll th {
            padding: 16px 6px 6px 6px;
            vertical-align: bottom;
            text-transform: uppercase;
            text-align: left;
            border: none;
            background-color: transparent;
        }
        #sp-queue-scroll th.sp-th-cart { text-align: center; }
        #sp-queue-scroll th.sp-th-remove { text-align: right; }

        #sp-queue-scroll td {
            padding: 6px;
            vertical-align: top;
            border: none;
        }

        .sp-track.playing, .sp-track.paused, .sp-track.loading {}
        .sp-track:hover {}
        #sp-queue-scroll tr { border-bottom:1px solid; }
        #sp-queue-scroll tr:last-child { border-bottom:none; }
    
    /* Track control */
    .sp-track-control {
        display: inline-block;
        cursor: pointer;
        max-width: 42px;
    }
        .sp-track-control:before {
            content: "\e613";
        }
        .sp-track.playing .sp-track-control:before {
            content: "\e611";
        }

    /* Artwork */
    .sp-cover-artwork img {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        vertical-align: middle;
    }

    /* Title */
    .sp-title a {
        display: block;
        font-size: 12px;
    }
    .sp-title a.sp-title-button {
        font-weight: 500;
        font-size: 14px;
    }
    .sp-title a.sp-artist-button { }

    /* Cart */
    .sp-cart {
        text-align: center;
    }
    .sp-cart-button:before {
        content: "\e609";
    }
   
   /* Remove */
    .sp-remove {
        text-align: right;
    }
    .sp-remove-button { 
        cursor: pointer;
        margin-right: 10px;
    }
    .sp-queue .sp-remove-button:before {
        content: "\e61c";
    }

    /* Hover state */
    .sp-queue .sp-icon:hover {}
    .sp-queue .sp-icon:hover:before { }
   

/* Scroll styles */
#sp-scroller .iScrollVerticalScrollbar {
    position: absolute;
    z-index: 10;
    width: 4px;
    bottom: 2px;
    top: 2px;
    right: 0px;
    overflow: hidden;
}

#sp-scroller .iScrollVerticalScrollbar.iScrollBothScrollbars {
    bottom: 18px;
}

#sp-scroller .iScrollIndicator {
    position: absolute;
    border-radius: 2px;
    opacity: 0.05;
    cursor: pointer;
}
#sp-scroller:hover .iScrollIndicator { opacity: 0.4; }

#sp-scroller .iScrollVerticalScrollbar .iScrollIndicator {
    width: 100%;
}

/* Mobile init click */
#scamp-mobile-init { 
    opacity: 0;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    overflow:hidden;
    z-index:100000;
    display: block;
}


/* ----------------------------------------------------------------------
    MEDIA QUERIES
/* ---------------------------------------------------------------------- */

/* ----------------------------------------------------------------------
    For Small Desktop Devices [ 960px ]
/* ---------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
    .sp-buttons-container {
        width: 23.94366%;
        margin-right: 1.40845%;
    }
    .sp-progress-container {
        width: 40.84507%;
        margin-right: 1.40845%;
    }
    .sp-track-container {
        width: 32.39437%;
    }

    
}

/* ----------------------------------------------------------------------
    For Tablet Devices [ 748px ]
/* ---------------------------------------------------------------------- */
@media only screen and (min-width: 768px) and (max-width: 959px) {

   .sp-buttons-container {
        width: 23.94366%;
        margin-right: 1.40845%;
    }
    .sp-progress-container {
        width: 40.84507%;
        margin-right: 1.40845%;
    }
    .sp-track-container {
        width: 32.39437%;
    }
    .sp-volume-container { display:  none; }
     
}


/* ----------------------------------------------------------------------
    For Mobile Devices [ 300px ]
/* ---------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {

    .sp-player-container {
        height: 58px;
        padding-top: 0px;
    }
    .sp-buttons-container {
        width: 59.29577%;
        margin-right: 1.40845%;
    }
    .sp-progress-container {
       display: none;
    }
     .sp-track-container {
        width: 39.29577%;
    }
    .sp-track-title, .sp-track-artist { display: none; }
    .sp-volume-container { display:  block; }
    .sp-track-cover { display:none;  }
    .sp-marquee-container { display: block; }
    .sp-progress-mobile { display: block; }
    .sp-queue .sp-small-screen { display: none; }
    .sp-title a.sp-title-button { font-size: 12px; }
}


/* ----------------------------------------------------------------------
    For Mobile Devices [ 420px ] [ Horizontal ]
/* ---------------------------------------------------------------------- */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    
    .sp-player-container {
        height: 58px;
        padding-top: 0px;
    }
    .sp-buttons-container {
        width: 39.29577%;
        margin-right: 1.40845%;
    }
    .sp-progress-container {
       display: none;
    }
     .sp-track-container {
        width: 59.29577%;
    }
    .sp-track-title, .sp-track-artist { display: block; }
    .sp-volume-container { display:  block; }
    .sp-track-cover { display:block;  }
    .sp-marquee-container { display: none; }
    .sp-queue .sp-medium-screen { display: block; }
}