/* Vertical divider */
.timeline:not(.timeline--horizontal):before {
    background-color: #F1F1F1 !important;
}

/* Horizontal divider */
.timeline--horizontal .timeline-divider {
    background-color: #F1F1F1 !important;
}

/* Margin */
.timeline {
    margin: 15px 0;
}

/* -------- Dots -------- */

.timeline__item:after {
    background-color: #B23634 !important;
    border: 1px solid #B23634 !important;
}

/* -------- Cards -------- */

.timeline__content {
    background-color: #F1F1F1 !important;
    border: 2px solid #B23634 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: flex !important;
}

/* Date section */
.timeline__content .evDate {
    min-width: 80px;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-right: 2px solid #B23634;
    background-color: #fff;
}

.timeline__content .evDate .evDay {
    font-size: 25px;
    line-height: 1;
    padding: 20px 20px 0px 20px;
}

.timeline__content .evDate .evMonth {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0px 20px 20px 20px;
}

/* Description section */
.timeline__content .description {
    flex-grow: 1;
    display: flex;
    align-items: center;
    background-color: #F1F1F1;
    padding: 16px 10.5px 16px 10.5px;
}

.timeline__content .description p {
    font-size: 19px !important;
    margin: 0;
    color: #666 !important;
    line-height: 1.4;
}

.timeline__content .description a {
    color: #666 !important;
    text-decoration: none !important;
}

.timeline__content .description a:hover {
    color: #B23634 !important;
}

/* -------- Text -------- */

.timeline__content p,
.timeline__content h2 {
    color: #333 !important;
}

/* -------- Vertical timeline arrows (card pointers) -------- */

/* Left items */
/* Triangle borders */
.timeline__content:before {
    border-left: 12px solid #B23634 !important;
}

/* Triangle insides */
.timeline__content:after {
    border-left: 11px solid #F1F1F1 !important;
}

/* Right items */
/* Triangle borders */
.timeline__item--right .timeline__content:before {
    border-right: 12px solid #B23634 !important;
    border-left: none !important;
}

/* Triangle insides */
.timeline__item--right .timeline__content:after {
    border-right: 11px solid #F1F1F1 !important;
    border-left: none !important;
}

/* -------- Horizontal timeline arrows (card pointers) -------- */

/* Top items */
/* Triangle borders */
.timeline--horizontal .timeline__item .timeline__content:before {
    border-top: 12px solid #B23634 !important;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
}

/* Triangle insides */
.timeline--horizontal .timeline__item .timeline__content:after {
    border-top: 10px solid #F1F1F1 !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
}

/* Bottom items */
/* Triangle borders */
.timeline--horizontal .timeline__item--bottom .timeline__content:before {
    border-bottom: 12px solid #B23634 !important;
    border-top: none !important;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
}

/* Triangle insides */
.timeline--horizontal .timeline__item--bottom .timeline__content:after {
    border-bottom: 10px solid #F1F1F1 !important;
    border-top: none !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
}

/* -------- Spacing -------- */

.timeline__item {
    padding-bottom: 25px !important;
    padding-top: 25px !important;
}

/* -------- Mobile -------- */

.timeline--mobile:before {
    background-color: #B23634 !important;
}

.timeline--mobile .timeline__item:after {
    border-color: #B23634 !important;
}

.timeline--mobile .timeline__item .timeline__content:before {
    border-right: 12px solid #B23634 !important;
    border-left: none !important;
}

.timeline--mobile .timeline__item .timeline__content:after {
    border-right: 10px solid #fff !important;
    border-left: none !important;
}

/* -------- Navigation buttons -------- */

.timeline-nav-button {
    background-color: #fff !important;
    border: 2px solid #F1F1F1 !important;
}