.timeline {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 900px;
    position: relative;
    padding: 0 20px;
}
h2.timeline__content-title {
    font-weight: normal;
    font-size: 57px;
    font-family: 'Merriweather', serif !important;
    font-weight: 900;
    margin: -10px 0 0 0;
    transition: .4s;
    padding: 0 10px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    text-shadow: 0px 0px 2px #666;
}

h3.timeline__content-header {
    margin: 1em 0 0.5em;
    color: #FFF;
    font-size: 16px;
}

.timeline__content-desc {
    margin: 0 0 1em;
    font-size: 16px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.9);
    font-weight: normal;
    line-height: 25px;

}
.timeline:before {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    content: "";
    background: rgba(255, 255, 255, 0.07);
}
@media only screen and (max-width: 767px) {
    .timeline:before {
        left: 20px;
    }
}
.timeline-item {
    padding: 40px 0;
    opacity: .3;
    filter: blur(2px);
    transition: .5s;
    box-sizing: border-box;
    width: calc(50% - 40px);
    display: flex;
    position: relative;
    transform: translateY(-80px);
}
.timeline-item:before {
    content: attr(data-text);
    /* letter-spacing: 3px;*/
    width: 100%;
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    top: 170px;
    margin-top: -5px;
    padding-left: 15px;
    opacity: 0;
    right: calc(-100% - 39px);
    padding-top: 10px;
    padding-bottom: 10px;
}
.timeline-item:nth-child(even) {
    align-self: flex-end;
}
.timeline-item:nth-child(even):before {
    right: auto;
    text-align: right;
    left: calc(-100% - 39px);
    padding-left: 0;
    border-left: none;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    padding-right: 15px;
}
.timeline-item--active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}
.timeline-item--active:before {
    top: 60px;
    transition: .3s all .2s;
    opacity: 1;
}
.timeline-item--active .timeline__content-title {
    margin: -50px 0 20px 0;
}
@media only screen and (max-width: 767px) {
    .timeline-item {
        align-self: baseline !important;
        width: 100%;
        padding: 0 0px 150px 20px;
    }
    .timeline-item:before {
        left: 0px !important;
        padding: 5px !important;
        top: 10px;
        text-align: left !important;
        width: 70%;
        border: none !important;
        background: rgba(244, 242, 236, 0.8);
        color: #354d4a;
        
    }
    .timeline-item:last-child {
        padding-bottom: 40px;
    }
}
.timeline__img {
    max-width: 100%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}

.timeline__bg {
    width: 0;
    height: 0;
}


.timeline-container {
    width: 100%;
    position: relative;
    padding: 80px 0;
    transition: .3s ease 0s;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.timeline-container:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(68, 59, 40, 0.8) url(../images/kalendarium.png) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
    content: "";
}


.timeline-header {
    width: 100%;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}
.timeline-header__title {
    color: #fff;
    font-size: 46px;
    font-weight: normal;
    margin: 0;
}
.timeline-header__subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    letter-spacing: 5px;
    margin: 10px 0 0 0;
    font-weight: normal;
}

.demo-footer {
    padding: 60px 0;
    text-align: center;
}
.demo-footer a {
    color: #999;
    display: inline-block;
}

.timeline__more {
    color: #FFF;
    font-style: italic;
    margin-top: 1em;
    display: inline-block;
}

.timeline__hidden {
    display: none;
}
