﻿.timeline {
    position: relative;
    margin: 0 auto;
    width: 90%;
}

.timeline ul li {
    margin-bottom: 50px;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.timeline textarea{
    max-height:4em!important;
    
}
.timeline .point {
    min-width: 20px;
    max-width: 20px;
    height: 20px;
    background-color: #be9fe1;
    border-radius: 100%;
    z-index: 2;
    border: 3px #333333 solid;
    position: relative;
    left: 1px;
}

.timeline ul li .content {
    width: 50%;
    padding: 0 20px;
}

.timeline ul li:nth-child(odd) .content {
    padding-left: 0;
}

.timeline ul li:nth-child(odd) .date {
    padding-right: 0;
}

.timeline ul li:nth-child(even) .content {
    padding-right: 0;
}

.timeline ul li:nth-child(even) .date {
    padding-left: 0;
}

.timeline ul li .date {
    width: 50%;
    padding: 0 20px;
    font-weight: normal;
}

.timeline ul li .date h4 {
    background-color: #e1ccec;
    width: 100px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 10px;
}

.timeline ul li .content h3 {
    padding: 10px 20px;
    background-color: #be9fe1;
    margin-bottom: 0;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.timeline ul li .content p {
    padding: 10px 20px;
    background-color: #e1d9ec;
    margin-top: 0;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin:0;
}

.timeline ul li:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline ul li:nth-child(even) .date h4 {
    float: right
}
div.elem > div.elem-part:nth-child(2n+1) {
    
    border-bottom:1px solid #aaa;
    border-top:1px solid #aaa;
}
.timeline-header{
    text-align:center;
    text-transform: capitalize;
    border-bottom:1px solid #eee;
}

.timeline::after{
    content: "\25BC";
    bottom:0;
    position: absolute;
    width: 3px;
    left: calc(50% - 0.45em);
}


.timeline::before {
    content: "";
    top:4em;
    position: absolute;
    height: calc(100% - 4.5em);
    width: 3px;
    left: 50%;
    background-color: #333333;
    
}
@media (max-width: 800px) {
    .timeline .point {
        min-width: 15px;
        height: 15px;
    }
}

@media (max-width: 650px) {
    .timeline .point {
        min-width: 12px;
        height: 12px;
    }

}

@media (max-width: 450px) {
    .timeline p {
        padding: 10px !important;
    }
}