:root {
    --primary: #8BA624;
    --primary-dark: #294C37;
}

.important-dates {
    padding: 4rem 0 2rem;
    /* The image used */
    /* background-image: url("../images/key-dates-bg.jpg"); */

    /* Set a specific height */
    /* min-height: 500px; */

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

@media (max-width: 576px) {
    .important-dates {
        background-attachment: scroll;
    }
}

.date-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-dark);
    text-transform: capitalize;
}

.date-subtitle_black {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
}

.date-text {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.date-text_black {
    color: #000;
}

.timeline-container .content.over * {
    color: #aaa;
}

/* The actual timeline (the vertical ruler) */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    margin-top: 14px;
    margin-bottom: 14px;
}

/* Container around content */
.timeline-entry {
    padding: 10px 100px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.timeline-entry::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -7px;
    background-color: white;
    border: 2px solid var(--primary);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
}

.highlight.timeline-entry::after {
    border: 2px solid var(--primary-dark);
    background-color: var(--primary);
}

/* Place the container to the left */
.timeline-container .left {
    left: 0;
}

/* Place the container to the right */
.timeline-container .right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline-container .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 50%;
    width: 90px;
    z-index: 0;
    right: 10px;
    border: 1px solid var(--primary);
    /* border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(255, 255, 255, .8); */
    transform: translateY(-50%);
}

/* Add arrows to the right container (pointing left) */
.timeline-container .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 50%;
    width: 93px;
    z-index: 0;
    left: 7px;
    border: 1px solid var(--primary);
    /* border-width: 10px 10px 10px 0;
    border-color: transparent rgba(255, 255, 255, .8) transparent transparent; */
    transform: translateY(-50%);
}

/* Fix the circle for containers on the right side */
.timeline-container .right::after {
    left: -13px;
}

/* The actual content */
.timeline-container .content {
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, .8);
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--primary);
}

.timeline-container .content .small {
    font-size: 1rem;
    line-height: 1.25rem;
    color: #666;
}

.timeline-container .highlight .content {
    padding: 20px 30px;
    background-color: var(--primary);
    position: relative;
    color: #FFF;
}

.timeline-container .highlight .date-text,
.timeline-container .highlight .date-subtitle,
.timeline-container .highlight p {
    color: #FFF !important;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .timeline-container::after {
        left: 31px;
    }

    /* Full-width containers */
    .timeline-entry {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .timeline-entry::before {
        left: 30px;
        border: 1px solid var(--primary);
        width: 40px;
        /* border: medium solid rgba(255, 255, 255, .8);
        border-width: 10px 10px 10px 0;
        border-color: transparent rgba(255, 255, 255, .8) transparent transparent; */
    }

    .timeline-container /* .timeline-container .highlight.left::before {
        border: medium solid var(--primary-dark);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--primary-dark) transparent transparent;
    } */

    /* Make sure all circles are at the same spot */
    .timeline-container .left::after,
    .timeline-container .right::after {
        left: 18px;
    }

    /* Make all right containers behave like the left ones */
    .timeline-container .right {
        left: 0%;
    }
}