*{
	margin:0;
	padding:0;
	border:0;
	outline:none;
}
a{ 
	text-decoration: none; 
}

html, body { 
	height: 100%;
}

#hap-wrapper{
	position:relative;
	min-width:400px;
	max-width:800px;
	margin:0 auto;
	top:50%;
 -webkit-transform: translateY(-50%);
         transform: translateY(-50%);
	font-family: Arial, Helvetica, sans-serif;
    -webkit-box-shadow: 1px 1px 75px #111;
            box-shadow: 1px 1px 75px #111;
}


.hap-player-thumb{
	position: relative;
	background-position: 50% 50%;
    background-size: cover;
    padding-top: 56.25%;
	-webkit-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
    opacity: 0;
}
.hap-player-holder{
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	-ms-touch-action: none;
	    touch-action: none;
}

.hap-btn{
	display: none;
	height:100%;
}
.hap-contr-btn svg{
	color:#ddd;
}
.hap-btn:hover svg,
.hap-contr-btn:hover > svg,
.hap-contr-btn-hover svg{
	color:#fff!important;
} 
.hap-contr-btn svg{
	position: absolute;
	top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
	height: 18px;
	fill:currentColor;
	-webkit-transition: color .1s ease-out;
	transition: color .1s ease-out;
}

.hap-info{
	margin-top:20px;
	margin-left:30px;
	margin-right:200px;
}
.hap-player-title{
	font-size:22px;
	color:#fff;
	margin:0!important;
}
.hap-player-artist{
	font-size:18px;
	color:#ccc;
	margin:0!important;
}



.hap-share-toggle{
	position:absolute;
	top:30px;
	width:25px;
	height:25px;
	right:27px;
}
.hap-share-holder{
	position: absolute;
    background: #333;
    width: 300px;
    height: 70px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);	
    z-index: 10;
    display: none;
}
.hap-share-holder-inner{
	height: 34px;
	position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);	
    display: -webkit-box;	
    display: -ms-flexbox;	
    display: flex;	
}
.hap-share-close{
	position: absolute;
    width: 34px;
    height: 34px;
    top: 0;
    right: 0;
}
.hap-share-item{
	position:relative;
	width:25px;
	height:100%;
	text-align: center;
	float: right;
	margin-right: 10px;
}


.hap-player-controls{
	position: absolute;
	height: 30px;
    top:375px;
	left:30px;
}
.hap-prev-toggle{
	position:relative;
	left:0px;
	top:2px;
	width:25px;
	height:25px;
	float:left;
	margin-right:20px;
}
.hap-playback-toggle{
	position:relative;
	top:0px;
	width:30px;
	height:30px;
	float:left;
	margin-right:20px;
}
.hap-playback-toggle svg{
	height:30px;
}
.hap-next-toggle{
	position:relative;
	top:2px;
	width:25px;
	height:25px;
	float:left;
	margin-right:20px;
}



.hap-volume-wrapper{
	position:relative;
	top:2px;
	width:25px;
	height:25px;
	float:left;
}
.hap-volume-seekbar{
	position:relative;
	left:25px;
	top:3px;
	width:100px;
	height:18px;
	float:left;
	cursor: pointer;
	-ms-touch-action: none;
	    touch-action: none;
	background: rgba(0,0,0,0.01);
}
.hap-volume-bg{
	position:absolute;
	top:8px;
	left:10px;
	width:80px;
	height:3px;
	background:rgb(252, 144, 3);
}
.hap-volume-level{
	position:absolute;
	top:0;
	left:0;
	height:100%;
	background:#2af210;
}


.hap-seekbar{
	position:absolute;
    top:410px;
	left:36px;
	right:36px;
	height:20px;
	cursor: pointer;
	-ms-touch-action: none;
	    touch-action: none;
}
.hap-progress-bg{
	position:relative;
	background:#ccc;
	width:100%;
	top:11px;
	height:2px;
}
.hap-load-level{
	position:absolute;
	background:#f78704;
	top:0;
	height:100%;
}
.hap-progress-level{
	position:absolute;
	background:#2af210;
	top:0;
	height:100%;
}





.hap-tooltip{
	position:absolute;
	background:#D1C1FA;
	text-align:center;
	z-index:10000;
	pointer-events:none;
	color:#fff!important;
	-webkit-box-shadow: 1px 1px 8px #111;
	        box-shadow: 1px 1px 8px #111;
	border-radius: 1px;
	display:none;
	font-size:13px!important;
	padding:2px 5px !important;
	line-height:20px !important;
	white-space:nowrap;
}



.hap-hidden {
	opacity: 0; 
	filter: alpha(opacity=0); 
}
.hap-visible {
	opacity: 1;
	-webkit-transition: opacity 500ms ease-out;
	transition: opacity 500ms ease-out;
}



.hap-youtube-holder,
.hap-iframe-blocker{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	overflow:hidden;
}	
.hap-media{
	width: 100%;
    height: 100%;
    position:absolute;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    visibility: visible;
    top:0;
    left:0;
    max-width:none!important;
}





#hap-playlist-list{
	display:none;
}

.hap-playlist-content {
	background-color: rgb(90, 154, 206);
	color: rgb(255, 255, 255);
	padding: 10px 0 10px 20px;
	cursor: pointer;
	height: auto;
}

.hap-playlist-holder{
	position: relative;
    top: 0;
    height: 100%;
    overflow: hidden;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.hap-playlist-inner{
	position: relative;
	padding: 20px;
	min-height: 150px;
	max-height: 275px;
	-webkit-box-sizing:border-box;
	        box-sizing:border-box;
	height: calc(100% - 34px);
}
.hap-playlist-item{
	position: relative;
	top:0px;
	left:0px;
	font-size:16px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box; 
 	overflow: hidden;
 	display: -webkit-box;
 	display: -ms-flexbox;
 	display: flex;
 	padding: 10px 0;
}

.hap-playlist-item-content {
	cursor: pointer;
	-webkit-box-flex:1;
	    -ms-flex:1;
	        flex:1;
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-align:center;
	    -ms-flex-align:center;
	        align-items:center;
	overflow: hidden;
	color:#222;
	margin-right: 10px;
}
.hap-playlist-item-selected{
	background: #3FBAF3!important;
}
.hap-playlist-item-selected .hap-playlist-title-num,
.hap-playlist-item-selected .hap-playlist-title{
	color:#fff;
}

.hap-playlist-title-num,
.hap-playlist-title{
	position: relative;
	vertical-align: middle;
	text-align: left;
	color: inherit;
	display: block;
}
.hap-playlist-title{
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.hap-playlist-info{
	-webkit-box-flex:1;
	    -ms-flex:1;
	        flex:1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    overflow: hidden;
    margin-right: 10px;
}
.hap-playlist-info2{
	position: relative;
    margin-left: auto;
	-ms-flex-negative:0;
	    flex-shrink:0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient:vertical;
	-webkit-box-direction:normal;
	    -ms-flex-direction:column;
	        flex-direction:column;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
    text-align: right;
}
.hap-playlist-duration{
	font-size: 12px;
}
.hap-playlist-date{
	font-size: 11px;
	color: #666;
}
.hap-playlist-title-wrap{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}