:root {
  --client-color: #c32417;
  --progressbarwith: calc(100% - 120px);
  --progressbarright: 60px;
  --progressbarwithmobile: calc(100% - 120px);
}

/* audio container */
#audiome-container {
  margin-top: 20px;
  margin-bottom: 0px;
  width: 100%;
  display: inline-block;
  text-align: center;
  max-width: 800px;
  left: 50%;
  position: relative;
  transform: translate(-50%);
}

#audiome-ref {
  width: 100%;
  left: 50%;
  top: 50%;
  position: relative;
  transform: translate(-50%);
  text-align: center;
  font-size: 13px;
  margin-bottom: 3px;
  font-family: arial;
  color: var(--client-color);
  max-width: 1024px;
}

#audiome-player {
  border-top: 0px solid #ccc;
  border-bottom: 0px solid #ccc;
  width: 100%;
  height: 50px;
  border-radius: 0px;
  left: 50%;
  top: 50%;
  position: relative;
  transform: translate(-50%);
  overflow: hidden;
  max-width: 1024px;
  display: flex;
}

#audiome-button {
  display: block;
  position: absolute;
  cursor: pointer;
  margin-left: 5px;
  float: left;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  align-self: center;
}

#audiomebtn-play {
  display: inline-block;
  margin-left: 7px;
  width: 15px;
  height: 20px;
  background-color: var(--client-color);
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  border-radius: 3px;
}

#audiomebtn-pause {
  width: 40px;
  height: 20px;
  position: relative;
  background-color: transparent;
  display: none;
  margin-left: -5px;
}

#audiomebtn-pause::before {
    left: 12px;
}
#audiomebtn-pause::before, #audiomebtn-pause::after {
    content: '';
    position: absolute;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: var(--client-color);
}

#audiomeProgressBar {
  border: 0px solid #ccc;
  position: absolute;
  width: var(--progressbarwith);
  height: 30px;
  right: var(--progressbarright);
  top: 9px;
  float: left;
  overflow: hidden;
  margin-right: 20px;
}

.audiomeProgressBarItem {
    width: 3px;
    background-color: var(--client-color);
    float: left;
    margin-left: 2px;
    border-radius: 0px;
    margin-top: 15px;
    transform: translate(-50%, -50%);
}

#audiomeProgressBarAlpha {
    border: 0px solid #ccc;
    position: absolute;
    background-color: #FFFFFF;
    width: var(--progressbarwith);
    height: 30px;
    right: var(--progressbarright);
    top: 9px;
    float: left;
    opacity: 0.7;
    cursor: pointer;
    overflow: hidden;
    margin-right: 20px;
    /* border-radius: 25px; */
}

#audiomeProgressBarAlpha {
  transition: width 0.2s linear;
}

#audiomeTouchBar {
    border: 0px solid #ccc;
    position: absolute;
    width: var(--progressbarwith);
    height: 30px;
    right: var(--progressbarright);
    top: 9px;
    float: left;
    cursor: pointer;
    margin-right: 20px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    /* border-radius: 25px; */
}

#readmetimmer {
    font-size: 12px;
    color: var(--client-color);
    cursor: pointer;
    position: absolute;
    right: 45px;
    width: 25px;
    font-family: arial;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    align-self: center;
}

#audiomeouca {
    font-size: 13px;
    color: black;
    cursor: pointer;
    font-family: arial;
    text-transform: lowercase;
    background-color: white;
}

#readpespeed {
    font-size: 12px;
    background-color: var(--client-color);
    cursor: pointer;
    color: white;
    position: absolute;
    right: 2px;
    border-radius: 6px;
    width: 30px;
    padding: 4px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    align-self: center;
}
/* audio container */