/**
*
* Container of the player
*
*/

.waveplayer * {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: Open-Sans, helvetica-neue, helvetica, arial, sans-serif;
}

.waveplayer {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding:0.6em;
}

.waveplayer div, .waveplayer span {font-size: 12px;}
.waveplayer h1 {font-size: 2em}
.waveplayer h2 {font-size: 1.8em;}
.waveplayer h3 {font-size: 1.6em;}
.waveplayer h4 {font-size: 1.4em;}
.waveplayer h5 {font-size: 1.2em;}
.waveplayer h6 {font-size: 1em;}
.waveplayer h7 {font-size: .8em;}

@media (min-width: 768px) {
    .waveplayer div, .waveplayer span {font-size: 14px;}
    .wvpl-size-xs div, .wvpl-size-xs span {font-size: 12px;}
    .wvpl-size-sm div, .wvpl-size-sm span {font-size: 14px;}
}
@media (min-width: 992px) {
    .waveplayer div, .waveplayer span {font-size: 16px;}
    .wvpl-size-xs div, .wvpl-size-xs span {font-size: 12px;}
    .wvpl-size-sm div, .wvpl-size-sm span {font-size: 14px;}
    .wvpl-size-md div, .wvpl-size-md span {font-size: 16px;}
}
@media (min-width: 1200px) {
    .wvpl-size-xs div, .wvpl-size-xs span {font-size: 12px;}
    .wvpl-size-sm div, .wvpl-size-sm span {font-size: 14px;}
    .wvpl-size-md div, .wvpl-size-md span {font-size: 16px;}
    .wvpl-size-lg div, .wvpl-size-lg span {font-size: 18px;}
}




/**
*
* Primary interface of the player
*
*/

.wvpl-left-box {
    display: table;
    display: flex;
    flex-shrink: 0;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
div.wvpl-left-box, .wvpl-size-xs div.wvpl-left-box,
div.wvpl-right-box, .wvpl-size-xs div.wvpl-right-box {
    font-size: 10px;
}
.wvpl-position, .wvpl-size-xs .wvpl-position, .wvpl-duration, .wvpl-size-xs .wvpl-duration {font-size:10px;}
@media (min-width: 768px) {
    div.wvpl-left-box, .wvpl-size-sm div.wvpl-left-box, div.wvpl-right-box, .wvpl-size-sm div.wvpl-right-box {font-size: 15px;}
    .wvpl-position, .wvpl-size-sm .wvpl-position, .wvpl-duration, .wvpl-size-sm .wvpl-duration  {font-size:11px;}
}
@media (min-width: 992px) {
    div.wvpl-left-box, .wvpl-size-md div.wvpl-left-box, div.wvpl-right-box, .wvpl-size-md div.wvpl-right-box {font-size: 20px;}
    .wvpl-position, .wvpl-size-md .wvpl-position, .wvpl-duration, .wvpl-size-md .wvpl-duration  {font-size:12px;}
}
@media (min-width: 1200px) {
    div.wvpl-left-box, .wvpl-size-lg div.wvpl-left-box, div.wvpl-right-box, .wvpl-size-lg div.wvpl-right-box {font-size: 25px;}
    .wvpl-position, .wvpl-size-lg .wvpl-position, .wvpl-duration, .wvpl-size-lg .wvpl-duration  {font-size:13px;}
}

.wvpl-left-box{
    height: 8em;
    width: 8em;
}


.wvpl-shape-square .wvpl-left-box {border-radius: 0%;}
.wvpl-shape-rounded .wvpl-left-box {border-radius: 10%;}
.wvpl-shape-circle .wvpl-left-box {border-radius: 100%;}

.wvpl-right-box {
    display:table;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height:8em;
    margin-left:0.5em;
    flex-grow:1;
    overflow:hidden;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
.waveplayer.loading .wvpl-right-box {
    opacity: 0;
}



div.wvpl-overlay{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position:absolute;
    opacity:0;
    visibility:hidden;
    width:100%;
    height:100%;
    text-align:center;
    font-weight: 100;
    line-height:1.2em;
    color: #0af;
    background-color: #fff;
    z-index:200;
    transition: opacity .3s ease-in-out 0s, visibility 0s linear .3s;
}
.waveplayer.analyzing .wvpl-overlay {
    opacity:1;
    visibility:visible;
    transition: opacity .3s ease-in-out 0s, visibility 0s linear 0s;
}
.wvpl-loading {
    width: 200px;
    height: 2px;
    background-color: #eee;
    position: relative;
    margin: 0 auto;
}
.wvpl-loading>div {
    width: 0;
    height: 2px;
    background-color: #0af;
    position: absolute;
    top:0;
    left:0;
}
div .wvpl-overlay>div.percentage {
    font-size: 13px;
    font-weight: 200;
}
div .wvpl-overlay>div.message {
    font-size: 13px;
    line-height: 32px;
    font-weight: 200;
}

#wave-animation {
    height: 50px;
    position: relative;
    width: 78px;
    margin: 0 auto;
    overflow: hidden;
}

#wave-animation .bar {
    background: #0af;
    bottom: -10px;
    height: 3px;
    position: absolute;
    width: 8px;
    animation: wvpl-sound 0ms linear infinite alternate;
}

@keyframes wvpl-sound {
    0% {
        opacity: .2;
        height: 10px;
        bottom: 25px;
    }
    100% {
        opacity: 1;
        height: 50px;
        bottom: 5px;
    }
}

#wave-animation .bar:nth-child(1)  { left: 0px;  animation-duration: .8s;  animation-delay:-200ms; }
#wave-animation .bar:nth-child(2)  { left: 10px; animation-duration: 1s;   animation-delay:-100ms;}
#wave-animation .bar:nth-child(3)  { left: 20px; animation-duration: .9s;  animation-delay:-700ms;}
#wave-animation .bar:nth-child(4)  { left: 30px; animation-duration: .7s;  animation-delay:-600ms;}
#wave-animation .bar:nth-child(5)  { left: 40px; animation-duration: .8s;  animation-delay:-500ms;}
#wave-animation .bar:nth-child(6)  { left: 50px; animation-duration: 1s;   animation-delay:-800ms;}
#wave-animation .bar:nth-child(7)  { left: 60px; animation-duration: 1.1s; animation-delay:-750ms;}
#wave-animation .bar:nth-child(8)  { left: 70px; animation-duration: .9s;  animation-delay:-250ms;}


.wvpl-interface {
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    z-index: 40;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    transition: all .25s;
}
.wvpl-shape-square .wvpl-interface {border-radius: 0%;}
.wvpl-shape-rounded .wvpl-interface {border-radius: 10%;}
.wvpl-shape-circle .wvpl-interface {border-radius: 100%;}
/* .wvpl-style-light .wvpl-interface{border: 1px solid #666;}
.wvpl-style-dark .wvpl-interface{border: 1px solid #333;} */

.wvpl-interface:hover {background-color: rgba(0,0,0,0.5);}

.wvpl-controls, .wvpl-volume, .wvpl-info {
    display: flex;
    justify-content: center;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    transition: all .25s;
    opacity: 1;
    position:relative;
    z-index: 2;
}
.wvpl-controls {
    display: flex;
}
.wvpl-controls.wvpl-inactive {
    opacity: 0;
}

.wvpl-player {
	width: 0;
	height: 0;
}

/* .wvpl-button {
	position: relative;
	display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow:1;
} */



/**
*
* Playlist of the player
*
*/

div.wvpl-playlist, .wvpl-size-xs div.wvpl-playlist {
    width:100%;
    /*max-height:8em;*/
    margin-left:8em;
    position:relative;
    display: none;
    margin-top:0.3em;
    padding-left:0.3em;
    overflow: hidden;
    overflow-y: auto;
    font-size: 10px;
}

.wvpl-playlist-wrapper {
    width:100%;
    position:relative;
}
.wvpl-playlist ul {
    list-style: none;
    padding:0;
    margin:0;
}
.wvpl-playlist li {
    text-align: left;
    line-height:1em;
    display:flex;
    padding: 0.3em;
}
.wvpl-playlist li:hover {
    background: rgba(0,0,0,0.133);
}
.wvpl-playlist li.playing {
    background: rgba(0,96,192,0.133);
    font-weight: bold;
}
.wvpl-playlist li:not(:last-child) {
    border-bottom: 1px solid #7f7f7f;
}
.wvpl-playlist li span {
    display: flex;
    font-size:0.85em;
    align-self: center;
}

.wvpl-playlist li span.wvpl-playlist-title {
    flex: 1;
    cursor:pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-left: 0.5em;
}
.wvpl-playlist li span.wvpl-playlist-time {
    flex: 0 0;
    font-size:0.85em;
}
.wvpl-playlist li span.wvpl-playlist-stats {
    flex: 0 0;
    display:flex;
    align-items:center;
}
img.wvpl-playlist-thumbnail, .wvpl-size-xs .wvpl-playlist-thumbnail {
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin:0!important;
    cursor:pointer;
    flex: 0 0;
}
.wvpl-shape-circle .wvpl-playlist-thumbnail {border-radius: 100%;}
.wvpl-shape-rounded .wvpl-playlist-thumbnail {border-radius: 15%;}

@media (max-width: 480px) {
    div.wvpl-playlist {
        margin-left:0;
    }
}
@media (min-width: 768px) {
    div.wvpl-playlist, .wvpl-size-sm div.wvpl-playlist {
        font-size: 15px;
    }
}
@media (min-width: 992px) {
    div.wvpl-playlist, .wvpl-size-md div.wvpl-playlist {
        font-size: 20px;
    }
}
@media (min-width: 1200px) {
    div.wvpl-playlist, .wvpl-size-lg div.wvpl-playlist {
        font-size: 25px;
    }
}

.wvpl-icon{
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    flex: 1;
}
.wvpl-icon.wvpl-share {
    font-family: "Font Awesome 5 Brands";
    font-weight:normal;
}
.wvpl-icon::before{
    width:1em;
    text-align:center;
}

.wvpl-interface .wvpl-icon  {
    color: #fff;
    align-self: center;
    cursor: pointer;
    /* opacity: 0.67; */
    text-shadow: 0 0 2px rgba(0,0,0,1);
    -webkit-transition: opacity .25s, transform .25s;
    -moz-transition: opacity .25s, transform .25s;
    transition: opacity .25s, transform .25s;
}
.wvpl-controls .wvpl-icon::before,
.wvpl-stats.wvpl-icon::before {
    display:inline-block;
    text-align:center;
    transition: all 0.3s;
}

.wvpl-icon.wvpl-play{
    font-size:2em;
    text-align:center;
}
.wvpl-icon.wvpl-prev{
    padding-left:.5em;
}
.wvpl-icon.wvpl-next{
    padding-right:.5em;
    text-align:right;
}

.wvpl-icon.wvpl-disabled {
	cursor: default;
    visibility: hidden;
}

.wvpl-volume {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* .wvpl-prev {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    transform-origin:30% center;
    padding-left:.4em;
}

.wvpl-next {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    transform-origin: 70% center;
    padding-right:.4em;
} */

/* .wvpl-icon.wvpl-volume_off,
.wvpl-icon.wvpl-volume_down,
.wvpl-icon.wvpl-volume_up,
.wvpl-icon.wvpl-info,
.wvpl-icon.wvpl-times,
.wvpl-list .wvpl-info {
    display: flex;
    flex-direction: column;
    padding-top: 0.25em;
    justify-content: flex-start;
} */

.wvpl-interface .wvpl-volume {cursor:ew-resize;padding-bottom:5px;}
.wvpl-interface .wvpl-info {padding-top:5px;}

.wvpl-play::before           {content:"\f04b";}
.wvpl-prev::before           {content:"\f053";}
.wvpl-next::before           {content:"\f054";}
.wvpl-volume_off::before     {content:"\f026";}
.wvpl-volume_down::before    {content:"\f027";}
.wvpl-volume_up::before      {content:"\f028";}
.wvpl-info::before           {content:"\f129";}
.wvpl-times::before          {content:"\f00d";}
.wvpl-list::before           {content:"\f0ca";}
.waveplayer.playing .wvpl-play::before{content:"\f04c";}
.waveplayer.analyzing .wvpl-play,
.waveplayer.loading .wvpl-play,
.waveplayer.seeking .wvpl-play {
    animation: wvpl-spin 1.5s infinite linear;
}
.waveplayer.analyzing .wvpl-play::before,
.waveplayer.loading .wvpl-play::before,
.waveplayer.seeking .wvpl-play::before{
    content:"\f021";
}

@keyframes wvpl-spin {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
/**
*
* Volume overlay
*
*/

div.wvpl-volume-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    left:0;
    top: 0;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.8);
    font-size: 6em;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    transition: all 0.25s;
    opacity: 0;
}
.wvpl-shape-circle div.wvpl-volume-overlay{border-radius:100%;}
.wvpl-shape-rounded  div.wvpl-volume-overlay{border-radius:10%;}
.wvpl-volume-overlay.dragging {opacity: 1;}

div.wvpl-volume-overlay span[class^="char"] {
    display: inline-block;
    width: 15px;
    text-align:center;
}




/**
*
* Poster of the current track
*
*/

.wvpl-poster {
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    opacity:1;
    transition: opacity 0.3s ease-in-out;
}
.wvpl-shape-square .wvpl-poster {border-radius: 0%;}
.wvpl-shape-rounded .wvpl-poster {border-radius: 10%;}
.wvpl-shape-circle .wvpl-poster {border-radius: 100%;}
.wvpl-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.waveplayer.loading .wvpl-poster {
    opacity: 0;
}




/**
*
* Information panel of the current track
*
*/

.wvpl-infobar {
    position:absolute;
    top:0;
    right:0;
    flex-grow: 0;
    flex-direction: column;
    z-index:10;
    max-width: 100%;
    font-size: 0.75em;
    opacity: 1;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    transition: all .25s;
    overflow:hidden;
}
.wvpl-infobar.wvpl-inactive {opacity: 0;}

.wvpl-playing-info {
    border-radius: 0.2em;
    /*display: flex;*/
    align-self: flex-start;
    white-space: nowrap;
    position: relative;
    padding: 0.2em 0.4em;
}
.wvpl-style-light .wvpl-playing-info {background-color: rgba(255,255,255,0.67);color:#333;}
.wvpl-style-dark .wvpl-playing-info {background-color: rgba(0,0,0,0.67);color:#ddd;}

.wvpl-infoblock {
    text-align: left;
    display:flex;
    align-items: center;
}

.wvpl-playing-info .wvpl-title {
	font-weight: 600;
}

span.wvpl-stats {
    margin-left: 0.45em;
    padding:3px;
    border-radius:3px;
    display: block;
    transition: all 0.15s ease-in-out;
}
span.wvpl-stats:hover {
    /* transform:scale(1.25); */
}
.wvpl-stats .wvpl-value {
    font-size:0.6em;
    font-weight:normal;
    vertical-align:0.8em;
    padding-left:0.5em;
}
@media screen and (max-width:600px){
    .wvpl-stats:not(.wvpl-button) {
        display: none;
    }
	.wvpl-stats .wvpl-value {
		display: none;
	}
}


.wvpl-play_count::before  {content:"\f04b";}
.wvpl-in_cart::before     {content:"\f07a";}
.wvpl-add_to_cart::before {content:"\f217";}
.wvpl-runtime::before     {content:"\f017";}
.wvpl-likes::before       {content:"\f004";}
.wvpl-downloads::before   {content:"\f019";}
.wvpl-share::before       {content:"\f1e0";}
.wvpl-play_count::before  {content:"\f04b";}
.wvpl-share_fb::before    {content:"\f09a";}
.wvpl-share_gp::before    {content:"\f2b3";}
.wvpl-share_tw::before    {content:"\f099";}
.wvpl-share_ln::before    {content:"\f0e1";}
.wvpl-product_url::before {content:"\f466";}
.wvpl-spin::before {
    content:"\f110";
    animation: wvpl-spin 1.5s infinite linear;
}



.wvpl-icon.wvpl-likes.disabled {cursor:default;}

.wvpl-button {
    cursor:pointer;
    transition:all 0.4s;
}
.wvpl-icon.wvpl-button:hover::before {
    opacity: 1;
    transform: scale(1.25);
}



.wvpl-icon.wvpl-likes:hover::before       {color:#800;}
.wvpl-icon.wvpl-likes.liked::before       {color:#e00;}
.wvpl-icon.wvpl-likes.liked:hover::before {color:#e00;}
.wvpl-icon.wvpl-share_fb:hover::before    {color:#3b5998;}
.wvpl-icon.wvpl-share_gp:hover::before    {color:#d34836;}
.wvpl-icon.wvpl-share_tw:hover::before    {color:#00aced;}
.wvpl-icon.wvpl-share_ln:hover::before    {color:#007bb5;}
.wvpl-icon.wvpl-downloads:hover::before   {color:#07b;}
.wvpl-icon.wvpl-product_url:hover::before {color:#96588a;}
.wvpl-icon.wvpl-add_to_cart:hover::before {color:#074;}
.wvpl-icon.wvpl-in_cart::before           {color:#0b7;}
.wvpl-icon.wvpl-in_cart:hover::before     {color:#0b7;}

.wvpl-icon.wvpl-likes.liked.disabled:hover,
.wvpl-icon.wvpl-likes.disabled:hover {transform:none;}



/**
*
* Waveform of the current track
*
*/

.wvpl-waveform {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    padding: 0;
    margin: 0;
}

.wvpl-timeline {
    z-index: 100;
    position: absolute;
    width: 100%;
    height: 10%;
    top: 45%;
}

.wvpl-centerline {
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #fff;
    opacity: 0;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    transition: all .25s;
}

.wvpl-pointer {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 3px solid #c62;
    opacity: 0;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    transition: all .25s;
}
.wvpl-pointer.active, .wvpl-centerline.active {
    opacity: .67;
}

div.wvpl-position, div.wvpl-duration {
    width: auto;
    height: auto;
    position:absolute;
    top:0;
    padding: 0.1em 0.25em;
    line-height: 1.25em;
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 100;
    background-color: #666;
    color: #fff;
    font-size:12px;
}
.wvpl-position {
    left:0;
}
.wvpl-duration {
    right:0;
}
.waveplayer.analyzing .wvpl-position,.waveplayer.analyzing .wvpl-duration {
    visibility:hidden;
}


/**
*
* WooCommerce related styles
*
*/

.woocommerce-music-type {
    font-size: 0.875em;
}

ul.products .waveplayer-no-thumbnail>a>img {
    display: none!important;
}

/**
*
* Color Schemes
*
*/

/**
* Scheme: Light1
*/
.wave-color1.wvpl-scheme-light1 {color: #888;}
.wave-color2.wvpl-scheme-light1 {color: #444;}
.progress-color1.wvpl-scheme-light1 {color: #0f8;}
.progress-color2.wvpl-scheme-light1 {color: #084;}
.position-color1.wvpl-scheme-light1 {color: #084;}
.position-color2.wvpl-scheme-light1 {color: #042;}
.cursor-color1.wvpl-scheme-light1 {color: #0f8;}
.cursor-color2.wvpl-scheme-light1 {color: #084;}










/**
*
* Miscellaneous
*
*/

.wvpl-player-error {
    display: none;
    margin: 20px 0;
}






/**
*
* Animations
*
*/

@-webkit-keyframes pulse  {
    0% { opacity: 0.25; }
    50% { opacity: 1; }
    100% { opacity: 0.25; }
}

@keyframes pulse {
    0% { opacity: 0.25; }
    50% { opacity: 1; }
    100% { opacity: 0.25; }
}







#sticky-waveform {
    position: fixed;
    height:120px;
    width:100%;
    bottom:0;
    left:0;
    background:rgba(128,128,128,0.75);
}


/*
.products .waveplayer{margin:-10px 0 5px;padding:0;}
.products .wvpl-left-box{width:3em;height:6em;background:none!important;}
.products .wvpl-right-box{height:6em;}
.products .wvpl-interface{background:none!important;}
.products .wvpl-info,
.products .wvpl-volume{display:none;}
.products .wvpl-poster {display:none;}
.products .wvpl-icon{text-shadow:none;color:#058;} */
