/* *******************************************
    OLD - horizontal
   ******************************************* */

.important-dates {
    padding: 10rem 0;
    background-image: url("../images/important-dates-bg.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 2;
    margin-top: -5rem;
}

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

.important-dates .header-text {
    background-image: url("../images/header-bg-style2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    aspect-ratio: 401 / 238;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    width: fit-content;
    padding: 68px 20px 35px;
    color: #FFF;
}

.date-subtitle {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--body-text-color);
    text-transform: capitalize;
}

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

.date-text {
    /* color: var(--primary); */
    font-size: 1rem;
}

.date-text_black {
    color: #000;
}

.content.over * {
    color: #aaa;
}

/* The actual timeline (the vertical ruler) */
.timeline-horizontal {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: no-wrap;
    gap: 1.5rem;
    min-height: 180px;
}

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

/* Container around content */
.timeline-horizontal .timeline-container {
    padding: 10px 0;
    position: relative;
    background-color: inherit;
    flex: 1;
    /* width: 50%; */
}

/* The circles on the timeline */
.timeline-horizontal .timeline-container::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 40px;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, var(--primary-light) 0%, var(--primary) 100%);
    background-color: white;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 1rem;
    z-index: 1;
}

.timeline-horizontal .highlight.timeline-container::after {
    border: 2px solid var(--secondary-light);
    background-color: var(--primary);
}

/* The actual content */
/* .content {
    padding: 0;
    background-color: rgba(255, 255, 255, 0);
    position: relative;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
} */

/* .content > h4,
.content > h5 {
    height: 75px;
} */

/* .content h5 {
    margin-bottom: 4rem;
} */

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

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

.highlight .date-text {
    color: #FFF;
}

.highlight .date-subtitle {
    color: #FFF;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 767px) {
    .timeline-horizontal {
        min-height: fit-content;
        flex-direction: column;
        width: fit-content;
        padding-top: 20px;
    }

    /* Place the timelime to the left */
    .timeline-horizontal::after {
        left: 5px;
        width: 2px;
        height: 100%;
    }

    /* Full-width containers */
    .timeline-horizontal .timeline-container {
        width: 100%;
        padding-left: 40px;
        padding-top: 0;
    }

    .timeline-horizontal .timeline-container::after {
        top: 0;
        transform: translateY(0);
        height: 60px;
    }

    .content {
        justify-content: flex-start;
        height: fit-content;
    }

    .content h5 {
        margin-bottom: 0.5rem;
    }

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

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

.fees-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    align-items: stretch;
}

.fees-container .fee {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fees-container .fee h5 {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
}

.fees-container .price {
    font-size: 28px;
    font-weight: 200;
    color: var(--primary);
}











/* *******************************************
    NEW - vertical
   ******************************************* */

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

    /* 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.1rem;
    font-weight: 400;
    color: var(--body-text-color);
    /* text-transform: capitalize; */
}

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

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

.date-text_black {
    color: #000;
}

.content.over * {
    color: #aaa;
}

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

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

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

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

.highlight.timeline-container::after {
    border: 2px solid var(--secondary-light);
    background-color: var(--primary);
}

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

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

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 50%;
    width: 90px;
    z-index: 0;
    right: 10px;
    border: 1px solid var(--secondary-light);
    /* 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) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 50%;
    width: 93px;
    z-index: 0;
    left: 7px;
    border: 1px solid var(--secondary-light);
    /* 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 */
.right::after {
    left: -13px;
}

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

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

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

.highlight .date-text {
    color: #FFF;
}

.highlight .date-subtitle {
    color: #FFF;
}

.expired .content {
    /* padding: 20px 30px; */
    background-color: lightgray;
    /* position: relative; */
    /* color: #FFF; */
}

/* .expired .date-text {
    color: #FFF;
}

.expired .date-subtitle {
    color: #FFF;
} */

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

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

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

    /* Make sure that all arrows are pointing leftwards */
    .timeline-container::before {
        left: 30px;
        border: 1px solid var(--primary-light);
        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; */
    }

    /* .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 */
    .left::after,
    .right::after {
        left: 18px;
    }

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