.timeline {
  position: relative;
  height: 100%;
  width: 100%;
}

.year-gallery-sidebar {
  position: absolute;
  height: 100%;
  width: 300px;
  top: 0;
  left: 0;
  z-index: 1;
  color: #FFF;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 100px 0px;
  overflow: auto;
}

.vertical {
  height: 100%;
  width: 100%;
  position: relative;
}

.horizontal {
  height: 100%;
  width: 100%;
  position: relative;
}

.horizontal img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.horizontal .slick-next {
  position: absolute;
  top: 70%;
  left: 28%;
  width: 32px;
  transform: translateY(-50%);
  z-index: 2;
  color: transparent;
  font-size: 35px;
  border: none;
  background: url(https://www.russodevelopment.com/wp-content/uploads/2024/01/right.png) no-repeat center;

}

.horizontal .slick-prev {
  position: absolute;
  top: 70%;
  left: 25%;
  width: 32px;
  border: none;
  transform: translateY(-50%);
  z-index: 2;
  color: transparent;
  font-size: 35px;
  background: url(https://www.russodevelopment.com/wp-content/uploads/2024/01/left.png) no-repeat center;
}

.v-slide-nav {
  position: absolute;
  bottom:0;
  width: 100%;
}

.year-gallery-main {
  height: 100%;
}

.year-gallery-padding {
  height: 100%;
}

.year-gallery-inner {
  height: 100%;
}

.year-gallery-item {
  display: flex;
  justify-content: center;
  font-size: 20px;
  margin: 0px;
  position: relative;
}

.year-gallery-item a {
  width: auto;
  height: auto;
  overflow-y: clip;
  text-align: left;
  opacity: 1;
  margin: 0px 0 !important;
  background: transparent;
  color: #aaaaaa;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  min-width: 100px;
}

.year-gallery-item a:hover {
  opacity: 0.8;
}

.year-gallery-item a.active::before {
  content: "";
  position: absolute;
  top: 11px;
  left: -40px;
  width: 25px;
  height: 2px;
  background: red;
  z-index: 1;
}

.timeline .slick-list {
  height: 100%;
}

.horizontal-slide-overlay {
  z-index: 10;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 50%);
}

.horizontal-slide-outer {
  height: 100%;
  width: 100%;
  position: relative;
}

.timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content {
  position: absolute;
  width: 100%;
  max-width: 620px;
  left: 25%;
  top: 0;
  bottom: 0;
  font-size: 12px;
  z-index: 11;
  text-align: left;
  height: max-content;
  margin: auto;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  padding: 10px;
}


.timeline .vertical .horizontal .horizontal-slide-outer {
	height: 850px;
}

.timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content .timeline-year {
  display: block;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 20px;
  transform: translate3d(20px, 0, 0);
  color: #ffffff;
  font-weight: 300;
  opacity: 1;
  transition: 0.2s ease 0.4s;
}

.timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content .timeline-title {
  font-weight: 800;
  font-size: 34px;
  margin: 0 0 30px;
  opacity: 1;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.5s;
  color: #FFF;
}

.timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content .timeline-text {
  line-height: 1.6;
  opacity: 1;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.6s;
  font-size: 15px;
  color: #FFF;
  margin-right: 12px;
}

img.vprev-arrow.slick-arrow {
    position: absolute;
    left: 100px;
	  bottom: 165px;
}


img.vnext-arrow.slick-arrow {
    position: absolute;
    left: 100px;
	bottom: 130px;
}

  @media (max-width: 991px) {
	  
  .timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content {
    max-width: 520px;
  }
	  .timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content .timeline-title {
		  font-size: 30px;
	  }
	  
}

  @media (max-width: 767px) {

	  .year-gallery-item {
		  display: none;
	  }
	  .timeline .vertical .horizontal .horizontal-slide-outer {
	height: calc(100vh - 100px)!important;
}
	  .timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content {
		  max-width: 90%;
		  left: 0%;
		  right: 0%;
		  padding: 10px 15px 10px 0px;
		  display: flex;
		  align-items: center;
		  flex-direction: column;
	  }
	  .timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content .timeline-title {
		  text-align: center; 
		  font-size: 22px;
		  margin-bottom: 15px;
		  padding-right: 15px;
	  }
	  .timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content .timeline-text {
		  text-align: center;
		  line-height: normal;
		  font-size: 12px;
	  }
	   .horizontal .slick-prev {
		  left: 60%;
		   width: 20px;
		   font-size: 25px;
		   transform: none;
		   height: 30px;
	  }
	  .horizontal .slick-next {
		  left: 75%;
		  width: 20px;
		  font-size: 25px;
		  transform: none;
		  height: 30px;
	  }
	  img.vnext-arrow.slick-arrow {
		  left: 50%;
		  bottom: 20px;
	  }
	  img.vprev-arrow.slick-arrow {
		  left: 50%;
		  bottom: 55px;
	  }
	  .horizontal-slide-overlay {
		  display: none;
	  }
	  .timeline .vertical .horizontal .horizontal-slide-outer .swiper-slide-content .timeline-year {
		  text-align: center;
		  width: 90%;
		  margin-bottom: 5px;
		  font-size: 15px;
	  }
	  
	  .year-gallery-sidebar {
  		  width: 62px;
  		  border-right: none;
}
}