﻿.timeline-footer {
    position: relative;
    z-index: 99999;
    background-color: #f2f5f5;
    border: 1px solid #008080;
    border-radius: 4px;
    text-align: center;
    padding: 3px;
    font-size: 14px;
}

.main-timeline {
    position: relative;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

    .main-timeline:before {
        content: "";
        width: 3px;
        height: 100%;
        background: #008080;
        position: absolute;
        top: 0;
        left: 50%;
    }

    .main-timeline .timeline {
        margin-bottom: 50px;
        position: relative;
    }

        .main-timeline .timeline:before,
        .main-timeline .timeline:after {
            content: "";
            display: block;
            width: 100%;
            clear: both;
        }

    .main-timeline .timeline-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #008080;
        overflow: hidden;
        margin-left: -23px;
        position: absolute;
        top: 0;
        left: 50%;
        text-align: center;
        color: #FFF;
    }

        .main-timeline .timeline-icon i {
            font-size: 17px;
            line-height: 50px;
            color: #fff;
        }

        .main-timeline .timeline-icon span {
            line-height: 48px;
            color: #fff;
        }

    .main-timeline .timeline-content {
        width: 45%;
        padding: 10px;
        border: 1px solid #008080;
        border-radius: 10px;
        background: #fff;
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -ms-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }

        .main-timeline .timeline-content:before {
            content: "";
            border-left: 7px solid #008080;
            border-top: 7px solid transparent;
            border-bottom: 7px solid transparent;
            position: absolute;
            left: 45%;
            top: 20px;
        }

    .main-timeline .timeline-entry-deleted {
        border: 2px solid red;
        background-color: #fcebeb;
        color: red; 
        text-align: center;
    }

    .main-timeline .title {
        color: #808080;
        padding: 2px 10px 10px 10px;
        background: #e1e1e1;
        border-radius: 10px 10px 0 0;
        margin: -10px -10px 10px;
        overflow: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }

        .main-timeline .title .date {
            font-size: 12px;
        }

    .main-timeline .description {
        color: inherit;
        max-height: 200px;
        overflow: auto;
    }


    .main-timeline .timeline-content.right {
        float: right;
    }

        .main-timeline .timeline-content.right:before {
            content: "";
            right: 45%;
            left: inherit;
            border-left: 0;
            border-right: 7px solid #008080;
        }

@media only screen and (max-width: 990px) {

    .main-timeline .timeline-content::before {
        top: 16px;
    }
}

@media only screen and (max-width: 990px) {
    .main-timeline {
        margin-left: 20px;
    }

        .main-timeline:before {
            left: 0;
        }

        .main-timeline .timeline-content {
            width: 90%;
            float: right;
        }

            .main-timeline .timeline-content:before,
            .main-timeline .timeline-content.right:before {
                left: 10%;
                right: inherit;
                margin-left: -6px;
                border-left: 0;
                border-right: 7px solid #008080;
            }

        .main-timeline .timeline-icon {
            left: 0;
        }
}

@media only screen and (max-width: 479px) {
    .main-timeline .timeline-content {
        width: 85%;
    }

        .main-timeline .timeline-content:before,
        .main-timeline .timeline-content.right:before {
            left: 15%;
        }

        .main-timeline .timeline-content:before {
            top: 13px;
        }
}
