* {
  box-sizing: border-box;
}

body {
  position:absolute;
  background: rgb(27, 24, 23);
  margin: 0;
  padding: 10px; 
  height: 100%;
  width: 100%;
  color: white;
  overflow:auto;
}

main {
  
  position: relative;
  background: transparent;
  min-width: 320px;
  width: 100%;
  max-width: 800px;
  height: 100%;
  margin: 0 auto;
  padding: 16px;
  top:50%;
  transform:translatey(-50%);
}

main>header {
  display: block;
  height: 78px;
  margin-bottom: 16px;
  padding-right: 8px;
}

main>nav {
  clear: left;
  height: 50px;
  line-height: 50px;
  margin: 16px 0;
  font-family: "Quicksand", sans-serif !important;
  font-weight: bold;
}

main>div {
  position: absolute;
  
  
  
  width: calc(100% - 32px);

  height: 50px;
  line-height:66px;

  bottom:16px;
  left:50%;
  transform:translatex(-50%);
  margin:0 auto;
  
  background: black;
  border: solid rgb(50,50,50) 2px;

  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;

}

main button {
  background: white;
  border: none;
  height: 50px;
  line-height: 50px;
  width: 50px;
  padding: 0 0 0 0;
  font-size: 18px;
  cursor: pointer;
}

#playPause {
  /* display:none; */

  position: absolute;
  width: 66px;
  height: 66px;
  top:0;
  left:0;
  /*
  left: 31px;
  transform: translate(-50%, -50%);transform:translatey(-8px);
  */
  margin:-10px 0 0 -2px;
  
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  border: solid #000 2px;
}

.w3-right {
  float: right;
}

#title {
  margin: 0;
}


button.hover:hover {
  background-color: rgb(204, 204, 204);
  color: black;
}

/* Play / Pause Button */
#playPause.pause>.fa-pause {
  display: none;
}
#playPause.play>.fa-play {
  display: none;
}


/* Seeker */
#seekSlider {


height:100%;
  position:absolute;
  margin: 0 16px 0 80px;
  
  /* 100% - play button width - margins - border width */
  width: calc(100% - 66px - 32px + 2px);

 /* 
  transform:translate(-2px, -2p);
  
  left: calc(66px + 16px);
  
  

  
  
  margin: 0;
  padding: 0;
  
  */
    /* width: 
      float: left;float: right; */
  
  accent-color: white;
}

#volumeSlider {

  position:absolute;
 background-color:rgba(50,50,50,1);

 /*   background-color:rgba(255,0,0,0.5);*/
  
 /* width:32px;
  width:173px;*/

  margin:0px;
  height:100%;
  right:0;
  top:0;
  
  padding:0;

  display:none;
  
}

#volumeSlider>input {

 display:none;
  position:relative;
  margin:0 16px;
width:125px;
  height:100%;
  /* transform:translate(calc(-100% - 15px), 0px); */
accent-color: white;
cursor:pointer;
}



#volumeSlider>span {
  /* background:rgba(0,255,0,0.5); */
  display:inline-block;
  position:relative;

width:46px;
  height:100%;
  cursor:pointer;
}

#volumeSlider>span>i {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  display:none;
}

#volumeSlider>span.vol_mute>.fa-volume-xmark {
  display:initial;
}

#volumeSlider>span.vol_low>.fa-volume-low {
  display:initial;
}

#volumeSlider>span.vol_high>.fa-volume-high {
  display:initial;
}








#volumeSlider:hover {
  /* width:173px; */
}







main>header {
  border-bottom: white solid thin;
  font-family: "Montserrat", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #666;
}

main>header h3 {
  font-size: 18px !important;
  font-weight: normal;
}

main>header h1,
main>header h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}



dialog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: lightgray;
  border: solid black 4px;
  margin: 0;
  padding: 24px;
}

dialog>header>p {
  margin: 0;
  padding: 0;
  line-height: 50px;
  text-align: left;
  color: black;
  font-family: "Montserrat", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

dialog>header>div {
  margin:16px 0;
}

dialog>header>div>select {
  border: none;
  height: 50px;
  margin: 0;
  padding: 0 8px;
  font-family: "Quicksand", sans-serif !important;
  font-weight: bold;
}

dialog>header>div>select:nth-child(1) {
  width: calc(70% - 12px);
}

dialog>header>div>select:nth-child(2) {
  width: calc(30% - 12px);
  float: right;
}

dialog>footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 24px;
}

dialog>footer>button {
  width: calc(50% - 12px);
  line-height: 50px;
  height: 50px;
  margin: 0;
  font-size: 24px;
  border: none;
  cursor: pointer;
  
  color:black;
  background-color: white;
}

/* Ok button */
dialog>footer>button:nth-child(2) {
  float: right;
  color: #fff!important;
  background-color: #2196F3!important;
}

dialog>footer>button:not(:disabled):hover {
  opacity: 0.7!important;
}

dialog>footer>button:disabled {
  pointer-events: none;
  opacity:0.5;
  cursor:not-allowed;
}

/* Apply hover effects only on devices that support hover */
@media (hover: hover) {
  #volumeSlider {
   display:initial;
  }
  
  #volumeSlider:hover > input {
   display:initial;
  }
  
  #seekSlider {
    /* 100% - play button width - margins - border width - volume width */
    width: calc(100% - 66px - 32px + 2px - 50px);
  }
}