/*
Block Name: Timeline
Description: A simple timeline.
*/


.block-timeline .timeline {
    position: relative;
    max-width: 120rem;
    margin: 0 auto;
}

.block-timeline .timeline::after {
    content: '';
    position: absolute;
    width: 0.6rem;
    background-color: var(--brand-1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.3rem;
	border-radius: .3rem;
}

.block-timeline .timeline-item a { color: var(--brand-1); text-decoration: underline;  } 
.block-timeline .timeline-item a:hover { color: var(--brand-1); text-decoration: none;  } 



.block-timeline .timeline-item h4 { color: var(--brand-2); } 
.block-timeline .timeline-item {
    padding: 1rem 4rem;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.block-timeline .timeline-item.left {
    left: 0;
}

.block-timeline .timeline-item.right {
    left: 50%;
}

.block-timeline .timeline-item::after {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    right: -1.2rem;
    background-color: var(--brand-1);
    top: 1.5rem;
    border-radius: 50%;
    z-index: 1;
}

.block-timeline .timeline-item.right::after {
    left: -1.2rem;
}



.block-timeline .content {
    padding: 2rem 3rem;
    background-color: #fff;
	color: var(--brand-1);
    position: relative;
    border-radius: 0.6rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2rem 2.5rem -0.5rem, rgba(0, 0, 0, 0.04) 0px 1rem 1rem -0.5rem;
}

.block-timeline .timeline-item h3 { 
    color: #fff;
    background: var(--brand-1);
    position: relative;
    border-radius: 10rem;
    padding: 1rem 2rem;
    text-align: center;
    display: inline-block;
    font-size: 2rem;
	margin-bottom: 0rem;
}

@media screen and (max-width: 999px) {

 .block-timeline .timeline-item {
        padding: 1rem 1rem;
        position: relative;
        background-color: inherit;
        width: 100%;
        z-index: 11;
        margin-bottom: 4rem;
    }
    
    .block-timeline .timeline-item::after, .timeline-item.right::after { display: none; }
    .block-timeline .timeline-item.right { left: 0%; }
    .block-timeline .timeline-item.left { right: 0%; }
}
