/* Row */

.row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
}

@media (min-width: 768px) {
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
}

@media (min-width: 992px) {
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
}

@media (min-width: 768px) {
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
}

/* LightMode */

.light-mode .timeline-item.slick-current img.ishow.ruler-active-light {
  display: block;
}

.light-mode .ruler-active-dark {
  display: none !important;
}

.light-mode .timeline-area {
  background: white;
}

/* Section */

.section-heading .button {
  text-align: right;
  margin: auto 0 auto auto;
}

.section-heading .button a {
  font-size: 16px;
  line-height: 24px;
  padding: 16px 32px;
  color: #141414;
  background-color: #fff;
}

/* Timeline */

.timeline-area .h2 {
  line-height: 1.2;
  font-size: 67px;
  letter-spacing: -3px;
  font-weight: 300;
}

.timeline-area .slick-list {
  max-height: 576px;
  height: 100%;
}

.timeline-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 0;
}

.timeline-item .icon {
  -webkit-box-flex: wrap;
  -ms-flex: wrap;
  flex: wrap;
  cursor: pointer;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  position: relative;
  margin-right: 50px;
}

.timeline-item.slick-current .icon:after {
  content: "";
  position: absolute;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  width: 64px;
  height: 1px;
  background: black;
  line-height: 1px;
  top: 43px;
  left: 120px;
}

.timeline-item .h2 {
  display: block;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.timeline-item img {
  height: 100%;
  object-fit: cover;
  max-height: 144px;
}

.timeline-item img.ishow,
.timeline-item.slick-current img.ifade {
  display: none;
}

.timeline-item img.ifade,
.timeline-item.slick-current img.ishow {
  display: block;
}

.timeline-item.slick-current .icon:before {
  color: #fff;
}

.timeline-item .icon.h2 {
  color: black;
  margin-left: 32px;
}

.timeline-item.slick-current .icon.h2 {
  color: black;
}

.light-mode .section-heading .button a {
  background-color: #141414;
  color: white;
}

.light-mode .timeline-item.slick-current .icon.h2 {
  color: #141414;
}

.timeline-item.slick-current:before {
  left: 0;
  opacity: 1;
}

.timeline-content .slick-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.timeline-area .timeline-images .content {
  background: #141414;
  padding: 64px;
  height: fit-content;
  width: 39%;
  position: absolute;
  z-index: 1;
  top: 32px;
}

.timeline-area .timeline-images img {
  position: relative;
  float: right;
  margin-left: auto;
  width: 100%;
  max-width: 930px;
  height: 576px;
  object-fit: cover;
}

.timeline-images .description {
  margin-top: 16px;
  margin-bottom: 0;
  color: #b9b9b9;
}

.timeline-images .slick-current .content .h5 {
  color: #fff;
  font-weight: 900;
}

.timeline-item.slick-current img.ishow.ruler-active-light {
  display: none;
}

@media only screen and (max-width: 1399px) {
  .timeline-area .timeline-item.slick-current .icon:after {
    top: 30px;
    left: 74px;
  }
  .timeline-area .timeline-images img {
    width: 90%;
  }
}

@media only screen and (max-width: 991px) {
  .timeline-area .timeline-images .content {
    padding: 32px;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .timeline-area .slick-slide .description {
    max-height: 300px;
    overflow: auto;
  }
}

@media only screen and (max-width: 767px) {
  .timeline-area .timeline-item img {
    height: 64px;
  }

  .timeline-area .slick-list {
    margin-bottom: 64px;
  }

  .timeline-area .timeline-images img {
    width: 75%;
  }

  .timeline-area .timeline-images .content {
    width: 50%;
  }

  .timeline-area .timeline-images .content {
    top: 64px;
  }
}

@media only screen and (max-width: 767px) {
  .timeline-area .h2 {
    line-height: 1.2;
    font-size: 32px;
    letter-spacing: -2px;
  }
}

@media only screen and (max-width: 576px) {
  .timeline-area .section-title {
    text-align: center;
    margin-bottom: 32px;
  }

  .timeline-area .button {
    text-align: center;
  }

  .timeline-area .timeline-images .content {
    position: relative;
    width: 100%;
  }

  .timeline-area .timeline-images img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .timeline-area .slick-list {
    margin-bottom: 0;
  }
}
