*,
*:before,
*:after {
  box-sizing: border-box;
}
.hide {
  display: none !important;
}
button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.ap-mini{
  position: fixed;
  bottom: 0;
  right: 0;
  height: 2rem;
  width: 2rem;
  z-index: 10000;
}

.playerbox{
  border-top: 1px solid #999999;
  background: var(--dark2);
  padding-top: 1rem;
  margin: 0;

  
}


/*------------------------
    Audio Player - AP
------------------------*/
/* Player and control panel */
.ap {
  position: relative;
  right: Opx;
  left: O;
  right: 0;
  width: 100%;
  height: auto;
  margin: auto;
  font-size: 1.1rem;
  font-family: myRegularFont;

  user-select: none;
  font-weight: 500;
  color: var(--light3);
  display: inline;

}

.ap-selector {
  position: fixed;
  right: 0px;
  bottom: 0;
  left: 0;
  width: 50px;
  height: auto;
  margin-left: auto;
  user-select: none;
  z-index: 9999;

}
.ap-inner {
  max-width: 1440px;
  padding-top: 1rem;
  padding-bottom: 1.6rem;
  padding-left: 1rem;
  padding-right: 1rem;  

  margin: auto;

}


.ap-panel {
  display: flex;
}
.ap-item {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.ap--track {
  flex: 1 40%;
  padding: 0 20px;
}

/* Info section */
.ap-info {
  width: 100%;
  position: relative;
  align-self: flex-start;
  padding: 5px 0 0;
}

.ap-title {
  position: relative;
  overflow: hidden;
  padding-right: 80px;
  text-align: left;
  text-overflow: ellipsis;

  /* font-family: 'Open Sans', sans-serif; */
  font-size: 1.1rem;
  font-weight: 300;
}
.ap-time {
  position: absolute;
  top: 5px;
  right: 0;
}
.ap-progress-container {
  padding: 5px 0 5px;
  cursor: pointer;
}
.ap-progress {
  position: relative;
  height: 3px;
  border-radius: 5px;
  background: rgba(255,255,255,.9);
}
.ap-preload-bar,
.ap-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 5px 0 0 5px;
  background: rgba(255,255,255,.8);
  z-index: 999;
}
.ap-bar {
  background: var(--light3);
  z-index: 9999;
}
.ap-bar:after {
  position: absolute;
  top: 0;
  right: -5px;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  content: '';
  border-radius: 6px;
  background: var(--light2);
  opacity: 0;
  transition: opacity .3s ease;
}
.ap-progress-container:hover .ap-bar:after {
  opacity: 1;
}

/* Buttons */
.ap-controls {
  position: relative;
  z-index: 1000;
  display: block;
  height: 50px;
  cursor: pointer;
  transition: background .2s ease;
  text-align: center;
  color: #999999;
  border: 0;
  outline: 0;
  background: none;
}

.ap-controls:focus {
  outline: none;
  box-shadow: none;
}

.ap-controls svg {
  fill: #999999;
}
.ap-controls:hover svg {
  fill: #6b6862;
}

.ap-controls .svg-inline--fa{
  font-size: 1.0rem;
}


.ap-controls .svg-inline--fa:hover{
  color: var(--light2);

}

.ap-controls:active {
  /* background: rgba(0,0,0,.1); */
}
.ap--playback > .ap-controls,
.ap--settings > .ap-controls {
  flex: 0 25%;
}
.ap--pause,
.playing > .ap--play {
  display: none;
}
.playing > .ap--pause {
  display: inline;
}
.ap-volume-container {
}
.ap-volume {
  position: relative;
  right: 0;
  bottom: 50px;
  overflow: hidden;
  width: 100%;
  height: 0;
  visibility: hidden;
  transition: height .2s cubic-bezier(0.17, 0.72, 0.26, 1.23);
  background: #202124;
  border-bottom: 0;
  z-index: 9999;
}
.ap-volume-btn {
  display: block;
  text-align: center;
  width: 100%;
}
.ap-volume-btn > .ap--volume-off,
.muted > .ap--volume-on {
  display: none;
}
.muted > .ap--volume-off {
  display: inline;
}
.ap-volume-container:hover {
  background: rgba(0.1, 0.1, 0.1, 0.95);
}
.ap-volume-container:hover .ap-volume {
  height: 120px;
  visibility: visible;
}
.ap-volume-progress {
  display: block;
  width: 4px;
  height: 100px;
  margin: 10px auto;
  background: white;
  position: relative;
  border-radius: 3px;
}
.ap-volume-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #6b6862;
  height: 50%;
  border-radius: 3px;
}

.ap-active {
  color: var(--light3);
  opacity: 1;
}

.ap-active svg {
  fill: var(--light3);
}




.ap-random-btn{
  margin-right: 0;
}

@keyframes blink {
  from { opacity: 0; }
  50% { opacity: 1; }
  to { opacity: 0; }
}


/* --------------------------- */

/*
@media (max-width: 426px){

}
*/



@media(max-width:880px) {

  .ap-item > .ap-controls {
    flex: 1;
  }


  .ap {
    min-width: 250px;
    margin: auto;
    width: 100%; 
  }
  .ap, .ap-panel {
    height: auto;
  }
  .ap-panel {
    flex-wrap: wrap;
  }
  .ap--track {
    margin-bottom: 0px;
    padding: 0 20px;
    order: 1;
    flex: 1 1 100%;
  }
  .ap--playback,
  .ap--settings {
    flex: 1 1 50%;
    order: 2;
  }
}
/*--------------------
  PlayList
--------------------*/
.pl-container {
  position: relative;
  overflow: auto;
  font-size: 14px;
  /* background: rgba(0.1, 0.1, 0.1, 0.97); */
  background-color: var(--white);
  border: 1px #131313 solid;
  z-index: 999;
  height: 400px;


}



.pl-lead {
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  color: var(--dark2);
}
.pl-list {
  width: 100%;
  padding: 10px;
  margin-bottom: 0px;


}
.pl-list > li {
  display: flex;
  align-items: center;
  border-bottom: 1px dashed rgba(48,46,42, 0.4);
}
.pl-number,
.pl-title,
.pl-remove {
  color: #131313;
  margin: 0 5px;
  font-size: 1rem;
  font-family: myRegularFont;
  font-weight:400;
  padding: 10px 0;
  display: inline;
}


.pl-tags{
  font-weight: 300;
  color: grey;
  font-style: italic;
  font-size: 0.95rem;
  font-family: myRegularFont;
  margin: 0 0;
  display: inline;
  text-overflow: ellipsis;
  max-width: 20%;
}

.pl-genre{
  font-weight: 500;
  color: #999999;
  font-size: 0.95rem;
  font-family: myRegularFont;

  margin: 0 0;
  display: inline;
  text-overflow: ellipsis;
  max-width: 20%;
  overflow: hidden;
  cursor: pointer;
  text-align: right;
  white-space: normal;
  text-overflow: ellipsis;
  padding-right: 1rem;
  flex: 1;
}

.pl-number {
  flex: 0 10%;
  text-align: center;
}
.pl-playing {
  display: none;
}
.pl-current .pl-count {
  display: none;
}
.pl-current .pl-playing {
  display: block;
}
.pl-current .pl-title {
  font-weight: 700;
  color: var(--light2)!important;
}

.pl-current .pl-tags {
  font-weight: 400;
  /*color: #EB5160;*/
}

.pl-title {
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
}
.pl-title:hover {
  text-decoration: underline;
}
.pl-remove {
  opacity: 0;
  margin-right: 0;
  cursor: pointer;
  text-align: center;
  flex: 0 50px;
}
.pl-remove:hover {
  background: #ddd;
}
.pl-list > li:hover .pl-remove {
  opacity: 1;
}

.pl-list svg {
  fill: var(--dark2);
  /*fill: rgba(255,255,255,.7);*/
}

.pl-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  transform: translate(-50%, -50%);
  letter-spacing: 2px;
  color: #ccc;
}

@keyframes eq {
  0% { height: 3px; }
  50% { height: 20px; }
  100% { height: 3px; }
}
.eq {
  display: flex;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: flex-end;
}
.eq-bar {
  width: 4px;
  background: var(--light2); /* rgba(255,255,255,.7); */
}
.eq-bar:nth-child(1) {
  animation: eq .8s ease-in-out infinite 0s;
}
.eq-bar:nth-child(2) {
  animation: eq .8s ease-in-out infinite .2s;
}
.eq-bar:nth-child(3) {
  animation: eq .8s ease-in-out infinite .4s;
}
