.timeline, div.ewrap, div.event {
  box-sizing: border-box;
}
.timeline {
  position: relative;
  /*max-width: 700px;*/
  height: 100%;
  margin: 50px auto 0 auto;
  text-align: center;
  font-size: 1.1rem;
  font-family: Segoe-UI-Bold, Arial,Tahoma;
  padding: 20px;
}


.timeline::before {
  content: '';
  width: 10px;
  background-color: #fff;
  position: absolute;
  top: 19px;
  bottom: -15px;
  left: 50%;
}

div.ewrap {
  padding: 0.5rem;
  position: relative;
  width: 50%;
  left: 0;

}

div.right {
  left: 50%;
}

div.right-txt{
  left: 58%
}


div.event {
  padding: 1rem;
  background-color: #fff;
  position: relative;
  border-radius: 15px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: -2rem;
  margin-left: 3rem;
  margin-right: 3rem;
}


p.text {
  margin: 0;
  color: #3a6aa8;
}

div.ewrap.right p.text {
  color: #e62223;
}

.h-txt{
  position: relative;
  width: 35%;
  left: 7%;
  font-size: 1rem;
  font-family: Segoe-UI-regular, Arial,Tahoma;
  color:#fff;
  opacity:0;
  line-height: normal;
  margin-top: -1.2rem;
  transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
}

div.ewrap::before {
  content: '';
  position: absolute;
  right: 2%;
  top: 9%;
  background-color: #fff;
  height: 7px;
  width: 70px;
}
div.ewrap.right::before {
  content: '';
  position: absolute;
  background-color: #fff;
  height: 7px;
  width:70px;
  right: auto;
  top: 24%;
  left: 0%;
}

div.ewrap::after {
  content: '1';
  background: #fff;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  position: absolute;
  top:-10px;
  right:-6%;
  text-align: center;
  color: #3a6aa8;
  font-size: 2.3rem;
}

div.ewrap.right::after {
  content: '';
  background: #fff;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  position: absolute;
  top:-2%;
  right: auto;
  left:-4.3%;
  text-align: center;
  color: #e62223;
  font-size: 2.3rem;
}

#num1::after{
  content: '1';
}

#num1:hover ~ #txt1{
  display: block;
  opacity: 1;
  transition: opacity 0.3s,
}

#num2::after{
  content: '2';
}

#num2:hover ~ #txt2{
  display: block;
  opacity: 1;
  transition: opacity 0.3s,
}


#num3::after{
  content: '3';
}

#num3:hover ~ #txt3{
  display: block;
  opacity: 1;
  transition: opacity 0.3s,
}

#num4::after{
  content: '4';
}
#num4:hover ~ #txt4{
  display: block;
  opacity: 1;
  transition: opacity 0.3s,
}


#num5::after{
  content: '5';
}
#num5:hover ~ #txt5{
  display: block;
  opacity: 1;
  transition: opacity 0.3s,
}

#num6::after{
  content: '6';
}

#num6:hover ~ #txt6{
  display: block;
  opacity: 1;
  transition: opacity 0.3s,
}

/**timeline quees*/
#time2{
  height: 100%;
  width: 100%;
  top: 29px;
  font-size: 1.1rem;
  min-height: 420px;
  margin:0;
  padding:0;
}

#time2::before{
  left: 2.5%;
  width: 7px;
}

#time2 div.ewrap {
  left: -1%;
  width: 32%;
  margin-top: 0;
}

.t-title{
  width: 80%!important;
}

.t-title div.event{
  border-radius: 55px
}

.t-txt{
  font-family: Segoe-UI-Light, Arial,Tahoma;
  font-size: 14px;
  line-height: normal;
  opacity: 0.8;
  text-align: left;
  margin-left: 10%;
  margin-top:-1rem;
}

#time2 div.ewrap.right::after{
  left: 10px;
  width: 2rem;
  height: 2rem;
  top: 28%;
}

#time2 div.ewrap.right::before{
  left: 7%;
  top: 49%;
}

#time2 div.ewrap div.event{
  padding: 0.4rem;
  margin-top: 0;
  margin-right: 0;
  cursor: default;
  width: 100%;
}

#time2 div.ewrap.right p.text {
  color: #7a7c8c;
}

@media (max-width: 613px) {
  div.right, div.right-txt {
    left: 0px;
  }
  div.ewrap {
    width: 100%;
  }

  .h-txt, .right-txt{
    width: 100%;
    padding: 20px;
    left: 0;
  }

  .timeline::before{
      width:0px;
  }
}
