.timeline {
    position: relative;
    width: 660px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 1em 0;
    list-style-type: none;
  }
.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 3px;
  height: 100%;
  margin-left: -3px;
  background: #7bac39;
  z-index: 5;
}

.timeline ul li {
  list-style:none;
  margin-bottom:18px;
  font-family: "graphik", Sans-serif;
  font-weight:300;
  background:url(https://www.certifiquei.com.br/wp-content/uploads/2019/11/icon-lista-time-line.png) no-repeat 0 1px;
  padding-left: 27px;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 300px;
  float: left;
  text-align: left;
}

.direction-r {
  position: relative;
  width: 300px;
  float: right;
}

.desc-expand {
  font-family: "graphik", Sans-serif;
  font-size: 9px;
    border: 1px solid #a3a3a3;
    color: #000;
    background: transparent;
    padding: 3px 5px;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    margin-top: 10px;
    display: inline-block;
    vertical-align: middle;
}

.flag-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

.flag {
position: relative;
display: block;
text-align: left;
color:#60ae27;
font-family: "graphik", Sans-serif;
font-size: 14px;
text-transform:uppercase;
font-weight:600;
letter-spacing:2px;
cursor:pointer;
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -38px;
  content: ' ';
  display: block;
  width: 18px;
  height: 18px;
  margin-top: -10px;
  background: #fff;
  border-radius: 50px;
  border: 4px solid #7bac39;
  z-index: 10;
}

.direction-l .flag.active:before,
.direction-r .flag.active:before {
  content: '';
  position: absolute;
  top: 50%;
  right: -38px;
  display: block;
  width: 18px;
  height: 18px;
  margin-top: -10px;
  background: #fff;
  border-radius: 50px;
  border: 4px solid #fff;
  z-index: 10;
  background: #7bac39;
  transition: all .1s;
}

.direction-l .flag.active:after,
.direction-r .flag.active:after {
  content: '';
  background: transparent;
  position: absolute;
  top: 50%;
  content: ' ';
  display: block;
  width: 24px;
  height: 24px;
  margin-top: -13px;
  border-radius: 50px;
  border: 4px solid #7bac39;
  z-index: 10;
  right: -41px;
  transition: all .1s;
}

.direction-r .flag.active:after {
  left: -43px;
}

.direction-l .title,   .direction-r .title{
font-family: "graphik", Sans-serif;
font-size:22px;
color:#000;
margin: 7px 0 0;
cursor:pointer;
}

.direction-r .flag:before {
  left: -40px;
}

.desc, .desc-expand {
    margin-bottom:45px;
}

.desc ul {
    display: none;
    margin-top: 32px;
}

.direction-l .flag,
.direction-l .title {
  text-align: right;
  cursor:pointer;
}

.direction-l .desc-expand {
  float: right;
}

.direction-l .desc ul li {
  background: url(https://www.certifiquei.com.br/wp-content/uploads/2019/11/icon-lista-time-line.png) no-repeat right;
  padding-right: 27px;
  text-align: right;
}

.desc-expand::after,
.desc-expand.open::after {
  content: '';
  width: 0;
  height: 0;
  display: inline-block;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #000;
  margin-left: 2px;

}

.desc-expand.open::after {
  transform: rotate(180deg);
}


/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 660px) {
  .timeline {
      width: 100%;
      padding: 4em 0 1em 0;
  }

  .timeline:before {
    left: 30px;
  }

  .timeline li {
    margin-bottom: 25px;
  }

  .timeline li:last-child {
    margin-bottom: 0;
  }

  .direction-l,
  .direction-r {
    float: left;
    padding-left: 60px;
  }

  .direction-l .flag,
  .direction-l .title {
    text-align: left;
  }

  .direction-l .desc-expand {
    float: left;
  }

  .direction-l .desc ul li {
    background: url(https://www.certifiquei.com.br/wp-content/uploads/2019/11/icon-lista-time-line.png) no-repeat 0 0;
    padding-right: 27px;
    text-align: left;
  }

  .direction-l .flag:before,
  .direction-r .flag:before {
    left: -40px;
    right: auto;
  }

  .direction-l .flag:after,
  .direction-r .flag:after {
    left: -43px;
  }
}

@media screen and (max-width: 660px) {
.desc, .desc-expand {
margin:0 0 0 0!important;}
}