.schaefer-timeline hr {
    border: 2px solid #EDBE3F;
    margin-bottom: 30px !important; 
}

.schaefer-timeline .history-title {
    text-align: right;
    padding-bottom: 30px;
}

.schaefer-timeline .history-title h2 {
    font-size: 2.8rem;
    padding-bottom: 10px;
}

.schaefer-timeline .history-title h3 {
    font-size: 1.45rem;
}

.schaefer-timeline .wrapper {
    font-weight: 300;
    color: #000000;
    position: relative;
}

.schaefer-timeline .timeline-section {
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    justify-content: end;
    align-content: center;
    align-items: center;
    padding: 4.5rem 4.5rem 0 12rem;
}

.schaefer-timeline .nav__wrapper {
    position: sticky;
    height: 100%;
    padding: 0 30px 30px;
    top: 60px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
}

.schaefer-timeline .nav__wrapper .nav {
    position: absolute;
    top: 0;
    left: 10vw;
    margin: 0 0 100px 30px;
}

.schaefer-timeline .nav__counter {
    font-size: 0;
    transition: all 0.15s ease-out;
    margin-left: -1px;
    padding: 10px;
    background-color: #EDBE3F;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: relative;
    z-index: 9999;
    font-weight: bold;
}

.schaefer-timeline .nav__counter:hover {
    font-size: 18px;
    margin-left: -15px;
    background-color: #EDBE3F;
    padding: 5px 14px 0;
    border-radius: 30px;
    color: #fff !important;
}

.schaefer-timeline .nav__counter.active-counter {
    font-size: 18px;
    margin-left: -15px;
    background-color: #EDBE3F;
    padding: 5px 14px 0;
    border-radius: 30px;
    color: #fff;
}

.schaefer-timeline .nav__counter-title {
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    left: -100px;
    color: #333;
}

.schaefer-timeline .nav__wrapper .nav li {
    position: relative;
    transition: all 0.3s ease-out;
    margin-bottom: 2.5em;
}

.schaefer-timeline .nav__wrapper .nav li:first-of-type:after,
.schaefer-timeline .nav__wrapper .nav li:last-of-type:after {
    border-top: 2px solid #EDBE3F;
}

.schaefer-timeline .nav__wrapper .nav li:after {
    content: '';
    display: block;
    border-left: 2px solid #EDBE3F;
    height: 300px;
    width: 30px;
    position: absolute;
    left: -30px;
    top: 15px;
}

.schaefer-timeline .nav__wrapper .nav li a {
    display: block;
    padding: 0;
    margin: 0 0 0 -38px;
    color: #EDBE3F;
    text-decoration: none;
    transition: all 0.15s ease-out;
}

.schaefer-timeline .nav__wrapper .nav li a:hover,
.schaefer-timeline .nav__wrapper .nav li a:focus {
    background-color: transparent;
}

.schaefer-timeline .nav__wrapper .nav li.active {
    pointer-events: none;
    width: 300px;
}

.schaefer-timeline .nav__wrapper .nav li.active img {
    position: absolute;
    top: 0;
    right: -70vw;
    width: 400px;
    height: 400px;
    clip-path: polygon(5% 0, 94% 5%, 100% 99%, 0% 100%);
    transform: rotate(-3deg);
}

.schaefer-timeline .sm-text {
    font-size: 11px;
}

.schaefer-timeline .timeline-container {
    max-width: 1600px;
    display: grid;
    padding: 0 0 0 50px;
    align-items: center;
}

.schaefer-timeline .timeline-container .history-col-1 {
    grid-column: 2 / span 1;
    width: 80%;
    max-width: 750px;
}

.schaefer-timeline .timeline-container h4 {
    font-weight: 600;
}

/* Media Queries */

@media all and (min-width: 767px) {
    .schaefer-timeline .timeline-container {
        display: grid;
        padding: 0 0 0 50px;
        align-items: center;
    }

    .schaefer-timeline .timeline-container .history-col-1 {
        grid-column: 2 / span 1;
        width: 100%;
        max-width: 750px;
    }

    .schaefer-timeline .timeline-container li,
    .schaefer-timeline .timeline-container p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-left: 25px;
        padding: 0 0 30px 0;
    }

    .schaefer-timeline .timeline-container h4 {
        font-weight: 600;
    }

    .schaefer-timeline .timeline-container p {
        max-width: 1200px;
        margin: 0 auto;
    }

    .schaefer-timeline .timeline-container img {
        border-radius: 50px;
    }
}

@media all and (min-width: 1024px) {
    .schaefer-timeline .timeline-container .history-col-1 {
        width:85%;
    }
}

@media (max-width: 768px) {
    .schaefer-timeline .nav__wrapper {
        padding: 0;
    }

    .schaefer-timeline .nav__wrapper .nav {
        left: 0;
        margin-left:0;
    }

    .schaefer-timeline .timeline-container {
        background-color: #ffffff;
        max-width: 70%;
        padding-left:0;
    }

    .schaefer-timeline .timeline-container .history-col-1 {
        width:95%;
    }

    .schaefer-timeline .history-col-1 p {
        font-size: 1rem;
    }

    .schaefer-timeline .nav__wrapper .nav li:after {
        height: 300px;
        width: 35px;
    }

    .schaefer-timeline .nav__wrapper .nav li.active {
        padding-left: 0.5em;
    }

    .schaefer-timeline .nav__wrapper .nav li.active:after {
        width: 35px;
    }

    .schaefer-timeline .nav__wrapper .nav li.active .nav__counter {
        font-size: 15px;
    }

    .schaefer-timeline .timeline-section {
        padding: 30px 0;
        font-size: 20px;
        height: auto;
    }

    .schaefer-timeline .history-title {
        text-align: left;
        position: relative;
        padding-bottom: 30px;
        top: 0;
        right: 0;
    }


}