
:root {
  --swiper-pagination-top: -1rem;
}

.vc-swiper-container {
    width: 100%;
    height: 400px;
    position: relative;
}

.vc-swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vc-swiper-slide:hover {
    transform: scale(1.05);
}

.vc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.vc-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.vc-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

.vc-modal-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.vc-modal-body {
    font-size: 16px;
}


.swiper-cultura {
  position: relative;
  padding-top: 60px;
  overflow: hidden;
}
.swiper-toolbar {
  position: absolute;
  top: 30px;
  right: 0px;
  width: 200px;
  display: flex;
}

.swiper-pagination {
  bottom: 0px !important;
}
.swiper-pagination-bullet {
  background: white !important;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  content: "" !important;
}
.swiper-navigation-icon {
  border: 1px solid white;
  padding: 10px;
  border-radius: 50%;
}

.swiper-navigation-icon path {
  fill: white !important;
}


.close-modal {
  background: none;
  border: none;
}


/* Modals cultura */

.modal-xl {
  max-width: 1140px !important;
}

.modal-header, .modal-body {
  background-color: white;
}

#postModalSubTitle {
  font-weight: bold;
  color: var(--color-tanit);
}

.modal-header h5 {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: bold;
}

.modal-body {
  color: black;
}

.modal-footer {
  background: white;
  border: none !important;
  justify-content: flex-start !important
}

.modal-footer .btn.btn-secondary {
  font-family: Familjen Grotesk;
  font-size: 24px !important;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 2pc !important;
  text-align: center !important;
  border-radius: 8px !important;
  background-color: #1f2230;
  border: 1px solid #1f2230;
  color: white;
  height: 56px;
  padding: 8px 24px 1pc;
}

.modal-footer .btn.btn-secondary:hover {
  background-color: #667579 !important;
}


/* Timeline styles */
.timeline-container {
  width: 100%;
  margin-top: 10px;
  padding: 0px;
  box-sizing: border-box;
  position: relative;
}

.timeline-bar {
  width: 100%;
  height: 50px;
  background-color: #993121;
  position: relative;
  overflow: hidden;
}

  .timeline-bar.active {
  background-color: #E5A9A0;

}

.timeline-highlight {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #993121;
  opacity: 0;
  transition: opacity 0.3s ease, left 0.3s ease, width 0.3s ease;
  pointer-events: none;
}

.timeline-bar.active .timeline-highlight {
  opacity: 1;
}

.timeline-markers {
  position: relative;
  width: 100%;
  height: 40px;
  margin-top: 5px;
}

.timeline-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-marker.active {
  opacity: 1;
}

.timeline-marker-triangle {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #993121;
  margin-bottom: 5px;
}

.timeline-marker-label {
  font-size: 15px;
  font-weight: bold;
  color:white;
  white-space: nowrap;
}