﻿@charset "utf-8";
.cd-container {
    max-width: 1170px;
    margin: 0 auto
}

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

#cd-timeline {
    position: relative;
    padding: 2em 0;
    margin-top: 2em;
    margin-bottom: 2em
}

#cd-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 4px;
    background: #ccc
}

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

.cd-timeline-block {
    position: relative;
    margin: 2em 0
}

.cd-timeline-block:first-child {
    margin-top: 0
}

.cd-timeline-block:last-child {
    margin-bottom: 0
}

.cd-timeline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eb6751;
    color: #fff;
    padding: 14px 6px 12px;
    margin-left: -5px;
    text-align: center;
}

.cd-timeline-content {
    text-align: center !important;
    position: relative;
    margin-left: 60px;
    border: 1px solid #ccc;
    border-radius: .25em;
    padding: 1em
}

.cd-timeline-content h2 {
    color: #333;
    font-weight: 600 !important;
    font-size: 20px
}

.cd-timeline-content .cd-date {
    font-size: 13px;
    display: inline-block;
    float: left;
    padding: 5px 0;
    opacity: .7
}

.cd-timeline-content p {
    margin: 1em 0;
    line-height: 1.6 !important;
    color: #333
}

    .cd-timeline-content img {
        width: 100%;
        margin-bottom: 10px
    }

@media only screen and (min-width:768px) {
    #cd-timeline {
        margin-top: 3em;
        margin-bottom: 3em
    }
    #cd-timeline::before {
        left: 50%;
        margin-left: -2px
    }
    .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 {
        width: 60px;
        height: 60px;
        left: 50%;
        margin-left: -30px;
        background: #eb6751;
        color: #fff;
        padding: 20px 10px;
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        
    }
    .cssanimations .cd-timeline-img.is-hidden {
        visibility: hidden
    }
    .cssanimations .cd-timeline-img.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-1 .6s;
        -moz-animation: cd-bounce-1 .6s;
        animation: cd-bounce-1 .6s
    }
    .cd-timeline-content {
        margin-left: 0;
        padding: 1.6em;
        width: 43%
    }
    .cd-timeline-content::before {
        position: absolute;
        width: 10px;
        height: 10px;
        border: 1px solid rgba(0, 0, 0, .2);
        content: '';
        border-left: 0;
        border-top: 0;
        display: block;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        background-color: #fff;
        right: -6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }
    .cd-timeline-content .cd-date {
        position: absolute;
        width: 143px;
        left: 133%;
        top: 14px;
        font-size: 16px;
        border: 1px solid #ccc
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date:before,
    .cd-timeline-content .cd-date:before {
        border: 1px solid rgba(0, 0, 0, .2);
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        margin-top: 5px;
        position: absolute;
        width: 10px;
        height: 10px;
        content: '';
        display: block;
        background-color: #fff
    }
    .cd-timeline-content .cd-date:before {
        border-right: 0;
        border-bottom: 0;
        background-clip: padding-box;
        left: -6px;
        transform: rotate(-45deg)
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date:before {
        border-left: 0;
        border-top: 0;
        background-clip: padding-box;
        left: 137px;
        transform: rotate(-45deg)
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content {
        float: right
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
        position: absolute;
        width: 10px;
        height: 10px;
        border: 1px solid rgba(0, 0, 0, .2);
        content: '';
        border-right: 0;
        border-bottom: 0;
        display: block;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        background-color: #fff;
        left: -6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }
    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
        left: auto;
        right: 133%
    }
    .cssanimations .cd-timeline-content.is-hidden {
        visibility: hidden
    }
    .cssanimations .cd-timeline-content.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-2 .6s;
        -moz-animation: cd-bounce-2 .6s;
        animation: cd-bounce-2 .6s
    }
    .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
        -webkit-animation: cd-bounce-2-inverse .6s;
        -moz-animation: cd-bounce-2-inverse .6s;
        animation: cd-bounce-2-inverse .6s
    }
}

@media (max-width:1279px) {
    #cd-timeline {
        width: 90%
    }
}

@media (max-width:767px) {
    .cd-timeline-content::before {
        position: absolute;
        width: 10px;
        height: 10px;
        border: 1px solid rgba(0, 0, 0, .2);
        content: '';
        border-right: 0;
        border-bottom: 0;
        display: block;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        background-color: #fff;
        left: -6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }
}

@media only screen and (min-width:767px) {
    .cd-timeline-content h2 {
        font-size: 20px;
        text-align: center
    }
    .cd-timeline-content p {
        font-size: 16px !important;
        text-align: center
    }
    .cd-timeline-content .cd-date,
    .cd-timeline-content .cd-read-more {
        font-size: 14px
    }
}
