#timeline{
    padding-bottom:70px;
}
#timeline .timelineevent{
    padding-left: 0px;
    padding-right: 0px;
    z-index: 1;
}
#timeline .timelineevent .time{
    height: 60px;
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}
#timeline .timelineevent .time .yeardate{
    color:#0E79C0;
    font-family: "DINPro-Medium", Geneva, Tahoma, sans-serif;
    font-size: 3.75rem;
    background-color: #fff;
    padding-right: 10px;
}
#timeline .timelineevent .time .date{
    color:#0E79C0;
    font-family: "DINPro-Medium", Geneva, Tahoma, sans-serif;
    font-size: 1.75rem;
    background-color: #fff;
    padding-left: 10px;
}
#timeline .timelineevent .time .date.single{
    padding-left: 10px;
}

#timeline .timelineevent .content{
    padding-top: 30px;
    margin-top: -30px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
}
#timeline .timelineevent .content.flex-pos-2 .description,
#timeline .timelineevent .content.flex-pos-3 .description{
    margin-left: 12px;
    margin-right: 12px;
}
#timeline .timelineevent .content.flex-pos-0,
#timeline .timelineevent .content.flex-pos-1,
#timeline .timelineevent .content.flex-pos-2,
#timeline .timelineevent .content.flex-pos-3{
    flex-direction: column;
}
#timeline .row{
    position: relative;
}
#timeline .timelinestart{
    display: flex;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    justify-content: center;
    position: relative;
}
#timeline .timelinestart .title-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px 3px 20px;
    background-color: #0E79C0;
    border-radius: 30px;
}

#timeline .timelinestart .title{
    color:#fff;
    font-family: "DINPro-Medium", Geneva, Tahoma, sans-serif;
    font-size: 1.25rem;
    z-index: 1;
    margin-bottom: 0;
}

.timelineevent .image{
    position: relative;
    width: fit-content;
    margin-bottom: 1.5rem;
}
.timelineevent .image[data-bs-target="#timelineModal"]:hover picture::before, .timelineevent .image[data-bs-target="#timelineModal"]:focus picture::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #0B84C799;
    background-image: url("../../Icons/circledplus.svg");
    background-position: center center;
    background-repeat: no-repeat;
}
#timeline .timelineevent .content.flex-pos-2 .image,
#timeline .timelineevent .content.flex-pos-2 .description,
#timeline .timelineevent .content.flex-pos-3 .image,
#timeline .timelineevent .content.flex-pos-3 .description{
    width: 100%;
}
#timelineModal .modal-dialog{
    height: 100%;
    width:100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#timelineModal .timelinemodalcontent{
    max-width: 80%;
    margin: 10% auto auto auto;
}
#timelineModal .contact-close{
    z-index: 1;
}
#timeline .timelinestart .line .line-spot{
    height: 20px;
    width: 20px;
    margin-left: -9px;
    border-radius: 50%;
    background-color: #0E79C0;
}
#timeline .timelinestart .line{
    padding-left: 50%;
}
#timeline .timelinestart .line .line-vertical{
    height: calc( 100% - 20px );
    border-left: 2px solid #0E79C0;
}
#timeline .line{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    padding: 0;
}
#timeline .m-right-timeline{
    display: none;
}
#timeline .m-left-timeline{
    display: none;
}
#timeline .timeline-image-button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 991px) {
    #timelineModal .timelinemodalcontent{
        max-width: 100%;
        margin: 10% auto auto auto;
    }
    #timeline .container{
        overflow: hidden;
    }
    #timeline .timelineevent{
        padding-top: 20px;
    }
    #timeline .timelineevent.left-timeline{
        padding-left: 10px;
        padding-right: 20px;
    }
    #timeline .timelineevent.right-timeline{
        padding-left: 20px;
        padding-right: 10px;
    }
    #timeline .timelineevent .time{
        justify-content: flex-start;
        position: relative;
    }
    #timeline .timelineevent::before {
        content: '';
        left: 50%;
        position: absolute;
        height: 100%;
        border-left: 2px solid #0E79C0;
    }
    #timeline .first .line{
        width: 50%;
        left: 19px;
        right: auto;
        margin-top: 0px;
        padding-right: 17px;
        height: auto;
    }
    #timeline .timelinestart .line .line-vertical{
        width: 100%;
    }
    #timeline .m-none{
        display: none;
    }
    #timeline .time .date{
        display: none;
    }
    #timeline .time.noyear{
        display: none;
    }
    #timeline .m-right-timeline{
        display: block;
    }
    #timeline .m-left-timeline{
        display: block;
    }
    #timeline .row.first.odd {
        margin-top: -20px;
    }
    #timeline .timelineevent .content{
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 992px) {
    #timeline .timelineevent .content.flex-pos-2 .image,
    #timeline .timelineevent .content.flex-pos-2 .description,
    #timeline .timelineevent .content.flex-pos-3 .image,
    #timeline .timelineevent .content.flex-pos-3 .description{
        width: 50%;
    }
    #timeline .timelineevent .content.flex-pos-1{
        flex-direction: column-reverse;
    }
    #timeline .timelineevent .content.flex-pos-2{
        flex-direction: row;
    }
    #timeline .timelineevent .content.flex-pos-3{
        flex-direction: row-reverse;
    }
    #timeline .row.even{
        flex-direction: row-reverse;
    }
    #timeline .row{
        padding-top: 50px;
        justify-content: space-around;
        padding-bottom: 20px;
    }
    #timeline .first .line{
        width: 50%;
    }
    #timeline .line .line-start{
        width: 80px;
        height: 80px;
        border: 2px solid #0E79C0;
    }
    #timeline .line .line-end{
        width: 80px;
        height: 80px;
        border: 2px solid #0E79C0;
    }
    #timeline .line .line-connect{
        width:1px;
        flex-grow: 1;
        height: 80px;
        border-bottom: 2px solid #0E79C0;
    }
    #timeline .odd .line .line-start{
        border-bottom-left-radius: 80px;
        border-top-width: 0;
        border-right-width: 0;
    }
    #timeline .odd .line .line-end{
        border-top-right-radius: 80px;
        border-bottom-width: 0;
        border-left-width: 0;
        margin-top: 78px;
    }
    #timeline .even .line .line-start{
        border-top-left-radius: 80px;
        border-bottom-width: 0;
        border-right-width: 0;
        margin-top: 78px;
    }
    #timeline .even .line .line-end{
        border-bottom-right-radius: 80px;
        border-top-width: 0;
        border-left-width: 0;
    }
    #timeline .line .line-vertical{
        width: 100%;
        flex-grow: 1;
        height: calc( 100% - 158px );
    }
    #timeline .even .line .line-vertical{
        border-left: 2px solid #0E79C0;
    }
    #timeline .odd .line .line-vertical{
        border-right: 2px solid #0E79C0;
    }
    #timeline .timelineevent{
        max-width: 350px;
    }
}