*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

a {
  color: inherit;
}

body {

  color: #fff;
}

.search-panel {
  float: right;
  position: relative;
  z-index: 20;
  display: inline-block;
  line-height: 25px;
}
.search-window {
  border: 0px;
  overflow: hidden;
  min-height: 32px;
}
/**搜索**/
.wp_search {
  display: inline-block;
  position: relative;
  padding-left: 12px;
  background: #fff;
  width: 209px;
  height: 36px;
  opacity: 0.3;
  filter: Alpha(opacity=30);
}
.wp_search #keyword {
  width: 177px !important;
  padding: 4px 0;
  border: none;
  height: 28px;
  line-height: 28px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-family: "Microsoft YaHei";
}
.wp_search .search {
  width: 32px;
  height: 32px;
  border: 0px;
  background: url(images/sous.png) no-repeat center;
  cursor: pointer;
  vertical-align: top;
}
/***自定义搜索*/
.wp-search {
  border: 0px;
  width: 180px;
  position: relative;
}
.wp-search form {
  display: block;
  padding-right: 34px;
}
.wp-search .search-input {
  margin-right: 0;
  height: 32px;
  width: 175px;
  border-bottom: 1px solid rgba(126, 0, 0, 1);
  position: relative;
}
.wp-search .search-input input.search-title {
  width: 100%;
  box-sizing: border-box;
  height: 32px;
  border: 0;
  outline: 0;
  background: none;
  font-family: Microsoft YaHei;
  font-weight: bold;
  font-size: 16px;
  color: #7e0000;
  line-height: 32px;
}
.wp-search .search-btn {
  width: 32px;
  height: 32px;
  position: absolute;
  right: -28px;
  top: 0;
}

.wp-search .search-btn input.search-submit {
  width: 32px;
  height: 32px;
  border: 0;
  outline: 0;
  border-radius: 4px;
  background: url(images/search.png) no-repeat center;
  background-size: 20px 20px;
  cursor: pointer;
}
.wp-search input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #fff;
}

/* 时间 */

.cd-container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;

  padding: 0 10%;
  border-radius: 2px;
}
.cd-container::after {
  content: "";
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */

#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  height: 100%;
  width: 4px;
  background: rgba(121, 5, 14, 1);
}
@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(155, 0, 15, 1), inset 0 2px 0 rgba(0, 0, 0, 0.08),
    0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.cd-timeline-img {
  background: #fff;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
    width: 15px;
    height: 15px;
    left: 50%;
    margin-left: -8px;
    margin-top: 15px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
}

.cd-timeline-content {
  transition:0.5s;
  position: relative;
  margin-left: 60px;
  margin-right: 30px;
  background: #fff;
  border-radius: 2px;
  padding: 1em;
  .timeline-content-info:;
  -webkit-transition:0.5s;
  -moz-transition:0.5s;
  -ms-transition:0.5s;
  -o-transition:0.5s;
{
    background: #2b343a;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    i {
      margin-right: 5px;
    }
    .timeline-content-info-title,
    .timeline-content-info-date {
      width: calc(50% - 2px);
      display: inline-block;
    }
    @media (max-width: 500px) {
      .timeline-content-info-title,
      .timeline-content-info-date {
        display: block;
        width: 100%;
      }
    }
  }
  .content-skills {
    font-size: 12px;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    li {
      background: #40484d;
      border-radius: 2px;
      display: inline-block;
      padding: 2px 10px;
      color: rgba(255, 255, 255, 0.7);
      margin: 3px 2px;
      text-align: center;
      flex-grow: 1;
    }
  }
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: #333;
  margin-top: 0;
  margin-bottom: 5px;
line-height: 25px;


}
.cd-timeline-content p,
.cd-timeline-content .cd-date {
  color: #333;
  font-size: 13px;
  font-size: 0.8125rem;
}
.cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}

.cd-timeline-content::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #333c42;
}
.cd-timeline-content .cd-date {
  color: #333;
  left: 138% !important;
  top: 24px !important;
  font-family: SourceHanSerifCN;
  font-weight: 800;
  font-size: 36px !important;
  color: #333333;
  line-height: 40px;
  font-style: italic;
}
.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
  left: auto !important;
  right: 140% !important;
  text-align: right !important;
}
@media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-content .cd-read-more,
  .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    color: white;
    margin-left: 0;
    padding: 1.6em;
    width: 36%;
    margin: 0 5%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #fff;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #fff;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
}
.cd-timeline-content:hover{
  background:rgba(121, 5, 14, 1);
}
.cd-timeline-content:hover h2{
  color:#fff;
}
.cd-timeline-content:hover p{
  color:#fff;
}
.LSTitle{
  color:#333;
  display: flex;
  width: 100%;
  justify-content: center;
}
