:root{
    --color1: #2E3C47;
    --color2: #202C36;
}
.main-timeline:after{
    content: '';
    display: block;
    clear: both;
}
.main-timeline .timeline{
    border-right: 3px solid #d9cdba;
    width: 50%;
    padding: 10px 60px 10px 0;
    box-shadow: 1px 0 #d9cdba;
    float: left;
}
.main-timeline .timeline-content{
    /*text-align: center; */
    display: block;
    position: relative;
    /* border-radius: 10px 10px;*/
}
.main-timeline .timeline-content:hover{ text-decoration: none; }
.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after{
    content:"";
    background: #d9cdba;
    width: 60px;
    height: 3px;
    transform: translateY(-50%);
    position: absolute;
    top: 20%;
    right: -60px;
}
.main-timeline .timeline-content:after{
    width: 35px;
    height: 35px;
    border-radius: 5%;
    right: -79px;
	background: #f3e7d4;
	
}
.main-timeline .timeline-year{
	/*color: #fff;
     background: var(--color2); */
    font-size: 20px;
    font-weight: 400;
    /* padding: 3px 20px 2px; */
    /* border-radius: 100px; */
    /* border: 5px solid var(--color1); */
    transform: translateY(-50%);
    position: absolute;
    top: 20%;
    right: -65px;
    z-index: 999;
	
}
.main-timeline .title{
    color:#fff;
    background: var(--color2);
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 10px 9px;
    margin: 0;
    border-radius: 10px 10px 0 0;
}
.main-timeline .description{
    color: #555;
    background:linear-gradient(#f1f1f1,#d9d9d9);
    font-size: 15px;
    letter-spacing: 1px;
    padding: 20px 10px;
    border-radius: 0 0 10px 10px;
    margin: 0;
}
.main-timeline .timeline:nth-child(even){
    float: right; 
    border: none;
    border-left: 1px solid #d9cdba;
    box-shadow: -2px 0 #d9cdba;
    padding: 10px 0 10px 60px;
    margin: 0 0 0 10px;
}
.main-timeline .timeline:nth-child(even) .timeline-content:before{
    right: auto; 
    left: -60px;
}
.main-timeline .timeline:nth-child(even) .timeline-content:after{
    right: auto;
    left: -78px;
}
.main-timeline .timeline:nth-child(even) .timeline-year{
    right: auto;
    left: -68px;
}
.main-timeline .timeline:nth-child(2){
    --color1: #9AE365;
    --color2: #81CA47;
}
.main-timeline .timeline:nth-child(3){
    --color1: #F15B53;
    --color2: #D63C38;
}
.main-timeline .timeline:nth-child(4){
    --color1: #7c49b7;
    --color2: #5b2499;
}
@media screen and (max-width:767px){
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        width: 100%;
        padding: 40px 0 20px 80px;
        margin: 0 0 0 10px;
        box-shadow: -1px 0 #d9cdba;
        border: none;
        border-left: 2px solid #d9cdba;
        float: none;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(even) .timeline-content:before,
    .main-timeline .timeline:nth-child(even) .timeline-content:after{
        top: 25px;
        left: -65px;
        width: 50px;
    }
    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(even) .timeline-content:after{
        width: 35px;
        right: auto;
        left: -100px;
    }
    .main-timeline .timeline-year,
    .main-timeline .timeline:nth-child(even) .timeline-year{
        transform: translateX(-50%);
        top: 8px;
        left: -19%;
        right: auto;
    }
}

@media screen and (min-width:767px){
	.pright{
		    text-align: end !important;
	}
}


#timeline-content1 {
  text-align: center;
}
/* Timeline */
.timeline1 {
  border-left: 1px solid #7e786d;
  padding: 20px 0px 0px 50px;
  list-style: none;
  text-align: left;
  font-weight: 100;
}

.timeline1 .event {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  position: relative;
}
.timeline1 .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}
.timeline1 .event:before,
.timeline1 .event:after {
  position: absolute;
  display: block;
  top: 10px;
}
.timeline1 .event:before {
  left: -166px;
  color: #0d0800;
  content: attr(data-date);
  text-align: right;
  font-weight: 100;
  font-size: 0.9em;
  min-width: 120px;
  font-family: 'Saira', sans-serif;
  z-index: 999;
}


.timeline1 .event1::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    top: 20px;
    left: -35px;
    background: #7e786d;
    z-index: 1;
}

.timeline1 .event:after {
    FONT-VARIANT: JIS83;
    box-shadow: 0 0 0 4px #f3e7d4;
    left: -63.85px;
    background: #f3e7d4;
    border-radius: 10%;
    height: 25px;
    width: 25px;
    content: "";
    top: 9px;
}

.timeline1.left {
    left: 0;
}

.timeline1.right {
    left: 50%;
}