
#hap-wrapper{
	position:relative;
	max-width:900px;
	height: 62vh;
	margin: 100px auto;
	font-family: 'Poppins', sans-serif;
	display:none;
	border-radius: 8px;
	/* box-shadow: 10px 10px 5px #ccc; */
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#hap-crapper{
	position:relative;
	max-width:900px;
	margin: 1px auto;
	font-family: 'Poppins', sans-serif;
}

.hap-holder-shown {
	border-radius: 6px;
}

.hap-copy{
    /*background-color: rgb(53,27,91,.35);*/
    padding: 20px 20px 10px 20px;
    /*padding-left: 19vw;*/
}

.hap-epic{
    background: rgb(255,255,255,.8);
    padding: 40px 40px 30px 40px;
}
.hap-epic .hap-player-outer{
	transition: opacity 0.3s ease-in-out;
    opacity: 0;
    //background: red;
}
.hap-epic .hap-player-wrap{
	position:relative;
	width: 100%;
	height: 48vh;
	/*height: 300px;*/
	display: flex;
	flex-direction:row;
	flex-wrap:nowrap;
}
.hap-epic .hap-player-holder{
	position: relative;
	width: 300px;
}
.hap-epic .hap-btn{
	display: none;
	height:100%;
}

.hap-player-controls-right{
	display: flex;
	flex-direction: row;
	margin-right: 20px;
}
.hap-contr-btn{
	position: relative;
	width:40px;
	height:50px;
}



.hap-epic .hap-contr-btn svg{
	color:#777;
}
.hap-epic .hap-btn:hover svg,
.hap-epic .hap-contr-btn:hover > svg,
.hap-epic .hap-contr-btn-hover svg{
	color:#FFC300;
} 
.hap-epic .hap-contr-btn svg{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	height: 20px;
	fill:currentColor;
	transition: color .1s ease-out;
}
.hap-epic .hap-loop-toggle svg{
	height: 24px;
}

.hap-epic .hap-player-thumb-wrapper{
	position:relative;
	overflow:hidden;
	width: 100%;
    height: 300px;
}
.hap-epic .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;
}



.hap-epic .hap-seekbar {
    position: relative;
    height: 50px;
    margin: 15px 20px;
    cursor: pointer;
    touch-action: none;

    display: flex;
    align-items: center;
    justify-content: center;
}
.hap-epic .hap-seekbar-wave,
.hap-epic .hap-seekbar-wave-progress{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hap-epic .hap-seekbar-wave-progress{
    width: 0;
}


.hap-epic .hap-media-time-ad{
	display: none;
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    line-height: 50px;
    font-size: 14px;
    height: 100%;
    text-align: center;
    background: #ffffffd1;
}
.hap-epic .hap-media-time-ad{
	color:#c90032 !important;
}



.hap-epic .hap-player-controls{
	display: flex;
    justify-content: space-between;
}


.hap-epic .hap-player-controls-left{
	display: flex;
	flex-direction: row;
}


.hap-epic .hap-playback-toggle svg{
	height: 36px!important;
}

.hap-epic .hap-controls{
	position: relative;
	width:150px;
	height:50px;
}
.hap-epic .hap-prev-toggle{
	width: 50px;
}
.hap-epic .hap-playback-toggle{
	width: 50px;
}
.hap-epic .hap-playback-toggle svg{
	width:50px;
	height:50px;
	height: 26px;
}
.hap-epic .hap-next-toggle{
	width: 50px;
}

.hap-epic .hap-volume-wrap{
	position: relative;
	margin-left:30px;
	height: 50px;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.hap-epic .hap-volume-toggle{
	position:relative;
	width:40px;
	height:50px;
}
.hap-epic .hap-volume-toggle svg{
	height: 30px;
}
.hap-epic .hap-volume-seekbar{
	position: relative;
	margin-left: 10px;
	width:200px;
	height:25px;
	cursor: pointer;
	touch-action: none;
}
.hap-epic .hap-volume-bg{
	position:absolute;
	top:11px;
	left:10px;
	width:180px;
	height:4px;
}
.hap-epic .hap-volume-bg{
	background:#ddd;
}
.hap-epic .hap-volume-level{
	position:absolute;
	top:0;
	left:0;
	height:100%;
}
.hap-epic .hap-volume-level{
	background:#351b5b;
}

.hap-epic .hap-random-toggle svg{
	height: 23px;
}
.hap-epic .hap-share-toggle svg{
	height: 28px;
}


.hap-epic .hap-playlist-main-title{
	margin-left: 20px;
    font-size: 36px;
    color: #111;
    display: none;
}
.hap-epic .hap-playlist-main-description{
    margin-left: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: #FFC300;
    display: none;
}







#hap-playlist-list{
	display:none;
}
.hap-epic .hap-playlist-holder{
	position: relative;
	top: 0;
	height: 100%;
	overflow: hidden;
	flex: 1;
}
.hap-epic .hap-playlist-inner{
	padding: 20px;
	position: relative;
	height: calc(100% - 50px);
	box-sizing:border-box;
	padding-top:40px;
}
.hap-epic .hap-playlist-item-content {
	color:#262626;
	font-family: Poppins, sans-serif;
	font-size: 15px;
	line-height:2.2;
}
.hap-epic .hap-playlist-item-selected .hap-playlist-title-wrap{
	color: #ffffff;
	font-family: Poppins, sans-serif;
	/*font-weight: 600;*/
	font-size: 15px;
	/*background: #351b5b;*/
	background: #26063d;
	/*padding: 5px;*/
	border-radius:6px;
}

.hap-epic .hap-playlist-item-selected .hap-playlist-title-wrap:hover {
	color: #ffffff;
	font-family: Poppins, sans-serif;
	/*font-weight: 600;*/
	font-size: 15px;
	background: #bbbbbb;
	/*padding: 5px;*/
	border-radius:6px;
}

.hap-epic .hap-playlist-duration{
	font-size: 12px;
}
.hap-epic .hap-playlist-date{
	font-size: 11px;
	color: #666;
}


.hap-epic .hap-playlist-icons svg{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	height: 18px;
	fill:currentColor;
	transition: color .1s ease-out;
	color: #351b5b;
}

/*
.hap-epic .hap-playlist-item-selected .hap-download svg,
.hap-epic .hap-playlist-item-selected .hap-link svg{
	color: #fff!important;
}
.hap-epic .hap-download:hover svg,
.hap-epic .hap-link:hover svg{
	color:#FFC300;
}*/

.hap-epic .hap-playlist-filter-msg span{
	color: #FFC300;
}
.hap-epic .hap-bottom-bar{
	position:relative;
	top:0;
	height:34px;
	width:100%;
	overflow:hidden;
}
.hap-epic .hap-search-filter{
	position:relative;
	width:125px!important;
	height:18px!important;
	top:50%;
	margin:-9px 0 0 20px!important;
	padding:0 2px!important;
	border:0!important;
	-moz-border-radius:0 !important;
    -webkit-border-radius:0 !important;
	border-radius:0 !important;
	background:#ddd !important;
	color:#000 !important;
	box-shadow:none!important; 
	line-height:1!important; 
	float: left;
	outline:none;
	font-size: 16px;
}

.hap-epic .hap-sort-alpha{
	position:relative;
	left:5px;
	top:0;
	width:34px;
	height:100%;
	text-align: center;
	float: left;
}

.hap-epic .hap-bottom-bar-controls{
	position: absolute;
    right: 25px;
    height: 100%;
}

.hap-epic .hap-bottom-bar-controls .hap-contr-btn{
	position:relative;
	width:25px;
	height:34px;
	margin-left: 10px;
	float: left;
}

.hap-epic .hap-playback-rate-holder,
.hap-epic .hap-embed-holder,
.hap-epic .hap-share-holder,
.hap-epic .hap-pwd-holder,
.hap-epic .hap-range-holder{
    background: #fff; 
    border: 1px solid #ddd;
    box-shadow: rgba(135, 135, 135, 0.32) 0px 0px 11px;
}

/*pwd */
.hap-epic .hap-pwd-title{
	color: #222;
}
.hap-epic .hap-pwd-confirm{
	background: #f3f3f3;
    color: #656565;
}



/* embed */
.hap-epic .hap-embed-field-wrap-selected{
    background: #FFC300;
    color: #fff;
}
.hap-epic .hap-embed-title{
	color: #222;
}
.hap-epic .hap-share-copy,
.hap-epic .hap-embed-copy{
	background: #f3f3f3;
    color: #656565;
}



.hap-epic .hap-share-holder-inner{
	height: 50px;
}


/* dialog */

.hap-epic .hap-dialog{
    box-shadow: rgba(135, 135, 135, 0.32) 0px 0px 11px;
}
.hap-epic .hap-dialog-header{
	background: #777;
}
.hap-epic .hap-dialog .hap-dialog-close svg {
    color: #fff;
}

/* range */

.hap-epic .hap-range-bg{
	top:14px;
	height:4px;
}

.hap-epic .hap-range-handle-a-hit{
	border-bottom-color:#666;
}
.hap-epic .hap-range-handle-a-hit:hover{
	border-bottom-color:#FFC300;
}
.hap-epic .hap-range-handle-b-hit{
	border-top-color:#666;
}
.hap-epic .hap-range-handle-b-hit:hover{
	border-top-color:#FFC300;
}

.hap-epic .hap-range-min-time,
.hap-epic .hap-range-max-time{
	color: #333;
}
.hap-epic .hap-range-bg{
	background:#ddd;
}
.hap-epic .hap-range-level{
	background:#FFC300;
}


/* playback rate */

.hap-epic .hap-playback-rate-bg{
	height: 4px;
	top:13px;
}

.hap-epic .hap-playback-rate-bg{
	background:#ddd;
}
.hap-epic .hap-playback-rate-level{
	background:#FFC300;
}
.hap-epic .hap-playback-rate-drag{
    position: relative;
	top:-9px;
    width: 21px;
    height: 21px;
	border-radius: 100%;
	background:#FFC300;
	-webkit-transform: scale( 0.5 );
    transform: scale( 0.5 );
	-webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
   	box-sizing: border-box;    
   	-webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out; 
    float: right;
 	margin-right: -9px;
}
.hap-epic .hap-playback-rate-drag:hover,
.hap-epic .hap-playback-rate-drag:active {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.hap-epic .hap-tooltip{
	background:#351b5b;
	color:#fff!important;
	box-shadow: 1px 1px 8px #6060606b;
}

.hap-epic .hap-preloader {
    background-color: #351b5b;
}


/* statistics */

.hap-epic .hap-stats svg{
	color:#777;
}
.hap-epic .hap-playlist-item:not(.hap-playlist-item-selected) .hap-play-count:hover > svg,
.hap-epic .hap-playlist-item:not(.hap-playlist-item-selected) .hap-like-count:hover > svg,
.hap-epic .hap-playlist-item:not(.hap-playlist-item-selected) .hap-download-count:hover > svg{
	color:#FFC300!important;
} 
.hap-epic .hap-playlist-item-selected .hap-play-count:hover > svg,
.hap-epic .hap-playlist-item-selected .hap-like-count:hover > svg,
.hap-epic .hap-playlist-item-selected .hap-download-count:hover > svg{
	color:#fff;
} 

.hap-epic .hap-stats span{
	color:#666;
}



/* lyrics popup */

.hap-epic .hap-dialog{
	background-color: #fff;
}

.hap-epic.hap-breakpoint-800 .hap-player-outer,
.hap-epic.hap-breakpoint-800 .hap-player-wrap{
	height: auto;
	flex-direction:column;
}
.hap-epic.hap-breakpoint-800 .hap-player-holder{
	width: 100%;
}
.hap-epic.hap-breakpoint-800 .hap-player-thumb-wrapper{
	height: 300px;
	width: 300px;
	margin: 0 auto;
}
.hap-epic.hap-breakpoint-800 .hap-volume-seekbar{
	display: none;
}
.hap-epic.hap-breakpoint-800 .hap-playlist-holder{
	height: 300px;
	flex:none;
}
.hap-epic.hap-breakpoint-600{
    padding: 20px;
}

.hap-epic.hap-breakpoint-400 .hap-search-filter,
.hap-epic.hap-breakpoint-400 .hap-sort-alpha{
	display: none;
}



.hap-waveform-loader{
	transition: opacity 0.3s ease-out;
}
.hap-waveform-loader-hidden{
	opacity: 0;
}
.hap-waveform-loader div {
  color: #351b5b;
  font-size: 14px;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 4px solid #ddd; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  animation: 
    hap-typing 5s steps(30, end) infinite,
    hap-blink-caret .5s step-end infinite;
}
/* The typing effect */
@keyframes hap-typing {
  0% {
    width: 0
  }
  60% {
    width: 100%
  }
}
/* The typewriter cursor effect */
@keyframes hap-blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #ddd }
}
