.timeline {
  position: relative;
}

.timeline .timeline-event {
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
}

.timeline .timeline-event .card-content {
  padding: 0px;
}

.timeline ul.collapsible,
/* .timeline ul .collapsible-header, */
.timeline ul .collapsible-body {
  border: none;
}

.timeline .collapsible-header {
  padding: 1rem 1rem 1rem 1rem;
}

.timeline .timeline-event .timeline-content {
  position: relative;
  width: calc(50% - 50px);
}

.timeline .timeline-event::before {
  display: block;
  content: "";
  width: 2px;
  height: calc(50% - 30px);
  position: absolute;
  background: #d2d2d2;
  left: calc(50% - 1px);
  top: 0;
}

.timeline .timeline-event::after {
  display: block;
  content: "";
  width: 2px;
  height: calc(50% - 30px);
  position: absolute;
  background: #d2d2d2;
  left: calc(50% - 1px);
  top: calc(50% + 30px);
}

.timeline .timeline-event:first-child::before {
  display: none;
}

.timeline .timeline-event:last-child::after {
  display: none;
}

.destra {
  margin-left: calc(50% + 50px) !important;
}

.sinistra {
  margin-left: 0 !important;
}

.span_destra{
  margin-right:15px;
  margin-top:10px;
}

.span_sinistra{
  margin-left:30px;
  margin-top:10px;
}

.data_utente {
  display: inline-flex;
  position: absolute;
  overflow: visible;
  height: 40px;
  font-weight: 300;
  top: calc(50% - 20px);
  color: #999999;
  text-align: center;
  cursor: default;

}
.data_utente.data_sinistra {
  right: calc(50% - 20px);
  width: 40px;
}

.data_utente.data_destra {
  direction: rtl;
  left: calc(50% - 35px);
}

.timeline .timeline-badge {
  display: inline-table;
  position: relative;
  width: 40px;
  height: 40px;
  background: #d2d2d2;
  top: calc(50% - 20px);
  border-radius: 50%;
  text-align: center;
  cursor: default;
}

.timeline .timeline-badge i {
  font-size: 25px;
  width: 40px;
  line-height: 40px;
}

@media (max-width: 600px) {
  .timeline .timeline-event .timeline-content {
    width: calc(100% - 70px);
  }
  .timeline .timeline-event::before {
    left: 19px;
  }
  .timeline .timeline-event::after {
    left: 19px;
  }
  .timeline .timeline-event:nth-child(even) .timeline-content {
    margin-left: 70px;
  }
  .timeline .timeline-event:nth-child(odd) .timeline-content {
    margin-left: 70px;
  }
  .timeline .timeline-badge {
    left: 0;
  }
}
