﻿.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
    background-color: transparent;
    color:#000;
}

    .timeline:after {
        content: '';
        position: absolute;
        width: 3px;
        /*background-color: #0065b3;*/
        background-color: #ffffff;
        left: 50%;
        top: 0;
        bottom: 0;
        margin-left: -6px;
    }

.timeline--first:after {
    top: 20px;
}

.era {
    text-align: center;
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
}

.era__title {
    background-color: #0065b3;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
}

.entry {
    padding: 10px 30px 20px 30px;
    width: 50%;
    position: relative;
    background-color: inherit;
}

.entry--right {
    margin-left: 50%;
}

.entry__content {
    padding: 0px  0px 20px ;
    background-color: rgba(255,255,255,0.9);
  
    border:none;
    position: relative;
    box-shadow: 0px   2px 8px #f7f7f7;
}

    .entry__content p, .entry__content h2{
        padding:6px 16px;
    }

    .entry__content h2 {
        height: 30px;
        line-height: 30px;
        font-weight: 600;
    }



.entry:before {
    content: " ";
    height: 0;
    position: absolute;
    top: 20px;
    width: 0;
    z-index: 1;
}

.entry--left:before {
    right: 15px;
    border: medium solid transparent;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent white;
}

.entry--right:before {
    left: 15px;
    margin-left: 0;
    border: medium solid transparent;
    border-width: 8px 8px 8px 0;
    border-color: transparent white transparent transparent;
}

.entry:after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    /*right: -9.75px;*/
    background-color: #0065b3 ;
    border: 2px solid #fff;
    top: 10px;
    border-radius: 50%;
    z-index: 1;
}

.entry--right:after {
    right: auto;
    left: -18.75px;
}

h2 {
    margin-bottom: 0.5em;
    font-family: sans-serif;
    font-size: 1.2em;
}

p {
    font-family: sans-serif;
    line-height: 1.4;
}


.entry-step1 .entry__content h2 {
    background-color: #46b8e9;
    color: #fff;
}

.entry-step1::before {
    border-color: transparent #46b8e9 transparent transparent !important;
}


.entry-step2 .entry__content h2 {
    background-color: #3ee9d1;
    color: #fff;
}

.entry-step2::before {
    border-color: transparent #3ee9d1 transparent transparent !important;
}


.entry-step3 .entry__content h2 {
    background-color: #ce43eb;
    color: #fff;
}

.entry-step3::before {
    border-color: transparent #ce43eb transparent transparent !important;
}


.entry-step4 .entry__content h2 {
    background-color: #4d92eb;
    color: #fff;
}

.entry-step4::before {
    border-color: transparent #4d92eb transparent transparent !important;
}
 

@media all and (max-width: 500px) {
    .timeline:after {
        left: 28.75px;
    }

    .era {
        text-align: left;
        padding-left: 31.875px;
    }

    .entry {
        width:80%;
        margin-left: 0;
        padding-left: 48px;
        padding-right: 20px;
    }

        .entry:before {
            right: auto;
            left: 40px;
            margin-left: 0;
            border: medium solid transparent;
            border-width: 8px 8px 8px 0;
            border-color: transparent white transparent transparent;
        }

        .entry:after {
            left: 15px;
        }
}
