*{
	margin:0;
	padding:0;
	border:0;
	outline:none;
}
a{ 
	text-decoration: none; 
}
body {
	background: #333;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#hap-wrapper{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
	font-family: Helvetica, Arial, sans-serif;
}
.hap-sidebar{
	position:fixed;
	left:0;
	top:0;
	height:80%;
	height: -webkit-calc(100% - 50px);
    height: -moz-calc(100% - 50px);
    height: calc(100% - 51px);
	background: rgba(0,0,0,0.7);
}
.hap-sidebar-toggle{
	position:absolute;
	top:0px;
	right:-50px;
	width:50px;	
	height:50px;
	cursor: pointer;
	background: #111;
}
.hap-search-wrap{
	margin:50px 50px 0 20px;
	float: left;
}
.hap-search-filter{
	position:relative;
	width:125px!important;
	height:18px!important;
	padding:0!important;
	border:0!important;
	margin:5px 0px 5px 0px!important;
	-moz-border-radius:0 !important;
    -webkit-border-radius:0 !important;
	border-radius:0 !important;
	background:#eee !important;
	color:#333 !important;
	box-shadow:none!important; 
	line-height:1!important; 
	float: left;
}
.hap-sr-bar-i{
	display: inline-block;
	font-size: 15px!important;
	line-height: 30px!important;
}
.hap-sort-alpha{
	position:relative;
	left:5px;
	top:0px;
	width:25px;
	height:30px;
	text-align: center;
	float: left;
}
.hap-pl-list{
	margin:40px 50px 0 20px;
	float: left;
	clear: left;
}
.hap-pl-list li{
	margin-top:5px;
	list-style: none;
}
.hap-pl-list a{
	color:#ccc;
}
.hap-pl-list a:hover{
	text-decoration: underline;
	color:#fff;
}


.hap-player-holder{
	position:fixed;
	width:100%;
	height:50px;
	bottom:0px;
	background: rgba(0,0,0,0.7);
}
.hap-icon-color{
	color:#ccc !important;
	-webkit-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out; 
}
.hap-icon-rollover-color{
	color:#fff !important;
	-webkit-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out; 
}
.hap-contr-btn-i{
	position:relative;
	top:0px;
	left:0px;
	width:50px;	
	height:100%;
	text-align: center;
	display: inline-block;
	font-size: 16px!important;
	line-height: 50px!important;
}
.hap-contr-btn-vol-i{
	font-size: 18px!important;
}
.hap-playback-toggle{
	position:absolute;
	width:50px;	
	height:100%;
	left:0px;
}
.hap-prev-toggle{
	position:absolute;
	width:50px;	
	height:100%;
	left:50px;
}
.hap-next-toggle{
	position:absolute;
	width:50px;	
	height:100%;
	left:100px;
}
.hap-media-time-current{
	position:absolute;
	width:60px;	
	height:100%;
	left:150px;
	color:#ccc;
	text-align: center;
	line-height: 50px;
	font-size: 14px;
	margin:0;
}
.hap-seekbar-inner{
	position:absolute;
	height:100%;
	left:210px;
	right:210px;
	touch-action: none;
	cursor: pointer;
}
.hap-progress-bg{
	position:absolute;
	height:2px;
	top:50%;
	margin-top:-1px;
	background:#777;
	left:10px;
	right:10px;
}
.hap-load-level{
	position:absolute;
	height:2px;
	background:#999;
	top:50%;
	margin-top:-1px;
	left:10px;
	right:10px;
	width:0px;
}
.hap-progress-level{
	position:absolute;
	height:2px;
	background:#fff;
	top:50%;
	margin-top:-1px;
	left:10px;
	right:10px;
	width:0px;
	-webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out; 
}
.hap-media-time-total{
	position:absolute;
	width:60px;	
	height:100%;
	right:150px;
	color:#ccc;
	text-align: center;
	line-height: 50px;
	font-size: 14px;
	margin:0;
}
.hap-info-toggle{
	position:absolute;
	width:100px;	
	height:100%;
	right:50px;
	cursor: pointer;
}
.hap-playlist-toggle{
	position:absolute;
	width:50px;	
	height:100%;
	right:50px;
}
.hap-volume-wrapper{
	position:absolute;
	width:50px;	
	height:100%;
	right:0px;
}
.hap-volume-seekbar{
	position:absolute;
	top:-80px;
	left:0px;
	width:50px;
	height:80px;
	display:none;
	cursor: pointer;
	touch-action: none;
	background: rgba(0,0,0,0.7);
}
.hap-volume-wrapper:hover .hap-volume-seekbar{
	display: block;
}
.hap-volume-bg{
	position:absolute;
	width:2px;
	height:60px;
	background:#777;
	left:24px;
	bottom:10px;
}
.hap-volume-level{
	position:absolute;
	width:2px;
	height:60px;
	background:#fff;
	left:24px;
	bottom:10px;
	-webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out; 
}



.hap-info-bar{
	position: fixed;
	left: 50%;
	top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	max-width:400px;
	width:100%;
	background:#222;
	border: 1px solid #444;
	-moz-box-shadow: 1px 1px 10px #999;
	-webkit-box-shadow: 1px 1px 10px #999;
	box-shadow: 3px 3px 30px #111;
	z-index:50;
	padding:20px 20px 10px 20px;
	display: none;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;    
	box-sizing: border-box; 
}
.hap-info-data{
	max-height: 300px;
}
.hap-player-title{
	color:#ccc;
	margin:0;
	margin-right: 20px;
	margin-bottom: 10px;
	padding:0;
}
.hap-player-desc{
	color:#ccc;
	margin:0;
	margin-right: 20px;
	margin-bottom: 10px;
	padding:0;
	overflow: hidden;
	max-height: 150px;
	 display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;  
}
.hap-share-holder{
	height:30px;
}
.hap-share-item{
	position:relative;
	bottom:0px;
	left:0px;
	width:25px;
	height:30px;
	margin-right:5px;
	text-align: center;
	float: left;
}
.hap-sr-bar-i{
	display: inline-block;
	font-size: 15px!important;
	line-height: 30px!important;
}
.hap-info-close{
	position: absolute;
	right:-10px;
	top:-10px;
	cursor: pointer;
}




#hap-playlist-list{
	display:none;
}
.hap-playlist-holder{
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:80%;
	height: -webkit-calc(100% - 50px);
    height: -moz-calc(100% - 50px);
    height: calc(100% - 50px);
}
.hap-playlist-inner{
	height:100%;
}
.hap-grid-sizer { width: 20%; }
.hap-playlist-item{
    width: 20%;
	background:#111;
	overflow: hidden;
}
@media screen and (max-width: 1224px) {
  .hap-grid-sizer { width: 33.33%; }
  .hap-playlist-item { width: 33.33%; }
}
@media screen and (max-width: 720px) {
  .hap-grid-sizer { width: 50%; }
  .hap-playlist-item { width: 50%; }
}
@media screen and (max-width: 480px) {
  .hap-grid-sizer { width: 100%; }
  .hap-playlist-item { width: 100%; }
}



.hap-playlist-non-selected {
	color:#fff;
	text-decoration: none; 
}
.hap-playlist-selected {
	color:#fff;
	text-decoration: none; 
}
.hap-playlist-thumb{
	display: block;
	position:relative;
	width:100%;
	height:100%;
	top:0;
	left:0;
	overflow:hidden;
}
.hap-playlist-thumb img{
	display:block;
	width:100%;
	height:auto!important;
}
.hap-playlist-title{
	display: none;
	font-size:16px;
	position: absolute;
	top:0;
	left:0;
	right: 0;
	padding:10px 20px;
	background: rgba(0,0,0,0.5);
	color:inherit;
}


.hap-preloader{
    position: fixed;
    width: 80px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.hap-preloader span{
    display:block;
    bottom:0px;
    width: 9px;
    height: 5px;
    background:#E0B4FC;
    position:absolute;
    animation: hap_preloader 1.5s  infinite ease-in-out;
}
.hap-preloader span:nth-child(2){
	left:11px;
	animation-delay: .2s;
}
.hap-preloader span:nth-child(3){
	left:22px;
	animation-delay: .4s;
}
.hap-preloader span:nth-child(4){
	left:33px;
	animation-delay: .6s;
}
.hap-preloader span:nth-child(5){
	left:44px;
	animation-delay: .8s;
}
@keyframes hap_preloader {
    0% {height:5px;transform:translateY(0px);}
    25% {height:30px;transform:translateY(15px);}
    50% {height:5px;transform:translateY(0px);}
    100% {height:5px;transform:translateY(0px);}
}



.hap-tooltip{
	position:absolute;
	background: #222;
	-moz-box-shadow: 1px 1px 8px #111;
	-webkit-box-shadow: 1px 1px 8px #111;
	box-shadow: 1px 1px 8px #111;
	border: 1px solid #444;
	color:#fff!important;
	text-align:center;
	z-index:10000;
	pointer-events:none;
	display:none;
}
.hap-tooltip p {
	width:inherit;
	font-size:12px!important;
	margin:0 5px !important;
	padding:0 !important;
	line-height:20px !important;
	white-space:nowrap;
	color:inherit;
}
.hap-tooltip-num{
	direction: ltr !important;
}


/* flash or yt */
.hap-sound-holder{
	position:absolute;
	width:100px;
	height:100px;
}
.hap-force-hidden{
	position:absolute!important;
	top:0px;
	left:-10000px!important;
	width:320px;
	height:240px;
}
[dir=rtl] .hap-force-hidden {
    right:-10000px!important;
}
.hap-youtube-holder{
	left:0px!important;
}
/* flash or yt */

.hap-hidden {
	opacity: 0; 
	filter: alpha(opacity=0); 
}
.hap-visible {
	opacity: 1;
	-webkit-transition: opacity 500ms ease-out;
	-moz-transition: opacity 500ms ease-out;
	transition: opacity 500ms ease-out;
}


/* scroll */
.hap-playlist-inner .mCSB_inside > .mCSB_container {
    margin-right: 30px;
}



@media only screen and (max-width: 600px) {
	.hap-media-time-total, .hap-media-time-current{
		display: none;
	}
	.hap-seekbar-inner{
		left:150px;
		right:150px;
	}
}
@media only screen and (max-width: 500px) {
	.hap-prev-toggle, .hap-next-toggle{
		display: none;
	}
	.hap-seekbar-inner{
		left:50px;
	}
}