/**{
	margin:0;
	padding:0;
	border:0;
	outline:none;
}
a{ 
	text-decoration: none; 
}
body {
	background: #333;
	font-family: Arial, Helvetica, sans-serif;
}


 first */

#hap-wrapper{
    position: relative;
    /*min-width: 300px;*/
    max-width: 750px;
    margin:auto;
	text-align:center;
    margin-top: 25px;
}

.hap-player-holder{
    display: flex;
    height: 40px;
    width: 100%;
    background-image: url(../data/pattern/player_bg2.png);
    background-repeat: repeat-x;
}
.hap-contr-btn {
    width: 40px;
    height: 100%;
    float: left;
    position: relative;
}
.hap-contr-btn i{
	position: absolute;
    top: 0;
    left: 0;
	width:40px;
	height:40px;
	text-align: center;
	display: inline-block;
	font-size: 16px!important;
	line-height: 40px!important;
}
.hap-contr-btn i{
	color:#DDD9D2;/*#ddd;*/
}
.hap-contr-btn:hover i,
.hap-contr-btn-hover{
	color:#5F9EA0;/*#6B99A6;*//*#fff*/!important;
}



.hap-seekbar-wrap{
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    touch-action: none;
    flex: 1;
}
.hap-seekbar{
	margin: 0 10px;
    height: 100%;
    overflow: auto;
}
.hap-progress-bg{
	position:relative;
    width: 100%;
    top: 50%;
    overflow: hidden;
    margin-top: -5px;
    height: 10px;
    background: #DDD9D2; /*#222;*/
    box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
    border-radius: 4px;
}
.hap-load-level{
	position: absolute;
	background:#444;/*#221A16;*/
	top: 0;
	height: 100%;
}
.hap-progress-level{
	position: absolute;
	background: #5F9EA0;/*#6B99A6;*//*#fff;*/
	top: 0;
	height: 100%;
	border-radius: 4px;
}

.hap-player-controls-right{
	position: relative;
    margin-left: auto;
}
.hap-player-controls-left{
	position: relative;
    margin-left: auto;
}

.hap-media-time-current,
.hap-media-time-total{
	position: relative;
    top: 50%;
    left: 0px;
    text-align: center;
    float: left;
    font-size: 14px!important;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #DDD9D2; /*#ddd;*/
    padding-left: 10px!important;
    padding-right: 10px!important;
}


.hap-volume-seekbar{
	position: absolute;
	top: -80px;
    left: 0px;
    width: 40px;
    height: 80px;
	cursor: pointer;
	touch-action: none;
	display: none;
	background-image: url(../data/pattern/player_bg2_vol.png);
}
.hap-volume-bg{
	position:absolute;
	width: 10px;
    height: 60px;
    background:#DDD9D2;/* #444;*/
    bottom: 10px;
    left: 15px;
    box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
    border-radius: 4px;
    overflow: hidden;
}
.hap-volume-level{
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	background:#5F9EA0;/*#6B99A6;*//*#fff;*/
	border-radius: 4px;
}
.hap-volume-closed:hover .hap-volume-seekbar{
	display:block!important;
}
.hap-volume-toggle{
	cursor: pointer;
	height: 100%;
}




#hap-playlist-list{
	display:none;
}
.hap-playlist-holder{
	position: relative;
	left:0;
	top:0;
	width: 100%;
	height:100%;
	max-height: 600px;
	background: #222222;;/* #5F9EA0;/*#6B99A6;*//* #2B201C;#222;*/
	overflow: hidden;
	margin-top: 1px;
}
.hap-playlist-inner{
	position: relative;
	height: 100%;
	box-sizing: border-box; 
	padding: 10px;
}
.hap-playlist-item{
	position: relative;
	top:0px;
	left:0px;
	line-height: 35px;
	font-size:15px;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;    
	box-sizing: border-box; 
 	overflow: hidden;
 	display: flex;
    width: 100%;
}
.hap-playlist-item:last-child {  
	border-bottom:none;
}
.hap-playlist-item-content {
	cursor: pointer;
	text-align:left;
	flex:1;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	color:#666;
}
.hap-playlist-item-selected .hap-playlist-title-num,
.hap-playlist-item-selected .hap-playlist-title{
	color:#DDD9D2; /*#fff;*/
}
.hap-playlist-title-num{
	margin-left: 5px;
}
.hap-playlist-title-num,
.hap-playlist-title {
	vertical-align:middle;
	color:inherit;
}

.hap-download, .hap-link{
	color:#666!important;
	font-size: 16px!important;
	margin-left: 15px;
	margin-right: 4px;
	border: 0!important;
    box-shadow: none!important;
}
.hap-download i, .hap-link i{
	color:inherit;
}
.hap-download:hover, .hap-link:hover{
	color:#fff!important;
}





.hap-tooltip{
	position:absolute;
	text-align:center;
	z-index: 2147483646!important;
	pointer-events:none;
	display:none;
	font-size:13px!important;
	padding:2px 8px !important;
	line-height:20px !important;
	white-space:nowrap;
	user-select: none;
	direction: ltr !important;
	box-shadow: 1px 1px 1px #333;
	background: #DDD9D2; /*#ffffff;*/
    color: #313131!important;
}


.hap-preloader {
	position:absolute;
	top:50%;
	left:50%;
    width: 40px;
    height: 40px;
    margin-left:-20px;
	margin-top:-20px;
    background-color: #6B99A6;/*#3FBAF3;*/
    -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;
}


.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: 500px) {
	.hap-media-time-current,
	.hap-media-time-total{
		display: none;
	}
}



/* second */


#hap-wrapper2{
    position: relative;
   /* min-width: 300px;
    max-width: 900px; */
    margin: 0 auto;
    margin-top: 100px;
}
#hap-wrapper2 .hap-prev-toggle,
#hap-wrapper2 .hap-playback-toggle,
#hap-wrapper2 .hap-next-toggle{
	border-right: 1px solid #555;
	border-right-color: rgba( 255, 255, 255, .1 );
}
#hap-wrapper2 .hap-volume-wrapper{
	border-left: 1px solid #555;
	border-left-color: rgba( 255, 255, 255, .1 );
}



#hap-wrapper3{
    position: relative;
    max-width: 200px;
    margin: 0 auto;
    margin-top: 100px;
}
#hap-wrapper3 .hap-volume-seekbar{
	position: absolute;
	top:0;
	left:40px;
	width:80px;
	height:40px;
	background-image: url('../data/pattern/player_bg2.png'); 
	background-repeat: repeat-x; 
	cursor: pointer;
	touch-action: none;
	display: none;
}
#hap-wrapper3 .hap-volume-bg{
	position:absolute;
	width:60px;
	height:10px;
	background:#222;
	left:10px;
	top:15px;
	box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
    border-radius: 4px;
    overflow: hidden;
}
#hap-wrapper3 .hap-volume-level{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	background:#fff;
	border-radius: 4px;
}



#hap-wrapper4{
    position: relative;
    width: 80px;
    margin: 100px auto;
}