/* 播放器大小 */

/* 播放器位置 */
.music-player {box-sizing: border-box;
    position: relative;
float:left;width:100%;background:#FFF;border-radius: 0px;margin-top:0px;border:1px solid #ddd;padding:15px;
}

/* 歌曲列表 */

.music-player__list {box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0px;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.music__list__item {box-sizing: border-box;
    padding-left: 25px;
    color: #ccc;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
}

.music__list__item:last-of-type {box-sizing: border-box;
    margin: 0;
}

.music__list__item.play {box-sizing: border-box;
    color: #000;
}

.music__list__item.play:before {box-sizing: border-box;
    font-family: 'iconfont';
    content: "\e87a";
    position: absolute;
    left: 0px;
    top: 4px;
}


/* 播放器主体 */
.music-player__main {box-sizing: border-box;
    height: 130px;
    padding: 0px;

    border-radius: 0px;
    position: relative;
    overflow: hidden;
}

/* 播放器主体模糊背景 */
.music-player__blur {box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('../images/songs/choubaguai.jpg') no-repeat center;
    background-size: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    -webkit-filter: blur(20px);
    filter: blur(20px);
}



/* 播放器唱片效果 */
.music-player__disc {box-sizing: border-box;
    float: left;
    width: 30%;
    height: 130px;
    background: url(../images/cd.png) no-repeat center;
    background-size: 100%;
    position: relative;
}

/* 唱片指针 */
.music-player__pointer {box-sizing: border-box;
    width: 25px;
    position: absolute;
    right: -10px;
    top: 0;
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: rotate(-15deg);
    -ms-transform: rotate(-15deg);
    transform: rotate(-15deg);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/* 唱片指针播放状态 加play类名 */
.music-player__pointer.play {box-sizing: border-box;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

/* 唱片歌曲图片 */
.music-player__image {box-sizing: border-box;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}


/* 播放器控件 */

.music-player__controls {box-sizing: border-box;
    width: 65%;
height:130px;
    float: right;
}

/* 歌曲信息 */
.music__info {box-sizing: border-box;
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
}

.music__info .music__info--title,
.music__info .music__info--singer {box-sizing: border-box;
    color: #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.music__info .music__info--title {box-sizing: border-box;
    font-size: 16px;
}

.music__info .music__info--singer {box-sizing: border-box;
    color: #666;
    font-size: 14px;
    margin-top: 0px;
}

/* 控件 */

.player-control {box-sizing: border-box;
    width: 100%;
}

.player-control__content {box-sizing: border-box;
    margin-bottom: 5px;
    overflow: hidden;
}

/* 播放暂停按钮 */
.player-control__btns {box-sizing: border-box;
    float: left;
    overflow: hidden;
}

.player-control__btn {box-sizing: border-box;
    float: left;
    margin: 0 5px;
    font-weight: bolder;
    color: #666;
    cursor: pointer;
}

.player-control__volume {box-sizing: border-box;
    float: right;
    overflow: hidden;display:none;
}

.control__volume--progress {box-sizing: border-box;
    float: left;
    width: 100px;
    position: relative;
    top: 8px;
}

.player__song--timeProgess{box-sizing: border-box;
    font-size: 12px;
    color: #fff;
    margin-top: 5px;
    padding: 0px 3px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.nowTime{box-sizing: border-box;
    float: left;
}
.totalTime{box-sizing: border-box;
    float: right;
}

.progress {box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
    height: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress .back {box-sizing: border-box;
    width: 0px;
    height: 100%;
    border-radius: 2px;
    background: rgb(12, 182, 212);
}

.progress .pointer {box-sizing: border-box;
    width: 7px;
    height: 7px;
    background: #FBA026;
    border-radius: 50%;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    position: absolute;
    top: -1px;
    left: 0;
}

.progress:hover .pointer {box-sizing: border-box;
    opacity: 1;
}


/* 播放 画片 动画 */

@-webkit-keyframes disc {box-sizing: border-box;
    from {box-sizing: border-box;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {box-sizing: border-box;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes disc {box-sizing: border-box;
    from {box-sizing: border-box;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {box-sizing: border-box;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.music-player__image.play {box-sizing: border-box;
    -webkit-animation: disc 5s linear 0s infinite;
    animation: disc 5s linear 0s infinite;
}


/*  播放进度  */

.player__song--progress {box-sizing: border-box;
    width: 100%;
    margin-top: 5px;
}