.past-pres-grid {
  grid-template-columns: 1fr;
  grid-gap: 2rem 3%;
  position: relative;
}

.past-pres-grid-line {
  position: absolute;
  height: calc(100% + 32px);
  width: 6px;
  top: 0;
  left: 50%;
  border-radius: 20px 20px 0 0;
  transform: translateX(-50%);
  background-color: #7a2f72;
  z-index: 2;
  display: none;
}
.line-dash-container {
  position: relative;
  height: 100%;
  display: none;
}
.past-pres-line-dash {
  position: absolute;
  height: 8px;
  width: 100px;
  border-radius: 20px;
  bottom: 105px;
  left: 1px;
  background-color: #7a2f72;
  display: none;
}

.past-pres-grid .ib-cont-overlay {
  bottom: 32px;
}

.past-pres-grid .ib-cont-card .ib-cont-overlay-top {
  left: 0;
  right: unset;
  border-radius: 0 20px 0 0;
}

.ib-pastPres .ib-edu-color {
  opacity: 0.8;
}

.ib-pastPres.ib-b101 li {
  margin: 5px 5px;
  line-height: 20px;
  font-size: 20px;
  color: #fff;
  list-style-image: url(https://ibaa.ca/images/company-logos/ibaa-logos/bip-24px-w.png);
  border-bottom: 1px #fff solid;
  padding-bottom: 10px;
}
ul.past-pres-archive {
  padding-left: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0 32px;
}

.past-pres-grid .ib-cont-card:nth-of-type(10),
.past-pres-grid .ib-cont-card:nth-of-type(11),
.past-pres-grid .ib-cont-card:nth-of-type(13),
.past-pres-grid .ib-cont-card:nth-of-type(14),
.past-pres-grid .ib-cont-card:nth-of-type(16) {
  display: none;
}

@media (min-width: 992px) {
  .past-pres-grid .ib-cont-card:nth-of-type(2) .ib-cont-overlay-top,
  .past-pres-grid .ib-cont-card:nth-of-type(5) .ib-cont-overlay-top,
  .past-pres-grid .ib-cont-card:nth-of-type(8) .ib-cont-overlay-top,
  .past-pres-grid .ib-cont-card:nth-of-type(11) .ib-cont-overlay-top,
  .past-pres-grid .ib-cont-card:nth-of-type(14) .ib-cont-overlay-top {
    left: unset;
    right: 0;
    border-radius: 20px 0 0 0;
  }

  .past-pres-grid {
    grid-template-columns: 1fr 100px 1fr;
  }
  ul.past-pres-archive {
    grid-template-columns: 1fr 1fr;
  }
  .past-pres-grid-line,
  .line-dash-container,
  .past-pres-line-dash,
  .past-pres-grid .ib-cont-card:nth-of-type(10),
  .past-pres-grid .ib-cont-card:nth-of-type(11),
  .past-pres-grid .ib-cont-card:nth-of-type(13),
  .past-pres-grid .ib-cont-card:nth-of-type(14),
  .past-pres-grid .ib-cont-card:nth-of-type(16) {
    display: block;
  }
  ul.past-pres-archive li:nth-of-type(1),
  ul.past-pres-archive li:nth-of-type(2),
  ul.past-pres-archive li:nth-of-type(3),
  ul.past-pres-archive li:nth-of-type(4),
  ul.past-pres-archive li:nth-of-type(5) {
    display: none;
  }
}
