.q-timeline-archive-template {
    padding-block: 6rem;
    background-color:#457BBF
}

.q-timeline-wrap {
    margin: 0 auto;
    position: relative;
}

.q-timeline-pre-content {
    margin-bottom: 100px;
}

.single-q-timeline .entry-header .date,
.single-q-timeline .wp-block-read-more {
    display: none;
    visibility: hidden;
}

.q-timeline-title {
    font-size: 54px;
    font-weight: 300;
    line-height: 1;
    font-family: UniversLTPro-65Bold,
        sans-serif;
    text-transform: uppercase;
    color: #91AED6 !important;
    text-align: center;
}

.q-timeline-title span {
    color: white;
}

/* The actual timeline line (the vertical rule) */
.q-timeline-wrap::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #91AED6;
    top: 70px;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 2;
}

.q-timeline__year {
    font-size: 2.8rem;
    font-weight: bold;
    z-index: 999;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #91AED6;
    color: white;
    border-radius: 50%;
    margin: 0 auto 4rem;
    width: 88px;
    height: 88px;
}

.q-timeline-post {
    padding: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    width: calc(50% - 75px);
    color: #555555;
    z-index: 999;
    position: relative;
}

.q-timeline-post:nth-of-type(2n){
    transform: translateX(calc(100% + 150px));
}

.q-timline__text {
    position: relative;
    margin-top: 2rem;
    padding: 0 2rem 2rem;
}

/* Triangles */
.q-timeline-post .q-timline__text::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -24px;
    top: 0;
    z-index: 1;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 25px solid white;
}

.q-timeline-post:nth-of-type(2n) .q-timline__text::after {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 25px solid white;
    border-left: none;
    right: initial;
    left: -24px;
}

.q-timeline__image {
    margin: 0;
    padding: 0;
}

.q-timeline__date {
    display: none !important;
    font-weight: bold;
    padding: 1rem;
    background-color: #457BBF;
    color: white;
    min-width: 50px;
    min-height: 50px;
    position: absolute;
    right: -104px;
    z-index: 999;
    top: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.q-timeline-post:nth-of-type(2n) .q-timeline__date {
    right: initial;
    left: -100px;
}

.q-timeline__date-day {
    font-size: 2.4rem;
    line-height: 1;
}

.q-timeline__date-month {
    font-size: 1.8rem;
    text-transform: uppercase;
}

.q-timeline__title,
.q-timeline__title a {
    color: #00274C !important;
}

.q-timeline__title,
.q-timeline__content {
    margin-bottom: 5px;
}


@media screen and (max-width: 900px) {
    /* .q-timeline__year {
        margin: 0 0 2rem;
    } */

    .q-timeline-post {
        width: 100%;
        transform: translateX(0) !important;
        margin-bottom: 4rem;
    }

    /* Triangles */
    .q-timeline-post .q-timline__text::after,
    .q-timeline-post:nth-of-type(2n) .q-timline__text::after {
        display: none;
    }
    
    /* The actual timeline (the vertical ruler) */
    /* .q-timeline-wrap::after {
        top: 70px;
        bottom: 0;
        left: 44px;
    } */

    /* .q-timeline__date,
    .q-timeline-post:nth-of-type(2n) .q-timeline__date {
        right: initial;
        left: -100px;
        top: -15px;
    } */
}

