
*{
	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{
	font-family:Helvetica Neue, Helvetica, Arial, sans-serif;
	position: absolute;
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height:500px;
}

.hap-circle-player{
	position: absolute;
	top: 50%;
    -webkit-transform: translate(0,-50%);
  	-ms-transform: translate(0,-50%);
  	transform: translate(0,-50%);
	left:-10000px;/*cannot be display:none!*/
	height: 108px;
	width: 108px;
	border-radius: 100%;
	opacity: 0;/*cannot be display:none!*/
}
.hap-circle-player-set{
	opacity:1;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
  	-ms-transform: translate(-50%,-50%);
  	transform: translate(-50%,-50%);
}
.hap-load-canvas,
.hap-progress-canvas{
	position:absolute;
	display: block;
	cursor: pointer;
	touch-action: none;
}
.hap-progress-blocker{
	position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    background: red;
    top:18px;
	left:18px;
    opacity:0;
}
.hap-playback-toggle{
	position:absolute;
	top:50%;
	width:40px;
	height:40px;
	left:50%;
	-webkit-transform: translate(-50%, -50%);
  	-ms-transform: translate(-50%, -50%);
  	transform: translate(-50%, -50%);
}
.hap-playback-toggle i{
	width:40px;
	height:40px;
	font-size: 36px!important;
	line-height:40px!important;
	color:#fff !important;
	text-align: center;
	display: inline-block;
}





#hap-playlist-list{
	display:none;
}
.hap-playlist-holder{
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
}
.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 {
	text-align: center;
	height: 100%;
	text-decoration: none; 
}
.hap-playlist-selected {
	text-align: center;
	height: 100%;
	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{
	font-size:17px;
	position:absolute;
	bottom:0;
	left:0;
	color:#fff;
	right: 0;
	padding:20px;
	opacity:0;
	pointer-events:none;
	-webkit-transition: all .5s ease-out;
    transition: all .5s ease-out; 
}
.hap-wall-overlay{
	position: absolute;
	left:0;
	top:0;
	width: 100%;
	height: 100%;
	background: #111;
	opacity: 0;
	-webkit-transition: all .5s ease-out;
    transition: all .5s ease-out; 
}
.hap-wall-preview{
    position: absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
  	opacity: 0;
  	-webkit-transition: all .5s ease-out;
    transition: all .5s ease-out; 
  	pointer-events:none;
  	background-image: url('../data/misc/bigplay.png');
  	background-repeat: no-repeat;
  	background-position: center;
}

.hap-active .hap-playlist-title{
	opacity:1;
	bottom: 10px;
}
.hap-active .hap-wall-overlay{
	opacity: 0.7;
}
.hap-active .hap-wall-preview{
	opacity: 0;
}

.hap-playlist-item:not(.hap-active):hover .hap-playlist-title{
	opacity:1;
	bottom: 10px;
}
.hap-playlist-item:not(.hap-active):hover .hap-wall-overlay{
	opacity: 0.7;
}
.hap-playlist-item:not(.hap-active):hover .hap-wall-preview{
	opacity: 1;
}





.hap-preloader{
    position: absolute;
    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:#84D8FF;
    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: #fff;
	color:#333!important;
	-moz-box-shadow: 1px 1px 8px #111;
	-webkit-box-shadow: 1px 1px 8px #111;
	box-shadow: 1px 1px 8px #111;
	border: 1px solid #444;
	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;
}

