@import url(http://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700);


*{
	margin:0;
	padding:0;
	border:0;
	outline:none;
}
a{ 
	text-decoration: none; 
}

body, html{
	/*height: 100%;*/
}


#hap-wrapper{
	position: relative;
	font-family: "Raleway", sans-serif;
   /* margin: 100px auto;
    width: 100%;
	max-width:800px;*/
}


.footer{
	
	font-family: "Raleway", sans-serif;
	text-align: center;
	margin: 10px 10px;
	font-size:13px;
}

.hap-brona-light{
	background: #fff;
}
.hap-brona-dark{
	background: #1b1b1b;
}

.hap-player-holder{
	position:relative;
	display: flex;
	flex-direction:row;
	flex-wrap:nowrap;
	padding: 30px;
}
.hap-player-thumb-wrapper{
	width:140px;
	height: 140px;
	position:relative;
	overflow:hidden;
	flex-shrink:0;
}
.hap-player-thumb{
	position: absolute;
	top: 0;
    left: 0;
	width: 100%;
	height: 100%;
	background-position: 50% 50%;
    background-size: cover;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    border-radius: 5%;
}

.hap-contr-btn{
	position: relative;
	float: left;
	width: 50px;
	height: 40px;.
	padding: 0px 5px;
}
.hap-btn{
	display: none;
	height:100%;
}
/*  material icons */
.hap-contr-btn i{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	transition: color .1s ease-out;
}
/*  svg */
.hap-contr-btn svg{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	height: 20px;
	fill:currentColor;
	transition: color .1s ease-out;
}

.hap-brona-light .hap-contr-btn svg,
.hap-brona-light .hap-contr-btn i{
	color:#666;
}
.hap-brona-light .hap-btn:hover svg,
.hap-brona-light .hap-btn:hover i,
.hap-brona-light .hap-contr-btn:hover > svg,
.hap-brona-light .hap-contr-btn-hover svg,
.hap-brona-light .hap-contr-btn:hover i,
.hap-brona-light .hap-contr-btn-hover i{
	color:#969200;
} 
.hap-brona-dark .hap-contr-btn svg,
.hap-brona-dark .hap-contr-btn i{
	color:#666;
}
.hap-brona-dark .hap-btn:hover svg,
.hap-brona-dark .hap-btn:hover i,
.hap-brona-dark .hap-contr-btn:hover > svg,
.hap-brona-dark .hap-contr-btn-hover svg,
.hap-brona-dark .hap-contr-btn:hover i,
.hap-brona-dark .hap-contr-btn-hover i{
	color:#e91e63;
} 

.hap-player-right{
	position: relative;
	top:0px;
	height: 100%;
	overflow:hidden;
	flex:1;
	display: flex;
	flex-direction:column;
}
.hap-seekbar-wrap{
	margin-top: 31px;
}
.hap-seekbar{
	position:relative;
	top:0;
	left:0;
	width: 100%;
	height:10px;
	cursor: pointer;
	touch-action: none;
}
.hap-progress-bg{
	position:absolute;
	width:100%;
	top:50%;
	height:1px;
}
.hap-brona-light .hap-progress-bg{
	background:#ccc;
}
.hap-brona-dark .hap-progress-bg{
	background:#ccc;
}
.hap-load-level{
	position:absolute;
	top:0;
	height:100%;
}
.hap-brona-light .hap-load-level{
	background:#ddd;
}
.hap-brona-dark .hap-load-level{
	background:#ddd;
}
.hap-progress-level{
	position:absolute;
	top:0;
	height:100%;
}
.hap-brona-light .hap-progress-level{
	background:#969200;
}
.hap-brona-dark .hap-progress-level{
	background:#e91e63;
}
.hap-ad-progress-level{
	background: #ffeb3b!important;
}

.hap-media-time{
	position: relative;
	pointer-events:none;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
	z-index: 2;/*above range handles!*/
}
.hap-media-time-current,
.hap-media-time-total{
	position:relative;
	text-align: center;
	padding: 0!important;
	font-size:18px!important;
	pointer-events:none;
	width:auto;
}
.hap-media-time-current{
	margin-left: 1px;
}
.hap-media-time-total{
	margin-right: 1px;
}
.hap-media-time-ad{
	display: none;
	position: relative;
    pointer-events: none;
	font-size: 11px;
}
.hap-brona-light .hap-media-time-current,
.hap-brona-light .hap-media-time-total,
.hap-brona-light .hap-media-time-ad{
	color:#333 !important;
}
.hap-brona-dark .hap-media-time-current,
.hap-brona-dark .hap-media-time-total,
.hap-brona-dark .hap-media-time-ad{
	color:#666 !important;
}

.hap-center-elements{
	position: relative;
	margin-left: 20px;
}
.hap-info{
	position: relative;
}
.hap-player-title{
	font-size:25px;
	margin:0;
	padding:0;
	margin-bottom: 5px;
	font-weight: 600;
}
.hap-brona-light .hap-player-title{
	color:#222;
}
.hap-brona-dark .hap-player-title{
	color:#d5d5d5;
}
.hap-player-artist{
	font-size:14px;
	margin:0;
	padding:0;
}
.hap-brona-light .hap-player-artist{
	color:#222;
}
.hap-brona-dark .hap-player-artist{
	color:#bbb;
}

.hap-controls{
	display: flex;
    flex-direction: row;
    justify-content: space-between;
	position: relative;
	margin-top: 5px;
}
.hap-controls-left{
	margin-left: -12px;
}
.hap-controls-right{
	/*margin-right: -12px;*/
}
.hap-controls-right .hap-contr-btn i{
	font-size: 19px;
}
.hap-share-toggle i{
	font-size: 30px!important;
}

.hap-volume-seekbar{
	position: relative;
	width:120px;
	height:100%;
	left: 40px;
	cursor: pointer;
	touch-action: none;
	display: none;
}
.hap-volume-wrap:hover .hap-volume-seekbar{
	display: block;
}
.hap-volume-toggle i{
	font-size: 20px!important;
}
.hap-volume-bg{
	position:absolute;
	top:19px;
	left:10px;
	width:100px;
	height:1px;
}
.hap-brona-light .hap-volume-bg{
	background:#ddd;
}
.hap-brona-dark .hap-volume-bg{
	background:#ddd;
}
.hap-volume-level{
	position:absolute;
	top:0;
	left:0;
	height:100%;
}
.hap-brona-light .hap-volume-level{
	background:#969200;
}
.hap-brona-dark .hap-volume-level{
	background:#e91e63;
}

#hap-playlist-list{
	display:none;
}
.hap-playlist-holder{
	position:relative;
	width:100%;
	overflow:hidden;
}
.hap-playlist-inner{
	position: relative;
	padding: 30px;
	min-height: 150px;
	max-height: 340px;
	box-sizing:border-box;
	height: calc(100% - 40px);
}
.hap-playlist-item{
	position: relative;
	top:0px;
	left:0px;
	font-size:20px;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;    
	box-sizing: border-box; 
 	overflow: hidden;
 	display: flex;
 	padding: 5px 0;
}
.hap-brona-light .hap-playlist-item{
	border-top: 1px solid #efefef;
}
.hap-playlist-item:first-child {  
	border-top:none;
}
.hap-playlist-item-content {
	cursor: pointer;
	flex:1;
	display:flex;
	align-items:center;
	overflow: hidden;
	margin-right: 10px;
}
.hap-playlist-thumb{
	position:relative;
	top:0px;
	left:0px;
	height:40px;
	flex-shrink: 0;
	overflow:hidden;
	margin-right: 10px;
	border-radius: 100%;
}
.hap-thumbimg{
	position:relative;
	top:0px;
	left:0px;
	display:block;
	height:100%;
	max-width: none!important;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	display:none;
}
.hap-playlist-title-num{
	flex-shrink:0;
}
.hap-playlist-title-num,
.hap-playlist-title{
	position: relative;
	vertical-align: middle;
	text-align: left;
	color: inherit;
	display: block;
}
.hap-brona-light .hap-playlist-title-num,
.hap-brona-light .hap-playlist-title{
	color: #222;
}
.hap-brona-dark .hap-playlist-title-num,
.hap-brona-dark .hap-playlist-title{
	color: #ccc;
}
.hap-playlist-title:not(.hap-title-multiline){
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.hap-brona-light .hap-playlist-item-selected .hap-playlist-title-num,
.hap-brona-light .hap-playlist-item-selected .hap-playlist-title{
	color:#969200;
}
.hap-brona-dark .hap-playlist-item-selected .hap-playlist-title-num,
.hap-brona-dark .hap-playlist-item-selected .hap-playlist-title{
	color:#e91e63;
}

.hap-playlist-info{
	flex:1;
	display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
    margin-right: 10px;
}
.hap-playlist-info2{
	position: relative;
    margin-left: auto;
	flex-shrink:0;
	display: flex;
	flex-direction:column;
	justify-content: space-around;
    text-align: right;
}

.hap-playlist-description{
	font-size: 13px;
}
.hap-brona-light .hap-playlist-description{
	color: #222;
}
.hap-brona-dark .hap-playlist-description{
	color: #787878;
}

.hap-playlist-duration{
	font-size: 14px;
}
.hap-brona-light.hap-playlist-duration{
	color: #222;
}
.hap-brona-dark .hap-playlist-duration{
	color: #ccc;
}
.hap-playlist-date{
	font-size: 11px;
}
.hap-brona-light.hap-playlist-date{
	color: #666;
}
.hap-brona-dark .hap-playlist-date{
	color: #787878;
}
.hap-playlist-title-wrap{
	display: flex;
    flex-direction: row;
    align-items: baseline;
}

.hap-download, .hap-link{
	text-align: center;
	width: 30px;
	border: 0!important;
	box-shadow: none!important;
	display: flex;
	justify-content: center;
	flex-direction: column;
	position: relative;
}
.hap-brona-light .hap-download,
.hap-brona-light .hap-link{
	color:#666!important;
}
.hap-brona-dark .hap-download,
.hap-brona-dark .hap-link{
	color:#666!important;
}

.hap-download svg,
.hap-link svg{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	height: 16px;
	fill:currentColor;
	transition: color .1s ease-out;
}
.hap-brona-light .hap-download:hover i, 
.hap-brona-light .hap-link:hover i{
	color:#969200!important;
}
.hap-brona-dark .hap-download:hover i, 
.hap-brona-dark .hap-link:hover i{
	color:#e91e63!important;
}

.hap-playlist-filter-msg{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}
.hap-playlist-filter::placeholder { 
    color: inherit!important;
}
.hap-playlist-filter-msg span{
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
}
.hap-brona-light .hap-playlist-filter-msg span{
	color: #969200;
}
.hap-brona-dark .hap-playlist-filter-msg span{
	color: #e91e63 !important;
}

.hap-bottom-bar{
	position:relative;
	top: 10px;
	height:60px;
	width:100%;
	display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
}
.hap-search-filter{
	position:relative;
	width:300px!important;
	height:40px!important;
	margin:0!important;
	padding:0!important;
	-moz-border-radius:0 !important;
    -webkit-border-radius:0 !important;
	border-radius:5px !important;
	box-shadow:none!important; 
	line-height:1!important; 
	outline:none;
	font-size: 20px;
	text-align: center;
}
.hap-brona-light .hap-search-filter{
	background: #f5f5f57a!important;
	color: #828282!important;
    border-bottom: 1px solid #ccc!important;
}
.hap-brona-dark .hap-search-filter{
	background: #2a2a2a!important;
	color: #828282 !important;
}
.hap-search-filter::placeholder { 
	color: inherit!important;
}

.hap-playback-rate-holder,
.hap-share-holder{
	position: absolute;
    width: 250px;
    height: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);	
    z-index: 10;
    display: none;
}
.hap-brona-light .hap-playback-rate-holder,
.hap-brona-light .hap-share-holder{
	background: #fff; 
	border: 1px solid #ddd;
}
.hap-brona-dark .hap-playback-rate-holder,
.hap-brona-dark .hap-share-holder{
	background: #1b1b1b; 
	border: 1px solid #333;
}

.hap-share-holder-inner{
	height: 34px;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;	
}
.hap-playback-rate-close,
.hap-share-close{
	position: absolute;
    width: 34px;
    height: 34px;
    top: 0;
    right: 0;
}
.hap-playback-rate-close i,
.hap-share-close i{
	font-size: 18px;
}
.hap-share-item{
	position:relative;
	width:25px;
	height:100%;
	text-align: center;
	float: left;
	margin-right: 10px;
}
.hap-share-item[data-type="facebook"] svg{
	color: #3b5998!important;
}
.hap-share-item[data-type="twitter"] svg{
	color: #00aced!important;
}
.hap-share-item[data-type="tumblr"] svg{
	color: #34526f!important;
}
.hap-share-item[data-type="whatsapp"] svg{
	color: #25D366!important;
}

/* playback rate */

.hap-playback-rate-seekbar{
	position: relative;
	width:200px;
	height:30px;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	cursor: pointer;
	touch-action: none;
}
.hap-playback-rate-bg{
	position:absolute;
	top:17px;
	left:10px;
	width:180px;
	height:1px;
}
.hap-brona-light .hap-playback-rate-bg{
	background:#ddd;
}
.hap-brona-dark .hap-playback-rate-bg{
	background:#ddd;
}
.hap-playback-rate-level{
	position:absolute;
	top:0;
	left:0;
	height:100%;
}
.hap-brona-light .hap-playback-rate-level{
	background:#969200;
}
.hap-brona-dark .hap-playback-rate-level{
	background:#e91e63;
}

.hap-tooltip{
	position:absolute;
	text-align:center;
	z-index:10000;
	pointer-events:none;
	display:none;
	font-size:12px!important;
	padding:2px 5px !important;
	line-height:20px !important;
	white-space:nowrap;
}
.hap-brona-light .hap-tooltip{
	background:#969200;
	color:#fff!important;
	box-shadow: 1px 1px 5px #999;
}
.hap-brona-dark .hap-tooltip{
	background:#e91e63;
	color:#fff!important;
}

.hap-preloader {
	position:absolute;
	top:50%;
	left:50%;
    width: 40px;
    height: 40px;
    margin-left:-20px;
	margin-top:-34px;
    -webkit-animation: hap_preloader 1.2s infinite ease-in-out;
    animation: hap_preloader 1.2s infinite ease-in-out;
}
.hap-brona-light .hap-preloader {
	background-color: #969200;
}
.hap-brona-dark .hap-preloader {
	background-color: #e91e63;
}
@-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-visible {
	opacity: 1!important;
	-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: 650px) {
	.hap-player-holder{
		height: auto;
		flex-direction:column;
	}
	.hap-player-thumb-wrapper{
		width: 100%;
		height: auto;
		padding-top: 100%;
	}
	.hap-player-right{
		flex:none;
	}
	.hap-center-elements{
		margin-left: 0;
	  	margin-top: 20px;
	}
	.hap-playlist-inner{
		padding: 0 30px 30px 30px;
	}
}
@media only screen and (max-width: 550px) {
	.hap-volume-seekbar{
		display: none!important;
	}
	.hap-popup-toggle,
	.hap-playback-rate-toggle{
		display: none;
	}
}

.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;
    user-select: none;
    visibility: visible;
    top:0;
    left:0;
    max-width:none!important;
}


/* statistics */
.hap-stats{
    height: 100%;
    line-height: 1;
    display: flex;
    justify-content:space-around;
    min-width:200px;
}
.hap-play-count,
.hap-like-count,
.hap-download-count{
	display: flex;
	flex: 1;
	box-shadow: none;
	cursor:pointer;
	border: none;
	margin: 0 10px;
	align-items: center;
	color: inherit;
}
.hap-stats svg{
	width:25px;
	height:15px;
	text-align: center;
	fill:currentColor;
}
.hap-stats span{
	margin:0!important;
	padding:0!important;
	font-size:12px!important;
	pointer-events:none;
	flex-shrink:0;
}
.hap-stats svg,
.hap-stats span{
	color:#666;
}
.hap-play-count:hover > svg,
.hap-like-count:hover > svg,
.hap-download-count:hover > svg{
	color:#e91e63;
} 

/* load more */
.hap-load-more-wrap{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}
.hap-load-more-btn{
	display: inline-block;
	padding: 0 5px;
	transition: all 0.2s ease-out;
    cursor: pointer;
    opacity: 0;
    font-size: 16px;
}
.hap-brona-light .hap-load-more-btn{
	color: #333;
	background: #ddd;
}
.hap-brona-light .hap-load-more-btn:hover{
    color: #fff;
    background: #777;
}
.hap-brona-dark .hap-load-more-btn{
	color: #ccc;
	background: #e91e63;
}
.hap-brona-dark .hap-load-more-btn:hover{
    color: #fff;
    background: #b8b8b8;
}