/* -------------------------------------
 * timeline 时间轴，纯Html+Css制作
 * 
 *  carl修改于2018年11月1日
 * ------------------------------------- */
#hd-timeline{max-width:1120px;margin:0 auto;padding:0 5%;font-size:100%;}
#hd-timeline .hd-title{text-align:center;}
#hd-timeline .hd-title h2{
    margin:1em 0 0 0 ;
    font-size:3em;
    letter-spacing:6px;
    text-transform:uppercase;
    color:  red;
    text-shadow: 1px 0px 0px rgb(66, 66, 66),2px 0px 0px rgb(66, 66, 66),3px 1px 0px rgb(66, 66, 66),0px 1px 0px #000;
}
#hd-timeline #timeline {
  list-style: none;
  margin: 50px 0 30px 120px;
  padding-left: 30px;
  border-left: 8px solid #48b379;
}
#hd-timeline #timeline li {
  margin: 40px 0;
  position: relative;
}
#hd-timeline #timeline p {
  margin: 0 0 15px;
}

#hd-timeline .date {
  margin-top: -10px;
  top: 50%;
  left: -158px;
  font-size: 0.95em;
  line-height: 20px;
  position: absolute;
  font-weight:800;
  font-size:1.5em;
}

#hd-timeline .circle {
  margin-top: -10px;
  top: 50%;
  left: -44px;
  width: 10px;
  height: 10px;
  background:#eee9dc;
  border:5px solid #48b379;
  border-radius: 50%;
  display: block;
  position: absolute;
}

#hd-timeline .content {
  max-height: 20px;
  padding: 50px 20px 0;
  border-color: transparent;
  border-width: 2px;
  border-style: solid;
  border-radius: 0.5em;
  position: relative;
}
#hd-timeline .content:before,#hd-timeline  .content:after {
  content: "";
  width: 0;
  height: 0;
  border: solid transparent;
  position: absolute;
  pointer-events: none;
  right: 100%;
}
#hd-timeline .content:before {
  border-right-color: inherit;
  border-width: 20px;
  top: 50%;
  margin-top: -20px;
}
#hd-timeline .content:after {
  border-right-color: #48b379;
  border-width: 17px;
  top: 50%;
  margin-top: -17px;
}
#hd-timeline .content p {
  max-height: 0;
  color: transparent;
  text-align: justify;
  word-break: break-word;
  hyphens: auto;
  overflow: hidden;
}

#hd-timeline label {
  font-size: 1.3em;
  position: absolute;
  z-index: 100;
  cursor: pointer;
  top: 20px;
  transition: transform 0.2s linear;
  padding-left:40px;
}

#hd-timeline .radio {
  display: none;
}

#hd-timeline .radio:checked +#hd-timeline .relative label {
  cursor: auto;
  transform: translateX(42px);
}
#hd-timeline .radio:checked + #hd-timeline .relative .circle {
  background: #f98262;
}
#hd-timeline .radio:checked ~ .content {
  max-height:680px;
  border-color: #48b379;
  margin-right: 20px;
  transform: translateX(20px);
  transition: max-height 0.4s linear, border-color 0.5s linear, transform 0.2s linear;
}
#hd-timeline .radio:checked ~ .content p {
  max-height: 700px;
  color: #000000;
  transition: color 0.3s linear 0.3s;
}

/* -------------------------------------
 * mobile phones (vertical version only)
 * ------------------------------------- 
@media screen and (max-width: 767px) {
  #hd-timeline   #timeline {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  #hd-timeline   #timeline li {
    margin: 50px 0;
  }

  #hd-timeline   label {
    width: 85%;
    font-size: 1.1em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    transform: translateX(18px);
  }

  #hd-timeline   .content {
    padding-top: 45px;
    border-color: #eee9dc;
  }
  #hd-timeline   .content:before, #hd-timeline .content:after {
    border: solid transparent;
    bottom: 100%;
  }
  #hd-timeline .content:before {
    border-bottom-color: inherit;
    border-width: 17px;
    top: -16px;
    left: 50px;
    margin-left: -17px;
  }
  #hd-timeline .content:after {
    border-bottom-color: #48b379;
    border-width: 20px;
    top: -20px;
    left: 50px;
    margin-left: -20px;
  }
  #hd-timeline .content p {
    font-size: 0.9em;
    line-height: 1.4;
  }

  #hd-timeline .circle, #hd-timeline .date {
    display: none;
  }
}*/

