*{
	margin:0;
	padding:0;
	border:0;
	outline:none;
}
a{ 
	text-decoration: none; 
}
body {
	background: #304352; /* fallback for old browsers */
	background: -webkit-linear-gradient(to left, #304352 , #d7d2cc); /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to left, #304352 , #d7d2cc); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
body, html{
	/*height: 100%;*/
}


#hap-wrapper{
	position: relative;
	font-family: Arial, sans-serif;
	-moz-box-shadow: 0px -2px 8px #888;
	-webkit-box-shadow: 0px -2px 8px #ccc;
	box-shadow: 1px 1px 3px #333;
	width: 100%;
	min-width:320px;

	margin: 100px auto;
	max-width:800px;
	height: 300px;
	
}
.hap-player-image{
	position:absolute;
	width:100%;
	height: 100%;
	top:0;
	left:0;
	background-repeat:no-repeat;
	background-position:center center;
	background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.hap-player-bg{
	position:absolute;
	width:100%;
	height: 100%;
	top:0;
	left:0;
	background: rgba(30,30,30,0.9); 
}
.hap-player-holder{
	position:relative;
	height: 100%;
}
.hap-player-left{
	position: relative;
	width:50%;
	float:left;
	height: 100%;
}
.hap-player-thumb-wrapper{
	position:relative;
	margin:20px;
	height: calc(100% - 105px);
	overflow:hidden;
}
.hap-player-thumb{
	height: 100%;
	background-color: #222;
}
.hap-player-thumb img{
	display: block;
	position: absolute;
	min-width: 100%;
	min-height: 100%;
}



.hap-icon-color{
	color:#fff !important;
	-webkit-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out; 
}
.hap-icon-rollover-color{
	color:#3FBAF3 !important;
	-webkit-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out; 
}
.hap-contr-btn i{
	position: absolute;
    top: 0;
    left: 0;
	width:30px;
	height:30px;
	text-align: center;
	display: inline-block;
	font-size: 15px!important;
	line-height: 30px!important;
}

.hap-seekbar{
	position:relative;
	margin-left:20px;
	margin-right:20px;
	height:20px;
	cursor: pointer;
	touch-action: none;
	overflow: hidden;
}
.hap-progress-bg{
	position:relative;
	background:#aaa;
	width:100%;
	top:5px;
	height:2px;
}
.hap-load-level{
	position:absolute;
	background:#ccc;
	top:5px;
	height:2px;
}
.hap-progress-level{
	position:absolute;
	background:#fff;
	top:5px;
	height:2px;
}

.hap-controls{
	position: relative;
	height:30px;
	margin-left:12px;
	margin-right:12px;
}
.hap-prev-toggle,
.hap-playback-toggle,
.hap-next-toggle{
	position: relative;
	margin-right: 10px;
	width:30px;
	height:30px;
	float: left;
}
.hap-playback-toggle i{
	font-size: 22px!important;
}

.hap-volume-wrapper{
	position: relative;
	width:30px;
	height:30px;
	float: left;
}
.hap-volume-toggle{
	width:30px;	
	height:30px;
	cursor: pointer;
}
.hap-volume-seekbar{
	position: absolute;
	left:35px;
	top:5px;
	width:80px;
	height:20px;
	cursor: pointer;
	touch-action: none;
}
.hap-volume-bg{
	position:absolute;
	top:9px;
	left:10px;
	width:60px;
	height:2px;
	background:#ddd;
}
.hap-volume-level{
	position:absolute;
	top:9px;
	left:10px;
	width:0;
	height:2px;
	background:#3FBAF3;
}

.hap-random-toggle,
.hap-loop-toggle{
	position: relative;
	margin-left: 10px;
	width:30px;
	height:30px;
	float: right;
}
.hap-share-holder{
	position: absolute;
    bottom: 15px;
    right: 10px;
    height: 30px;
}
.hap-share-item{
	position: relative;
	width:30px;
	height:30px;
	float: right;
	margin-left: 5px;
}
.hap-share-item i{
	display: inline-block;
	font-size: 15px!important;
	line-height: 30px!important;
}



#hap-playlist-list{
	display:none;
}
.hap-playlist-holder{
	position:relative;
	top:0;
	height: 100%;
	overflow:hidden;
}
.hap-playlist-inner{
	margin: 20px;
    height: calc(100% - 90px);
}
.hap-playlist-item{
	position:relative;
	top:0;
	left:0;
	overflow:hidden;
	line-height: 33px;
}
.hap-playlist-item > a {
    border: 0;
}
.hap-playlist-non-selected {
	color:#999;
	text-decoration: none; 
}
.hap-playlist-selected {
	color:#fff;
	text-decoration: none; 
}
.hap-download, .hap-link{
	float:right;
	color:#999!important;
	font-size: 13px!important;
	margin-left: 15px;
}
.hap-download i, .hap-link i{
	color:inherit;
}
.hap-download:hover, .hap-link:hover{
	color:#fff!important;
}
.hap-playlist-title-num{
	margin-left: 5px;
}
.hap-playlist-title-num,
.hap-playlist-title {
	font-size: 13px;
	color:inherit;
}





.hap-tooltip{
	position:absolute;
	background:#333;
	text-align:center;
	z-index:10000;
	pointer-events:none;
	border:1px solid #666;
	color:#fff!important;
	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-preloader {
	position:absolute;
	top:50%;
	left:50%;
    width: 40px;
    height: 40px;
    margin-left:-20px;
	margin-top:-20px;
    background-color: #fff;
    -webkit-animation: hap_preloader 1.2s infinite ease-in-out;
    animation: hap_preloader 1.2s infinite ease-in-out;
}
@-webkit-keyframes hap_preloader {
    0% { -webkit-transform: perspective(120px) }
    50% { -webkit-transform: perspective(120px) rotateY(180deg) }
    100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}
@keyframes hap_preloader {
    0% { 
	    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
	    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
    } 50% { 
	    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
	    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
    } 100% { 
	    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
	    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}


.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;
}
.hap-mCSB_full{/* hide scroll area when no scroll */
	margin-right: 0!important;
}



@media only screen and (max-width: 700px) {
	#hap-wrapper{
		height:600px;
	}
	.hap-player-left{
		width: 100%;
		height: calc(100% - 300px);
		min-height: 300px;
	}
	.hap-playlist-holder{
		clear: left;
		height: 300px;
	}
}
