/* reproductor de audio default */
.set {
  position: absolute;
  right: 1em;
  top: 0;
  z-index: 999;
}

.audio-default-player {
  position: relative;
  width: 100% !important;
  height: auto;
}

@-moz-keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@-webkit-keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#dur:hover {
  cursor: pointer;
}

.audio-default-player .player-controls {
  margin: 0 auto;
}

.audio-default-player .player-controls p {
  color: #000;
}

.range {
  position: relative;
}

.range input[type="range"] {
  appearance: none;
  padding: 0;
  width: 100%;
  height: 22px;
  cursor: pointer;
  display: block;
  background-color: #f4f4f4;
}

.range input[type="range"]:focus {
  outline: none;
}

.range input[type="range"][disabled] {
  opacity: 0.3;
  cursor: default;
  background: transparent;
}

.range input::-webkit-slider-runnable-track {
  box-sizing: border-box;
  width: 100%;
  height: 5px;
  background: #6a167d;
  border-radius: 100px;
  margin: 11px 0;
}

.range input::-moz-range-track {
  box-sizing: border-box;
  width: 100%;
  height: 5px;
  background: #6a167d;
  border-radius: 100px;
  margin: 11px 0;
}

.range input::-webkit-slider-thumb {
  box-sizing: border-box;
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
  border: 6px solid #6a167d;
  height: 30px;
  width: 30px;
  border-radius: 100px;
  background: #f4f4f4;
  cursor: pointer;
  appearance: none;
  transform: translateY(-50%);
  margin-top: 2px;
}

.range input::-moz-range-thumb {
  box-sizing: border-box;
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
  border: 6px solid #6a167d;
  height: 30px;
  width: 30px;
  border-radius: 100px;
  background: #f4f4f4;
  cursor: pointer;
  appearance: none;
  margin-top: 2px;
}


.audio-default-player #play-btn,
.ctrl_btn {
  color: #f4f4f4;
}

.audio-default-player #play-btn {
  padding: 1rem 1rem 0.8rem 1.1rem;
  font-size: 24px;
  border-radius: 50%;
  background-color: #6a167d;
}

.audio-default-player .ctrl_btn {
  font-size: 24px;
}

.audio-default-player #play-btn:hover {
  cursor: pointer;
}

.start-time,
.end-time {
  font-size: 11px;
  color: #6a167d;
  font-weight: 600;
  transition: 1s ease-in-out;
  line-height: 0;
  letter-spacing: 1px;
  padding-top: 16px;
}

.start-time {
  float: left;
  position: relative;
  left: 0;
}

.end-time {
  float: right;
  position: relative;
  right: 0;
}

.ctrl {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

/* reproductor de audio para podcast */
.audio-player-podcasts {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.audio-player-podcasts button:hover,
.audio-player-podcasts button:focus {
  background-color: #532956;
}

/* Estilos para la barra de progreso */
.progress-container {
  border-radius: 5px;
  width: fit-content;
  margin: 0 10px;
  height: 50px; /* Altura del contenedor */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.progress-bar-inner {
  border-radius: 5px;
  background-color: #959595;
  height: 100%;
  width: 3px;
}

.hide {
  display: none;
}

.progress-bar {
  width: 5px;
  height: 12px;
  border-radius: 3px;
  animation: progressAnimation 2s linear infinite;
  padding: 0 2px;
}

.progress-active .progress-bar-inner {
  border-radius: 5px;
  background-color: #532956;
}

.fast-grow {
  animation-duration: 1s;
}

.slow-grow {
  animation-duration: 3s;
}

.big-height {
  height: 24px;
}

.small-height {
  height: 3px;
}

/* Estilos para el botón de reproducción (sin cambios) */
.playButton-podcasts {
  padding: 16px 16px 8px 16px;
  background-color: #fae845;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50px;
}

.playButton-podcasts:hover,
.playButton-podcasts.playing,
.playButton-podcasts.paused {
  background-color: #532956 !important;
}

@keyframes progressAnimation {
  0% {
      height: 6px;
  }
  50% {
      height: 30px;
  }
  100% {
      height: 6px;
  }
}


@media (max-width: 981px) {
  .progress-bar {
    width: 4px; /* Ancho fijo de la barra */
}
}
