.card-list-item {
  overflow: hidden;
}

.card-list-item .details-hover {
  position: absolute;
  height: calc(100% - 100px);
  width: 100%;
  /* bottom: -100%; */
  transition: all 0.5s ease-out;
}

.card-list-item:hover .details-hover {
  bottom: 0;
}

.active > .page-link, .page-link.active{
  /*background-color: var(--bs-yellow);*/
  background-color:#fcea10;
  color:#212529;
}
.page-link{
  /*background-color: var(--bs-yellow);*/
  color:#212529;
}
.card-shop-item img {
  border-radius: 6px;
}

.card-shop-item h5 {
  font-size: 25px;
  text-transform: uppercase;
  font-family: 'Jost';
  font-weight: 800;
  margin-top: 30px !important;
}

.card-shop-item h5 {
  font-size: 25px;
  text-transform: uppercase;
  font-family: 'Jost';
  font-weight: 800;
  margin-top: 30px !important;
}

.card-shop-item .details h5 ,
.card-shop-item .details .lieu {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.card-festival {
  padding-bottom: 0 !important
}

.card-festival a {
  height: 100%;
  display: flex
}

.card-festival > a > img {
  object-position: center;
  height: 100%;
  object-fit: cover;
}

.card-festival .details-hover {
  width:50%;
  height: 100%;
  left: 50%;
}

select#pages ,
#sortSelect {
  font-weight: bold;
  background: transparent;
  border: 2px solid #212529;
  padding: 2px 1px;
  border-radius: 0;
}

:root {
  --bs-yellow: #fcea10;
  --bs-red: #dc3545;
}

.timeline {
  list-style-type: none;
}

.timeline_element {
  position: relative;
}

.timeline_line {
  position: absolute;
  width: 4px;
  height: 100%;
  background-color: var(--bs-red);
}

.timeline_line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border: 6px solid var(--bs-red);
  background-color: white;
  border-radius: 50%;
}

.timeline_date {
  position: absolute;
  top: 0;
  left: 15px;
  color: var(--bs-red);
  font-weight: bolder;
  height: 20px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  text-transform: uppercase;
}

.details_hover_festival {
  left: 50%;
  width: 50%;
  height: 100%
}

.festival_card_wrapper {
  position: relative;
  display: flex;
  justify-content: start;
}

.bouton_billetterie {
  background-color: var(--bs-red);
}

.bouton_billetterie:hover {
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow) !important;
  color: black;
}

.audio_custom_controls {
  background-color: var(--bs-yellow);
  border-radius: 5px;
  text-transform: uppercase;
}

#audio_play_button,
#audio_pause_button {
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  background-color: black;
  color: white;
}

.fa-play,
.fa-pause {
  width: 100%;
  height: 100%;
  padding: 15px;
}

.fa-play:hover, 
.fa-pause:hover {
  cursor: pointer;
}

.jour_festival {
  padding: 10px 10px;
  position: relative;
  margin-right: 15px;
  white-space: nowrap;
}

.jour_festival::after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  left:0;
  top: 0;
  border-bottom: 3px solid var(--bs-red);
  transition: 0.2s ease;
}

.jour_festival:hover {
  cursor: pointer;
}

.jour_festival:not(.jour_festival_selectionne):hover::after {
  width: 100%;
}

.jour_festival_selectionne {
  border-bottom: 3px solid var(--bs-red);
}

.details_hover_festival {
  width: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0 !important
}

@media screen and (max-width: 1200px) {
  .timeline_element {
    transform: translateX(0);
  }

  .timeline_date {
    left: 0 !important;
    width: 100% !important;
    justify-content: start !important
  }

  .festival_card_wrapper {
    margin-right: 0;
    left: 0 !important;
    width: 100% !important
  }

  .festival_card_wrapper > div {
    width: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  .timeline {
    padding: 0 !important;
  }

  .timeline_date {
    left: 0 !important;
    width: 100% !important;
    justify-content: start !important
  }

  .festival_card_wrapper {
    margin-right: 0;
    margin-left: 5px !important;
    left: 0 !important;
    width: 100% !important;
    height: unset;
  }

  .festival_card_wrapper > div {
    width: 100% !important;
  }

  .card-festival > a > .details {
    width: 100% !important;
    display: none;
  }

  .card-festival > a > img {
    width: 100% !important
  }

  .details_hover_festival {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0 !important
  }
}

@media screen and (max-width:768px) {
  .festival_buttons_wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }

  .festival_buttons_inner {
    flex-direction: column-reverse;
  }

  .festival_buttons_inner a {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .festival_buttons_inner a:nth-child(2),
  .festival_buttons_inner a:nth-child(3) {
    margin-bottom: 10px;
  }

  .card-festival > a > img,
  .card-festival > .details-hover {
    width: 50% !important;
  }

  .card-festival > a > .details-hover {
    width: 50% !important;
    padding-left: 0 !important;
    padding-right: 10px !important;
  }

  .card-festival > a > .details-hover > div:nth-child(2),
  .card-festival > a > .details-hover > div:nth-child(1) > .mb-2.text-dark {  
    display: none !important;
  }

  .festival_details_hover_details {
    margin: 0 !important;
  }

  .festival_details_hover_details div {
    margin-bottom: 0 !important;
  }


  .festival_details_hover_details > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start
  } 

  
  .festival_details_hover_details > div:last-child > img {
    display: none;
  }
  

  .festival_details_hover_details > div:last-child > span {
    padding-left: 0 !important
  }

  .festival_details_hover_inner > h5 {
    margin-top: 5px !important;
    font-size: 12px !important;
  }

  audio {
    width: 100%;
    padding: 0 !important;
  }

  .audio_wrapper {
    padding: 0 !important
  }

  .audio_custom_controls {
    justify-content: center !important
  }

  .audio_custom_controls span:nth-child(1) {
    margin-right: 10px
  }

}

@media screen and (max-width: 500px) {
  .festival_details_hover_inner {
    padding-right: 5px
  }

  .festival_details_hover_details > div > .icone_f{
    width: 20px;
    height: 20px;
  }

  .festival_details_hover_details div {
    line-height: 1;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    font-size: 12px !important;
  }

  .card-festival > a > img {
    padding: 0 !important;
  }
}

@media screen and (max-width: 1400px) {
  .details_hover_festival > div:nth-child(2) > .badge {
    display: none;
  }
}