.timeline-list .category-list {
  margin-bottom: calc(var(--gap) * 2);
}
.timeline-list .button .next, .timeline-list #loadMore {
  width: 2.5rem;
  height: 2.5rem;
  border: 0px;
  margin-left: calc(var(--gap) * 1.5);
  margin-right: auto;
}
@media (min-width: 1024px) {
  .timeline-list .button .next, .timeline-list #loadMore {
    margin-left: calc(25% + var(--gap) * 1);
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
  }
  .timeline-list .button .next{
    margin-bottom: 2rem;
  }
}

.timeline-vert {
  position: relative;
  margin: 0 auto;
  padding-top: 3rem;
  width: 100%;
  margin: calc(var(--gap) * 2) auto;
}
.timeline-vert:before {
  content: "";
  position: absolute;
  height: 100%;
  left: calc(var(--gap) * 0.5);
  width: 3px;
  top: 0px;
  background: black;
  z-index: 1;
  transform: translateX(-50%);
}
@media (min-width: 1024px) {
  .timeline-vert:before {
    left: calc(25% + var(--gap) * 1);
  }
}
.timeline-vert h3 {
  color: #000;
  font-size: 1em !important;
  grid-column: 2;
  grid-row: 1;
  line-height: 0.7;
}
@media (min-width: 1024px) {
  .timeline-vert h3 {
    line-height: 1;
  }
}
.timeline-vert h3.cd-h-timeline__event-title {
  font-size: 1.4rem !important;
  line-height: normal;
  position: relative;
}
.timeline-vert ul {
  margin: 0;
  padding: 0;
}
.timeline-vert ul li.text-component {
  display: grid;
  -moz-column-gap: calc(var(--gap) * 1.5);
  column-gap: calc(var(--gap) * 1.5);
  row-gap: calc(var(--gap) * 2);
  list-style: none;
  position: relative;
  padding-top: calc(var(--gap) * 2);
  grid-template-columns: 0 auto;
}
@media (min-width: 1024px) {
  .timeline-vert ul li.text-component {
    grid-template-columns: calc(25% - var(--gap) * 0.5) auto;
    -moz-column-gap: calc(var(--gap) * 3);
         column-gap: calc(var(--gap) * 3);
    row-gap: calc(var(--gap) * 2);
  }
}
.timeline-vert ul li.text-component .right_content h3:before {
  content: "";
  position: absolute;
  background: black;
  border-radius: 50%;
  left: calc((var(--gap) * 1 + var(--gap)) * -1);
  top: calc((1.45rem - var(--gap)) * 0.5);
  transform: translate(50%, 0);
  width: var(--gap);
  height: var(--gap);
  z-index: 2;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}
@media (min-width: 1024px) {
  .timeline-vert ul li.text-component .right_content h3:before {
    left: calc((var(--gap) * 1.5 + var(--gap)) * -1);
  }
}
.timeline-vert ul li.text-component.awarded h3:before {
  background-image: url(../images/marker-award.svg);
  background-color: rgba(0, 0, 0, 0);
}
.timeline-vert ul li.text-component.awarded.catalogued h3:before {
  background-image: url(../images/marker-award-catalogued.svg);
  background-color: rgba(0, 0, 0, 0);
}
.timeline-vert ul li.text-component.awarded.obsolet h3:before {
  background-image: url(../images/marker-award-disapeared.svg);
  background-color: rgba(0, 0, 0, 0);
}
.timeline-vert ul li.text-component.catalogued h3:before {
  background-image: url(../images/marker-catalogued.svg);
  background-color: rgba(0, 0, 0, 0);
}
.timeline-vert ul li.text-component.obsolet h3:before {
  background-image: url(../images/marker-disappeared.svg);
  background-color: rgba(0, 0, 0, 0);
}
.timeline-vert ul li.text-component .right_content {
  grid-column: 1/span 2;
  display: grid;
  -moz-column-gap: calc(var(--gap) * 1.5);
       column-gap: calc(var(--gap) * 1.5);
  grid-template-columns: 0 auto;
}
@media (min-width: 1024px) {
  .timeline-vert ul li.text-component .right_content {
    grid-template-columns: calc(25% - var(--gap) * 0.5) auto;
    -moz-column-gap: calc(var(--gap) * 3);
         column-gap: calc(var(--gap) * 3);
  }
}
.timeline-vert ul li.text-component .left_content {
  grid-row: 1;
  grid-column: 2;
  width: 100%;
  text-align: left;
  transform: none !important;
  padding: 0;
  position: relative;
  font-size: 1rem;
}
@media (min-width: 1024px) {
  .timeline-vert ul li.text-component .left_content {
    grid-column: 1;
    text-align: right;
  }
}
.timeline-vert ul li.text-component .left_content:before {
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  top: 50%;
  width: calc(var(--gap) * 0.75);
  left: auto;
  right: calc(100% + var(--gap) * 0.25);
  background-color: black;
  transform: translateY(-50%);
}
@media (min-width: 1024px) {
  .timeline-vert ul li.text-component .left_content:before {
    width: var(--gap);
    right: auto;
    left: calc(100% + var(--gap) * 0.5);
  }
}
.timeline-vert ul li.text-component .timeline-image {
  grid-column: 2;
  grid-row: 3;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  padding: 0;
  margin: 0;
  position: relative;
}
@media (min-width: 1024px) {
  .timeline-vert ul li.text-component .timeline-image {
    grid-column: 1;
    grid-row: 1/span 4;
  }
}
.timeline-vert ul li.text-component .cd-h-timeline__event-description {
  grid-column: 2;
  grid-row: 2;
  padding-top: 0.5rem;
}
.timeline-vert ul li.text-component .timeline-text {
  grid-column: 2;
  grid-row: 4;
}
@media (min-width: 1024px) {
  .timeline-vert ul li.text-component .timeline-text {
    grid-row: 3;
  }
}

.timeline-order-filter {
  display: flex;
  gap: calc(var(--gap) * 0.5);
  position: absolute;
  top: 0;
  left: calc(var(--gap) * 1.5);
}
@media (min-width: 1024px) {
  .timeline-order-filter {
    left: calc(25% + var(--gap) * 1);
    gap: calc(var(--gap) * 2);
    transform: translateX(-50%);
  }
}
.timeline-order-filter button {
  border: 0;
  aspect-ratio: 1;
  width: 2rem;
  height: auto;
  background-position: center center;
  background-size: 50%;
  background-repeat: no-repeat;
  background-image: url("../images/icons/go-down-blk.png");
  background-color: #f5f5f5;
  overflow: hidden;
  text-indent: -1000vw;
  transition:all 0.4s;
}
.timeline-order-filter button.active {
  filter: invert(1);
}

.timeline-order-filter button:hover {
  filter: invert(1);
  cursor:pointer;
}

.timeline-order-filter button.active:hover {
/*  filter: invert(0); */
}
.timeline-order-filter #button-timeline-asc {
  transform: rotate(180deg);
}
