 .timelines .timeline-item:after, .timelines .timeline-item:before {
  content: '';
  display: block;
  width: 100%;
  clear: both;
}

.timelines {
  width: 100%;
  margin: 30px auto;
  position: relative;
  padding: 0 10px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.timelines:before {
  content: "";
  width: 3px;
  height: 90%;
  background: #108f1e;
  left: 50%;
  top: 10px;
  position: absolute;
}
.timelines:after {
  content: "";
  clear: both;
  display: table;
  width: 100%;
}
.timelines .timeline-item {
  margin-bottom: 30px;
  position: relative;
}
.timelines .timeline-item .timeline-icon {
    background: #fff;
    border: 4px solid #108f1e;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 8px;
    left: 50%;
    overflow: hidden;
    margin-left: -17px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}

.timelines .timeline-item .timeline-content {
  width: 45%;
  background: #fff;
  padding: 20px;
  /*
  -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  */
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
/*
.timelines .timeline-item .timeline-content h2 {
  padding: 15px;
  background: #ee4d4d;
  color: #fff;
  margin: -20px -20px 0 -20px;
  font-weight: 300;
  -webkit-border-radius: 3px 3px 0 0;
  -moz-border-radius: 3px 3px 0 0;
  -ms-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}
*/
.timelines .timeline-item .timeline-content .timeline-text {
  padding: 15px;
  background: #ededed;
  color: #fff;
  margin: -20px -20px 0 -20px;
  font-weight: 300;
  -webkit-border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -ms-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
}
.timelines .timeline-item .timeline-content .timeline-text h3{
    font-size:20px;
    margin-top:0;
    margin-bottom: 5px;
}
.timelines .timeline-item .timeline-content .timeline-text p.timeline-fechas{
    font-size:18px;
    color:#ee4d4d;
    line-height: 22px;
}

.timelines .timeline-item .timeline-content .timeline-text p.timeline-aviso{
    font-size: 18px;
    line-height: 18px;
    color: #008000;
    padding-top: 0;
    margin-top: -10px;
}


.timelines .timeline-item .timeline-content .timeline-text a{
    color:#999;
}
.timelines .timeline-item .timeline-content .timeline-text a:hover{
    color:#008000;
}



/* EVENTOS PASADOS */

.timelines .timeline-item .timeline-content .timeline-text.pasado h3, .timelines .timeline-item .timeline-content .timeline-text.pasado p{
    color:#999 !important;
}


.timelines .timeline-item .timeline-content:before {
  content: '';
  position: absolute;
  left: 45%;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #ededed;
}
.timelines .timeline-item .timeline-content.right {
  float: right;
}
.timelines .timeline-item .timeline-content.right:before {
  content: '';
  right: 45%;
  left: inherit;
  border-left: 0;
  border-right: 7px solid #ededed;
}



@media screen and (max-width: 768px) {
  .timelines {
    margin: 30px;
    padding: 0px;
    width: 90%;
  }
  .timelines:before {
    left: 0;
  }
  .timelines .timeline-item .timeline-content {
    width: 90%;
    float: right;
  }
  .timelines .timeline-item .timeline-content:before, .timelines .timeline-item .timeline-content.right:before {
    left: 10%;
    margin-left: -6px;
    border-left: 0;
    border-right: 7px solid #ededed;
  }
  .timelines .timeline-item .timeline-icon {
    left: 0;
  }
}
