
/* ############################################ */
/* sticky player */
/* ############################################ */

.hap-sticky-fixed{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999999;
    opacity: 0;
    display: none;
    transition: opacity .3s ease-out;
}
.hap-fixed-visible{
	opacity: 1;
}
.hap-sticky-player-holder{
    position: relative;
    height: 50px;
    left:0;
    top:0px;
    width: 100%;
    display: flex;
}
.hap-sticky-skin-light .hap-sticky-player-holder,
.hap-sticky-skin-light .hap-sticky-player-outer-controls{
    background:#fafafa;
    box-shadow: 0px -2px 5px 0px rgba(153,153,153,0.25);
}
.hap-sticky-skin-dark .hap-sticky-player-holder,
.hap-sticky-skin-dark .hap-sticky-player-outer-controls{
    background:#222;
    box-shadow: 0px -2px 5px 0px rgba(20,20,20,0.25);
}
.hap-sticky-player-btn{
    position:relative;
    left:0;
    top:0;
    width:43px;
    height:100%;
    float:left;
    cursor: pointer;
}
.hap-sticky-player-btn svg,
.hap-sticky-playback-toggle-ex svg,
.hap-sticky-player-toggle-ex svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 15px;
    fill:currentColor;
    transition: color .3s ease-out;
}
.hap-sticky-skin-light .hap-sticky-player-btn svg,
.hap-sticky-skin-light .hap-sticky-playback-toggle-ex svg,
.hap-sticky-skin-light .hap-sticky-player-toggle-ex svg{
    color:#666 !important;
}
.hap-sticky-skin-dark .hap-sticky-player-btn svg,
.hap-sticky-skin-dark .hap-sticky-playback-toggle-ex svg,
.hap-sticky-skin-dark .hap-sticky-player-toggle-ex svg{
    color:#aaa !important;
}
.hap-sticky-skin-light .hap-sticky-player-btn:hover svg,
.hap-sticky-skin-light .hap-sticky-playback-toggle-ex:hover svg,
.hap-sticky-skin-light .hap-sticky-player-toggle-ex:hover svg{
    color:#e4c000 !important;
}
.hap-sticky-skin-dark .hap-sticky-player-btn:hover svg,
.hap-sticky-skin-dark .hap-sticky-playback-toggle-ex:hover svg,
.hap-sticky-skin-dark .hap-sticky-player-toggle-ex:hover svg{
    color:#e4c000 !important;
}
.hap-sticky-player-left {
    position: relative;
    top:0;
    left:0;
    height: 100%;
    display: flex;
    align-items:center;
}
.hap-sticky-playback-controls{
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}
.hap-sticky-player-thumb{
    position: relative;
    width:50px;
    height:100%;
    float: left;
    overflow: hidden;
    background-position: 50% 50%;
    background-size: cover;
    flex-shrink: 0;
}
.hap-sticky-player-artist{
    font-size:13px;
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.hap-sticky-player-title-wrap{
    margin-left: 15px;
    margin-right: 10px;
    width:100%;
    overflow:hidden;
    max-width: 400px;
    line-height: normal;
}
.hap-sticky-player-title{
    font-size: 14px;
    font-weight: bold;
    /*text-overflow:ellipsis;
    white-space:nowrap;*/
}
.hap-sticky-player-artist{
    font-size: 12px;
    /*text-overflow:ellipsis;
    white-space:nowrap;*/
}
.hap-sticky-skin-light .hap-sticky-player-title{
    color: #111;
}
.hap-sticky-skin-dark .hap-sticky-player-title{
    color: #bcbcbc;
}
.hap-sticky-skin-light .hap-sticky-player-artist{
    color: #9E9E9E;
}
.hap-sticky-skin-dark .hap-sticky-player-artist{
    color: #9E9E9E;
}

.hap-sticky-time-current,
.hap-sticky-time-total{
	position:relative;
	text-align: center;
    align-items: center;
    display: flex;
	padding: 0!important;
	font-size:11px!important;
	pointer-events:none;
	width:auto;
}
.hap-sticky-time-current{
	margin-left: 15px;
}
.hap-sticky-time-total{
	margin-right: 15px;
}
.hap-sticky-skin-dark .hap-sticky-time-current,
.hap-sticky-skin-dark .hap-sticky-time-total{
    color: #aaa;
}
    
.hap-sticky-music-seekbar{
    position: relative;
    display: flex;
    flex:1;
    margin: 10px 20px;
    cursor: pointer;
}
.hap-sticky-music-seekbar-wave,
.hap-sticky-music-seekbar-wave-progress{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hap-sticky-music-seekbar-wave{
    display: none;
}
.hap-sticky-music-seekbar-progress-bg{
	position: absolute;
    top: 14px;
    width: 100%;
    height: 3px;
    background: #aaa;
    overflow: hidden;
    display: none;
}
.hap-sticky-music-seekbar-progress{
	position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #e4c000;
    transition: width 100ms linear;
}

.hap-sticky-player-right{
    position: relative;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    height: 100%;
}
.hap-sticky-right-controls{
    margin-right:20px;
}
.hap-sticky-fixed .hap-volume-toggle .hap-sticky-btn{
    display: none;
}
.hap-sticky-volume-wrap{
    position:relative;
    left:0;
    top:0;
    height:100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    touch-action: none;
    flex-direction: row;
}
.hap-sticky-fixed .hap-volume-toggle{
    position: relative;
    width:40px; 
    height:40px;
    cursor: pointer;
}
.hap-sticky-fixed .hap-volume-toggle .hap-sticky-btn{
    display: none;
}
.hap-sticky-fixed .hap-volume-toggle .hap-sticky-btn-volume-up{
    display: block;
}
.hap-sticky-fixed .hap-volume-toggle svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 16px;
    fill:currentColor;
    transition: color .3s ease-out;
    color:#808080;
}
.hap-sticky-fixed .hap-volume-toggle:hover svg{
    color:#666;
}
.hap-sticky-fixed .hap-volume-seekbar{
    position: relative;
    width:100px;
    height:30px;
    cursor: pointer;
    touch-action: none;
}
.hap-sticky-fixed .hap-volume-bg{
    position:absolute;
    top:14px;
    overflow-y: hidden;
    left:10px;
    width:80px;
    height:3px;
    background:#aaa;
}
.hap-sticky-fixed .hap-volume-level{
    position:absolute;
    top:0;
    left:0;
    width:45px;
    height:100%;
    background:#e4c000;
    transition: width 100ms linear; 
}
.hap-sticky-fixed .hap-tooltip{
	background:#666;
	color:#fff!important;
	box-shadow: 1px 1px 5px #99999973;
}

.hap-sticky-player-outer-controls{
    position: absolute;
    right: 0;
    top: -35px;
    width: 70px;
    height: 35px;
}
.hap-sticky-player-outer-controls div{
    position: relative;
    width:35px;
    height:35px;
    float: left;
    cursor: pointer;
    left: 0;
    top: 0;
    z-index: 2;
}

.hap-sticky-share-holder{
	position: fixed;
	left: 50%;
	top: 50%;
    transform: translate(-50%, -50%);
	max-width:600px;
	width:100%;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
	z-index:50;
	padding:20px 20px 10px 20px;
	display: none;
	box-sizing: border-box; 
}
.hap-sticky-skin-light .hap-sticky-share-holder{
	background:#fafafa;
}
.hap-sticky-skin-dark .hap-sticky-share-holder{
	background:#222;
}

.hap-sticky-info-data{
	max-height: 300px;
	overflow:hidden;
}
.hap-sticky-info-title{
	margin:0;
	margin-right: 20px;
	margin-bottom: 10px;
	padding:0;
	font-size:17px;
}
.hap-sticky-info-desc{
	margin:0;
	margin-right: 20px;
	padding:0;
	overflow: hidden;
	max-height: 150px;
	 display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;  
    font-size:13px;
}
.hap-sticky-skin-light .hap-sticky-info-title{
	color:rgb(17,17,17);
}
.hap-sticky-skin-dark .hap-sticky-info-title{
	color: #bcbcbc;
}
.hap-sticky-skin-light .hap-sticky-info-desc{
	color:rgb(17,17,17);
}
.hap-sticky-skin-dark .hap-sticky-info-desc{
	color: #9E9E9E;
}
.hap-sticky-share-holder-inner{
	position: relative;
	height: 30px;
    margin-top: 10px;
}
.hap-sticky-share-item{
	position:relative;
	bottom:0px;
	left:0px;
	width:25px;
	height:30px;
	margin-right:10px;
	text-align: center;
	float: left;
}
.hap-sticky-share-close{
	position: absolute;
    right: 0;
    top: 0;
    left:auto;
    height: 50px;
    width: 50px;
	cursor: pointer;
}


.hap-sticky-hidden {
    opacity: 0; 
}
.hap-sticky-visible {
    opacity: 1;
    transition: opacity 500ms ease-out;
}
@media screen and (max-width: 800px) {
	.hap-sticky-time-current,
	.hap-sticky-time-total{
		display: none;
	}
    .hap-sticky-player-right{
        display: none;
    }
}
@media screen and (max-width: 600px) {
    .hap-sticky-playback-toggle{
        display: none;
    }
}







