.ytht-history-main {
  padding-top: 40px;
  padding-bottom: 60px;
}

.history h3 {
  font-size: 30px;
  color: #333;
  text-align: center;
  font-weight: bold;
}

.history .list {
  position: relative;
  width: 100%;
  margin: 40px 0 0 0;
  box-sizing: border-box;
}

.history .item {
  position: relative;
  width: 100%;
  padding: 36px 0;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: space-between;
}

.history .item::after {
  display: block;
  content: " ";
  clear: both;
}

.history .item::before {
  content: "";
  position: absolute;
  width: 1px;
  /* top: 0; */
  /* bottom: 0; */
  left: 50%;
  background-color: #dfdfdf;
  height: 100%;
  left: 10px;
}

.history .item .content {
  float: right;
  position: relative;
  margin: 0;
  /* width: calc(50% - 62px); */
  /* padding: 30px; */
  /* border-left: 1px solid #dfdfdf; */
  box-sizing: border-box;
  /* border-radius: 10px; */
  width: 90%;
  display: inline-flex;
  padding-left: 30px;
}
.history .item .content>div{
  margin-right: 23px;
  /* width: 33.333%; */
}
.history .item .content .t1{
  width: 15%;
}
.history .item .content .t3{
  width: 30%;
}
.history .item .content .t2{
  width: 65%;
}
.history .item .content .t3 img{
  width: 100%;
}
.history .item .content h4{color: #333;font-size: 22px;}
.history .item .content::before  {
  /* content: ""; */
  position: absolute;
  width: 63px;
  height: 9px;
  top: 12px;
  right: -64px;
  /* background: url(../images/ibg5.png) no-repeat; */
  right: auto;
  left: -61px;
  background: url(../images/ibg6.png) no-repeat;
}

.history .item .content p {
  font-size: 16px;
  color: #555;
  line-height: 24px;
  margin-top: 20px;
  height: 50px;
}

.history .item .content p ~ p {
  margin-top: 40px;
}
.history .item .date{
  border-radius: 30px;
  width: 10%;
  /* height: 36px; */
  /* line-height: 36px; */
  /* background: var(--color-primary); */
  text-align: center;
  box-sizing: border-box;
  text-align: center;
  color: #333;
  font-size: 20px;
  /* color: #fff; */
  margin-left: 40px;
  align-content: center;
  border: 1px solid var(--color-second);
  font-weight: 900;
}
/*
.history .item .date {
  position: absolute;
  left: calc(50% + 62px);
  top: 63px;
  border-radius: 30px;
  width: 150px;
  height: 36px;
  line-height: 36px;
  background: var(--color-primary);
  text-align: center;
  box-sizing: border-box;
  text-align: center;
  color: #202020;
  font-size: 20px;
  color: #fff;
}
*/
.history .item:nth-child(2n + 2) .content {
  float: right;
}

.history .item:nth-child(2n + 2)  .content::before {
  right: auto;
  left: -61px;
  background: url(../images/ibg6.png) no-repeat;
  /* top: 6%; */
  /* left: -61px; */
  /* z-index: -3; */
}

.history .item:nth-child(2n + 2) .date {
  left: auto;
  right: calc(50% + 62px);
}

@media screen and (max-width: 768px) {
  .main {
    padding-top: 25px;
    padding-bottom: 30px;
  }

  .history .list {
    margin: 30px 0 0 0;
  }

  .history .item {
    padding: 20px 0;
  }

  .history .item::before {
    left: 10px;
  }

  .history .item .content {
    float: none;
    width: 100%;
    padding: 15px 0 0 30px;
    border: none;
  }

  .history .item .content::before {
    display: none;
  }

  .history .item .content p {
    font-size: 16px;
    line-height: 22px;
  }

  .history .item .date {
    margin: 0 0 0 30px;
    position: static;
    left: auto;
    top: auto;
    border-radius: 30px;
    width: 130px;
    height: 32px;
    line-height: 32px;
    font-size: 18px;
    position: relative;
  }

  .history .item .date::before {
    content: "";
    position: absolute;
    width: 62px;
    height: 9px;
    top: 12px;
    left: -24px;
    background: url(../images/ibg6.png) no-repeat;
    z-index: -1;
  }

  .history .item:nth-child(2n + 2) .content {
    float: none;
  }

  .history .item:nth-child(2n + 2) .date {
    right: auto;
  }
}



@media(max-width:1280px){
  .history .item .date {font-size: 15px;}
  
}


@media(max-width:991px){
  .history .item {flex-direction: column;padding: 20px 0;}
  .history .item .date {width: 100%;margin-left: 0;margin-bottom: 15px;}
  .history .item .content {width: 100%;padding-left: 0;flex-direction: column;}
  .history .item .content .t1,.history .item .content .t2,.history .item .content .t3{width: 100%;margin-bottom: 15px;}
  .history .item::before {display: none;}
  .history .item .content > div { margin-right: 0;}
  .history .item .content p {margin-top: 10px;height: auto;}
  .history .item .content p ~ p {margin-top: 3px;}
  .history .item .content .t3{margin-top:15px}
}