.efpe-timeline-wrapper .layout_timeline {
  position: relative;
}
.efpe-timeline-wrapper .layout_timeline::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  width: var(--timeline_line_thickness, 5px);
  background-color: var(--timeline_track_color, #e0e0e0);
  z-index: 0;
  border-radius: 4px;
}
.efpe-timeline-wrapper .layout_timeline::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: var(--timeline_line_thickness, 5px);
  height: var(--timeline-progress, 0%);
  transform: translateX(50%);
  background-color: var(--timeline_line_color, #1e1e2f);
  z-index: 1;
  transition: height 0.12s linear;
  will-change: height;
  border-radius: 4px;
}
.efpe-timeline-wrapper .layout_timeline .timeline-month-separator {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding: 24px 0 8px;
}
.efpe-timeline-wrapper .layout_timeline .timeline-month-separator span {
  background-color: var(--date_badge_color, #1e1e2f);
  color: #ffffff;
  padding: 8px 22px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.4;
  display: inline-block;
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout {
  position: relative;
  width: 100%;
  display: flex;
  padding-bottom: var(--margin_between_event, 30px);
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout::before {
  content: "";
  position: absolute;
  top: 30px;
  height: 2px;
  background-color: var(--event_dot_color, #e0e0e0);
  z-index: 1;
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 50%;
  transform: translateX(50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--event_dot_color, #1e1e2f);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--event_dot_color, #1e1e2f);
  z-index: 2;
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout.timeline-left {
  padding-left: calc(50% + 30px);
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout.timeline-left::before {
  left: calc(50% + 8px);
  width: 22px;
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout.timeline-right {
  padding-right: calc(50% + 30px);
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout.timeline-right::before {
  right: calc(50% + 8px);
  width: 22px;
}
.efpe-timeline-wrapper .layout_timeline .timeline_layout > * {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .efpe-timeline-wrapper .layout_timeline::before, .efpe-timeline-wrapper .layout_timeline::after {
    right: 24px;
    left: auto;
    transform: none;
  }
  .efpe-timeline-wrapper .layout_timeline .timeline_layout {
    padding-right: 50px !important;
    padding-left: 0 !important;
  }
  .efpe-timeline-wrapper .layout_timeline .timeline_layout.timeline-right {
    margin-top: 0;
  }
  .efpe-timeline-wrapper .layout_timeline .timeline_layout::before {
    right: 26px !important;
    left: auto !important;
    width: 24px !important;
    top: 30px !important;
    bottom: auto !important;
  }
  .efpe-timeline-wrapper .layout_timeline .timeline_layout::after {
    right: 18px;
    left: auto;
    top: 22px;
    bottom: auto;
    transform: none;
  }
}

.elementor-widget-eventful-event-timeline-widget:not(.efpe-timeline-fill-yes) .efpe-timeline-wrapper .layout_timeline::after {
  display: none;
}
