.audiomass {
  background:#dee2e6;
  font-size:13px;
  text-decoration:none;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

.pk_noselect{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.pk_app{
  height: 260px;
  /*min-width:560px*/
}

/** HEADER **/
.pk_hdr{
  z-index:7;
  padding:0 5px;
  height:24px;
  position:relative;
  border-bottom:1px solid #454545
}

.pk_hdr .pk_btn{
  float:left;
  margin:4px 18px 0 18px;
  position:relative;
  min-width:40px;
  border-radius:10px;
  text-align:center
}
.pk_btn button{
  padding: 0 12px;
  border:0;
  outline:0;
  color:inherit;
  background:transparent;
  cursor: pointer;
  text-decoration:inherit;
  text-shadow:inherit;
  white-space:nowrap
}

.pk_hdr .pk_btn:hover{
  background:#eee;
  color:#111
}

.pk_hdr .pk_btn.pk_act{
  background:#bbb;
  color:#000;
  text-decoration:underline;
  text-shadow: 0 1px 2px white;
}

.pk_hdr .pk_btn .pk_menu{
  position:absolute;
  min-width:100px;
  min-height:20px;
  top:20px;
  border-radius:10px;
  background:#eee;
  opacity:0;
  z-index:-1;
  visibility:hidden;
  padding: 8px 0px;
  display:none;
  /*transition:opacity 200ms*/
}

.pk_hdr .pk_btn.pk_vis .pk_menu{
  display:block;
}
.pk_hdr .pk_btn.pk_act .pk_menu{
  z-index:5;
  opacity:1;
  visibility:visible;
  display:block;
}

.pk_hdr .pk_btn .pk_menu_el .pk_act{
  background:lightblue;
}

/*.pk_hdr .pk_btn i{
  margin-left: 4px;
  font-style: normal;
  color: #555
}*/


.pk_hdr .pk_btn .pk_shrtct{
  color: #555;
  margin-left: 24px;
  display: inline-block;
  font-size: 0.92em;
  text-align: right;
}

.pk_hdr .pk_btn .pk_menu_el button{
  margin: 2px 0;
  display: block;
  width: 100%;
  text-align: left;
  padding: 2px 12px;
  display:flex;
  justify-content: space-between;
}
/** ENDOF HEADER **/


/** TOOL BAR **/
.pk_tb{
  height:40px;
  background: #dee2e6;
  position: relative;
  z-index: 6;
  padding:4px 0px 4px 8px;

  /*min-width:560px;*/
  text-rendering: optimizeSpeed;
}


.pk_total_dur,
.pk_hover_dur{
  color:#99c2c6;
  font-size:14px;
  position:absolute;
  right:10px;
  top:6px;
}

.pk_mload{
  width: 200px;
  margin: 0 auto;
  height: 3px;
  position: relative;
  background: #111;
  overflow: hidden;
  margin-top: 25px;
}

.pk_mload > div:before {
  content:" ";
  /*transition:all 300ms ease-in-out;*/
  background:#ccc;
  height:100%;
  width:100%;
  margin-left:0;
  z-index:1;
  left:0;
  position: absolute;
  transform: scaleX(0) translate3d(0,0,0);
  transform-origin: 0 0 0;
  will-change: transform;
}

.pk_act .pk_mload > div:before {
  animation-name: pk_loader_anim;
  animation-duration: 1.8s;
  animation-iteration-count: infinite;
}

.pk_prc{
  margin-top: 20px;
  font-size: 14px;
}

.pk_prc span{
  margin-right:10px;
  padding-bottom: 7px;
  text-align: center;
}
.pk_prc button{
  border-radius: 3px;
  border:1px solid #eee;
  background: transparent;
  color: #eee;
  padding: 4px 12px;
  outline:0;
}

.pk_hover_dur{
  top:26px;
}

.pk_inpfile{
  visibility: hidden;
  width: 1px;
  height: 1px;
  overflow:hidden;
  position:absolute;
  z-index:-1;
}


/*
.pk_tmpMsg{
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -170px;
  width: 340px;
  z-index: 6;
  margin-top: -40px;
  height: 100px;
  font-size: 18px;
  color: #ddd;
  text-align: center;
  text-shadow: 0 0 1px black;
  line-height:32px;
}

.pk_tmpMsg2{
  position: fixed;
  background:rgba(0,0,0,0.6);
  z-index: 10;
  left:0;right:0;
  top:0;bottom:0;
  text-align:center;
  font-size: 16px;
  justify-content: center;
  flex-direction: column;
  display:none;
  cursor:progress !important;

  color:#eee;
}
*/

.pk_tmpMsg2{
  position: absolute;
  background:rgba(0,0,0,0.6);
  z-index: 1000;
  left:0;right:0;
  top:0;bottom:0;
  text-align:center;
  font-size: 16px;
  justify-content: center;
  flex-direction: column;
  display:none;
  cursor:progress !important;

  color:#eee;
}


.pk_tmpMsg2.pk_act{display:flex}

.pk_timecontainer{
  width: 120px;
  position:relative;
  vertical-align: middle;
  border-radius: 3px;
  display: inline-block;
}

.pk_btngroup {
  display: inline-block;
}

.pk_timing{
  display: block;
  letter-spacing: 1px;
  font-size: 20px;
  text-align: left;
  z-index: 2;
  margin-left: 6px;
}

.pk_ctns,
.pk_transport{
  display: inline-block;
  margin-right: 14px;
  margin-top: 0;
  min-width: auto;
  padding: 0;
  height: 28px;
  border: 0;
  border-radius: 3px;
}


/*
.pk_tb .pk_btn{
  font-family: 'icomoon';
  position: relative;
  font-size: 1.32em;
  display: inline-block;
  border-radius: 3px;
  width: 38px;
  height: 38px;
  margin: 4px 3px;
  text-align: center;
  line-height: 25px;
  border: none;
  outline: 0;
  padding:0;
}
*/

.pk_tb .pk_btn{
  position: relative;
  font-size: 1.32em;
  display: inline-block;
  border-radius: 3px;
  text-align: center;
  border: none;
  outline: 0;
  padding:0;
  /*background-color: #efefef;*/
  background-color: #dee2e6;

  font-family:FontAwesome;
  text-rendering:auto;

  width: 23px;
  margin: 0px 3px;
  line-height: 30px;
}

.pk_tb .pk_btn:hover{
  background-color: #ced4da;
}
.pk_tb .pk_btn:active{
  background-color: #adb5bd;
}

.pk_ftr .pk_btn span,
.pk_tb .pk_btn span {
  display: block;
  -ms-user-select: none;
  user-select: none;
  visibility: hidden;
  line-height: 26px;
  opacity: 0;
  pointer-events: none;
  font-family: Arial, sans-serif;
  position: absolute;
  bottom: -31px;
  left: 50%;
  transform:translate(-50%, 0);
  white-space: nowrap;
  background: #000;
  font-size: 12px;
  font-weight:normal;
  padding: 0 6px;
  border-radius: 3px;
  transition: opacity 320ms 296ms;
  color:#eee;
  z-index:6;
  letter-spacing:normal;
}

.pk_ftr .pk_btn.pk_inact:hover span,
.pk_tb .pk_btn.pk_inact:hover span{
  opacity:0;
  visibility:hidden;
}

.pk_ftr .pk_btn:hover span,
.pk_tb .pk_btn:hover span{
  visibility:visible;
  opacity:1;
}

.pk_mob .pk_ftr .pk_btn span,
.pk_mob .pk_tb .pk_btn span{
  visibility:hidden;
  display:none;
}
.pk_mob .pk_tb .pk_btn:hover{
  box-shadow:none;
}
/** ENDOF TOOLBAR **/


/** AUDIOVIEW **/
.pk_av_cont{
  position:relative;
  touch-action:none;
}
.pk_av{
  clear:both;
  width:100%;
  /*width:calc(100% - 40px);*/
  margin:0 auto;
  /*height:calc(100% - 168px);*/

  background:#000;
  position:relative;
  overflow:hidden;
}

.pk_av wave{
  cursor:text;
}

/*.pk_mob .pk_av{
  width:calc(100% - 28px);
}*/
/** ENDOF AUDIOVIEW **/




.pk_ftr {
  padding:5px 10px 0px;
}


.pk_zoombtn{
  float: left;
  /*height: 26px;*/
  padding-right: 4px;
  position:relative;
}

.pk_zoombtn button{
  border-radius: 3px;
  border: none;
  height: 22px;
  margin-right: 6px;
  padding: 0;
  width: 26px;
  line-height: 16px;
  cursor: pointer;
  font-size: 13px;
  outline: 0;
  font-weight:bold;
  background-color: #dee2e6;
}

.pk_zoombtn button:hover {
  background-color: #ced4da;
}


/*
.pk_mob .pk_zoombtn{
  display:none
}*/

.pk_mob .pk_zoom_in_v,
.pk_mob .pk_zoom_out_v{
  display:none
}




/* if max height < ... hide vertical buttons and position to 0... */

.pk_wavescroll {
  margin-top:5px;
  height: 14px;
  /*border: 1px solid #222;*/
  background: #f8f9fa;
  overflow:hidden;
  position:relative;
  border-radius: 4px;
}

.pk_wavedrag.pk_drag{
  cursor:grabbing;
  cursor:-webkit-grabbing;
}
.pk_wavedrag{
  cursor:pointer;
  cursor:grab;
  cursor:-webkit-grab;
  border-radius:4px;
  transform:translate3d(0,0,0);
}
.pk_wavedrag.pk_inact{
  cursor:default;
  border-radius:0;
}
.pk_wavescroll .pk_wavedrag{
  display:block;
  width:100%;
  height:100%;
  /*min-width:50px;*/
  min-width:20px;
  position:absolute;
  background:#adb5bd;
  opacity: 0.75;
}
.pk_wavescroll .pk_wavedrag_l{
  float:left;
  width:12px;
  height:100%;
  cursor: col-resize;
}
.pk_wavescroll .pk_wavedrag_r{
  float:right;
  width:12px;
  height:100%;
  cursor: col-resize;
}

.pk_play.pk_act{
  background:#40a758;
}
.pk_play.pk_act:hover{
  background:#28a745;
}


.wavesurfer-region{
  opacity: 0.6;
  background-color: rgb(128, 188, 254);
}

.pk_inact,
.pk_app .pk_inact,
.pk_btn.pk_inact{
  opacity:0.5;
  cursor:default;
}

.icon-fx:before {
  content:"FX";
  height:1px;
  font-family:Helvetica, Arial, serif;
  display:inline-block;
}

.icon-fx:after {
  display: none;
}

.icon-silence:before {
  content:"S";
  height:1px;
  font-family:Helvetica, Arial, serif;
  display:inline-block;
}

.pk_tb .pk_btn.icon-rec {
  font-family: inherit;
}
.icon-rec:before {
  content: ".";
  width: 10px;
  background: #922;
  height: 10px;
  margin-top: -2px;
  display: inline-block;
  vertical-align: middle;
  font-size: 0px;
  color: transparent;
  border-radius: 34px;
}
.icon-rec.pk_act {
  background:#e13030;
}
.icon-rec.pk_act:hover {
  background:#e13030;
}

.pk_mob .icon-rec.pk_act{
  box-shadow:none;
}

.icon-rec.pk_act:before{
  background:#111;
}

/** 1up **/
.pk_oneup{
  margin:0;
  position:fixed;
  z-index:15;
  transition:all 300ms ease-in-out;
  left:50%;
  top:49%;
  transform: translate(-50%,-50%);
  padding:10px;
  background:rgba(0,0,0,0.66);
  color:#eee;
  border:1px solid #333;
  border-radius:3px;
  font-size:16px;
  user-select: none;
  pointer-events:none;
}


/** modal **/


.pk_modal_a_top{
  float: right;
  
  margin-left: 10px;
  display: block;
  padding: 2px 4px;
  border-radius: .25rem;
  cursor: pointer;
}
.pk_modal_a_top.pk_act, .pk_modal_a_top.pk_act:hover{
  font-weight: bold;
}

/*
.pk_modal_a_top.pk_act:before{
  content: '►';
  text-decoration: none;
  position: absolute;
  margin: 3px 0 0px -10px;
  font-size: 8px;
}
*/

.pk_col{
  float:left;
  margin-top:8px;
  text-align:center;
  position:relative;
}

.pk_wave_cursor{
  position:absolute;
  left:0;
  top:0;
  z-index:5;
  /*margin-left: -2px;*/
  bottom:0;
  width:1px;
  pointer-events:none;
  border-right:1px dashed gold;
  transform:translate3d(0,0,0);
}

.pk_row{
  clear: both;
  /*border-bottom: 1px solid #444;*/
  overflow: hidden;
  padding-top: 6px;
  margin-bottom: 4px;
  padding-bottom: 12px;
}
.pk_row:last-child{
  border:none;
}

.pk_row label{
  display:block;
  margin-bottom: 4px;
  margin-right:24px;
}
.pk_row label.pk_line{
  display: block;
  float: left;
  text-align: center;
  width: 80px;
  padding-right: 6px;
  margin: 8px 0;
}
.pk_val{
  padding: 4px 10px;
  text-align: center;
  min-width: 30px;
  border-radius: 8px;
  border: 1px solid #4e4e4e;
  font-size: 12px;
  user-select:none;
}

.pk_row .pk_val{float: right;margin:4px 0;}


.pk_vert,
.pk_horiz {
  /*
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  */
  width: 100%;
  /*
  height: 10px;
  */
  margin: 10px 0;
  /*
  border: none;
  padding: 1px 2px;
  border-radius: 14px;
  background: #111;
  box-shadow: inset 0 1px 0 0 #0d0e0f, inset 0 -1px 0 0 #3a3d42;
  -webkit-box-shadow: inset 0 1px 0 0 #0d0e0f, inset 0 -1px 0 0 #3a3d42;
  outline: none;
  */
  max-width:235px;
}

.pk_vert{
  -ms-transform:rotate(270deg) translate(0,-5px);
  transform:rotate(270deg) translate(0,-5px);
}

input.pk_horiz.pk_w180{
  max-width:200px;
}

.pk_bigger .pk_horiz {
  max-width:180px;
}
.pk_vert::-moz-range-track,
.pk_horiz::-moz-range-track {
  border: inherit;
  background: transparent;
}

.pk_vert::-ms-track,
.pk_horiz::-ms-track {
  border: inherit;
  color: transparent; /* don't drawn vertical reference line */
  background: transparent;
}
.pk_vert::-ms-fill-lower,
.pk_vert::-ms-fill-upper,
.pk_horiz::-ms-fill-lower,
.pk_horiz::-ms-fill-upper {
  background: transparent;
}
.pk_vert::-ms-tooltip,
.pk_horiz::-ms-tooltip {
  display: none;
}

/* thumb */
.pk_vert::-webkit-slider-thumb,
.pk_horiz::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 38px;
  height: 18px;
  border: 1px solid black;
  border-radius: 12px;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #47497d), color-stop(100%, #519fa7)); /* android <= 2.2 */
  background-image: -webkit-linear-gradient(top , #47497d 0, #519fa7 100%); /* older mobile safari and android > 2.2 */;
  background-image: linear-gradient(to bottom, #47497d 0, #519fa7 100%);
}
.pk_vert::-moz-range-thumb,
.pk_horiz::-moz-range-thumb {
  width: 38px;
  height: 18px;
  border: 1px solid black;
  border-radius: 12px;
  background-image: linear-gradient(to bottom, #47497d 0, #519fa7 100%); /* W3C */
}
.pk_vert::-ms-thumb,
.pk_horiz::-ms-thumb {
  width: 38px;
  height: 18px;
  border-radius: 12px;
  border: 1px solid black;
  background-image: linear-gradient(to bottom, #47497d 0, #519fa7 100%); /* W3C */
}


/* Base for label styling */




.pk_grabbing wave,
.pk_grabbing{
  cursor: move !important;
  cursor: -webkit-grabbing !important;
}


@keyframes pk_loader_anim {
/*    0% {width: 0%;margin-left:0;}
  25% {width: 50%;;margin-left:0;}
  50% {margin-left: 30%;width:40%;}
  75% {margin-left: 50%;width:60%;}
  100% {margin-left: 100%;width:60%;}
*/

  0% {transform:scaleX(0) translate3d(0,0,0);}
  25% {transform:scaleX(0.5) translate3d(0,0,0);}
  50% {transform:scaleX(0.4) translate3d(70%,0,0);}
  75% {transform:scaleX(0.6) translate3d(50%,0,0);}
  100% {transform:scaleX(1) translate3d(100%,0,0);}
}




/*@media only screen and (max-height: 438px) {*/
/*
  .pk_zoombtn .pk_zoom_out_v,
  .pk_zoombtn .pk_zoom_in_v{
    display:none !important;
  }
*/
/*}*/


/*
@media only screen and (max-width: 779px) {
  .pk_selection {
    display:none !important;
  }

  .pk_btn button{
    padding: 2px 12px;
  }

  .pk_timecontainer{
    margin-right:10px;
    width:200px
  }
  .pk_timing{
    font-size:24px;
    padding:10px 0 0 8px
  }
  .pk_total_dur, .pk_hover_dur{
    font-size:13px
  }
  .pk_hdr .pk_btn{
    margin:2px 10px 0 10px
  }
  .pk_tbc{
    overflow-x:scroll;
    background:#363636;
    border-bottom: 1px solid #000;
    -webkit-overflow-scrolling:touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .pk_tbc::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .pk_tb{
    padding:6px 0px 6px 14px;
    white-space:nowrap;
    border-bottom:none;
  }
  .pk_mob .pk_ctns, .pk_mob .pk_transport {
    height:36px;
  }
  .pk_mark1{font-size:8px}

  .pk_tmpMsg{
    font-size:14px;
    line-height:28px;
    margin-left:-120px;
    width:240px
  }

  .pk_mob .pk_hdr{
    padding: 20px 5px 0 5px;
  }

  .pk_mob .pk_transport,
  .pk_mob .pk_ctns,
  .pk_mob .pk_btngroup {
    float:none;
    display:inline-block;
  }
  .pk_mob .pk_btngroup{
    padding-top:8px;
  }
  .pk_mob .pk_tb .pk_btn {
    font-size: 16px;
    width: 32px;
    height: 32px;
    margin: 0px 4px;
    line-height: 24px;
  }

  .pk_zoombtn button{
    height:19px;
  }

  .pk_wavescroll{
    margin-bottom:8px;
    height:16px;
  }

  .pk_markers{
    margin-top:3px;
  }
}
*/


.pk_av canvas{
  opacity:0;
  transition: opacity 440ms;
}

.pk_wavepoint{
  position: absolute;
  width: 2px;
  background: #ffc107;
  height: 100%;
  pointer-events:none;
  top: 0;
  transform:translate3d(0,0,0);
  display: none;
}
