p {
    margin: 0;
}

.audio-player.disFlexCenter, .audio-player, .disFlexCenter {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.audio-player.disNone, .audio-player .disNone {
    display: none !important;
}

.audio-player-container {
    align-items: flex-start;
    justify-content: flex-start;
    width: 85.333%;
    height: fit-content;
}

button.play-reading, button.pause-reading {
  background: transparent;
  border: none;
}

@media only screen and (min-width: 768px) {
  .audio-player-container {
    width: calc(200% / 3) !important;
  }

  .textblock.textblock-audio:has(img):not(:has(.play-pause-buttons)) > div {
    width: 60%;
  }
}

.audio-player {
    flex-direction: column;
    align-items: center;
    width: 100%;
    row-gap: 5px;
    font-size: 10px;
    font-family: sans-serif;
}

@media only screen and (min-width: 320px) {
  .audiofile-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 25px auto !important;
    width: 100%;
    max-width: 550px;
  }
}

.audio-player .close-player {
    font-size: 12px;
    text-align: right;
    width: 100%;
    cursor: pointer;
}

.audio-player .bottom {
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.audio-player .bottom p {
    font-size: 12px;
    width: 35px;
    margin-top: 2px;
}

.timeline,
.volume-block {
    justify-content: flex-start;
    width: 100%;
    height: 4px;
    background-color: grey;
    position: relative;
}

.timeline .timeline-inner,
.volume-block .volume-block-inner {
    width: 0;
    height: 80%;
    background-color: transparent;
}

.switch {
    width: 13.71px;
    height: 12.75px;
    aspect-ratio: 1;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    background-image: url('/fileadmin/templates/images/audio-player/switch.svg');
    box-sizing: border-box;
}

.volume-block .volume-block-inner {
    width: 50%;
}

.volume-block .volume-block-inner .switch {
    left: 50%;
}

.volume-block .volume-block-inner .switch .volume-amount {
    position: relative;
    width: 100%;
    height: 100%;
}

.volume-block .volume-block-inner .switch .volume-amount p {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -120%);
    width: fit-content;
    background-color: white;
    font-size: 10px;
}

.time-block p {
    color: white;
}

.time-total {
  min-width: 33px;
}

.play,
.pause {
    background-color: transparent;
    border: none;
    height: 80%;
}

.play svg,
.pause svg {
    height: 100%;
}

audio {
  display: none;
}

.textblock.textblock-audio {
  align-items: center;
  align-self: center;
  width: 100%;
  max-width: 550px;
  padding: 0;
}

.textblock.textblock-audio p {
  text-align: center;
}

.textblock.textblock-audio.poem {
  align-items: center;
}

.textblock.textblock-audio.poem p {
  text-align: center;
  width: fit-content;
}

.textblock.textblock-audio.poem > div {
  width: fit-content;
}

.textblock.textblock-audio h2 {
  font-size: 21.5px;
  text-align: center;
  margin-bottom: 15px;
}

.textblock.textblock-audio .audiofile-player h2 {
  font-size: 20.5px;
  font-weight: normal;
  text-transform: uppercase;
}

.textblock.textblock-audio img {
  min-width: unset;
  width: 100%;
}

.textblock.textblock-audio:has(img):not(:has(.play-pause-buttons)) .imagedescription {
  min-width: unset;
  width: fit-content;
}