.aa-footer {
    background-color: #007dc5;
}

.aa-bg-x,
.aa-btn-x,
a.aa-btn-outline-x:hover,
a.aa-btn-x:hover .x-ev-footer::before {
    background-color: #007dc5
}

.aa-fg-x,
a.aa-btn-x:hover,
.aa-btn-outline-x,
.aa-bg-x .aa-btn,
.aa-bg-x a.aa-btn-outline:hover,
.aa-bg-x a.aa-hover-bg-text:hover {
    color: #007dc5;
}

a.aa-btn-x:hover, .aa-btn-outline-x,
.aa-btn-x, a.aa-btn-outline-x:hover,
.aa-border-x {
    border-color: #007dc5;
}

.aa-text-x,
.aa-bg-x a,
.aa-bg-x a.aa-btn:hover,
.aa-bg-x .aa-btn-outline,
.aa-btn-x,
a.aa-btn-outline-x:hover {
    color: #ffffff;
}

a.aa-btn-x:hover, .aa-btn-outline-x {
    background-color: #ffffff;
}

.aa-bg-x a.aa-btn:hover,
.aa-bg-x .aa-btn-outline {
    background-color: transparent;
    border-color: #ffffff;
}

.aa-bg-x .aa-btn,
.aa-bg-x a.aa-btn-outline:hover {
    background-color: #ffffff;
    border-color: #ffffff;
}


/* Vertical ruler */
.aa-timeline {
    position: relative;
    max-width: 100%;
    margin: 0 -2.5rem;
}

.aa-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #007dc5;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

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

/* The circles on the timeline */
.aa-timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: #fff;
    border: 4px solid #007dc5;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

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

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

/* Add arrows to the left container (pointing right) */
.aa-timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #fff;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}

/* Add arrows to the right container (pointing left) */
.aa-timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #fff;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

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

/* The actual content */
.aa-timeline-content {
    padding: 2rem 2rem 0 2rem;
    position: relative;
    border-radius: 0.4rem;
    box-shadow: 0 0 2rem 0 rgba(155, 155, 193, .3);
}

.aa-timeline-content p:last-child {
    margin-bottom: 0;
    padding-bottom: 2rem;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 768px) {
    /* Place the timelime to the left */
    .aa-timeline::after {
        left: 31px;
    }

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

    /* Make sure that all arrows are pointing leftwards */
    .aa-timeline-container::before {
        left: 60px;
        border: medium solid #fff;
        border-width: 10px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
    }

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

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

.x-downloads .aa-dld-arr {
    font-size: 1.2rem;
}
