@media only screen and (max-width: 700px) {
 div.audio-player {
  position: relative;
  width: 19vw;
  height: 19vw;
  max-width: 80px;
  max-height: 80px;
  margin: 5px 0 auto 5px;
 }
 .audio-player .mejs__controls .mejs__play button,
 .audio-player .mejs__controls .mejs__pause button {
  width: 100%;
  height: 100%;
 }
}

@media only screen and (max-width: 700px) and (orientation: landscape) {
 div.audio-player {
  position: absolute;
  left: 45px;
  top: 71px;
  width: 60px;
  height: 60px;
 }
 .audio-player .mejs__controls .mejs__play button,
 .audio-player .mejs__controls .mejs__pause button {
  width: 60px;
  height: 60px;
 }
}

@media only screen and (min-width: 701px) {
 div.audio-player {
  position: relative;

  width: 11vh;
  height: 11vh;
  min-width: 60px;
  min-height: 60px;
  max-width: 96px;
  max-height: 96px;
  margin: 15px auto;
 }
 .audio-player .mejs__controls .mejs__play button,
 .audio-player .mejs__controls .mejs__pause button {
  width: 11vh;
  height: 11vh;
  min-width: 60px;
  min-height: 60px;
  max-width: 96px;
  max-height: 96px;
 }
 .audio-player .mejs__controls .mejs__play button:hover {
  animation-play-state: paused;
 }
}

/** audio player styles **/
.audio-player,
.audio-player div,
.audio-player h2,
.audio-player a,
.audio-player span,
.audio-player button {
 margin: 0;
 padding: 0;
 border: none;
 outline: none;
}

div.audio-player {
 z-index: 903;
}

.audio-player .mejs__offscreen {
  display: none;
}

/* play/pause control */
.audio-player .mejs__controls .mejs__button button {
 cursor: pointer;
 display: block;
 position: absolute;
 text-indent: -9999px;
}

.audio-player .mejs__controls .mejs__play button,
.audio-player .mejs__controls .mejs__pause button {
 top: 0px;
 left: 0px;
 background: transparent url("playpause_jitkaklett.svg") 0 0 no-repeat;

 /* remove the blue background of button on mobile */
 -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.audio-player .mejs__controls .mejs__play button {
  animation: infinite-rotate2 2s linear infinite;
}

@keyframes infinite-rotate2 {
 0% {
  transform: rotate(0deg);
 }
 20% {
  transform: rotate(30deg);
 }
 100% {
  transform: rotate(0deg);
 }
}
.audio-player .mejs__controls .mejs__pause button {
 /* background-position: 0 -96px;  */
 animation: infinite-rotate 5s linear infinite;
}
@keyframes infinite-rotate {
 0% {
  transform: rotate(0deg);
 }
 100% {
  transform: rotate(360deg);
 }
}

/* mute/unmute control */
.audio-player .mejs__controls .mejs__mute button,
.audio-player .mejs__controls .mejs__unmute button {
 width: 18px;
 height: 19px;
 top: 9px;
 right: 142px;
 background: transparent url("audio.png") 0 0;
}
.audio-player .mejs__controls .mejs__unmute button {
 background-position: 0 -19px;
}

/* volume scrubber bar */
.audio-player .mejs__controls div.mejs__horizontal-volume-slider {
 position: absolute;
 top: 13px;
 right: 15px;
 cursor: pointer;
}

.audio-player .mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-total {
 width: 120px;
 height: 11px;
 background: #212227;
 -webkit-box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.3),
  0px 1px 0px rgba(255, 255, 255, 0.25);
 -moz-box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.3),
  0px 1px 0px rgba(255, 255, 255, 0.25);
 box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.3),
  0px 1px 0px rgba(255, 255, 255, 0.25);
 -webkit-border-radius: 4px;
 -moz-border-radius: 4px;
 border-radius: 4px;
}

.audio-player .mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-current {
 position: absolute;
 width: 0;
 height: 9px;
 top: 1px;
 left: 1px;
 background: #90d26a;
 background: -webkit-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: -moz-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: -o-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: -ms-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: linear-gradient(top, #90d26a 0%, #83bb63 100%);
 -webkit-border-radius: 8px;
 -moz-border-radius: 8px;
 border-radius: 8px;
}

/* time scrubber bar */
.audio-player .mejs__controls div.mejs__time-rail {
 width: 380px;
}

.audio-player .mejs__controls .mejs__time-rail span {
 position: absolute;
 display: block;
 width: 380px;
 height: 12px;
 top: 40px;
 left: 55px;
 cursor: pointer;
 -webkit-border-radius: 0px 0px 2px 2px;
 -moz-border-radius: 0px 0px 2px 2px;
 border-radius: 0px 0px 2px 2px;
}

.audio-player .mejs__controls .mejs__time-rail .mejs__time-total {
 background: #565860;
 width: 380px !important; /* fixes display bug using jQuery 1.8+ */
 -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
 border-radius: 3px;
}
.audio-player .mejs__controls .mejs__time-rail .mejs__time-loaded {
 top: 0;
 left: 0;
 width: 0;
 background: #7b7d82;
 -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
 border-radius: 3px;
}
.audio-player .mejs__controls .mejs__time-rail .mejs__time-current {
 top: 0;
 left: 0;
 width: 0;
 -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
 border-radius: 3px;
 background: #90d26a;
 background: -webkit-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: -moz-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: -o-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: -ms-linear-gradient(top, #90d26a 0%, #83bb63 100%);
 background: linear-gradient(top, #90d26a 0%, #83bb63 100%);
}

/* metallic sliders */
.audio-player .mejs__controls .mejs__time-rail .mejs__time-handle {
 position: absolute;
 display: block;
 width: 20px;
 height: 22px;
 top: -6px;
 background: url("handle-lg.png") no-repeat;
}
.audio-player .mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-handle {
 position: absolute;
 display: block;
 width: 12px;
 height: 14px;
 top: -1px;
 background: url("handle-sm.png") no-repeat;
}

/* time progress tooltip */
.audio-player .mejs__controls .mejs__time-rail .mejs__time-float {
 position: absolute;
 display: none;
 width: 33px;
 height: 23px;
 top: -26px;
 margin-left: -17px;
 z-index: 99;
 background: url("time-box.png");
}

.audio-player .mejs__controls .mejs__time-rail .mejs__time-float-current {
 width: 33px;
 display: block;
 left: 0;
 top: 4px;
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-size: 10px;
 font-weight: bold;
 color: #666;
 text-align: center;
 z-index: 99;
}

/** clearfix **/
.clearfix:after {
 content: ".";
 display: block;
 clear: both;
 visibility: hidden;
 line-height: 0;
 height: 0;
}
.clearfix {
 display: inline-block;
}

html[xmlns] .clearfix {
 display: block;
}
* html .clearfix {
 height: 1%;
}
