﻿
.timeline {
    list-style: none;
    position: relative;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
    overflow: hidden;
}

    .timeline:after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -2px;
        background-color: rgba(0, 0, 0, 0.2);
        height: 100%;
        width: 4px;
        border-radius: 2px;
        display: block;
    }

    .timeline .timeline-row {
        padding-left: 50%;
        position: relative;
        z-index: 10;
    }

        .timeline .timeline-row .timeline-time {
            position: absolute;
            right: 50%;
            top: 40px;
            text-align: right;
            margin-right: 40px;
            font-size: 16px;
            line-height: 1.3;
            font-weight: 600;
        }

            .timeline .timeline-row .timeline-time small {
                display: block;
                text-transform: uppercase;
                opacity: 0.75;
                font-size: 11px;
                font-weight: 400;
            }

        .timeline .timeline-row .timeline-icon {
            position: absolute;
            top: 40px;
            left: 50%;
            margin-left: -11px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: #FFF;
            text-align: center;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            overflow: hidden;
  
            color: white;
            font-size: 14px;
            z-index: 100;
            /*自定义*/
/*            border: 2px solid #1296db;*/
            box-sizing:border-box;
        }

            .timeline .timeline-row .timeline-icon > div {
                border-radius: 50%;
            }
            /*这行是自定义*/
            .timeline .timeline-row .timeline-icon img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }


            .timeline .timeline-row .timeline-content {
                margin-left: 40px;
                position: relative;
                background-color: white;
                color: #333333;
                border: 1px solid #CCC;
                border-radius: 3px;
                box-sizing:border-box;
            }

            .timeline .timeline-row .timeline-content:after {
                content: "";
                position: absolute;
                top: 48px;
                left: -41px;
                height: 4px;
                width: 40px;
                background-color: rgba(0, 0, 0, 0.2);
                z-index: -1;
            }

            .timeline .timeline-row .timeline-content .panel-body {
                padding: 15px 15px;
                position: relative;
                z-index: 10;
                box-sizing:border-box;
            }
                .timeline .timeline-row .timeline-content .panel-body h3 {
                    font-size: 23px;
                    font-weight: bold;
                    color: #33abe2;
                }
                .timeline .timeline-row .timeline-content .panel-body .nr{
                    font-size: 18px;
                    margin-top:20px;
                }
            .timeline .timeline-row .timeline-content h2 {
                font-size: 22px;
                margin-bottom: 12px;
                margin-top: 0;
                line-height: 1.2;
            }

            .timeline .timeline-row .timeline-content p {
                margin-bottom: 15px;
            }

            .timeline .timeline-row .timeline-content img {
                margin-bottom: 15px;
            }

            .timeline .timeline-row .timeline-content blockquote {
                border-color: #eeeeee;
            }

                .timeline .timeline-row .timeline-content blockquote footer, .timeline .timeline-row .timeline-content blockquote small, .timeline .timeline-row .timeline-content blockquote .small, .timeline .timeline-row .timeline-content blockquote.blockquote-reverse footer, .timeline .timeline-row .timeline-content blockquote.blockquote-reverse small, .timeline .timeline-row .timeline-content blockquote.blockquote-reverse .small {
                    color: #999999;
                }

            .timeline .timeline-row .timeline-content .video-container {
                position: relative;
                padding-bottom: 56.25%;
                padding-top: 30px;
                height: 0;
                margin-bottom: 15px;
                overflow: hidden;
            }

                .timeline .timeline-row .timeline-content .video-container iframe, .timeline .timeline-row .timeline-content .video-container object, .timeline .timeline-row .timeline-content .video-container embed {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                }

        .timeline .timeline-row:nth-child(odd) {
            padding-left: 0;
            padding-right: 50%;
        }

            .timeline .timeline-row:nth-child(odd) .timeline-time {
                right: auto;
                left: 50%;
                text-align: left;
                margin-right: 0;
                margin-left: 40px;
            }

            .timeline .timeline-row:nth-child(odd) .timeline-content {
                margin-right: 40px;
                margin-left: 0;
            }

                .timeline .timeline-row:nth-child(odd) .timeline-content:after {
                    left: auto;
                    right: -41px;
                }

    .timeline.animated .timeline-row .timeline-content {
        opacity: 0;
        left: 20px;
        -webkit-transition: all 0.8s;
        -moz-transition: all 0.8s;
        transition: all 0.8s;
    }

    .timeline.animated .timeline-row:nth-child(odd) .timeline-content {
        left: -20px;
    }

    .timeline.animated .timeline-row.active .timeline-content {
        opacity: 1;
        left: 0;
    }

    .timeline.animated .timeline-row.active:nth-child(odd) .timeline-content {
        left: 0;
    }