/* -------------------------------- 

All the CSS needed for the timeline!

-------------------------------- */


/* -------------------------------- 

Paddings and margins

-------------------------------- */

.marginBottom0 {
    margin-bottom: 0;
}

.marginTop0 {
    margin-top: 0;
}

.marginTop5 {
    margin-top: 5px !important;
}


/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */

.cd-container {
    /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
    width: 93%;
    max-width: 1170px;
    margin: 0 auto;
}

.cd-container::after {
    /* clearfix */
    content: '';
    display: table;
    clear: both;
}


/* -------------------------------- 

Main components 

-------------------------------- */

.timelineText {
    color: black;
}

.timelineIcon {
    font-size: 25px;
    color: white;
}

.cd-author {
    color: gray;
    /*margin-right: 0px;*/
    float:right;

}

#cd-timeline {
    position: relative;
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: 10px !important;
}

#cd-timeline::before {
    /* this is the vertical line */
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 2px;
    background: #f0f0f0;
}

.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;
}

.cd-timeline-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-color: #4a87ee;
    border-style: solid;
    border-width: 2px;
    padding-top: 5px;
    background: white;
    text-align: center;
}

.cd-timeline-icon i {
    color: #4a87ee;
}

.cd-timeline-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-color: #f0f0f0;
    border-style: solid;
    border-width: 1px;
    background: white;
}

.cd-timeline-picture img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
}

.cd-timeline-content {
    position: relative;
    margin-left: 60px;
    background: white;
    border-radius: 0.25em;
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 16px;
    padding: 10px;
    padding-bottom: 6px;
}

.cd-timeline-content:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-content h2 {
    color: #303e49;
}

.cd-timeline-content i {
    font-size: 20px;
    padding-right: 4px;
}

.cd-timeline-content p,
.cd-timeline-content .cd-read-more,
.cd-timeline-content .cd-date {
    font-size: 13px;
    font-size: 0.8125rem;
}

.cd-timeline-content .cd-read-more,
.cd-timeline-content .cd-date {
    display: inline-block;
}

.cd-timeline-content p {
    margin: 0.2em 0;
    line-height: 1.6;
}

.cd-timeline-content::before {
    content: '';
    position: absolute;
    right: 100%;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-right: 7px solid white;
    border-right-color: inherit;
}

@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;
    }
}




/*各个部分样式*/

@charset "utf-8";
.timeline {
    width: 100%;
    height: auto;
    /*margin: 20px auto;*/
    padding-bottom: 1rem;
    text-align: center;
    font-size: 0;
}

.timeline li {
    position: relative;
    display: inline-block;
    *display: inline;
    zoom: 1;
    width: auto;
    font-size: 1.2rem;
    padding: 1rem 1rem 1.4rem 1rem;
}

.timeline li .time:before {
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: 0;
    margin-bottom: -4px;
    left: 50%;
    margin-left: -5px;
    background: #D7BB67;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    background-size: 10px 10px;
}

.timeline li .time:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #D7BB67;
    left: 0;
    bottom: 0;
    margin-left: -2px;
}

.timeline img{
    width:40px;
    height:40px;
    position:relative;
    top:75px;
    z-index: 2;
}
