
.modal-timeline .modal-dialog {
    max-width: 1080px;
    width: 90%;
}

.modal-timeline .modal-content {
    position: relative;
}

.modal-timeline .btn-close { 
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    opacity: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 45px 0 rgba(14, 38, 72, 0.1);
    width: 2rem;
    height: 2rem;
    background: url(../../assets/img/timeline/close.svg) no-repeat center;
    background-size: 100%;
    border: none;
    outline: none;
}

.modal-timeline .btn-close:hover {
    box-shadow: 0 4px 45px 0 rgba(14, 38, 72, 0.3);
}

.modal-timeline .modal-body {
    padding: 12px;
}
.modal-timeline .modal-body img {
    object-position: top;
}
.modal-timeline .btn-success {
    width: 368px;
    max-width: 90%;
}

#timelineSection {
    padding-bottom: 150px;
}
.timelineSection__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    background: url(../../assets/img/timeline/bg.jpg) no-repeat top center;
    background-size: cover;
}

/* .timelineSection__bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../assets/img/timeline/bg.jpg) no-repeat top center;
    background-size: cover;
} */

.timelineSection__bg video,
.timelineSection__bg img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: overlay;
}
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}
  
.fade-in.show {
    opacity: 1;
}
.mySwiper-timeline {
    overflow: visible;
}

.mySwiper-timeline .swiper-slide {
    background: #fff;
    border: 12px solid #fff;
    width: 600px;
    max-width: 90%;
    transform: scale(.7);
    transform-origin: center;
    transition: .3s;
    direction: rtl;
    box-shadow: 0 4px 45px 0 rgba(14, 38, 72, 0.1);
    padding-bottom: 12px;
    margin: 0 25px;
}

.mySwiper-timeline .swiper-slide-active {
    transform: scale(1);
}

.mySwiper-timeline .swiper-slide .h3-st {
    margin-bottom: 8px;
}

.timeline-img {
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.timeline-img--placeholder {
    height: 100%;
    background-color: #1B4580;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='165' viewBox='0 0 240 165' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_313_2)'%3E%3Cpath d='M162 75.2898C172.71 75.2898 181.39 66.6098 181.39 55.8998C181.39 45.1898 172.71 36.5098 162 36.5098C151.29 36.5098 142.61 45.1898 142.61 55.8998C142.61 66.6098 151.29 75.2898 162 75.2898Z' fill='%23BBBDBF'/%3E%3Cpath d='M0 0V164.56H240V0H0ZM231.89 156.45H224.81L173.62 105.26L146.57 132.31L89.42 75.16L8.13 156.45H8.12V8.11H231.89V156.44V156.45Z' fill='%23BBBDBF'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_313_2'%3E%3Crect width='240' height='164.56' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120px;
}

.timeline-img:before {
    content: '';
    padding-top: 50%;
    display: block;
}

.timeline-img img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}


.swiper-scrollbar-timeline {
    position: relative;
    height: 8px;
    margin-bottom: 50px;
}

.timeline-markers {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding-top: 40px;
}

.timeline-marker {
    position: absolute;
    transform: translateX(-50%);
    font-size: clamp(1rem, 0.2111rem + 2.9491vw, 3.75rem);
    font-weight: 700;
    opacity: 0;
    transition: .3s;
    color: #1B4580;
}

.timeline-marker.active {
    opacity: 1;
}

/* .timeline-marker.active:after {
  content: '';
  width: clamp(1.5rem, 1.0697rem + 1.6086vw, 3rem);
  height: clamp(1.5rem, 1.0697rem + 1.6086vw, 3rem);
  background:url(../../assets/img/timeline/ball.svg) no-repeat center;
  background-size: 100%;
  opacity: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
} */


.mySwiper-timeline .swiper-scrollbar {
    background: #20A0DB;
    height: 12px;
    opacity: 1;
    border-radius: 8px;
    position: relative;
    bottom: auto;
    margin-top: 30px;
}
.mySwiper-timeline .swiper-scrollbar-drag {
    background-color: transparent;
}
/* .mySwiper-timeline .swiper-scrollbar-drag {

  width: clamp(1.5rem, 1.0697rem + 1.6086vw, 3rem) !important;
  height: clamp(1.5rem, 1.0697rem + 1.6086vw, 3rem) !important;
  background:url(../../assets/img/timeline/ball.svg) no-repeat center;
  background-size: 100%;
  opacity: 1;
} */

.custom-scrollbar-ball {
    position: absolute;
    top: clamp(-0.75rem, -0.5349rem + -0.8043vw, -1.5rem);
    left: 0;
    width: clamp(1.5rem, 1.0697rem + 1.6086vw, 3rem);
    height: clamp(1.5rem, 1.0697rem + 1.6086vw, 3rem);
    background: url(../../assets/img/timeline/ball.svg) no-repeat center;
    background-size: 100%;
    transition: transform 0.3s ease-out;
    cursor: pointer;
}

@media (max-width: 1600px) and (min-width: 1200px) {
    .mySwiper-timeline .swiper-slide {
        width: 620px;
    }
    .timeline-img {
        margin-bottom: 20px;
    }    
    .mySwiper-timeline .mt-5 {
        margin-top: 20px !important;
    }
    .mySwiper-timeline .swiper-scrollbar {
        margin-top: 40px;
    }
    .mySwiper-timeline h2,
    .mySwiper-timeline .h2 {
        font-size: 34px;
        margin-bottom: 15px;
    }
}


@media (max-width: 1199px) {
    .mySwiper-timeline .swiper-slide:not(.swiper-slide-active) {
        transform: scale(.82);
    }

    .mySwiper-timeline .swiper-scrollbar {
        height: 6px;
        margin-top: 30px;
    }

    .timeline-markers {
        padding-top: 20px;
    }

    .timeline-marker {
        background: rgba(255, 255, 255, .8);
    }
    .timeline-img {margin-bottom: 1rem;}
}

@media (max-width: 767px) {    
    .mySwiper-timeline .swiper-slide .h3-st,
    .modal-timeline .h3-st {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .mySwiper-timeline .swiper-slide h2,
    .mySwiper-timeline .swiper-slide .h2,
    .modal-timeline h2,
    .modal-timeline .h2 {
        font-size: 24px;
    }
    .mySwiper-timeline .swiper-slide p,
    .modal-timeline p {
        font-size: 16px;
    }
}