.timeline {
    position: relative;
    margin: 0 auto;
    max-width: 1300px;
    /*t*/ ransition: max-height 3s ease-in-out; 
    overflow: hidden;
    max-height: 200vh;
}
.timeline.open {
    /*  transition: max-height 1s ease-in-out;*/
    /*max-height: 999999px!important;*/
    max-height: auto !important;
}
.timeline:before {
    content: "";
    position: absolute;
    /*height: 100%;*/
    border: 1px solid #BACCCB;
    right: 40px;
    top: 90px;
    bottom: 0;
}
.timeline:after {
    content: "";
    display: table;
    clear: both;
}
.timeline__item--year {
    color: white;
    background: #BACCCB;
    border-radius: 50%;
    font-size: 18px;
    width: 80px;
    height: 80px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.timeline__item--year:before {
    display: none;
}
.timeline__title {
    color: white;
    background-color: #1E533C;
    font-size: 22px;
    padding: 20px 0px 20px 30px;
    position: relative;
}
.timeline__blurb {
    line-height: 1.5;
    font-size: 1rem;
    margin: 0.5rem 0 0;
}
/* -- BW CSS -- */
.timeline-item-content {
    padding: 30px;
    background-color: white;
    display: grid;
}
.timeline-item {
    width: 370px;
}
.timeline-text:first-child {
    padding-bottom: 20px;
}
/* RIGHT */
/* triangle */
/* 
.timeline__item:nth-of-type(2n) h3.timeline__title::after {
    display: none;
}
.timeline__item:nth-of-type(2n) h3.timeline__title::before {
    content: "";
    position: absolute;
    border-width: 16px;
    top: 17px;
    left: -32px;
    border-style: solid;
    border-color: transparent #1e533c transparent transparent;
} */
/* dot */
/* LEFT */
/* triangle */
h3.timeline__title::after {
    content: "";
    position: absolute;
    border-width: 16px;
    top: 17px;
    right: -32px;
    border-style: solid;
    border-color: transparent transparent transparent #1e533c;
}
.timeline__title-container {
    position: relative;
}
/* dot */
.timeline__item-container::after {
    content: "";
    position: absolute;
    border: 10px solid #1e533c;
    border-radius: 100%;
    right: -84px;
    top: 23px;
}
/*@media only screen and (max-width: 700px) {*/
.timeline:before {
    right: 10px;
}
div.timeline__item {
    /*width: 85%;*/
    margin-right: 60px;
    /* margin-bottom: -320px; */
}
/*.timeline__item:nth-of-type(2n) h3.timeline__title::before {
        display: none;
    }*/
h3.timeline__title::after {
    content: "";
    position: absolute;
    border-width: 16px;
    top: 17px;
    right: -32px;
    width:16px;
    border-style: solid;
    border-color: transparent transparent transparent #1e533c;
    display: block;
}
.timeline__item-container::after {
    right: -59px !important;
}
/*}*/
.timeline-more {
    color: var(--paletteColor1, #225A40) !important;
    font-weight: 700 !important;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}
.timeline-more:hover {
    cursor: pointer;
}
/* animation*/
@media only screen and (min-width: 700px) {
    .timeline__item.timeline__item--year {
        transition: all 0.7s ease-in-out;
        scale: 0;
    }
    .timeline__item.timeline__item--year.show {
        scale: 100%;
    }
} 
.timeline__item-container::before, .timeline__item-container::after {
    transition: all 0.5s ease-in-out;
    scale: 0;
    opacity: 0;
}
.timeline__item.show .timeline__item-container::before, .timeline__item.show .timeline__item-container::after {
    scale: 100%;
    opacity: 1;
}
.timeline__item .timeline__item-container {
    position: relative;
}
.timeline__item .timeline__item-container .timeline__item-animate {
    transition: all 0.7s ease-in-out;
    transform: translateX(-100%);
}
.timeline__item.show .timeline__item-container .timeline__item-animate {
    transition: all 0.5s ease-in-out;
    transform: translateX(0) !important;
}
h3.timeline__title::after {
    transition: all 1s ease-in-out;
    right: 0;    
}
h3.timeline__title::before {
    transition: all 1s ease-in-out;
    left: 0 !important;
}
.timeline__item.show h3.timeline__title::after {
    right: -30px;
}
@media screen and (min-width: 700px) {
    .timeline:before {
        left: calc(50% - 1px);
        right: auto;
        z-index: -1;
    }
    .timeline__item {
        margin-top: 5%;
        margin-right: calc(50% + 50px)!important;
    }
    .page-id-958 div.timeline__item:not(:last-child) {
        margin-bottom: -20%;
    }
    .page-id-959 div.timeline__item:not(:last-child) {
        margin-bottom: -10%;
    }
    .timeline__item:last-child {
        margin-bottom: 0;
    }
    .timeline__item:nth-of-type(2n) {
        margin-left: calc(50% + 50px)!important;
        margin-right: 0!important;
    }
    .timeline__item .timeline-text {
        order: 2;
        padding-top: 20px;
    }
    .timeline__item:nth-of-type(2n) .timeline-text {
        padding-top: 0;
    }
    .timeline__item:nth-of-type(2n) .timeline-item-image {
        order: 2;
        padding-bottom: 20px;
    }
    .timeline__item--year,  .timeline__item--year:nth-of-type(2n) {
        text-align: center;
        margin-left: auto!important;
        margin-right: auto!important;
    }
    .timeline__item--year:nth-of-type(2n) {
        float: none;
        margin-left: 0 auto;
        border-image: none;
    }
    /*.timeline__item--year:nth-of-type(2n):before {
        display: none;
    }*/
    .timeline__item:nth-of-type(2n) .timeline__item-container::before {
        content: "";
        position: absolute;
        border: 10px solid #1e533c;
        border-radius: 100%;
        left: -60px;
        top: 23px;
    }
    .timeline__item:nth-of-type(2n) .timeline__item-container .timeline__item-animate {
        transform: translateX(100%);
    }
    .timeline__item.show:nth-of-type(2n) h3.timeline__title::after {
        left: -30px !important;
        right: auto;
    }
    .timeline__item:nth-of-type(2n) h3.timeline__title::after {
        left:0;
         border-color: transparent  #1e533c transparent transparent;
    }
    
}